Changeset 29454


Ignore:
Timestamp:
2011-12-05T18:27:07+01:00 (5 years ago)
Author:
juhosg
Message:

ramips: set mac addresses for the NBG-419N

Based on a patch by Nerijus Baliunas <nerijus@…>

Location:
trunk/target/linux/ramips/base-files
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ramips/base-files/etc/uci-defaults/network

    r29451 r29454  
    6161                wan_mac=$(/usr/sbin/maccalc add "$lan_mac" 1) 
    6262                ;; 
     63 
     64        nbg-419n) 
     65                lan_mac=$(ramips_get_mac_binary factory 4) 
     66                wan_mac=$(ramips_get_mac_binary factory 40) 
     67                ;; 
    6368        esac 
    6469 
  • trunk/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac

    r29453 r29454  
    1414                ifconfig eth0 hw ether $mac 2>/dev/null 
    1515                ;; 
    16         hw550-3g) 
     16        hw550-3g |\ 
     17        nbg-419n) 
    1718                mac=$(ramips_get_mac_binary factory 40) 
    1819                ifconfig eth0 hw ether $mac 2>/dev/null 
Note: See TracChangeset for help on using the changeset viewer.