Date: Tue, 5 Aug 1997 08:58:20 +0930 (CST) From: Greg Lehey <grog@lemis.com> To: danielmc@pacbell.net (Daniel McKee) Cc: freebsd-questions@FreeBSD.ORG Subject: Re: dialup PPP problems with FreeBSD 2.2.2-RELEASE Message-ID: <199708042328.IAA18686@freebie.lemis.com> In-Reply-To: <199708010545.WAA05113@mail-gw.pacbell.net> from Daniel McKee at "Jul 31, 97 10:38:29 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Daniel McKee writes: > Hello. For some reason, I can't seem to get the settings right for BSD to > link-up with my ISP (Pacbell Internet). Here's my config; > my IP: dynamicly addressed to me > gateway: also dynamicly addressed to me? (Windows 95 reports to me that my > gateway ip is the same as mine) (but with UNIX it reports a 206.171.138.2 > to me? ) > my dns ip (the only one that stays the same) 206.13.31.12 > my hostname usually looks something like > (danielmc-dialupPPP-?.?.?.?.pacbell.net) or something like that > > ok, can you help me with what settings to set in what file, and what I am > doing wrong? I can get packets going back and forth between me and my > server, but the DNS does NOT resolve any names, but I can ping anything by > IP.... and after about 3 mins, routed, gives me this funky error and > shutsdown my IP and closes the connection..... > PLEASE HELP...thanks.... (Oh, and if it helps any, my PPP account works > fine in win 95) Check with netstat -rn if you have a default route. For example: + $ netstat -rn + Routing tables + + Internet: + Destination Gateway Flags Refs Use Netif Expire + default 139.130.136.129 UGSc 8 208 tun0 This one. Note the Netif field. It should be tun0. If you don't have a default entry, check your /etc/ppp/ppp.linkup file. It should contain the lines: MYADDR: add 0 0 HISADDR You can also add the route manually, but that's a pain: + # ifconfig tun0 + tun0: flags=8151<UP,POINTOPOINT,RUNNING,PROMISC,MULTICAST> mtu 1500 + inet 139.130.136.133 --> 139.130.136.129 netmask 0xffffffc0 ^^^^^^^^^^^^^^^ This one + # route add default 139.130.136.129 Greg
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708042328.IAA18686>