I am unable to edit
/etc/network/interfacesand/etc/resolv.conffile withvieditor. How can I access the file as a owner?This is my network settings in Windows 7. I want to configure it in ubuntu 12.10. How can I do this?
IP address 192.168.40.31 Subnet mask 255.255.255.0 Default gateway 192.168.40.1 Preferred DNS server 10.230.253.253 Alternet DNS server 203.147.88.2
Asked
Active
Viewed 226 times
0
David Foerster
- 36,890
- 56
- 97
- 151
2 Answers
1
Try sudo vi /etc/network/interfaces, and sudo vi /etc/resolv.conf that should let you edit the files.
If that doesn't work, try sudo su enter your password, and try editing the files that way.
Mitch
- 109,787
0
If you are using the desktop edition, you could also right click on the Network-Manager icon at the top right. (It should look like a little computer, Wi-Fi symbol, or a set of up/down arrows) In the menu that pops up choose "edit connections". Then enter your information in a manner similar to Windows.
If you're using server, and have no graphical interface installed you might try
sudo nano /etc/network/interfaces and sudo nano /etc/resolve.conf
Control + O will write the changes and Ctrl + X will exit.
Hope this helps. Have a great day.
Argusvision
- 1,721