View Full Version : [ubuntu] Problem in changing my ip address
August 9th, 2009, 06:34 PM
I have installed Ubuntu inside windows.
I wish to change the ip address for my network but can't figure out how to do it.
I have tried editing /etc/network/interfaces
but it gives some sort of error and i am unable to save the changes that I make...
Please help me through this one...
August 9th, 2009, 06:38 PM
To change the ip address for your network you have to change it on your router. Your computer is not able to change it.
August 9th, 2009, 06:47 PM
so what should i do??
August 9th, 2009, 06:58 PM
What is the brand of router that you are using?
August 9th, 2009, 07:17 PM
August 10th, 2009, 12:17 AM
Access your router by typing this into your browser url 192.168.0.1 Then look for LAN settings. Click on it then it should give you an option of changing your IP and enter in the new IP you want.
August 11th, 2009, 02:03 AM
I presume you're using DHCP addresses - as opposed to static... but it's worth asking. Were you using sudo or gksudo (for graphical editor) to edit /etc/network/interfaces
(i.e. sudo nano /etc/network/interfaces
or gksudo gedit /etc/network/interfaces)?
August 11th, 2009, 07:59 AM
The problem is solved...
Actually I just went to the file location and made the changes directly without using the authority of the root user...
But then I remembered how I did it to my sources list and then applied it and it worked...
Thanks a lot...
August 11th, 2009, 08:01 AM
I used sudo gedit /etc/network/interfaces
August 11th, 2009, 10:34 PM
gksudo (http://www.psychocats.net/ubuntu/graphicalsudo) is preferred with gedit... but whatever works!!!
August 12th, 2009, 03:43 PM
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.