doc:appunti:linux:sa:if_rename
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:appunti:linux:sa:if_rename [2023/12/15 16:26] – niccolo | doc:appunti:linux:sa:if_rename [2024/04/12 18:01] (current) – [Debian 9 predictable network interface names] niccolo | ||
---|---|---|---|
Line 3: | Line 3: | ||
===== With Debian 10 Buster ===== | ===== With Debian 10 Buster ===== | ||
- | How to rename a network interface from e.g. **enx00e04c885302** to something more human like **lan0**? | + | How to rename a network interface from e.g. **enx00e04c885302** to something more human like **lan0**? The preferred method is to create a file **/ |
- | + | ||
- | The preferred method is to create a file **/ | + | |
< | < | ||
Line 17: | Line 15: | ||
**WARNING**: | **WARNING**: | ||
- | This method has a problem if you need to create a **VLAN**. When the system creates e.g. the **lan.602**, | + | **WARNING**: |
- | A workaround can be the following: tell the kernel to use the old eth0 schema (passing the **net.ifnames=0** option), then instruct systemd to act only on **%%eth*%%** network interfaces: | + | A workaround can be the following: tell the kernel to use the old '' |
< | < | ||
Line 122: | Line 120: | ||
</ | </ | ||
- | **ATTENZIONE**: | + | :!: **ATTENZIONE**: |
+ | |||
+ | :!: **ATTENZIONE**: | ||
===== Debian 9 Network Interface Naming ===== | ===== Debian 9 Network Interface Naming ===== |
doc/appunti/linux/sa/if_rename.1702653962.txt.gz · Last modified: 2023/12/15 16:26 by niccolo