hi

the error in dmesg ...

Freeing unused kernel memory: 136k freed
roboswitch: Probing device eth0: 
roboswitch: [/home/sysadmin/wl500/OpenWrt/build/build_dir/linux-brcm47xx/kmod-
switch/switch-robo.c:131] SIOCGETCPHYRD failed!
roboswitch: [/home/sysadmin/wl500/OpenWrt/build/build_dir/linux-brcm47xx/kmod-
switch/switch-robo.c:131] SIOCGETCPHYRD failed!
No Robo switch in managed mode found, phy_id = 0xffffffff
roboswitch: Probing device eth1: 
roboswitch: [/home/sysadmin/wl500/OpenWrt/build/build_dir/linux-brcm47xx/kmod-
switch/switch-robo.c:131] SIOCGETCPHYRD failed!
roboswitch: [/home/sysadmin/wl500/OpenWrt/build/build_dir/linux-brcm47xx/kmod-
switch/switch-robo.c:131] SIOCGETCPHYRD failed!
No Robo switch in managed mode found, phy_id = 0xffffffff
roboswitch: Probing device eth2: No such device
roboswitch: Probing device eth3: No such device
diag: Detected 'ASUS WL-500g Premium'

looks like "not that bad" beacuse the device comes up ... 

the module is loaded in /etc/init.d/boot again....
then

roboswitch: Probing device eth0: found a 5325! It's a 5350.


but it is that bad ... because the switch is not detected at preinit and so 
failsafe wont work ....

here's the patch to fix this ...

greets

please apply
diff --git a/target/linux/brcm-2.4/base-files/lib/preinit/05_init_interfaces_brcm b/target/linux/brcm-2.4/base-files/lib/preinit/05_init_interfaces_brcm
index 81cf1f1..5cfd017 100644
--- a/target/linux/brcm-2.4/base-files/lib/preinit/05_init_interfaces_brcm
+++ b/target/linux/brcm-2.4/base-files/lib/preinit/05_init_interfaces_brcm
@@ -13,6 +13,7 @@ set_preinit_iface() {
 		"ASUS (unknown, BCM4702)") ifname=eth1;;
 		"Sitecom WL-105b") ifname=eth1;;
 	esac
+        ifconfig $ifname 0.0.0.0 up
 }
 
 check_module () {
@@ -32,7 +33,5 @@ init_iface() {
 	} || rmmod switch-core
 }
 
-boot_hook_add preinit_main init_iface
 boot_hook_add preinit_main set_preinit_iface
-
-
+boot_hook_add preinit_main init_iface
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to