Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
serious bug with dsl and shaper & port forward in gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Gentoo Server
Apprentice
Apprentice


Joined: 21 Jul 2003
Posts: 279

PostPosted: Tue Feb 07, 2006 11:49 am    Post subject: serious bug with dsl and shaper & port forward in gentoo Reply with quote

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)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum