PDA

View Full Version : [ubuntu] Problem in changing my ip address



bulls_eye
August 9th, 2009, 06:34 PM
HI,
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...

Revolutionary101
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.

bulls_eye
August 9th, 2009, 06:47 PM
so what should i do??

Revolutionary101
August 9th, 2009, 06:58 PM
What is the brand of router that you are using?

bulls_eye
August 9th, 2009, 07:17 PM
netgear

Revolutionary101
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.

Iowan
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)?

bulls_eye
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...

bulls_eye
August 11th, 2009, 08:01 AM
I used sudo gedit /etc/network/interfaces

Iowan
August 11th, 2009, 10:34 PM
gksudo (http://www.psychocats.net/ubuntu/graphicalsudo) is preferred with gedit... but whatever works!!!

bulls_eye
August 12th, 2009, 03:43 PM
ok
thanks...