AutoPPP account?
hylx@eastmail.com (hylx@eastmail.com)
Mon, 09 Aug 1999 14:44:23 +0800
Hello,
Recently I've been trying to set up a ppp server to handle dialin users=
from win95 pc but encountered some trouble.
My questions are:
1.How can I create an account to work with AutoPPP and how can my win95=
users configurate their dialup connection(i.e. what user name and password=
they should use)?
2. Is it possible to let a win95 dialin user have shell access? If=
possible, how to do it?
I also heard that there is a patch which can enable AutoPPP to work without=
an account. Would anyone mind telling me how does it work and where to=
find it?
The following are related sections of my current configuration files:
/etc/inittab:
T3:23:respawn:/sbin/mgetty -x2 -D ttyS1
/etc/mgetty/login.config:
/AutoPPP/ - a_ppp /etc/ppp/ppplogin
* - - /bin/login @
/etc/ppp/ppplogin:
#!/bin/sh
mesg n
stty -echo
/usr/sbin/pppd file /etc/ppp/options.server
/etc/ppp/options.server:
ms-dns 192.168.0.1
asyncmap 0
auth
crtscts
lock
modem
netmask 255.255.255.0
-detach
+pap
-chap
proxyarp
login
/etc/ppp/options/ttyS1:
192.168.0.1:192.168.0.2
/etc/ppp/pap-secrets:
* * "" *
root * "*" *
the "guest" entry in my /etc/passwd is:
guest::1003:1003:,,,:/tmp:/etc/ppp/ppplogin
My win95 user uses "guest" as their usrname and have no password, but PPP=
connection cannot be successfully established.
Here's an excerpt of my ppp.log:
pppd[839]: pppd 2.3.5 started by a_ppp, uid 0
pppd[839]: Using interface ppp0
pppd[839]: Connect: ppp0 <--> /dev/ttyS1
pppd[839]: sent [LCP ConfReq id=3D0x1 <asyncmap 0x0> <auth pap> <magic=
0x221ab194> <pcomp> <accomp>]
pppd[839]: rcvd [LCP ConfAck id=3D0x1 <asyncmap 0x0> <auth pap> <magic=
0x221ab194> <pcomp> <accomp>]
pppd[839]: rcvd [LCP ConfReq id=3D0x3 <asyncmap 0xa0000> <magic 0x359b31>=
<pcomp> <accomp> <callback 0x602>]
pppd[839]: sent [LCP ConfRej id=3D0x3 <callback 0x600>]
pppd[839]: rcvd [LCP ConfReq id=3D0x4 <asyncmap 0xa0000> <magic 0x359b31>=
<pcomp> <accomp>]
pppd[839]: sent [LCP ConfAck id=3D0x4 <asyncmap 0xa0000> <magic 0x359b31>=
<pcomp> <accomp>]
pppd[839]: sent [LCP EchoReq id=3D0x0 magic=3D0x221ab194]
pppd[839]: rcvd [PAP AuthReq id=3D0x1 user=3D"guest" password=3D""]
pppd[839]: user guest logged in