Re: ppp daemon still dies

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

 



Marv, Morris,

I wrote what I wrote about the need to prefix with su for the following reasons:


-in Morris's thread there are earlier instances where Morris got "Permission denied" and (tried to) fix by chaging the permission rather than sudoing the failing command.


-In my machine:

[localhost] /home/goldberg > ls -l /etc/ppp/peers
total 24
drwxr-xr-x  2 root root   4096 Aug 14  2008 isdn
-rw-r--r--  1 root root     66 Dec 13  2007 Technion
-rw-------  1 root daemon   30 Feb 18  2005 wvdial
      which shows that wvdial is not a folder but a file
[localhost] /home/goldberg > cat /etc/ppp/peers/wvdial
noauth
name wvdial
usepeerdns
which shows the contents of the file /etc/ppp/peers/wvdial and it is NOT empty.


Thus it is not clear what Morris means when writing:

"From syslog after last wvdial attempt

 Mar 22 13:48:01 morris-laptop pppd[22686]: Can't open options file
/etc/ppp/peers/wvdial: Permission denied
Next, I checked for /etc/ppp/peers/wvdial and found an empty folder. "

Therefore according to syslog /etc/ppp/peers/wvdial is a FILE and it exists
Probably Morris refers to that FILE as the "folder" which he sees as empty.
His call to wvdial could not open the file for one clear reason: missing sudo
Otherwise, can we know WHICH folder was found empty ?

Jacques





Marvin Stodolsky wrote:

Morris,

You can look at/edit the /etc/ppp/options file with:
$ su root
# gedit /etc/ppp/options
or under Ubuntu
$ sudo gedit /etc/ppp/options

Do:
$ man pppd
to learn more about the options.

MarvS
-------

On Tue, Mar 24, 2009 at 2:48 AM, Jacques Goldberg
<Jacques.Goldberg@xxxxxxx> wrote:
Morris,


Linux is not Windows, thanks to God!


REMEMBER, never forget:

Windows : Reboot (not to say reformat)  <---> Linux: Be root


Your problems are entirely due to not running as root when you try to
connect.

You have identified it but have systematically taken the WRONG action.

Permissions are set for security, to restrict access to certain users.

You should run     sudo wvdial
It would be nice, if you keep trace of your work, to return all changed
permissions to their original setting.


Why, you ask, right?

Because when opening wide access to restricted files, you also open your
computer to hacking, not only from your console, but also from the network
when you are connected.


Jacques



Morris Lee wrote:

I've got my modem to dial out, but the moment it connects, the connection
is terminated and I get the message "The PPP daemon has died" with an error
code 02.  I've looked at the pppd manual but it doesn't do much in
explaining what to do to fix the problem.  Here's what it says:

      2      An error was detected in processing the options given,  such
 as two mutually exclusive options being used.

I blundered into /var/log and found this in the system log after the last
dial-in attempt:

Mar 22 13:48:01 morris-laptop pppd[22686]: Can't open options file
/etc/ppp/peers/wvdial: Permission denied

Next, I checked for /etc/ppp/peers/wvdial and found an empty folder.

Should I simply start over?  Do I have to reformat my drive and reinstall
my distro?  Help!

Morris





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

  Powered by Linux