Hi all!
Our company has a test server which has been set-up already using 4.3-RC,
with ipfilter/ipnat. We want to test if it is possible to add a pppd
dial-in service in this box.
Hardware: Asus AP-100 server with a PIII-500, 256MB 18.2GB SCSI-HDD, 3 NICS
& USR 56K Modem.
Assumptions: Server already set-up as a firewall/gateway with ipfilter/ipnat
What we did:
1. Installed mgetty+sendfax via ports. Used the standard
/usr/local/etc/mgetty+sendfax/mgetty.config. Only modified the "init-chat"
option to ""ATZ OK AT&F1M0E1Q0S0= OK
2. Modified the /etc/ttys : ttyd0 "/usr/local/sbin/mgetty -s 115200" dialup
on secure
3. Edited /usr/local/etc/mgetty+sendfax/login.config : /AutoPPP/ - -
/etc/ppp/ppp-login
4. Created /etc/ppp/ppp-login. Chmod +x ppp-login
#!/bin/sh
/usr/bin/mesg n
stty -tostop
exec /usr/sbin/pppd /dev/ttyd0 115200
5. Create /etc/ppp/options
detach
require-pap
auth
crtscts
defaultroute
lock
passive
192.168.0.1:192.168.0.15
domain my.domain
idle 300
login
modem
ms-dns dns.ip.addr
netmask 255.255.255.0
proxyarp
asyncmap 0
6. Edit kernel config file; added more ppp pseudo-devices (kernel file
already configured as gateway)
Results... the dial-in answers, but PPP doesn't want to authenticate.
Can anyone give us suggestions?
TIA
Ramon
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message