All,
Before I get to the problem I am having I should really introduce my self. I am a 18 year old C programmer from Ipswich presently working for a telco in the area. I have been using linux for a while now, Redhat >5.2 + SUSE >6 at work. With suse 6.1, Tomsrbt and small linux at home.
Up until now I have had no need to get ppp working, I did try a few months ago to get ppp working using kppp but found that the modem I was using needed a large driver (micro$oft windows). I recently aquired a 28.8 external modem which I have connected to one of my home PC's which is running Peanut linux. I have spent all evening trying to get ppp working and have failed. What I have done is this -
* using O'reilly's TCP/IP network admin book I have tried
* DIP using a small script as suggested in the book.
gets to a login prompt but wont get any further
* pppd with chat script, dials in then drops out
* Kppp, initiases modem then drops out trying to dail.
All this is done using the uklinux.net ISP.
If any one can help I would be very Apprecitive. The machine is a amd k6 2/ 200 with 32MB ram duel boot with win95, 3 HD and a haupage TV card* + all the usual refinements.
Thanks
D
* If any one knows how to get this working under Linux I would be interested.
__________________________________________________ Do You Yahoo!? Thousands of Stores. Millions of Products. All in one Place. http://shopping.yahoo.com/
Hi David,
Most of the things you have tried I haven't so I would not be able to help you with those, but I do have pppd with the chat script working so I may be able to help with that.
On my distro pppd and chat both log what they are doing to syslog, so if ypu could find the relavent lines in syslog and post them here I, and maybe others too can have a look so see what is going wrong.
On my system these are found in /var/log/syslog though the exact location may be distro dependant. You are looking for lines like:
Nov 10 22:45:43 localhost pppd[6397]: pppd 2.3.11 started by <...>, uid 1234 Nov 10 22:45:45 localhost chat[6398]: abort on (BUSY) Nov 10 22:45:45 localhost chat[6398]: abort on (NO CARRIER) Nov 10 22:45:45 localhost chat[6398]: abort on (VOICE) Nov 10 22:45:45 localhost chat[6398]: abort on (NO DIALTONE) Nov 10 22:45:45 localhost chat[6398]: abort on (NO DIAL TONE) Nov 10 22:45:45 localhost chat[6398]: abort on (NO ANSWER) Nov 10 22:45:45 localhost chat[6398]: send (ATZ^M) Nov 10 22:45:45 localhost chat[6398]: expect (OK) Nov 10 22:45:45 localhost chat[6398]: ATZ^M^M Nov 10 22:45:45 localhost chat[6398]: OK Nov 10 22:45:45 localhost chat[6398]: -- got it Nov 10 22:45:45 localhost chat[6398]: send (ATM0^M) Nov 10 22:45:45 localhost chat[6398]: expect (OK) Nov 10 22:45:45 localhost chat[6398]: ^M Nov 10 22:45:45 localhost chat[6398]: ATM0^M^M Nov 10 22:45:45 localhost chat[6398]: OK Nov 10 22:45:45 localhost chat[6398]: -- got it Nov 10 22:45:45 localhost chat[6398]: send (ATDT0123456789^M) Nov 10 22:45:45 localhost chat[6398]: expect (CONNECT) Nov 10 22:45:45 localhost chat[6398]: ^M Nov 10 22:46:08 localhost chat[6398]: ATDT0123456789^M^M Nov 10 22:46:08 localhost chat[6398]: CONNECT Nov 10 22:46:08 localhost chat[6398]: -- got it Nov 10 22:46:08 localhost chat[6398]: send (\d) Nov 10 22:46:09 localhost pppd[6397]: Serial connection established. Nov 10 22:46:09 localhost pppd[6397]: Using interface ppp0 Nov 10 22:46:09 localhost pppd[6397]: Connect: ppp0 <--> /dev/ttyS0 Nov 10 22:46:10 localhost pppd[6397]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xab37101b> <pcomp> <accomp>] Nov 10 22:46:13 localhost pppd[6397]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xab37101b> <pcomp> <accomp>] Nov 10 22:46:14 localhost pppd[6397]: rcvd [LCP ConfReq id=0x1 < 00 04 00 00> <mru 1524> <asyncmap 0x0> <auth pap> <pcomp> <accomp> < 11 04 05 f4> < 13 09 03 00 c0 7b 70 fa ad>] Nov 10 22:46:14 localhost pppd[6397]: sent [LCP ConfRej id=0x1 < 00 04 00 00> < 11 04 05 f4> < 13 09 03 00 c0 7b 70 fa ad>] Nov 10 22:46:14 localhost pppd[6397]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xab37101b> <pcomp> <accomp>] Nov 10 22:46:14 localhost pppd[6397]: rcvd [LCP ConfReq id=0x2 <mru 1524> <asyncmap 0x0> <auth pap> <pcomp> <accomp>] Nov 10 22:46:14 localhost pppd[6397]: sent [LCP ConfAck id=0x2 <mru 1524> <asyncmap 0x0> <auth pap> <pcomp> <accomp>] Nov 10 22:46:14 localhost pppd[6397]: sent [LCP EchoReq id=0x0 magic=0xab37101b]Nov 10 22:46:14 localhost pppd[6397]: sent [PAP AuthReq id=0x1 user="kkiijj" password=<hidden>] Nov 10 22:46:14 localhost pppd[6397]: rcvd [LCP EchoRep id=0x0 magic=0x0] Nov 10 22:46:14 localhost pppd[6397]: rcvd [PAP AuthAck id=0x1 ...] Nov 10 22:46:14 localhost pppd[6397]: local IP address 1.2.3.4 Nov 10 22:46:14 localhost pppd[6397]: remote IP address 5.6.7.8
In article 20001110225823.24080.qmail@web2903.mail.yahoo.com you wrote:
All, Up until now I have had no need to get ppp working, I did try a few months ago to get ppp working using kppp but found that the modem I was using needed a large driver (micro$oft windows). I recently aquired a 28.8 external modem which I have connected to one of my home PC's which is running Peanut linux. I have spent all evening trying to get ppp working and have failed.
You might want to try wvdial. It's an intelligent dialer that attempts to make sense of everything and handle it all for you, and it does a pretty good job, I must admit :-)
Aquarius