[OpenWrt-Devel] MV88E6060 switch
Nerijus Baliunas
nerijus at users.sourceforge.net
Wed Oct 11 05:43:27 EDT 2017
On Wed, 11 Oct 2017 02:07:00 +0300 Sergey Ryazanov <ryazanov.s.a at gmail.com> wrote:
> Ok. I am starting to run out of ideas. Let's start guessing.
>
> eth0 works at least during preinit. You could check your switch
> functioning in the failsafe mode:
> 1. Power on router
> 2. When the "Press the [f] key and hit [enter]" line will be printed
> on serial console then press the "f" and hit [enter] :)
> 3. You could check which IP address configured on eth0 with ifconfig
> and if there are not address, then configure it manually
> 4. Try to pinging in order to check switch functioning
This works:
================= FAILSAFE MODE active ================
# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:18:39:21:0D:AE
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::218:39ff:fe21:dae/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
Ping to 192.168.1.1 answers, after pinging:
RX packets:5 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
> Another guess is to try to disable bridge before bringing eth0 up:
> 1. Boot your router in normal mode
> 2. Check whether eth0 is added to the bridge or not:
> # brctl show
> 3. Disable the bridge and configure eth0 for standalone working:
> # brctl delif br-lan eth0
> # ifconfig br-lan down
> # ifconfig eth0 192.168.0.10 up
> 4. Try to pinging
This does not:
# brctl show
bridge name bridge id STP enabled interfaces
br-lan 7fff.001839210dae no eth0
# brctl delif br-lan eth0
# ifconfig br-lan down
# ifconfig eth0 192.168.0.10 up
ifconfig: SIOCSIFFLAGS: Out of memory
# brctl show
bridge name bridge id STP enabled interfaces
br-lan 7fff.001839210dae no
# ifconfig -a
br-lan Link encap:Ethernet HWaddr 00:18:39:21:0D:AE
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
eth0 Link encap:Ethernet HWaddr 00:18:39:21:0D:AE
inet addr:192.168.0.10 Bcast:192.168.0.255 Mask:255.255.255.0
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 B) TX bytes:1551 (1.5 KiB)
Ping to neither 192.168.1.1 nor 192.168.0.10 does not answer.
Regards,
Nerijus
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list