forked from DGNum/liminix
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 =
|
networkInterfaces =
|
||||||
let inherit (config.system.service.network) link;
|
let inherit (config.system.service.network) link;
|
||||||
in {
|
in {
|
||||||
lan = link.build { ifname = "eth0"; };
|
lan = link.build {
|
||||||
wan = link.build { ifname = "eth1"; };
|
ifname = "lan";
|
||||||
|
devpath = "/devices/platform/ahb/19000000.eth";
|
||||||
|
};
|
||||||
|
wan = link.build {
|
||||||
|
ifname = "wan";
|
||||||
|
devpath = "/devices/platform/ahb/1a000000.eth";
|
||||||
|
};
|
||||||
wlan = link.build {
|
wlan = link.build {
|
||||||
ifname = "wlan0";
|
ifname = "wlan0";
|
||||||
dependencies = [ mac80211 ];
|
dependencies = [ mac80211 ];
|
||||||
|
|
Loading…
Reference in a new issue