Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!lucy.swin.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.mel.connect.com.au!news.mel.aone.net.au!grumpy.fl.net.au!news.webspan.net!www.nntp.primenet.com!nntp.primenet.com!visi.com!mr.net!newsfeeds.sol.net!newspump.sol.net!howland.erols.net!news.mathworks.com!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: PPP dialup urgently
Date: 21 Jan 1997 23:21:29 GMT
Organization: Private BSD site, Dresden
Lines: 65
Message-ID: <5c3j1p$mtn@uriah.heep.sax.de>
References: <8757250184401@pinboard.com>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:34407
Kurt@pinboard.com wrote:
> *- modem dialup with ppp login *- This is the problem. I
> followed the iijppp docs
> and logging in with a
> username of ppp I get all
> the funny characters, but
> trying a login from a
> Win95 machine over modem,
> tells me, that no common
> protocol could be found.
> PPP login to an ISP works
> fine, though.
First, you gotta tell your W95 machine to get down from its Microsoft
hill. I seem to remember there must be an option which makes the
unability to negotiate some specific protocol non-fatal -- which MS
unfortunately decided to not make it the default.
I don't have any experience with IIJPPP as a server. However, i can
pass you on my experience with kernel-PPP as a server.
You either need to recompile your kernel with ppp devices, or modload
the PPP LKM (whatever you prefer). Then, put the following as
/usr/local/sbin/ppplogin:
#!/bin/sh
export PATH="/bin:/usr/bin:/sbin:/usr/sbin"
if opt=$(grep "^${USER}[ ]*" /etc/ppp/users 2>/dev/null)
then
:
else
echo "Invalid PPP user ${USER}" 1>&2
exit 1
fi
set -- $opt
shift
exec pppd "$@"
/etc/ppp/users is for example
Pfoo 192.168.0.1:192.168.1.1
...and /etc/ppp/options:
crtscts modem
passive
Now, if you setup a user Pfoo, and get him /usr/local/sbin/ppplogin as
his login shell, this should establish a PPP connection from
192.168.0.1 (Unix side) to 192.168.1.1 (Dialin user's side). That's
not dynamic or other warm fuzzies, but might serve as a quick start.
--
cheers, J"org
joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)