ramips: mac address detection for Fonera 2.0n
Detect and apply MAC address of a Fonera 2.0n (ramips) Signed-off-by: Malte Forkel <malte.forkel@berlin.de> Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr> SVN-Revision: 32490
This commit is contained in:
parent
81e8757da4
commit
eee358338c
2 changed files with 6 additions and 0 deletions
|
@ -107,6 +107,11 @@ ramips_setup_macs()
|
|||
wan_mac=$(/usr/sbin/maccalc add "$lan_mac" 5)
|
||||
;;
|
||||
|
||||
fonera20n)
|
||||
lan_mac=$(ramips_get_mac_binary factory 40)
|
||||
wan_mac=$(/usr/sbin/maccalc add "$lan_mac" 1)
|
||||
;;
|
||||
|
||||
dir-300-b1 |\
|
||||
dir-300-b2 |\
|
||||
dir-600-b1)
|
||||
|
|
|
@ -26,6 +26,7 @@ preinit_set_mac_address() {
|
|||
ifconfig eth0 hw ether $mac 2>/dev/null
|
||||
;;
|
||||
all0256n |\
|
||||
fonera20n |\
|
||||
hw550-3g |\
|
||||
nbg-419n |\
|
||||
omni-emb |\
|
||||
|
|
Loading…
Reference in a new issue