[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

PPP server glitch



I'm trying to set up one of our lab machines as a PPP server.  I've
successfully gotten to the point where a serial connection is
established and ip numbers are established.  However, I am unable to
ping the server host from my home machine.  I suspect a routing
problem, but the routing table on the client looks okay (there is a
default route to ppp0).  I don't know how to check what is happening
to the ping packets, since they appear to be transmitted. 

One possible bit of complexity is that the server machine has two
ethernet interfaces and does ip-masquerading for a small subnet.

Also, I can't seem to remove the arp table entry for the ppp
interface:
-----------------------------------------------------------

laplace:/etc/ppp# arp -d euler.statmech
SIOCDARP(pub): No such file or directory


euler.statmech (192.168.1.3) at * PERM PUP on eth0
euler.statmech (192.168.1.3) at * PERM PUP on eth1


Here are some of the specifics:
-----------------------------------------------------------------
I have dpkg package ppp version 2.3.5-2, and have compiled ppp support
into the kernel 2.2.10 (not as a module).

The ppp user runs this shell:
----------------------------

mesg n
stty -echo
exec /usr/sbin/pppd  -detach silent modem crtscts debug\
local-ip:remote-ip
---------------------------

Our ppp options are:
--------------------

asyncmap 0
auth
crtscts
lock
modem
netmask 255.255.255.0
kdebug 3
lcp-echo-interval 30
lcp-echo-failure 4
noipx
-------------------------


Here's a bit of ppp.log:
------------------------
Apr  7 11:54:23 laplace pppd[15380]: pppd 2.3.5 started by pppclient,
uid 1005
Apr  7 11:54:23 laplace pppd[15380]: Using interface ppp0
Apr  7 11:54:23 laplace pppd[15380]: Connect: ppp0 <--> /dev/ttyS1
Apr  7 11:54:24 laplace pppd[15380]: rcvd [LCP ConfReq id=0x1
<asyncmap 0x0> <m\
agic 0x7500209d> <pcomp> <accomp>]
Apr  7 11:54:24 laplace pppd[15380]: sent [LCP ConfReq id=0x1
<asyncmap 0x0> <a\
uth pap> <magic 0x756b4adf> <pcomp> <accomp>]
Apr  7 11:54:24 laplace pppd[15380]: sent [LCP ConfAck id=0x1
<asyncmap 0x0> <m\
agic 0x7500209d> <pcomp> <accomp>]
Apr  7 11:54:24 laplace pppd[15380]: rcvd [LCP ConfAck id=0x1
<asyncmap 0x0> <a\
uth pap> <magic 0x756b4adf> <pcomp> <accomp>]
Apr  7 11:54:24 laplace pppd[15380]: sent [LCP EchoReq id=0x0
magic=0x756b4adf]
Apr  7 11:54:24 laplace pppd[15380]: rcvd [LCP EchoReq id=0x0
magic=0x7500209d]
Apr  7 11:54:24 laplace pppd[15380]: sent [LCP EchoRep id=0x0
magic=0x756b4adf]
Apr  7 11:54:24 laplace pppd[15380]: rcvd [PAP AuthReq id=0x1
user="pppclient" \
password=""]
Apr  7 11:54:25 laplace pppd[15380]: sent [PAP AuthAck id=0x1 "Login
ok"]
Apr  7 11:54:25 laplace pppd[15380]: sent [IPCP ConfReq id=0x1 <addr
192.168.1.\
1> <compress VJ 0f 01>]
Apr  7 11:54:25 laplace pppd[15380]: rcvd [LCP EchoRep id=0x0
magic=0x7500209d]
Apr  7 11:54:25 laplace pppd[15380]: rcvd [IPCP ConfReq id=0x1 <addr
0.0.0.0> <\
compress VJ 0f 01>]
Apr  7 11:54:25 laplace pppd[15380]: sent [IPCP ConfNak id=0x1 <addr
192.168.1.\
3>]
Apr  7 11:54:25 laplace pppd[15380]: rcvd [IPCP ConfAck id=0x1 <addr
192.168.1.\
1> <compress VJ 0f 01>]
Apr  7 11:54:25 laplace pppd[15380]: sent [IPCP ConfAck id=0x2 <addr
192.168.1.\
3> <compress VJ 0f 01>]
Apr  7 11:54:25 laplace pppd[15380]: local  IP address 192.168.1.1
Apr  7 11:54:25 laplace pppd[15380]: remote IP address 192.168.1.3
Apr  7 11:54:54 laplace pppd[15380]: sent [LCP EchoReq id=0x1
magic=0x756b4adf]


--------------------------------------------------------------------------
Thanks for any help

Danny Heap
danny@gibbs.med.utoronto.ca


Reply to: