After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 156952 - NetworkManager on Debian does not support the setup of static devices
NetworkManager on Debian does not support the setup of static devices
Status: RESOLVED OBSOLETE
Product: NetworkManager
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Dan Williams
Dan Williams
Depends on:
Blocks:
 
 
Reported: 2004-10-31 12:18 UTC by Diego González
Modified: 2008-02-10 11:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Diego González 2004-10-31 12:18:29 UTC
It seems that the NetworkManager cannot bring up ethX static devices, it tries
to setup a device but it does not work.

In my network there are no DHCP servers or anyother way (that i know of) for
determining the ips, submask and gateways of the computers in it, everything is
configured statically.
Comment 1 Dan Williams 2004-10-31 15:17:11 UTC
Yes, it does support static IP addresses.  But a few questions:

1) What distribution are you running?
2) Is there anything "special" about your IP setup, beyond IP address, netmask,
broadcast address, gateway, etc?

I just remebered that we don't really support switching around resolv.conf yet,
which is debatable, but probably should be done, but that's a different problem.

Could you also attach the output of /var/log/messages around the point when you
think the failure has occurred?
Comment 2 Diego González 2004-10-31 17:19:19 UTC
i'm running debian, i have nothing special, here is my /etc/network/interfaces:

iface eth0 inet static
   address 10.1.5.5
   netmask 255.255.255.0
   network 10.1.5.0
   broadcast 10.1.5.255
   gateway 10.1.5.1
   name Ethernet LAN card

to make this test i tried the following:

1) I disables the usual setup of the networking
2) i call NetworkManager in the init sequence just after dbus is launched

i'll setup everything so that i boot using NetworkManager and i'll attach the
output.
Comment 3 Dan Williams 2004-10-31 22:32:13 UTC
Ok, it seems the Debian backend doesn't support static IP yet.  The Gentoo and
Red Hat backends do right now.

Does the program '/sbin/ip' exist on your system?
Comment 4 Diego González 2004-10-31 23:49:58 UTC
yes, i have it.
Comment 5 bugreports 2006-01-16 08:37:05 UTC
well it is a symlink...

lrwxrwxrwx 1 root root 7 2006-01-16 08:37 /sbin/ip -> /bin/ip
Comment 6 Diego González 2006-04-18 01:00:25 UTC
this bug is very old. Right now everything works as expected. Should i close the bug?
Comment 7 Andrew Conkling 2007-01-26 21:07:18 UTC
(In reply to comment #3)
> Ok, it seems the Debian backend doesn't support static IP yet.  The Gentoo and
> Red Hat backends do right now.

I'm assuming this would apply to Ubuntu as well, then.

If I understand correctly, any issues at this point with network-manager and static configuration are going to be distro-specific? Are there any docs to which you can refer that explain what each distro needs to do to to support static configurations with n-m?
Comment 8 Brian Kerrick Nickel 2007-01-26 23:52:28 UTC
I haven't seen any documentation anywhere on how to set up a static IP with NetworkManager on Gentoo. How is this done?
Comment 9 bugreports 2007-01-29 09:53:15 UTC
well debian has workarounds let NM not care about interfaces that are listed in interfaces (when dhcp is not listed for that interface in there)
Comment 10 Roberto Sarrionandia 2008-02-10 11:58:18 UTC
Some distributions have workarounds, but that is it.

In school we have a wireless network,Static IP, Gateway, etc. I can put all the settings mnually into the gnome networking application, because there is no option in network-manager. It connects fine then, but if I want to go to a different location, like my house, then all the settings are lost.

It simply isn't practical to ask the admins to type the settings into my laptop every day.