Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to create network interface symlink or alias?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
fpemud
Apprentice
Apprentice


Joined: 15 Feb 2012
Posts: 263

PostPosted: Tue May 20, 2014 11:17 am    Post subject: How to create network interface symlink or alias? Reply with quote

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
View user's profile Send private message
szatox
Veteran
Veteran


Joined: 27 Aug 2013
Posts: 1717

PostPosted: Tue May 20, 2014 11:31 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum