Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!vic.news.telstra.net!act.news.telstra.net!psgrain!reuter.cse.ogi.edu!news.co.intel.com!chnews!itnews.sc.intel.com!news.sprintlink.net!news-stk-200.sprintlink.net!tank.news.pipex.net!pipex!dish.news.pipex.net!pipex!tube.news.pipex.net!pipex!lade.news.pipex.net!pipex!news.be.innet.net!INbe.net!news.nl.innet.net!INnl.net!hunter.premier.net!netnews.worldnet.att.net!ix.netcom.com!netcom.net.uk!dispatch.news.demon.net!dem on!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail From: brian@awfulhak.demon.co.uk (Brian Somers) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: help connecting to internet Date: 26 Jun 1996 02:19:59 -0500 Organization: Coverform Ltd. Lines: 39 Message-ID: <4qqoav$156@anorak.coverform.lan> References: <4qmrh3$nv5@bambam.soi.city.ac.uk> NNTP-Posting-Host: localhost.coverform.lan X-NNTP-Posting-Host: awfulhak.demon.co.uk X-Newsreader: TIN [version 1.2 PL2] Akdam T (ac116@city.ac.uk) wrote: : and if I try netstat -r I get: : Routing tables : Internet: : Destination Gateway Flags Refs Use Netif Expire : 112 akdam USc 1 0 tun0 : localhost localhost UH 1 57 lo0 : 158.152.1.222 akdam UH 0 0 tun0 : akdam localhost UGHS 2 15 lo0 You havn't got a default. Can you ping demon-du (158.152.1.222)? If so, in /etc/ppp/ppp.conf add a line to the end of your ppp entry saying add 0 0 HISADDR If not, what does /var/log/ppp.log say? The ppp.conf entry is the same as "route add default 158.152.1.222" and should give you a route entry saying akdam 158.152.1.222 UGHS x x tun0 BTW, I take it 112.0.0.0 is a local network. If you're connecting to the net, you really should change this to be one of the classes recommended in /etc/hosts: # According to RFC 1918, you can use the following IP networks for # private nets which will never be connected to the Internet: # # 10.0.0.0 - 10.255.255.255 # 172.16.0.0 - 172.31.255.255 # 192.168.0.0 - 192.168.255.255 -- Brian <brian@awfulhak.demon.co.uk> Don't _EVER_ lose your sense of humour....