Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am having problems getting my PPP to work. I am trying to dial to my ISP without any luck. I tried a different RAS server as well but still got the same issues.
I use WvDial with pppd to connect. If I dont use Stupid Mode then I get stuck on the "Carrier detected. Waiting for prompt." line, this is my log then,
Quote:
Using interface ppp0
local IP address 10.64.64.64
remote IP address 10.112.112.112
Starting link
--> WvDial: Internet dialer version 1.60
--> Initializing modem.
--> Sending: AT
AT
OK
--> Sending: AT&F1 %V2 %P3
AT&F1 %V2 %P3
OK
--> Modem initialized.
--> Idle Seconds = 120, disabling automatic reconnect.
--> Sending: ATDT28#
--> Waiting for carrier.
ATDT28#
CONNECT 115200
--> Carrier detected. Waiting for prompt.
~[7f][03]@![01]7 ![03][04]@#[05][06]\VI+[11][04][05]t[13][0f][01]SNET-NY-AS01[15]5~~[7f][03]@![01]8 ![03][04]@#[05][06]\VI+[11][04][05]t[13][0f][01]SNET-NY-AS01 Z~~[7f][03]@![01]9 ![03][04]@#[05][06]\VI+[11][04][05]t[13][0f][01]SNET-NY-AS01k-~~[7f][03]@![01]: ![03][04]@#[05][06]\VI+[11][04][05]t[13][0f][01]SNET-NY-AS01M4~~[7f][03]@![01]; ![03][04]@#[05][06]\VI+[11][04][05]t[13][0f][01]SNET-NY-AS01/C~~[7f][03]@![01]< ![03][04]@#[05][06]\VI+[11][04][05]t[13][0f][01]SNET-NY-AS01[10][0f]~~[7f][03]@![01]= ![03][04]@#[05][06]\VI+[11][04][05]t[13][0f][01]SNET-NY-AS01rx~~[7f][03]@![01]> ![03][04]@#[05][06]\VI+[11][04][05]t[13][0f][01]SNET-NY-AS01Ta~~[7f][03]@![01]? ![03][04]@#[05][06]\VI+[11][04][05]t[13][0f][01]SNET-NY-AS016[16]~~[7f][03]@![01]@ ![03][04]@#[05][06]\VI+[11][04][05]t[13][0f][01]SNET-NY-AS01[1e][1a]~
--> Don't know what to do! Starting pppd and hoping for the best.
Serial connection established.
using channel 71
Connect: ppp0 <--> /dev/ttyS0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xd997ea52> <pcomp> <accomp>]
Hangup (SIGHUP)
Modem hangup
Connection terminated.
If I turn Stupid Mode on then the pppd will start and I can se my machine sending ConfReq as below,
Quote:
Using interface ppp0
local IP address 10.64.64.64
remote IP address 10.112.112.112
Starting link
--> WvDial: Internet dialer version 1.60
--> Initializing modem.
--> Sending: AT
ERROR
--> Bad init string.
Caught signal 15: Attempting to exit gracefully...
Connect script failed
Using interface ppp0
local IP address 10.64.64.64
remote IP address 10.112.112.112
Starting link
--> WvDial: Internet dialer version 1.60
--> Initializing modem.
--> Sending: AT
AT
OK
--> Sending: AT&F1 %V2 %P3
AT&F1 %V2 %P3
OK
--> Modem initialized.
--> Idle Seconds = 120, disabling automatic reconnect.
--> Sending: ATDT28#
--> Waiting for carrier.
ATDT28#
CONNECT 115200
--> Carrier detected. Chatmode finished.
Serial connection established.
using channel 69
Connect: ppp0 <--> /dev/ttyS0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x62f90f68> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x62f90f68> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x62f90f68> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x62f90f68> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x62f90f68> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x62f90f68> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x62f90f68> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x62f90f68> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x62f90f68> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x62f90f68> <pcomp> <accomp>]
LCP: timeout sending Config-Requests
Connection terminated.
Hangup (SIGHUP)
If I add "sync" to my PPP config (I can change into HDLC mode on my modem by sending %P2 rather then %P3) then I get the following,
Quote:
Using interface ppp0
local IP address 10.64.64.64
remote IP address 10.112.112.112
Starting link
--> WvDial: Internet dialer version 1.60
--> Initializing modem.
--> Sending: AT
AT
OK
--> Sending: AT&F1 %V2 %P2
AT&F1 %V2 %P2
OK
--> Modem initialized.
--> Idle Seconds = 120, disabling automatic reconnect.
--> Sending: ATDT28#
--> Waiting for carrier.
ATDT28#
CONNECT 115200
--> Carrier detected. Chatmode finished.
Serial connection established.
using channel 72
Connect: ppp0 <--> /dev/ttyS0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x6eb8a57f> <pcomp> <accomp>]
rcvd [LCP] 01 c3 00 21 03 04 c0 23 05 06 5c 59 b9 f2 11 04 05 f4 13 0f
rcvd [proto=0x1] 53 4e 45 54 2d 4e 59 2d 41 53 30 31
Discarded non-LCP packet when LCP not open
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x6eb8a57f> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x6eb8a57f> <pcomp> <accomp>]
rcvd [LCP] 02 01 00 14
rcvd [proto=0x206] 00 00 00 00 05 06 6e b8 a5 7f 07 02 08 02
Discarded non-LCP packet when LCP not open
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x6eb8a57f> <pcomp> <accomp>]
rcvd [LCP] 02 01 00 14
rcvd [proto=0x206] 00 00 00 00 05 06 6e b8 a5 7f 07 02 08 02
Discarded non-LCP packet when LCP not open
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x6eb8a57f> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x6eb8a57f> <pcomp> <accomp>]
rcvd [LCP] 01 c4 00 21 03 04 c0 23 05 06 5c 59
rcvd [proto=0xb9] f2 11 04 05 f4 13 0f 01 53 4e 45 54 2d 4e 59 2d 41 53 30 31
Discarded non-LCP packet when LCP not open
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x6eb8a57f> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x6eb8a57f> <pcomp> <accomp>]
rcvd [LCP] 02 01 00 14
rcvd [proto=0x206] 00 00 00 00 05 06 6e b8 a5 7f 07 02 08 02
Discarded non-LCP packet when LCP not open
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x6eb8a57f> <pcomp> <accomp>]
rcvd [LCP] 01 c5 00 21 03 04 c0 23 05 06 5c 59
rcvd [proto=0xb9] f2 11 04 05 f4 13 0f 01 53 4e 45 54 2d 4e 59 2d 41 53 30 31
Discarded non-LCP packet when LCP not open
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x6eb8a57f> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x6eb8a57f> <pcomp> <accomp>]
rcvd [LCP] 02 01 00 14
rcvd [proto=0x206] 00 00 00 00 05 06 6e b8 a5 7f 07 02 08 02
Discarded non-LCP packet when LCP not open
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x6eb8a57f> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x6eb8a57f> <pcomp> <accomp>]
rcvd [LCP] 01 c6 00 21
rcvd [proto=0x3] 04 c0 23 05 06 5c 59 b9 f2 11 04 05 f4 13 0f 01 53 4e 45 54 2d 4e 59 2d 41 53 30 31
Discarded non-LCP packet when LCP not open
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x6eb8a57f> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x6eb8a57f> <pcomp> <accomp>]
rcvd [LCP] 02 01 00 14
rcvd [proto=0x206] 00 00 00 00 05 06 6e b8 a5 7f 07 02 08 02
Discarded non-LCP packet when LCP not open
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x6eb8a57f> <pcomp> <accomp>]
rcvd [LCP] 02 01 00 14
rcvd [proto=0x206] 00 00 00 00 05 06 6e b8 a5 7f 07 02 08 02
Discarded non-LCP packet when LCP not open
rcvd [LCP] 01 c7 00 21 03 04 c0 23 05 06 5c 59 b9 f2 11 04 05 f4 13 0f 01 53 4e 45 54 2d 4e 59
LCP: timeout sending Config-Requests
Connection terminated.
Hangup (SIGHUP)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.