Return to BSD News archive
#! rnews 2054 sserve.cc.adfa.oz.au Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!agate!violet.berkeley.edu!jkh From: jkh@violet.berkeley.edu (Jordan K. Hubbard) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Done my homework, struggled for days, still need PPP client setup help Date: 20 May 1995 20:01:10 GMT Organization: University of California, Berkeley Lines: 35 Message-ID: <3plhq6$g88@agate.berkeley.edu> References: <betts.27.0844E5E1@onramp.net> NNTP-Posting-Host: violet.berkeley.edu In article <betts.27.0844E5E1@onramp.net>, Jeff Betts <betts@onramp.net> wrote: >Done my homework, struggled for days, still need PPP client setup help. I'll >spare you the gory details and stick with the relevant facts: How refreshing - I wish most postings here followed such guidelines.. :-) > 3. From the shell, I run /usr/sbin/pppd /dev/cua03 19200 Local and remote addresses? If you look at the man page for pppd, you'll see that <youraddr>:<theiraddr> is also part of the whole thing, e.g. something like: /usr/sbin/pppd /dev/cua03 19200 192.111.222.333:192.111.223.444 After you've done that, do an `ifconfig ppp0' to see if the device is "up" - this means that the local and remote ppp's have established a raport. Now try pinging the remote end - if you can ping it, you're golden. Now you just need to set the nameserver in /etc/resolv.conf (your provider should have given you the IP address of a name server they provide for the purpose) and you're done - you should be able to look things up by name. Ah, one more thing, you may also need to do: route add default <theiripaddr> Which will tell FreeBSD to route all packets for non-local addresses to the provider. pppd has an option for setting this default route automatically, but if you don't use it then you'll have to do it manually this way. (I don't know what your /etc/ppp/options or ~/.ppprc files look like, if anything). The man page for pppd is also fairly instructive in this regard. Good luck! Jordan