I've been strugling for weeks to get a clients RH 6.1 box to function as a
router to the Internet. Eventually, RH will connect to Internet, but it
requires 5 to 10 minutes of hitting refresh page to get it to come up at the
client's desk. What am I doing wrong??
We are using following files:
File options
lock
crtscts
defaultroute
noauth
noipdefault
modem
/dev/modem
115200
idle 300
demand
debug
ipcp-accept-local
ipcp-accept-remote
persist
holdoff 120
asyncmap 0
name "[EMAIL PROTECTED]"
mtu 1500
-----------------------------------------
Relevant portion of rc.local
/etc/ppp/pppmspg
/sbin/depmod -a
/sbin/ipchains -M -S 7200 10 160
/sbin/ipchains -P forward DENY
/sbin/ipchains -A forward -i eth0 -j MASQ
/sbin/ipchains -A forward -j MASQ -s 192.168.45.0/24
echo 1 > /proc/sys/net/ipv4/ip_forward
for masqmod in /lib/modules/`uname -r`/ipv4/ip_masq_*;
do /sbin/modprobe $masqmod
done
echo 1 > /proc/sys/net/ipv4/ip_dynaddr
-------------------------------------------
file pppmspg
#!/bin/bash
# kills other PPP processes
killall -INT pppd 2>/dev/null
# removes any PPP related lock
rm -f /var/lock/LCK* /var/run/PPP*.pid
# this is our actual dialer for Mindspring
/usr/sbin/pppd connect "/usr/sbin/chat -v -f /etc/ppp/pppscript" &
---------------------------------------------
file pppscript
TIMEOUT 60
ABORT ERROR
ABORT BUSY
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
'' "AT&F\\N3W2"
OK ATDT6369252075
TIMEOUT 75
CONNECT
----------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]