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

Kernel 2.2.x: PPP routing problem?



Problem: PPP works fine under kernel 2.0.36; under 2.2.x it connects, but it seems like no packets go in or out. tcpdump only shows what looks like things trying to get out, but not getting anything back (really technical, huh?). I can ping myself (localhost & local IP), but not _any_ remote IPs (including my nameservers). All IRQs, nameservers, & so on are set correctly.

PPP is compiled into the kernel (of 2.2.9), and I'm using the latest version of PPP. It's slink, but I've tried it with apt-get update & upgrade using the unstable area; makes no difference. Re-installed many times. Booting from floppy due to a resistant HD/BIOS. I've spent about two weeks on this problem, scouring searchlinux.com, deja(news), the HOW-TOs, Google, and so on. And I reckon I've spent about £5 on phone bills trying things.

Here are various outputs while connected (my apologies if everything gets munged by Eudora):

# route -n
Destination   Gateway       Genmask         Flags Metric Ref Use Iface
195.147.160.5 0.0.0.0       255.255.255.255 UH    0      0     0 ppp0
127.0.0.1     0.0.0.0       255.255.255.255 UH    0      0     0 lo
0.0.0.0       195.147.160.5 0.0.0.0         UG    0      0     0 ppp0

^- I only get loopback when I do 'route add -host 127.0.0.1'

# ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          Collisions:0
ppp0      Link encap:Point-to-Point Protocol
          inet addr:195.147.165.134  P-t-P:195.147.160.5  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:13 errors:0 dropped:0 overruns:0 frame:0
          TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
          Collisions:0

# tcpdump -i ppp0 (single telnet to my POP3 mailbox (there are no problems at the ISP end: it's fine within Windows)) 195.147.165.134.1024 > 194.126.82.5.domain: 55880+ A? mail.globalnet.co.uk. (38) 195.147.165.134.1024 > 194.126.86.9.domain: 55880+ A? mail.globalnet.co.uk. (38) 195.147.165.134.1024 > 194.126.82.5.domain: 55880+ A? mail.globalnet.co.uk. (38) 195.147.165.134.1024 > 194.126.86.9.domain: 55880+ A? mail.globalnet.co.uk. (38) 195.147.165.134.1024 > 194.126.82.5.domain: 55880+ A? mail.globalnet.co.uk. (38)

# egrep -v '#|^ *$' /etc/ppp/options
asyncmap 0     auth    crtscts   lock   hide-password   modem
noipdefault    -am     -vj       debug  lcp-echo-interval 30
lcp-echo-failure 4     noipx

-am and -vj make no difference.

# /var/log/ppp.log (start and end trimmed, only showing pppd)
Serial connection established.
Using interface ppp0
Connect: ppp0 <--> /dev/ttyS2
sent [LCP ConfReq id=0x1 <magic 0x277274c6> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x5b <asyncmap 0xa0000> <magic 0x1921c20> <pcomp> <accomp>]
sent [LCP ConfRej id=0x5b <asyncmap 0xa0000>]
rcvd [LCP ConfReq id=0x5c <magic 0x1921c20> <pcomp> <accomp>]
sent [LCP ConfAck id=0x5c <magic 0x1921c20> <pcomp> <accomp>]
rcvd [IPCP ConfReq id=0xc6 <compress VJ 0f 00> <addr 195.147.160.5>]
sent [LCP ConfReq id=0x1 <magic 0x277274c6> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x5d <asyncmap 0xa0000> <magic 0x19227e9> <pcomp> <accomp>]
sent [LCP ConfRej id=0x5d <asyncmap 0xa0000>]
rcvd [LCP ConfAck id=0x1 <magic 0x277274c6> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x5e <magic 0x19227e9> <pcomp> <accomp>]
sent [LCP ConfAck id=0x5e <magic 0x19227e9> <pcomp> <accomp>]
sent [LCP EchoReq id=0x0 magic=0x277274c6]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
rcvd [IPCP ConfReq id=0xc7 <compress VJ 0f 00> <addr 195.147.160.5>]
sent [IPCP ConfRej id=0xc7 <compress VJ 0f 00>]
rcvd [LCP EchoRep id=0x0 magic=0x19227e9]
rcvd [LCP ProtRej id=0x5f 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
rcvd [IPCP ConfReq id=0xc8 <addr 195.147.160.5>]
sent [IPCP ConfAck id=0xc8 <addr 195.147.160.5>]
rcvd [IPCP ConfReq id=0xc9 <addr 195.147.160.5>]
sent [IPCP ConfAck id=0xc9 <addr 195.147.160.5>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>]
rcvd [IPCP ConfNak id=0x1 <addr 195.147.165.134>]
sent [IPCP ConfReq id=0x2 <addr 195.147.165.134>]
rcvd [IPCP ConfAck id=0x2 <addr 195.147.165.134>]
local  IP address 195.147.165.134
remote IP address 195.147.160.5
Script /etc/ppp/ip-up started; pid = 159
Script /etc/ppp/ip-up finished (pid 159), status = 0x0

#####

That's it. If you need more info then just say. I'm really lost with this, so if any of you live near me and know how to sort this out, then you can have a couple of free pints someday.

Finally, I'm _really_ sorry if this is all a waste of bandwith. (Just remember to snip plenty if you're kind enough to reply).

Thanks,
  Kris


Reply to: