*BSD News Article 84652


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!inquo!nntp.uio.no!nntp-oslo.UNINETT.no!nntp-trd.UNINETT.no!news.uni-c.dk!news-inn.uni-c.dk!news.uni-c.dk!sirius.dscc.dk!pholm
From: pholm@sirius.dscc.dk (Peter Holm (3????))
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Help : Dynamic PPP Setup
Date: 10 Dec 1996 08:49:36 GMT
Organization: News Server at UNI-C, Danish Computing Centre for Research and Education.
Lines: 66
Message-ID: <58j870$m6q@news.uni-c.dk>
References: <58e52u$1qs@lantana.singnet.com.sg> <58isla$af6@anorak.coverform.lan>
NNTP-Posting-Host: sunrise.dscc.dk
X-Newsreader: TIN [version 1.2 PL2]

Brian Somers (brian@anorak.coverform.lan) wrote:
: In article <58e52u$1qs@lantana.singnet.com.sg>,
: 	light@singnet.com.sg (Jason Tseng) writes:
: : i've tried for days now and i still can't get ppp (dynamic ip) to
: : work.

I too had quite a lot of problems with setting up iij-ppp.

Here's what I ended op with, after advise from another ppp user.

Note that the sysconfig file, does *NOT* contain any reference to
the tun device, contrary to what the handbook says it should!

/etc/sysconfig :
hostname=peter.risby.dk
network_interfaces="lo0"
ifconfig_lo0="inet localhost"
static_routes=""
defaultrouter=NO
router=NO
------------------------------------------------------------------
/etc/ppp/ppp.conf:
default:
 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 COMPRESSED"
#
chap:
 set phone 43661520
 accept chap
 deny pap
 set authname 126103369786
 set authkey  xxxxxxx
 set login "TIMEOUT 5 username:-\\r-username:"
 set timeout 0
 set openmode active
 dial
------------------------------------------------------------------
/etc/ppp/ppp.linkup:
MYADDR:
 add 0 0 HISADDR
------------------------------------------------------------------
/etc/hosts:
127.0.0.1		localhost
10.0.0.1		peter.risby.dk peter
------------------------------------------------------------------
/etc/host.conf:
bind
hosts
------------------------------------------------------------------
/etc/resolv.conf
nameserver 193.162.146.9
nameserver 193.162.153.131
------------------------------------------------------------------


I still have one problem :

bash$ ppp -auto chap
Must specify dstaddr with auto mode.

--
Peter Holm                 pholm@dscc.dk