Hello,
I've setup PPP dialup on RH 8 per Red Hat's instructions, but I'm
unable to get outside the box I'm dialed into. I can ping it, but
nothing else. Here's what I followed:
http://www.redhat.com/support/resour...er_tips-1.html
Modem is on ttyS0 (com1) and here's my set-up files:
/etc/inittab entry -
S0 :2345 :respawn:/sbin/mgetty -D ttyS0
/etc/ppp/pap-secrets -
# Secrets for authentication using PAP
# client server secret IP addresses
* * "" *
/etc/ppp/options -
lock
-detach
modem
crtscts
proxyarp
asyncmap 0
/etc/ppp/options.ttyS0
192.168.10.23:192.168.10.200
(the server I'm dialing into is 192.168.10.23 on my LAN and I want to
give the dialed in system 192.168.10.200)
The only entries I added outside of the howto follow:
/etc/mgetty+sendfax/mgetty.config -
rings 3
post-init-chat "" AT#CID=1 OK
(Added these for Caller ID to work - which it does great)
/etc/mgetty+sendfax/dialin.config -
all
(added this to allow all numbers to connect, but I'll restrict it
later)
When connected, here's what /var/log/messages shows:
Aug 18 08:24:47 icebox mgetty[908]: data dev=ttyS0, pid=908,
caller='--removed--', conn='16800/ARQ/V34/LAPM/V42BIS',
name='--removed--', cmd='/usr/sbin/pppd', user='/AutoPPP/'
Aug 18 08:24:48 icebox kernel: CSLIP: code copyright 1989 Regents of
the University of California
Aug 18 08:24:48 icebox kernel: PPP generic driver version 2.4.2
Aug 18 08:24:48 icebox pppd[908]: pppd 2.4.1 started by a_ppp, uid 0
Aug 18 08:24:48 icebox pppd[908]: Using interface ppp0
Aug 18 08:24:48 icebox pppd[908]: Connect: ppp0 <--> /dev/ttyS0
Aug 18 08:24:49 icebox /etc/hotplug/net.agent: assuming ppp0 is
already up
Aug 18 08:24:50 icebox ppp(pam_unix)[908]: session opened for user
alex by a_ppp(uid=0)
Aug 18 08:24:50 icebox pppd[908]: user alex logged in
Aug 18 08:24:51 icebox modprobe: modprobe: Can't locate module
ppp-compress-21
Aug 18 08:24:51 icebox kernel: PPP Deflate Compression module
registered
Aug 18 08:24:51 icebox modprobe: modprobe: Can't locate module
ppp-compress-21
Aug 18 08:24:51 icebox pppd[908]: found interface eth0 for proxy arp
Aug 18 08:24:51 icebox pppd[908]: local IP address 192.168.10.23
Aug 18 08:24:51 icebox pppd[908]: remote IP address 192.168.10.200
Aug 18 08:28:30 icebox iptables: succeeded
First thought was IPTABLES might be limiting me, but I have no rules
setup (installed with no firewall settings):
service iptables status
Table: filter
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
On my LAN, the dialup server is 192.168.10.23 with gateway to Internet
being 192.168.10.1. But that's it. After all changes, I submitted
'kill -HUP 1', but I've rebooted since then.
I'm dialing in with Windows 2000 Pro, and it has the following when
ipconfig is entered:
Connection-specific DNS Suffix . :
IP Address.......................:192.168.10.200
Subnet Mask......................:255.255.255.255
Default Gateway..................:192.168.10.200
I'm assuming this is fine for dialup, but most systems on my LAN have
255.255.255.0 for subnet and 192.168.10.1 for gateway. If this needs
to change, where do I do it in PPP? This is a clean install of Red
Hat with all updates.
Thanks for any suggestions or help. I'm almost there
Alex.