Skip to content
Snippets Groups Projects
Commit eee35833 authored by Vasilis Tsiligiannis's avatar Vasilis Tsiligiannis
Browse files

ramips: mac address detection for Fonera 2.0n


Detect and apply MAC address of a Fonera 2.0n (ramips)

Signed-off-by: default avatarMalte Forkel <malte.forkel@berlin.de>
Signed-off-by: default avatarVasilis Tsiligiannis <b_tsiligiannis@silverton.gr>

SVN-Revision: 32490
parent 81e8757d
No related branches found
No related tags found
No related merge requests found
......@@ -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 |\
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment