I just installed 12.04 Server. After my first login, I saw the IP and it is dynamic (I guess). I tried to change it by
sudo vi /etc/network/interface but this file is blank.
Can anyone help here?
You should have typed this:
You forgot the s.
Adapted from: Create a Static IP from the Command Line
Basically, steps needed are:
Find out you current settings:
Edit /etc/network/interfaces to meet your requirements.
Look for these two line:
Change them to instead be: (example IP addresses)
Then re-start your server.
It should now be using: 192.168.0.130
Ubuntu uses Network Manager to manage the network configuration.
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site.
Would you like to answer one of these unanswered questions instead?