From 35b0fd76eccbe2c49b82f5194e859bf868fcd6d3 Mon Sep 17 00:00:00 2001 From: blogic Date: Wed, 15 Jan 2014 18:29:44 +0000 Subject: ramips: Add userspace support for the Edimax BR-6475nD The rt2x00 wifi driver may still need updating to function with this device. Signed-off-by: Christopher Lais git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39298 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ramips/base-files/lib/preinit/06_set_iface_mac | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'target/linux/ramips/base-files/lib/preinit/06_set_iface_mac') diff --git a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac index 96665bdf7f..d2dc00f8bc 100644 --- a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac +++ b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac @@ -39,6 +39,10 @@ preinit_set_mac_address() { mac=$(macaddr_setbit_la "$mac") ifconfig eth0 hw ether $mac 2>/dev/null ;; + br-6475nd) + mac=$(mtd_get_mac_binary devdata 13) + ifconfig eth0 hw ether $mac 2>/dev/null + ;; asl26555 |\ dir-300-b1 |\ dir-300-b2 |\ -- cgit v1.2.3