Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!02-newsfeed.univie.ac.at!01-newsfeed.univie.ac.at!Austria.EU.net!EU.net!newsfeed.internetmci.com!in3.uu.net!nntp.hk.super.net!tst.hk.super.net!silee From: silee@news.hk.super.net (Mr Simon Lee) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Dynamic IP's Date: 16 Aug 1996 13:51:25 GMT Organization: Hong Kong Supernet Lines: 62 Message-ID: <4v1uct$1n2@tst.hk.super.net> References: <4uojpr$nbd@news.teleplex.net> <3213D57D.32D5@www.play-hookey.com> NNTP-Posting-Host: is1.hk.super.net X-Newsreader: TIN [version 1.2 PL2] Ken Bigelow (kbigelow@www.play-hookey.com) wrote: : gene johnson wrote: : > : > alright, got ppp to work automatically however, what happens when your : > ISP assigns ip's dynamicly? what do you put in your hosts file to : > identify yourself? : > There might have a better solution, but it works for me :-) This is my /etc/ppp/ppp.conf default: set device /dev/cuaa0 set debug set speed 38400 disable lqr deny lqr set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK ATDT3002 9000\\T TIMEOUT 60 CONNECT" sn: set login "gin: HeeHee word: NotYourBusiness nnex: ppp" set ifaddr 0 202.14.67.39/20 255.255.255.0 # ^ <- 0 for dynamic ip and 202.14.67.39/20 route from 67.39 to 67.255 # set timeout 12000 This is my /etc/ppp/ppp.linkup MYADDR: add 0 0 HISADDR If you do: ppp> dial sn then everything will be OK!! Hope this help, Simon :-) p.s. Any doubt, have a look at the ppp man page all of these are from there. : > reply if you can : > gene@teleplex.net : [ reply sent to both NG and mail ] : You don't need an entry in /etc/hosts for yourself (you've got 127.0.0.1 : for localhost, which works fine for internal stuff). Just check the : /etc/ppp/ppp.linkup.sample file. Your ppp.linkup file should be similar; : it adds the default route after the connection has been established. : You should also read the Handbook entries on PPP operation. : -- : Ken : Are you interested in | : byte-sized education | http://www.play-hookey.com : over the Internet? |