Changeset 44508


Ignore:
Timestamp:
2015-02-23T11:33:19+01:00 (3 years ago)
Author:
kaloz
Message:

mvebu: set WRT1900AC WAN interface MAC address

Toggles the LA bit on the WAN interface.

Signed-off-by: Claudio Leite <leitec@…>
Signed-off-by: Imre Kaloz <kaloz@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/mvebu/base-files/lib/preinit/06_set_iface_mac

    r41382 r44508  
    1212        armada-xp-mamba) 
    1313                mac=$(mtd_get_mac_ascii devinfo hw_mac_addr) 
     14                mac_wan=$(macaddr_setbit_la "$mac") 
    1415                ifconfig eth0 hw ether $mac 2>/dev/null 
    15                 ifconfig eth1 hw ether $mac 2>/dev/null 
     16                ifconfig eth1 hw ether $mac_wan 2>/dev/null 
    1617                ;; 
    1718        esac 
Note: See TracChangeset for help on using the changeset viewer.