Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!news.jhu.edu!aplcenmp!night.primate.wisc.edu!sdd.hp.com!swrinde!gatech!newsfeed.internetmci.com!newsxfer2.itd.umich.edu!agate!hpg30a.csc.cuhk.hk!news.cuhk.edu.hk!hkusuc.hku.hk!wisdom!wkyu From: wkyu@cs.hku.hk (Yu Wing Ka) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: FreeBSD 2.1 User PPP with Dynamic IP's Date: 22 Apr 1996 03:12:49 GMT Organization: University of Hong Kong Lines: 21 Message-ID: <4letfh$ont@hkusuc.hku.hk> References: <31793B92.6E33@eagle.ais.net> NNTP-Posting-Host: wisdom.cs.hku.hk X-Newsreader: TIN [version 1.2 PL2] Jay Rothschild (jay@eagle.ais.net) wrote: > At the shell prompt as root I type: ppp, get the ppp prompt, type: set ifaddr 0 0, then > type: term, which brings me to my modem. > I dialout finewith the usual ATDTxxxxxxx, type in my username & password, see the usual > ppp garbage ({'s and so forth) the ppp prompt changes to PPP. I shell out, & netstat -r > shows the assigned ip's, but I can't ping a thing except localhost or my recently > assigned ip. You also need to add your connected peer as the default gateway by the following command: add 0 0 HISADDR at the PPP prompt. This can be automatically done if you have /etc/ppp/ppp.linkup. See /etc/ppp/ppp.linkup.sample as an example. Good luck. Best regards, -- Ka (wkyu@cs.hku.hk)