Setting up a simple PPP server
Hi, I am trying to setup a simple dial-in PPP server. I have followed the various HOW-TOS and have managed to get the server working at least when I dial in from a Windows machine. When I try to connect from my linux machine using KPPP I get the error below in the system log during the logon process, and the connection is terminated.
Oct 2 15:56:18 Robin pppd[814]: Connect: ppp0 <--> /dev/ttyS1 Oct 2 15:56:18 Robin pppd[814]: sent [LCP ConfReq id=0x1
<pcomp> <accomp>] Robin last message repeated 9 times Oct 2 15:56:48 Robin pppd[814]: Terminating on signal 15. Oct 2 15:56:48 Robin pppd[814]: sent [LCP TermReq id=0x2 "User request"] Oct 2 15:56:51 Robin pppd[814]: sent [LCP TermReq id=0x3 "User request"] Connection terminated. Oct 2 15:56:54 Robin pppd[814]: Receive serial link is not 8-bit clean: Oct 2 15:56:54 Robin pppd[814]: Problem: all had bit 7 set to 0 Oct 2 15:56:54 Robin pppd[814]: Exit.
I can get the link to work (sorta) with wvdial, but after a short while the whole system crashes, with the following errors. The remote server crashes as well.
Oct 2 15:59:46 Robin pppd[834]: sent [LCP EchoReq id=0x1 magic=0xaee03118] Oct 2 15:59:47 Robin pppd[834]: rcvd [LCP EchoRep id=0x1 magic=0x682e4a49] Oct 2 16:00:00 Robin kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000018 Oct 2 16:00:00 Robin kernel: printing eip: Oct 2 16:00:00 Robin kernel: c01373c6 Oct 2 16:00:00 Robin kernel: *pde = 00000000 Oct 2 16:00:00 Robin kernel: Oops: 0002 Oct 2 16:00:00 Robin kernel: CPU: 0 Oct 2 16:00:00 Robin kernel: EIP: 0010:[pipe_release+34/136] Not tainted Oct 2 16:00:00 Robin kernel: EFLAGS: 00010246 Oct 2 16:00:00 Robin kernel: eax: 00000000 ebx: 00000001 ecx: caa5de4c edx: 00000000 Oct 2 16:00:00 Robin kernel: esi: caa5dde0 edi: c13c4260 ebp: caa313e0 esp: caceff3c Oct 2 16:00:00 Robin kernel: ds: 0018 es: 0018 ss: 0018 Oct 2 16:00:00 Robin kernel: Process sh (pid: 866, stackpage=cacef000) Oct 2 16:00:00 Robin kernel: Stack: c9021640 caa5dde0 c013744e caa5dde0 00000000 00000001 c012fe6e caa5dde0
Does anyone have any ideas as to what the problem might be. I wondered if its possible that the modem is echoing the characters back, but I really don't know anything about modems. I'm using mgetty to answer the line, and have followed the HOW-TOS for setting up the modem, configuring a dial in PPP server PPP HOW-TO), as well as the config stuff for mgetty. Regards Jeff
* Jeff Hoare;
Hi, I am trying to setup a simple dial-in PPP server. I have followed the various HOW-TOS and have managed to get the server working at least when I dial in from a Windows machine. When I try to connect from my linux machine using KPPP I get the error below in the system log during the logon process, and the connection is terminated.
have you checked ppp server setup at http://susefaq.sf.net/ppp.html http://dinamizm.ath.cx/ppp.html -- Togan Muftuoglu Unofficial SuSE FAQ Maintainer http://dinamizm.ath.cx
The 02.10.03 at 13:12, Jeff Hoare wrote: [...]
I can get the link to work (sorta) with wvdial, but after a short while the whole system crashes, with the following errors. The remote server crashes as well.
Oct 2 15:59:46 Robin pppd[834]: sent [LCP EchoReq id=0x1 magic=0xaee03118] Oct 2 15:59:47 Robin pppd[834]: rcvd [LCP EchoRep id=0x1 magic=0x682e4a49] Oct 2 16:00:00 Robin kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000018
I don't know about your ppp problem. But you may know a bit more the kernel crash with "ksymoops < crashlog". Just copy the log with those lines with "kernel", perhaps trimming them, and feed the resulting file to ksymoops. Providing you still have the same kernel, at least will tell you more. -- Cheers, Carlos Robinson
Thanks for that, So what do I do once I have done as you suggest? I really suspect that the modem is not configured right. Somehow the connection works fine if the client is windows (I've tried NT and 2000). But form my linux laptop failure in fact now my laptop gets rebooted. I've tried using the same intialization string for the modem thats used by windows to no affect. I wouldn't expect this sorta thing unless the memory is getting corrupted by the modem (perhaps its a flow-control thing?) I wish there was somewhere I could go to get some help Jeff On Fri, 11 Oct 2002 09:43, Carlos E. R. wrote:
The 02.10.03 at 13:12, Jeff Hoare wrote:
[...]
I can get the link to work (sorta) with wvdial, but after a short while the whole system crashes, with the following errors. The remote server crashes as well.
Oct 2 15:59:46 Robin pppd[834]: sent [LCP EchoReq id=0x1 magic=0xaee03118] Oct 2 15:59:47 Robin pppd[834]: rcvd [LCP EchoRep id=0x1 magic=0x682e4a49] Oct 2 16:00:00 Robin kernel: Unable to handle kernel NULL pointer
dereference at virtual address 00000018
I don't know about your ppp problem. But you may know a bit more the kernel crash with "ksymoops < crashlog". Just copy the log with those lines with "kernel", perhaps trimming them, and feed the resulting file to ksymoops. Providing you still have the same kernel, at least will tell you more.
Jeff Hoare wrote:
Thanks for that, So what do I do once I have done as you suggest? I really suspect that the modem is not configured right. Somehow the connection works fine if the client is windows (I've tried NT and 2000). But form my linux laptop failure in fact now my laptop gets rebooted. I've tried using the same intialization string for the modem thats used by windows to no affect. I wouldn't expect this sorta thing unless the memory is getting corrupted by the modem (perhaps its a flow-control thing?)
I wish there was somewhere I could go to get some help
Jeff On Fri, 11 Oct 2002 09:43, Carlos E. R. wrote:
The 02.10.03 at 13:12, Jeff Hoare wrote:
[...]
I can get the link to work (sorta) with wvdial, but after a short while the whole system crashes, with the following errors. The remote server crashes as well.
Oct 2 15:59:46 Robin pppd[834]: sent [LCP EchoReq id=0x1 magic=0xaee03118] Oct 2 15:59:47 Robin pppd[834]: rcvd [LCP EchoRep id=0x1 magic=0x682e4a49] Oct 2 16:00:00 Robin kernel: Unable to handle kernel NULL pointer
dereference at virtual address 00000018
I don't know about your ppp problem. But you may know a bit more the kernel crash with "ksymoops < crashlog". Just copy the log with those lines with "kernel", perhaps trimming them, and feed the resulting file to ksymoops. Providing you still have the same kernel, at least will tell you more.
--
Take at look at this URL, it may help you get the modem working. http://tldp.org/HOWTO/PPP-HOWTO/ Paul T. -- Linux the OS of now and the future. Using SuSE Linux.
On Monday 14 October 2002 02:19 am, Jeff Hoare wrote:
suspect that the modem is not configured right
~ the heuristics? of wvdial are pretty good ~ maybe, as root, try again running : wvdialconf /etc/wvdial.conf { will prolly workout best modem string } -- best wishes ____________ sent on Linux ____________
The 02.10.14 at 12:19, Jeff Hoare wrote:
Thanks for that, So what do I do once I have done as you suggest?
I don't know... it depends whether the info you get from ksymoops rings a bell or not. I know very little about the kernel internals.
I really suspect that the modem is not configured right. Somehow the connection works fine if the client is windows (I've tried NT and 2000).
As to the ppp, try to use wvdial instead: it is quite a good program. But no program in linux should cause the system to reboot. -- Cheers, Carlos Robinson
participants (5)
-
Carlos E. R.
-
Jeff Hoare
-
P.T. (nevada)
-
tabanna
-
Togan Muftuoglu