hi
can someone please explain what the following hacks do
# linksys bug; remove when not using static configuration for lan
NVRAM_lan_proto="static"
remap () {
for type in lan wifi wan pppoe
do
for s in '' s
do
eval NVRAM_${type}_ifname$s=\"$(nvram get ${type}_ifname$s|sed s/$1/$2/g)\"
done
done
}
and
# hacks for buffalo wla2-g54l
[ "$(nvram get boardnum)" = "00" \
-a "$(nvram get product_name)" = "Product_name" \
-o "$(nvram get product_name)" = "WLA2-G54L" ] && {
debug "### wla2-g54l hacks ###"
NVRAM_wan_ifname="none"
NVRAM_lan_ifnames="vlan0"
}
I am trying to patch dd-wrt to support Buffalo WBR2-G54S .. it is running OpenWRT , but have strange behaviour running dd-wrt (orginal source reboots indefinetly during boot, the version I ruined boots , but no eth is working , just wl )
especially I would like to know what line
NVRAM_lan_ifnames="vlan0"
do ?
regards
E