Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!uunet!in2.uu.net!204.94.214.20!news.sgi.com!howland.erols.net!rill.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.utell.co.uk!localhost!nobody From: brian@shift.utell.net (Brian Somers) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: PPP- a one way street? Date: Fri, 27 Jun 1997 16:17:29 +0100 Organization: Utell International Lines: 89 Message-ID: <9il0p5.k39.ln@localhost> References: <33B38628.446B9B3D@javanet.com> NNTP-Posting-Host: shift.utell.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Newsreader: knews 0.9.8 Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:43635 In article <33B38628.446B9B3D@javanet.com>, Jack <harpoMARX@javanet.com> writes: > After scanning through more mailing list and news archives than I > would've liked, I have to admit that I have no idea why I can't > telnet/ping the ip address which is assigned me (dynamicaly) by my isp. > > I'm running FreeBSD 2.1.5R. > I have my domain and bother nameservers (205.219.162.3 p, 204.70.128.1 > s) in /etc/resolv.conf. I have localhost and the name of my stand-alone > computer in /etc/hosts. > I'm not running any routers (that I know of!), and /etc/host.conf calls > hosts and then bind. > > The only thing I'm worried about is that I did not use the gateway > address my isp gave me anywhere! (It's 205.219.162.1) > > Here's my "netstat -rn" output: > -- > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif > Expire > default 206.103.15.2 UGc 1 0 tun0 > 127.0.0.1 127.0.0.1 UH 0 0 lo0 > 206.103.15.2 206.103.15.27 UH 2 0 tun0 > -- > Something should be traveling through localhost, I guess- but clearly > isn't. > Here's my "/etc/ppp.conf": > -- > default: > set device /dev/cuaa1 > set speed 115200 > disable lqr > deny lqr > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATZ OK > \\dATDT\\T TIMEOUT 30 CONNECT" > set login "TIMEOUT 5 login:-\\r-login: harpo.ppp word: MYPASSWORD" > set timeout 0 > # ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 > # delete ALL > # add 0 0 10.0.0.2 > (I've tried adding the above- it just makes things worse-i.e. slower. > Incidently, this computer is free standing- not hooked up to ethernet, > etc) > > javanet: > set phone NUMBER1 > dial > > javanet2: > set phone NUMBER2 > dial > -- > Finally, here's my "/etc/ppp.linkup": > MYADDR: > # delete ALL > add 0 0 HISADDR > # add MYADDR 255.255.255.0 127.0.0.1 > (I've also tried using to commented out lines and changing the netmask > to 255.255.255.255) > --- > I've also tried setting sysconfig's "tcp_extensions" to "NO." > I appologize for the length of this message. > Any help would be GREATLY appreciated. I'm looking at trying to get ppp/pppd/slip to do this automatically, but for now, just add a static route in your ppp.conf: add 206.103.15.27 255.255.255.255 127.0.0.1 If you want this only to be available while your connection is up, you'll need the latest ppp (available from http://www.freebsd.org/~brian). You can put the above in your ppp.linkup and remove it in ppp.linkdown: delete 206.103.15.27 > Thanks, > John Szumowski > (harpo AT javanet DOT com)- my return address is deliberately incorrect; > sorry -- Brian <brian@awfulhak.org> <brian@freebsd.org> <http://www.awfulhak.org> Don't _EVER_ lose your sense of humour !