5 setup_interface_pppoe
() {
9 config_get device
"$config" device
11 for module
in slhc ppp_generic pppox pppoe
; do
12 /sbin
/insmod
$module 2>&- >&-
15 # make sure the network state references the correct ifname
17 config_get ifname
"$config" ifname
18 uci
set "/var/state/network.$config.ifname=$ifname"
20 config_get mtu
"$cfg" mtu
22 start_pppd
"$config" \