View previous topic :: View next topic |
Author |
Message |
fpemud Guru

Joined: 15 Feb 2012 Posts: 307
|
Posted: Tue May 20, 2014 11:17 am Post subject: How to create network interface symlink or alias? |
|
|
I want to create network interface symlink or alias, like "if-gateway -> wlp0s26u1u2".
For device nodes in /dev, I can simply create symlinks. But how should I do the same thing for network interfaces? |
|
Back to top |
|
 |
szatox Advocate

Joined: 27 Aug 2013 Posts: 2016
|
Posted: Tue May 20, 2014 11:31 am Post subject: |
|
|
You can rename interfaces using udev rules. Not sure aobut aliases, but here you go http://www.debianhelp.co.uk/udev.htm (first link on renaming interfaces with udev rules). I'm sure you can manage from that point |
|
Back to top |
|
 |
|