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/10/23 14:43] – [Changing raspbian 9.9 (stretch) interface name] maferreira | operating_systems:linux:debian:interface_name [2022/02/01 13:34] (current) – ateixeira | ||
|---|---|---|---|
| Line 79: | Line 79: | ||
| Path=< | Path=< | ||
| MACAddress=00: | MACAddress=00: | ||
| - | |||
| - | <note important> | ||
| [Link] | [Link] | ||
| Name=lan0 | Name=lan0 | ||
| </ | </ | ||
| + | |||
| + | |||
| + | <note important> | ||
| add file 99-default.link in / | add file 99-default.link in / | ||
| Line 98: | 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.1571841817.txt.gz · Last modified: 2019/10/23 14:43 by maferreira