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 [2017/11/07 07:29] – kroduit | operating_systems:linux:debian:interface_name [2022/02/01 13:34] (current) – ateixeira | ||
|---|---|---|---|
| Line 65: | Line 65: | ||
| If i comment the lan4 line in udev rules, lan4 (eth4 physical) become eth2, but lan2 stay lan2 and eth4 physical simply doesn' | If i comment the lan4 line in udev rules, lan4 (eth4 physical) become eth2, but lan2 stay lan2 and eth4 physical simply doesn' | ||
| + | | ||
| + | [[https:// | ||
| + | found Path and MAC address | ||
| + | < | ||
| + | ifconfig | ||
| + | udevadm info -e | grep -A 5 -B 18 " | ||
| + | </ | ||
| + | |||
| + | add files like 1x-lanx.link in / | ||
| + | < | ||
| + | [Match] | ||
| + | Path=< | ||
| + | MACAddress=00: | ||
| + | |||
| + | [Link] | ||
| + | Name=lan0 | ||
| + | </ | ||
| + | |||
| + | |||
| + | <note important> | ||
| + | |||
| + | add file 99-default.link 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 / | ||
| + | </ | ||
| + | |||
| + | | ||
| + | |||
| + | 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.1510039791.txt.gz · Last modified: 2017/11/07 07:29 by kroduit