How do I change the IP address of an interface from a script?
I should say that I don't want to use ifconfig and also I don't want to edit the /etc/network/interfaces file manually. I need a script.
|
How do I change the IP address of an interface from a script? I should say that I don't want to use ifconfig and also I don't want to edit the /etc/network/interfaces file manually. I need a script. |
||||
|
|
|
If you are using
If you are using NetworkManager to configure the interface then you can define multiple so-called connections and switch between them using the
If you are using neither ifupdown nor NetworkManager and you don't want to use ifconfig then you can use the
|
|||
|
|