Return to BSD News archive
Newsgroups: comp.unix.bsd.freebsd.misc 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!news.eng.convex.com!hermes.oc.com!news.unt.edu!cs.utexas.edu!howland.reston.ans.net!newsfeed.internetmci.com!in1.uu.net!statsci.com!news From: scott@statsci.com (Scott Blachowicz) Subject: Re: Problems w/ User PPP In-Reply-To: "Todd C. Huss"'s message of Fri, 19 Jan 1996 12:44:54 -0500 X-Nntp-Posting-Host: block Message-ID: <vmenssf1gd.fsf@block.statsci.com> To: "Todd C. Huss" <husst@btv.ibm.com> Lines: 68 Sender: scott@block.statsci.com Reply-To: scott@statsci.com Organization: StatSci div. of MathSoft, Seattle, WA USA X-Newsreader: Gnus v5.1 References: <4da13l$ha9@swen.emba.uvm.edu> <4dj9mf$6rg@helena.MT.net> <mitch4DLCH6y.5HG@netcom.com> <30FFD896.2781@btv.ibm.com> Date: Mon, 22 Jan 1996 19:56:20 GMT >>>>> "Todd" == "Todd C Huss" <husst@btv.ibm.com> Todd> I've been trying to get it working with Slirp. I know my Slirp configuration Todd> is fine because it works just fine with pppd, however, User Space PPP Todd> never switches to the capital PPP prompt. My guess is that User Space PPP Todd> tries to detect when the other side is talking PPP which doesn't seem to Todd> happen with Slirp (I'm using version 1.0b). Any suggestions would be Todd> appreciated. Thanks! Well...I just got this setup to work. My .slirprc looks like this: -vj ppp baudrate 19200 mtu 552 mru 552 asyncmap 0 initiate-options redir X start 5 My /etc/ppp/ppp.conf on the server side has this: default: set device /dev/cuaa1 set speed 57600 set debug Chat set escape 0 disable lqr deny lqr set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1%C1%M3&Q5S46=138S48=7S37=11 OK-AT-OK \\dATDT\\T TIMEOUT 50 CONNECT" sabslirp0: # "sensitive" info XXXXXXXX'd out for posting to net. set phone XXXXXXXX # I use the chat script to fire up slirp from my csh dialin # account. "PROMPT%" would be the csh prompt string. set login "TIMEOUT 30 login:-\\r-login: XXXXXXXX word: XXXXXXXX PROMPT% exec\\sslirp" set timeout 600 deny pred1 disable pred1 # deny acfcomp # disable acfcomp # deny protocomp # disable protocomp # NOTE: the system on the other end of my dialup currently has this fixed IP address. set ifaddr 0 XXX.XXX.XXX.XXX add 0 255.255.255.0 XXX.XXX.XXX.XXX and my /etc/ppp/ppp.linkup has this: # If we are invked with an argument ``iij-demand'', then # delete existing route entry and add peer as default gateway. # iij-demand: delete ALL add 0 0 HISADDR # # Otherwide, simply add peer as default gateway. # MYADDR: add 0 0 HISADDR Hopefully, there's some useful hints in all of that. Comments/tuning suggestions most welcome. For instance, I haven't completely figured out how to set this up. I figure I'll run 'ppp -auto sabslirp0' in /etc/rc.local. Then maybe run a caching named that forwards to name servers at the other end of the phone line. Sound reasonable? Thanx, -- Scott Blachowicz Ph: 206/283-8802x240 Mathsoft (Data Analysis Products Div) 1700 Westlake Ave N #500 scott@statsci.com Seattle, WA USA 98109 Scott.Blachowicz@seaslug.org