[WLANware] OpenWRT on NanoStation _M_ 5 (note the M)

lynxis lynxis at c-base.org
Sat Dec 18 22:22:11 CET 2010


> - running olsr on the wan interface (eth1) fails (NLQ is 1, LQ 0). We
> "fixed" this problem by switching wan (=eth0) and lan (=eth1) in
> /etc/config/network, but this causes other problems (no dhcp on the
> lan/eth1 interface, extreme slow wan connections - about 1/10th of the
> wlan-speed)

Signed-off-by: Alexander Couzens <lynxis at c-base.org>
---
 .../ar71xx/files/arch/mips/ar71xx/mach-ubnt.c      |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c
b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c index
5b95264..600d17a 100644 ---
a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c +++
b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c @@ -270,6
+270,7 @@ static void __init ubnt_nano_m_setup(void) {
 	ubnt_m_setup();
 
+	ar71xx_eth1_data.has_ar7240_switch = 1;
 	ar71xx_eth1_data.phy_if_mode = PHY_INTERFACE_MODE_RMII;
 	ar71xx_eth1_data.speed = SPEED_1000;
 	ar71xx_eth1_data.duplex = DUPLEX_FULL;
-- 
1.7.2.3





More information about the WLANware mailing list