Already wrote with details what happens here, during FailSafe
https://forum.openwrt.org/viewtopic.php?id=55346
Tried to set an IF in /etc/preinit ( openwrt/package/base-files/files/etc/preinit )
fs_failsafe_ifname=eth0
but that doesn't help.
Since the wmr-300 ( http://wiki.openwrt.org/toh/buffalo/wmr-300 ) has only 1 NIC, and the switch uses the port 4/VLAN 1
root@(none):/etc# swconfig dev mt7620 show
Global attributes:
enable_vlan: 1
Port 0:
pvid: 2
link: port:0 link:down
Port 1:
pvid: 1
link: port:1 link:down
Port 2:
pvid: 1
link: port:2 link:down
Port 3:
pvid: 1
link: port:3 link:down
Port 4:
pvid: 1
link: port:4 link:up speed:100baseT full-duplex
Port 5:
pvid: 1
link: port:5 link:down
Port 6:
pvid: 1
link: port:6 link:up speed:1000baseT full-duplex
Port 7:
pvid: 0
link: port:7 link:down
VLAN 1:
vid: 1
ports: 1 2 3 4 5 6t
VLAN 2:
vid: 2
ports: 0 6t
I thought the VLAN has to be used instead
fs_failsafe_ifname=eth0.1
but at that early stage of the boot, the VLAN does not seem to be understood by the scripts (and there is no /etc/config/network).
Doing this, eth0.1, results in no interface at all.
- Is there a way to specify the use of a VLAN eth0.1 during a Failsafe session?
- Other ideas would be welcome
Thanks
(Last edited by *++p on 15 Mar 2015, 05:34)