Ethernet is not working using the latest ramips_eth and ramips_esw
drivers in trunk on my Aztech HW550-3G (Ralink rt3052). The eth0
interface appears to be working fine, but there is no connectivity on
the LAN or WAN (see ifconfig below). After some searching in the forums,
I found that other rt305x boards (e.g. D-Link DIR-615) are experiencing
a similar problem. Reverting the
'trunk/target/linux/ramips/files/drivers/net' directory to SVN r24328
seems to fix the problem and the ethernet works.
{{{
root@OpenWrt:/#
ifconfig
br-lan Link encap:Ethernet HWaddr 00:11:22:33:44:55
inet
addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST
RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1 errors:0 dropped:0
overruns:0 frame:0
TX packets:1 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 txqueuelen:0
RX bytes:42 (42.0 B) TX bytes:402
(402.0 B)
eth0 Link encap:Ethernet HWaddr 00:11:22:33:44:55
UP
BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1 errors:0
dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 txqueuelen:1000
RX bytes:46 (46.0 B) TX
bytes:3726 (3.6 KiB)
Interrupt:5
eth0.1 Link encap:Ethernet HWaddr
00:11:22:33:44:55
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX
packets:1 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0
dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:46
(46.0 B) TX bytes:456 (456.0 B)
eth0.2 Link encap:Ethernet HWaddr
00:11:22:33:44:55
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
collisions:0 txqueuelen:0
RX bytes:0 (0.0
B) TX bytes:3256 (3.1 KiB)
lo Link encap:Local Loopback
inet
addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 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:0
RX bytes:0 (0.0
B) TX bytes:0 (0.0 B)
}}}
Also, the switch configuration (swconfig) is
not working as expected (when using r24328). The VLANs for LAN (eth0.1)
and WAN (eth0.2) are not configured properly by default (i.e. WAN port
is on one of the LAN ports). Modifying the swconfig in
'/etc/config/network' seems to have no effect. Is this a bug or has
swconfig not been implemented yet for ramips?
I haven't had time to
review the ramips eth/esw drivers (ramips.c, ramips_esw.c) to identify
the problem yet. I was hoping one of the ramips driver developers (John
Crispin and/or Gabor Juhos ) could take a look at this and provide some
insight. Thanks for your contributions to this.
Respectfully,
Layne
Edwards_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel