operating_systems:linux:debian:interface_name
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
operating_systems:linux:debian:interface_name [2019/08/20 11:59] – jzaehrin | operating_systems:linux:debian:interface_name [2022/02/01 13:34] (current) – ateixeira | ||
---|---|---|---|
Line 77: | Line 77: | ||
< | < | ||
[Match] | [Match] | ||
- | Path=platform-3f980000.usb-usb-0: | + | Path=< |
MACAddress=00: | MACAddress=00: | ||
Line 83: | Line 83: | ||
Name=lan0 | Name=lan0 | ||
</ | </ | ||
+ | |||
+ | |||
+ | <note important> | ||
add file 99-default.link in / | add file 99-default.link in / | ||
Line 96: | Line 99: | ||
</ | </ | ||
+ | | ||
+ | found ID_PATH and MAC address | ||
+ | < | ||
+ | udevadm info -e | grep -A 5 -B 18 " | ||
+ | ip a | ||
+ | </ | ||
+ | edit files like 1x-lanx.link in / | ||
+ | < | ||
+ | [Match] | ||
+ | Path=< | ||
+ | MACAddress=00: | ||
+ | |||
+ | [Link] | ||
+ | Name=lan0 | ||
+ | </ | ||
+ | |||
+ | make sure file 99-default.link is present in / | ||
+ | < | ||
+ | [Link] | ||
+ | NamePolicy=kernel database onboard slot path | ||
+ | MACAddressPolicy=persistent | ||
+ | </ | ||
+ | |||
+ | to permit user-defined name of USB network interfaces, it's necessary to enable the 80-net-setup-link.rules rule with this command : | ||
+ | < | ||
+ | sudo ln -s / | ||
+ | </ |
operating_systems/linux/debian/interface_name.1566302383.txt.gz · Last modified: 2019/08/20 11:59 by jzaehrin