Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 14 of 14
I have managed to connect as root and only once, after meshing with the file permissions of /sbin/pppd (I set the UID). Is it possible that this is a permission ...
  1. #11
    Just Joined!
    Join Date
    Apr 2004
    Posts
    8
    I have managed to connect as root and only once, after meshing with the file permissions of /sbin/pppd (I set the UID).
    Is it possible that this is a permission problem?

  2. #12
    thk
    thk is offline
    Just Joined!
    Join Date
    Dec 2005
    Posts
    1

    --

    Yes run wvdial as root..
    you use kppp or wvdial?
    somewhere on your logs i noticed wvdial..
    Wvdial is good.
    On yast -> network devices -> modem , is your modem listed ,have you gone there and detected it?
    If not try doing so..
    I submit you my file /etc/wvdial.conf i used successfully for connecting to isp
    in greece (otenet) ..
    read about wvdial.conf , password.fd if above instructions won't help..

    [Dialer Defaults]
    Ask Password = 0
    Auto DNS = true
    Baud = 115200
    Compuserve = false
    Dial Command = ATDT
    ISDN = false
    Idle Seconds = 0
    Init1 = ATZ
    Init2 = ATM0L0
    Init3 = ATX
    Modem = /dev/modem
    Modem Type = Analog Modem
    Password = pass
    Phone = 8962555555
    Stupid Mode = true
    Username = user

    [Dialer kpotenet]
    Baud = 115200
    Password = pass
    Phone = 8962555555
    Username = user

    [Dialer otenet]
    Baud = 115200
    Password = pass
    Phone = 8962555555
    Username = user

  3. #13
    Just Joined!
    Join Date
    Apr 2004
    Posts
    8
    I tried running wvdial as root. I also tried kppp and kinternet and I get the same result. My modem is detected by Yast. I'm from greece also (I use panafonet). Perhaps there is something wrong with the PAP authentication, since the modem hangs up after carrier detection, but I don't know how to fix it.

    This is my wvdial.conf:
    [Dialer Defaults]
    Modem = /dev/ttyS0
    Modem Type = Analog Modem
    Baud = 115200
    Init1 = ATZ
    Init2 = ATQ0 V1 E1 S0=0 &C1 &D2
    Init3 = ATX
    Area Code =
    Ask Password = 0
    Dial Command = ATDT
    Stupid Mode = 1
    Compuserve = 0
    Force Address =
    Idle Seconds = 0
    DialMessage1 =
    DialMessage2 =
    ISDN = 0
    Auto DNS = 1
    Phone = 8962500000
    Username = **
    Password = **

    [Dialer panafonet]
    Baud = 115200
    Password = **
    Phone = 8962500000
    Username = **

    This is a part from /var/log/messages
    Dec 28 00:43:24 linux pppd[8313]: Plugin passwordfd.so loaded.
    Dec 28 00:43:24 linux pppd[8313]: pppd 2.4.3 started by root, uid 0
    Dec 28 00:43:24 linux pppd[8313]: Using interface ppp0
    Dec 28 00:43:24 linux pppd[8313]: Connect: ppp0 <--> /dev/ttyS0
    Dec 28 00:43:29 linux ifup: No configuration found for ppp0
    Dec 28 00:43:35 linux pppd[8313]: Modem hangup
    Dec 28 00:43:35 linux pppd[8313]: Connection terminated.
    Dec 28 00:43:35 linux pppd[8313]: Exit.
    Dec 28 00:43:35 linux ifdown: No configuration found for ppp0
    Dec 28 00:43:35 linux ifdown: Nevertheless the interface will be shut down.
    Dec 28 00:43:35 linux SuSEfirewall2: Warning: ip6tables does not support state matching. Extended IPv6 support disabled.
    Dec 28 00:43:35 linux SuSEfirewall2: Setting up rules from /etc/sysconfig/SuSEfirewall2 ...
    Dec 28 00:43:35 linux SuSEfirewall2: batch committing...
    Dec 28 00:43:35 linux SuSEfirewall2: Firewall rules successfully set
    Dec 28 00:46:05 linux ifup: No configuration found for ppp0
    Dec 28 00:46:11 linux ifup: Interface /dev/ppp0 is not available

    And this is the kppp logfile
    Dec 27 19:25:59 linux pppd[9062]: Plugin passwordfd.so loaded.
    Dec 27 19:25:59 linux pppd[9062]: pppd 2.4.3 started by root, uid 0
    Dec 27 19:25:59 linux pppd[9062]: using channel 2
    Dec 27 19:25:59 linux pppd[9062]: Using interface ppp0
    Dec 27 19:25:59 linux pppd[9062]: Connect: ppp0 <--> /dev/ttyS0
    Dec 27 19:25:59 linux pppd[9062]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x76e4cddb> <pcomp> <accomp>]
    Dec 27 19:26:01 linux pppd[9062]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x76e4cddb> <pcomp> <accomp>]
    Dec 27 19:26:03 linux pppd[9062]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x76e4cddb> <pcomp> <accomp>]
    Dec 27 19:26:05 linux pppd[9062]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x76e4cddb> <pcomp> <accomp>]
    Dec 27 19:26:07 linux pppd[9062]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x76e4cddb> <pcomp> <accomp>]
    Dec 27 19:26:09 linux pppd[9062]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x76e4cddb> <pcomp> <accomp>]
    Dec 27 19:26:11 linux pppd[9062]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x76e4cddb> <pcomp> <accomp>]
    Dec 27 19:26:13 linux pppd[9062]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x76e4cddb> <pcomp> <accomp>]
    Dec 27 19:26:15 linux pppd[9062]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x76e4cddb> <pcomp> <accomp>]
    Dec 27 19:26:17 linux pppd[9062]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x76e4cddb> <pcomp> <accomp>]
    Dec 27 19:26:19 linux pppd[9062]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x76e4cddb> <pcomp> <accomp>]
    Dec 27 19:26:21 linux pppd[9062]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x76e4cddb> <pcomp> <accomp>]
    Dec 27 19:26:21 linux pppd[9062]: Hangup (SIGHUP)
    Dec 27 19:26:21 linux pppd[9062]: Modem hangup
    Dec 27 19:26:21 linux pppd[9062]: Connection terminated.
    Dec 27 19:26:21 linux pppd[9062]: Exit.

  4. #14
    Just Joined!
    Join Date
    Apr 2004
    Posts
    8
    Anyone knows if PAP has any options or parameters that I can change?
    I've noticed that pppd exits with the same exit code, 16, even when I supply a wrong username or password. So I assume that after the authentication fails or perhaps never starts. Let me know if you know any tutorials published in the web.

Page 2 of 2 FirstFirst 1 2

Posting Permissions

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