Date: Fri, 11 Aug 2000 20:58:48 -0700 From: Eric Anholt <anholt@teleport.com> To: freebsd-current@freebsd.org Subject: ppp troubles Message-ID: <f04310103b5ba6744d2ff@[192.168.0.11]>
next in thread | raw e-mail | index | archive | help
I've been seeing these errors for about a month now. When PPP is first started, it outputs: calwell:/usr/src/bzflag>ppp -ddial -nat papchap Working in ddial mode Using interface: tun0 Warning: Add route failed: 0.0.0.0: errno: Network is unreachable It still dials and connects, then gets an IP, but I never get the default route. I have to manually ifconfig to find the ip and route add default it. Before: calwell:/usr/src/bzflag> netstat -rn | head Routing tables Internet: Destination Gateway Flags Netif Expire 127.0.0.1 127.0.0.1 UH 4 69726 lo0 192.168/16 link#1 UC 0 0 rl0 => 192.168.0.1 0:c0:ca:12:7d:30 UHLW 0 8 lo0 192.168.0.11 0:5:2:b6:ad:21 UHLW 1 106946 rl0 251 192.168.0.12 0:80:ad:b0:3b:ef UHLW 2 342 rl0 1162 192.168.255.255 ff:ff:ff:ff:ff:ff UHLWb 3 155 rl0 After: calwell:/usr/src/bzflag> netstat -rn | head Routing tables Internet: Destination Gateway Flags Netif Expire default 216.26.1.5 UGSc 3 24 tun0 127.0.0.1 127.0.0.1 UH 4 69750 lo0 192.168/16 link#1 UC 0 0 rl0 => 192.168.0.1 0:c0:ca:12:7d:30 UHLW 0 8 lo0 192.168.0.11 0:5:2:b6:ad:21 UHLW 1 106973 rl0 208 192.168.0.12 0:80:ad:b0:3b:ef UHLW 2 342 rl0 1119 calwell:/usr/src/bzflag> ifconfig tun0 tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1524 inet6 fe80::2c0:caff:fe12:7d30%tun0 --> :: prefixlen 64 scopeid 0xa inet 216.26.2.219 --> 216.26.1.5 netmask 0xffffff00 Opened by PID 21106 Excerpts from ppp.conf default: set device /dev/cuaa0 set log Phase Chat LCP IPCP tun command connect #CCP set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" set timeout 120 # 3 mintue idle timer (the default) set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 add default HISADDR # Add a (sticky) default route (then the regular papchap stuff) Can anyone help me? This is really annying, especially since I have a very nasty connection that keeps dropping and making me route delete, ifconfig -a ( & repeat), route add again. If there is any other info needed, I would be glad to post. -- -- Eric Anholt anholt@teleport.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f04310103b5ba6744d2ff>