From owner-freebsd-current Fri Aug 11 20:59:41 2000 Delivered-To: freebsd-current@freebsd.org Received: from mail2.teleport.com (mail2.teleport.com [192.108.254.43]) by hub.freebsd.org (Postfix) with SMTP id 22A7037B69D for ; Fri, 11 Aug 2000 20:59:35 -0700 (PDT) (envelope-from anholt@teleport.com) Received: (qmail 15478 invoked from network); 12 Aug 2000 03:59:32 -0000 Received: from i48-04-27.pdx.du.teleport.com (HELO ?192.168.0.11?) (216.26.2.219) by mail2.teleport.com with SMTP; 12 Aug 2000 03:59:32 -0000 Mime-Version: 1.0 X-Sender: anholt@mail.teleport.com Message-Id: Date: Fri, 11 Aug 2000 20:58:48 -0700 To: freebsd-current@freebsd.org From: Eric Anholt Subject: ppp troubles Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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