|I decided I'd try to set up my dual 450 box for dialin service, so when I was away or
at work I could dial in on my second line and connect to the Internet. I had
many many problems and this will show you what exactly to check.
I started out with the dial-in section in the FreeBSD Handbook which ended up being
semi-useless and outdated as I am running a 3.2-stable machine.
What I ended up doing
I used getty, not mgetty.
Add a new user whom you want to let use ppp. In this test circumstance, I used
the user "ppp" with home being /home/ppp and shell being /etc/ppp/ppp-shell.
IDENT=`echo $0 | sed -e 's/^.*-\(.*\)$/\1/'`
if [ x$IDENT = xdialup ]; then
echo "PPP for $CALLEDAS on $TTY"
echo "Starting PPP for $IDENT"
exec /usr/sbin/ppp -direct $IDENT
I then made 2 files in the ppp home directory:
-r--r--r-- 1 root wheel 0 Jul 26 05:43 .hushlogin
-r--r--r-- 1 root wheel 0 Jul 26 05:45 .rhosts
I then added a /etc/ppp/ppp.conf script:
set ifaddr 184.108.40.206 220.127.116.11 255.255.255.255
This set the dialin with the IP 18.104.22.168.
I then added a /etc/ppp/ppp.linkup addition:
add 22.214.171.124 netmask 255.255.255.255 HISADDR
I then made a ppp.secret addition (for use with PAP). If you aren't
using PAP you will not need this:
# Authname Authkey Peer's IP address
ppp password 126.96.36.199
After that I checked /etc/ttys and /etc/gettytab and enabled ttyd0
and made sure that a reasonable speed setting was there and placed.
After all this I was ready to try.....Nothing....the box wouldn't answer the phone.