make pppoe work automatically

SVN-Revision: 459
This commit is contained in:
Felix Fietkau
2005-03-26 01:14:33 +00:00
parent 5d45497dd8
commit 4118e1fc18
4 changed files with 31 additions and 4 deletions

View File

@@ -58,10 +58,11 @@
idletime=$(nvram get ppp_idletime)
mtu=$(nvram get wan_mtu)
$DEBUG ifconfig $if 0.0.0.0 up
# handled by /etc/init.d/S50pppoe
# $DEBUG ifconfig $if 0.0.0.0 up
$DEBUG /sbin/pppoecd $if -u $username -p $password \
-i 0 -I $redial -T $idletime -t $mtu -k
# $DEBUG /sbin/pppoecd $if -u $username -p $password \
# -i 0 -I $redial -T $idletime -t $mtu -k
;;
none)
;;