Find the answer to your Linux question:
Results 1 to 6 of 6
I must have something setup incorrectly ... anyone have a clue as to what I need to do? WVDIAL works only from ROOT (fails due to PPPD failing when not ...
  1. #1
    Just Joined!
    Join Date
    Dec 2005
    Posts
    13

    GNOME-PPP problem on Debian Sarge

    I must have something setup incorrectly ... anyone have a clue as to what I need to do?
    WVDIAL works only from ROOT (fails due to PPPD failing when not as ROOT).
    Debian does not allow logon as ROOT and GNOME-PPP was written for Debian (or so I have read), so it follows that my setup is bad ...
    Has anyone gotten this to work ... or should I be using diald instead?
    Thanks!
    I am using a desktop dialup internet connection, and am a fairly new Linux user.

  2. #2
    Just Joined!
    Join Date
    Jan 2005
    Location
    Topeka, KS, USA
    Posts
    88
    You need to add your user account to the group dialout so that the account has permissions to access the networking functions. I find that I also have to run the command
    Code:
    route -add default ppp0
    as root to get my machine to use the dialed connection, although maybe gnome-ppp might handle this for you (I use wvdial with does not).

  3. #3
    Just Joined!
    Join Date
    Dec 2005
    Posts
    4

    Thumbs up You can log in to Debian as root

    Quote Originally Posted by scpeckham
    Debian does not allow logon as ROOT
    Hi. I am new to Linux myself (< 1 week experience), but you actually can log in to Gnome as root. It's diabled by default, but if you go into the Settings menu (or Actions, don't remember which) there's a check box that says something like, "Allow root to log in from this menu".

    Hope that helps.

  4. #4
    Just Joined!
    Join Date
    Dec 2005
    Posts
    13
    Thanks for the effort, I was already in the dialout group (verifed that when I went to add it), and the route command did not seem to have any effect (still getting exit code 2 from pppd when not su to root).

    I am pretty sure I do not want all users logging on as root if I can avoid it.
    No luck, but if you have anything else I could try...
    Thanks,
    Steven

  5. #5
    Just Joined!
    Join Date
    Dec 2005
    Posts
    7
    Quote Originally Posted by scpeckham
    Thanks for the effort, I was already in the dialout group (verifed that when I went to add it), and the route command did not seem to have any effect (still getting exit code 2 from pppd when not su to root).

    I am pretty sure I do not want all users logging on as root if I can avoid it.
    No luck, but if you have anything else I could try...
    Thanks,
    Steven
    I unfortunately have more experiance with ppp problems than I'd like to admit to, and alot of those are with debian based distros.

    from the pppd man pages
    exit code 2 An error was detected in processing the options given, such as
    two mutually exclusive options being used.
    You probably should check your /etc/ppp/options file with a text editor and see what might be conflicting with what you have set up in gnome-ppp. I believe there is a command listed in the options file which will let you see all the active options. Hope that helps.

  6. #6
    Just Joined!
    Join Date
    Dec 2005
    Posts
    13
    THANKS! That helped in an strange way ... I found I could not get to the /etc/ppp/peers
    directory ... as soon as I did a CHMOD on that, everything worked!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •