Gentoo Server Apprentice

Joined: 21 Jul 2003 Posts: 279
|
Posted: Tue Feb 07, 2006 11:49 am Post subject: serious bug with dsl and shaper & port forward in gentoo |
|
|
1) ip-up.local is not started when you start dsl (only on reconnect?)
solution:
/etc/init.d/rp-pppoe restart
/etc/ppp/ip-up.local
manual start ip-up.local after rp-pppoe
2) after dsl is up the ppp0 interface is in fact not real 100% up and a shaper & port forward script will fail sometimes
solution:
MYIP="`ifconfig ppp0 | grep 'inet addr' | awk '{print $2}' | sed -e 's/.*://'`"
echo $MYIP
sleep 10
add a sleep 10 before making anything with dsl (iptables etc) |
|