Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!gatech!usenet.eel.ufl.edu!psgrain!nntp.teleport.com!usenet From: blake <blake1@netcom.com> Newsgroups: comp.unix.bsd.freebsd.misc Subject: PPP Server-something smells funny Date: 13 Jan 1996 16:12:57 GMT Organization: Teleport - Portland's Public Access (503) 220-1016 Lines: 45 Message-ID: <4d8lma$3m3@maureen.teleport.com> NNTP-Posting-Host: ip-pdx05-18.teleport.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 1.22 (Windows; I; 16bit) Yet another chapter in the PPP nightmare. Thnaks to all who helped me out before... version 2.1 is a godsend! Currently, here is the problem (we're talking PPP server now, as user ppp works like a champ thanks to Paul Flores who suggested to Rostyslav Cisyk to take the ifconfig_tun0 line out of /etc/sysconfig): I made a ppp user and a ppplogin script per the man pages. What confused me is that man ppp suggested that I use /usr/bin/ppplogin as a the default shell for the user after creating it. And, as you may suspect, it choked. So I made this this default .login in /home/ppp and that seems to work. However, trumpet winsock does not receive it's ip address, although ifconfig show the appropriate configuration. Secondly, if I drop carrier mid-call the modem goes into a complete state of confusion and locks up the device. Questions: re the lockup problem: I assume that I should be using /dev/ttyd0 (com1) as my device. Does ppp use tip, and if so, I should configure the default tip* setting in /etc/remote? re the ip problem: I am focusing on ppp.conf for this solution, but have no clue. I execute ppp with the following: #/bin/sh ppp -auto hostmode and my ppp.conf looks like: --------------------------------------------- default: set device /dev/cua00 set speed 14400 disable lqr deny lqr set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK\\d ATDT\\T TIMEOUT 40 CONNECT" hostmode: set timeout 600 set ifaddr 128.181.100.104 128.181.100.105 add 128.181.100.104 255.255.255.0 128.181.100.105 -------------------------------------- (note-- the ip address are ficticious...this lan is not on the internet and am still awaiting my ISP to come through with the connection). peace, Blake