3
votes
2answers
2k views

How to rename an Ethernet interface?

As my built-in NIC was not supported by Ubuntu out-of-the-box I was forced to use a USB NIC for temporary installation-time Internet connection. And the USB NIC has taken the eth0 name making the ...
1
vote
1answer
3k views

How do I make the script to run automatically when tun0 interface up/down events?

I use VPN client to connect to my corporate servers. It creates tun0 interface after starting the client. I've written script which install specific routes point to tun0 interface and rest to use ...