memorable net device names for gl-ar750
linux's view of eth1 and eth0 are opposite to that of u-boot
This commit is contained in:
parent
cd116ad9e7
commit
b6e2585ebb
1 changed files with 8 additions and 2 deletions
|
@ -125,8 +125,14 @@
|
|||
networkInterfaces =
|
||||
let inherit (config.system.service.network) link;
|
||||
in {
|
||||
lan = link.build { ifname = "eth0"; };
|
||||
wan = link.build { ifname = "eth1"; };
|
||||
lan = link.build {
|
||||
ifname = "lan";
|
||||
devpath = "/devices/platform/ahb/19000000.eth";
|
||||
};
|
||||
wan = link.build {
|
||||
ifname = "wan";
|
||||
devpath = "/devices/platform/ahb/1a000000.eth";
|
||||
};
|
||||
wlan = link.build {
|
||||
ifname = "wlan0";
|
||||
dependencies = [ mac80211 ];
|
||||
|
|
Loading…
Reference in a new issue