Ok, I have a RedHat 6.1 machine here at work and am trying to get it so
that I can dial into it and use it to access the Internet rather than
using my ISP. It has a 33.6 modem attached to it with a valid phone
number. When I call in, the modem does answer and does attempt to make
a connection. Here is the output from the /var/log/messages file.
Dec 21 09:46:44 quasi mgetty[719]: data dev=ttyS0, pid=719,
caller='none', conn='28800/ARQ/V34/LAPM/V42BIS', name='',
cmd='/usr/sbin/pppd', user='/AutoPPP/'
Dec 21 09:46:44 quasi modprobe: can't locate module char-major-108
Dec 21 09:46:44 quasi modprobe: can't locate module ppp0
Dec 21 09:46:44 quasi kernel: registered device ppp0
Dec 21 09:46:44 quasi pppd[719]: pppd 2.3.10 started by ppp, uid 0
Dec 21 09:46:44 quasi pppd[719]: Using interface ppp0
Dec 21 09:46:44 quasi pppd[719]: Connect: ppp0 <--> /dev/ttyS0
Dec 21 09:46:47 quasi kernel: PPP BSD Compression module registered
Dec 21 09:46:47 quasi kernel: PPP Deflate Compression module registered
Dec 21 09:46:47 quasi pppd[719]: found interface eth0 for proxy arp
Dec 21 09:46:47 quasi pppd[719]: local IP address 209.181.xxx.21
Dec 21 09:46:47 quasi pppd[719]: remote IP address 209.181.xxx.20
Dec 21 09:46:50 quasi pppd[719]: CCP terminated by peer
Dec 21 09:46:50 quasi pppd[719]: Compression disabled by peer.
Dec 21 09:48:36 quasi pppd[719]: LCP terminated by peer
Dec 21 09:48:36 quasi pppd[719]: Hangup (SIGHUP)
Dec 21 09:48:36 quasi pppd[719]: Modem hangup
Dec 21 09:48:36 quasi pppd[719]: Connection terminated.
Dec 21 09:48:36 quasi pppd[719]: Connect time 1.9 minutes.
Dec 21 09:48:36 quasi pppd[719]: Sent 776 bytes, received 8757 bytes.
Dec 21 09:48:36 quasi pppd[719]: Exit.
I replaced a couple of the IP addresses with xx's for security reasons.
But as you can see it does connect from my home to the modem here at
work. I am also able to ping the *.20 IP address while it is
connected. But my wife while at home and connected is unable to use
Netscape or ICQ or anything else.
Here is what I have in my /etc/ppp/options.ttyS0 file. Again I have
replaced three numbers on each for security reasons.
209.181.xxx.21:209.181.xxx.20
Here is what I have entered on the /etc/mgetty+sendfax/login.config
file.
/AutoPPP/ - ppp /usr/sbin/pppd file /etc/ppp/options.srv
and then in the /etc/ppp/options.srv file, I have entered this.
auth
-chap
+pap
login
asyncmap 0
:209.181.xxx.20
debug
modem
crtscts
ms-dns 209.181.xxx.37
ms-dns 209.181.xxx.38
proxyarp
Everything appears to be working great. I dial in as a user using the
correct name and password. It authenticates, but the remote machine at
home is unable to go anywhere.
Any help would be greatly appreciated. If you could point me to any
other files that I could consult for error messages, that might also
help.
Thanks.
KJ
--
For the very best in Linux software, www.gnuware.com
.-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-.
| Kerry J. Cox OnSat Network Communications |
| (801) 526-6463 http://www.onsatnet.com |
| ICQ# 37681165 http://quasi.onsatnet.com/linux/ |
`-------------------------------------------------------'