Re: Re[2]: PAP may be flaky

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Peter,

Initially you should see:
$ ls -l /etc/ppp/pap-secrets
-rw------- 1 root root 1628 2006-10-25 09:31 /etc/ppp/pap-secrets

Change permissions with
$ sudo chmod a+rw /etc/ppp/pap-secrets
And the change should be too
$ ls -l /etc/ppp/pap-secrets
-rw-rw-rw- 1 root root 1628 2006-10-25 09:31 /etc/ppp/pap-secrets
At this point you can read the file with:
$ cat /etc/ppp/pap-secrets

Next try the dialout as before.  If all goes as in my case report
http://linmodems.technion.ac.il/bigarch/archive-sixth/msg04656.html
There should be a successful login with an extra line written to the file.
Check again with:
$ cat /etc/ppp/pap-secrets

If a new line is there, change the permissions to the original with two steps:
$ sudo chmod a-rw /etc/ppp/pap-secrets
Checking again with:
$ ls -l /etc/ppp/pap-secrets
---------- 1 root root 1628 2006-10-25 09:31 /etc/ppp/pap-secrets
And finally restore read/write permission for root with:
$ sudo chmod u+rw  /etc/ppp/pap-secrets
$ ls -l /etc/ppp/pap-secrets
-rw------- 1 root root 1628 2006-10-25 09:31 /etc/ppp/pap-secrets

$ man chmod
will provide details on this command usage.

With the new line present, the chmod steps should NOT have to e
repeated for subsequent dialouts to the same IP-.  But they might be
necessary when you add another dialout destination, the first time
only.

MarvS






Re: > I got the a message:changing permission of /etc/ppp/pap-secret :operation
> not permitted.
>
> And that's the end of it. I am stack.
Before attempting the dialout, you should be able to do:


On 8/3/07, Antonio Olivares <olivares14031@xxxxxxxxx> wrote:
> Did you try to perform the operation?
> $ sudo chmod a+rw /etc/ppp/pap-secrets
>
> I have not encountered this problem, but will forward this to the list
> and Marv.  They will provide better guidance than I can provide.
>
> Regards,
>
> Antonio
>
> On 8/3/07, Peter Kerekes <pkerekes@xxxxxxxxxxxx> wrote:
> > Hello Antonio,
> >
> > Thursday, August 2, 2007, 6:02:35 PM, you wrote:
> >
> > Antonio> Peter,
> >
> > Antonio> In case of a message like:
> > Antonio>     Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
> > Antonio> see
> >
> > Antonio> http://linmodems.technion.ac.il/bigarch/archive-sixth/msg04656.html
> >
> > I got the a message:changing permission of /etc/ppp/pap-secret :operation
> > not permitted.
> >
> > And that's the end of it. I am stack.
> >
> > Antonio> peter@peter-armada:~$ wvdial
> > -->> WvDial: Internet dialer version 1.56
> > -->> Cannot set information for serial port.
> > -->> Initializing modem.
> > -->> Sending: ATZ
> > Antonio> ATZ
> > Antonio> OK
> > -->> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
> > Antonio> ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
> > Antonio> OK
> > -->> Modem initialized.
> > -->> Sending: ATDT6474390270
> > -->> Waiting for carrier.
> > Antonio> ATDT6474390270
> > Antonio> CONNECT 52000 V42bis
> > -->> Carrier detected.  Starting PPP immediately.
> > -->> Starting pppd at Thu Aug  2 16:36:43 2007
> > -->> Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
> > -->> --> PAP (Password Authentication Protocol) may be flaky.
> > -->> Warning: Could not modify /etc/ppp/chap-secrets: Permission denied
> > -->> --> CHAP (Challenge Handshake) may be flaky.
> >
> > Antonio> Hope this helps,
> >
> > Antonio> Antonio
> >
> >
> > Antonio> On 8/2/07, Peter Kerekes <pkerekes@xxxxxxxxxxxx> wrote:
> > >>
> > >> Hello, I have an LT modem. Can dial-in (through the terminal), when I get
> > >> to the point of ID and password accepted.
> > >>
> > >> After starting pppd I get a warning could not modify /etc/pop/pap-secrets.
> > >> Permission denied. PAP may be flaky.
> > >>
> > >> Same message for CHAP.. After that I have a lot of pppd messages with
> > >> numbers. But cannot connect to Evolution or Firefox.
> > >>
> > >> There is also comment: cannot set information on serial port.
> > >>
> > >> Furthermore the Local IP address, remote IP address, primary IP address,
> > >> secondary IP address none are the same as my real IP provider's primary
> > >> address is:206.235.86.11, and secondary address is 206.235.86.12
> > >>
> > >>  Hope someone can understand it and help me. I am new to Linux and Ubuntu,
> > >> but like to learn it.
> > >>
> > >> attached is the WVDIAL dialog
> > >>
> > >>  --
> > >>
> > >>  Best regards,
> > >>
> > >>  Peter
> > >>
> > >> The BAT 3.99.8,
> > >> Windows XP Service Pack 2
> > >>
> >
> >
> >
> > --
> > Best regards,
> >  Peter
> >
> > The BAT 3.99.8,
> > Windows XP, Service Pack 2
> >
> >
>

[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux