Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Main Support Categories > Networking & Wireless
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Networking & Wireless
Having problems getting connected to the internet or getting your wireless card to work? Ask here.

 
Thread Tools Display Modes
Old November 8th, 2008   #1
foxy123
Dark Roasted Ubuntu
 
Join Date: Apr 2005
Beans: 1,101
[SOLVED] Can't set static ip address in NetworkManager

Has anyone managed to set a static IP address in Intrepid? I tried and no avail. It just resets after reboot. Also net mask, which I guess should be 255.255.255.0 for some reason turns to just 24 every time.
__________________
NEC Versa M400 Laptop, Intel Pentium 4 2.8GHz, 768Mb memory, 855GM Graphic Chip, RT2500 wireless chip
Ubuntu Karmic

Last edited by foxy123; November 9th, 2008 at 07:48 AM..
foxy123 is offline   Reply With Quote
Old November 8th, 2008   #2
anystupidname
Day Old Decaf
 
Join Date: Jan 2008
Beans: 333
Re: Can't set static ip address in NetworkManager

I suspect the 24 you're talking about is 24 bit which is equivalent to 255.255.255.0

I have set a static IP in the networkmanager before successfully/without problems but I don't have access to the version you're likely using right now... What version is that anyway?

As a workaround, you can set a static IP in /etc/network/interfaces

example:
auto eth0
iface eth0 inet static
address 1.1.1.1
network 1.0.0.0
gateway 1.0.0.1
broadcast 1.0.0.255
netmask 255.255.255.0

Last edited by anystupidname; November 8th, 2008 at 06:02 PM..
anystupidname is offline   Reply With Quote
Old November 9th, 2008   #3
Iowan
Ubuntu addict and loving it
 
Iowan's Avatar
 
Join Date: Jan 2006
Location: Not heaven... Iowa
Beans: 6,300
Ubuntu 8.04 Hardy Heron
Re: Can't set static ip address in NetworkManager

This thread might be useful. Apparently NM has a bug that ignores /etc/network/interfaces.
Iowan is offline   Reply With Quote
Old November 9th, 2008   #4
foxy123
Dark Roasted Ubuntu
 
Join Date: Apr 2005
Beans: 1,101
Re: Can't set static ip address in NetworkManager

I have found the way. You have to remove the wired connection ("Auto eth0" in my case) and create a new one with the settings you like. The System settings option should be ticked. In the process you've got to authorise the changes. Do not tick Remember authorisation option as it seems to be a bug. If it's set to sort of auto authorisation, it does not save any changes.

Oh, the reason I cannot remove NM is that I've got a laptop and without NM it will be difficult to connect to wireless networks.
__________________
NEC Versa M400 Laptop, Intel Pentium 4 2.8GHz, 768Mb memory, 855GM Graphic Chip, RT2500 wireless chip
Ubuntu Karmic
foxy123 is offline   Reply With Quote
Old November 9th, 2008   #5
Iowan
Ubuntu addict and loving it
 
Iowan's Avatar
 
Join Date: Jan 2006
Location: Not heaven... Iowa
Beans: 6,300
Ubuntu 8.04 Hardy Heron
Re: Can't set static ip address in NetworkManager

I'll try to remember this one for next time I see a "Can't set IP address in Network Manager" thread.
Iowan is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:33 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry