*BSD News Article 72932


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.eng.convex.com!newshost.convex.com!newsgate.duke.edu!news.mathworks.com!newsfeed.internetmci.com!in2.uu.net!news.nkn.net!dfw.nkn.net!usenet
From: Syntax <syntax@eramp.net>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: PPP-configuration ?
Date: Fri, 05 Jul 1996 19:56:47 -0500
Organization: National Knowledge Network
Lines: 66
Message-ID: <31DDB9CF.2781E494@eramp.net>
References: <31DD0209.13DB@not.ask>
NNTP-Posting-Host: dialup13.eramp.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0b5aGold (X11; I; FreeBSD 2.1.0-RELEASE i386)

Axl wrote:
> 
> Hi guys.
> I'm new in the FreeBSD-world and I have no problems... except one:
> if I log on the Internet, the modem hangs up after 10secs or so
> (this doen't occur with Win95). Is there anyone who discribe step by
> step (and every step) to configure my FreeBSD (2.1.0) so that I can use
> PPP ? Thnx,
>  Marc

Although I doubt this is the only way and I am sure not the most
secure it works for my home computer so here are my files.

/etc/ppp/ppp.conf

#make sure spacing is kept the same - notice some lines are indented 1
space.
default:
#this is for com. port 1 for com. port 2 use cuaa1
 set device /dev/cuaa1
 set speed 38400
 disable lqr
 deny lqr
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK
\\dATDT\
\T TIMEOUT 40 CONNECT"
host:
#put the phone number you want to dial in place of your_phone_number
 set phone your_phone_number
#put your actual login and password in place of your_login and your_pass
#if your isp prompts you for Username instead of Login then change
#ogin to sername, etc.
 set login "TIMEOUT 5 ogin:-\\r-ogin: your_login word: your_pass"
#as you can see i hate timeouts
 set timeout 120000

/etc/ppp/ppp.linkup

#since my ip is asigned upon dial-up i just had to let my comp. know my
#isp's gateway. substitute your isp's ip gateway add. for gateway
MYADDR:
 add gateway 0 HISADDR

/etc/resolv.conf

#to define your isp's namne server just replace my numbers with yours

nameserver      206.149.42.254
nameserver      129.62.1.1
nameserver      129.62.14.6
nameserver      129.62.1.2

OK if I have forgotten anything I'm sure the community will let me know
in their usual good flames. This is just one set-up and there are many
variations on it, but it works for me just fine.

Also there is a capability of setting a password. Make sure all the
files except /etc/resolv.conf are owned and only readable by root and 
please trash all of my silly comments that begin with #.

Hope this helps.

David

P.S.
almost forgot to use type ppp <enter> dial host <enter>