/usr/bin/network-admin: Changing NIC from DHCP to static IP leaves dhclient running

Jari Juslin zds at nelonen.pp.saunalahti.fi
Fri Oct 29 11:42:02 UTC 2004


Package: gnome-system-tools
Version: 1.0.0-0ubuntu7
Severity: normal
File: /usr/bin/network-admin


I installed Ubuntu from scratch and it automatically set my NIC to get
IP via DHCP. Then I used the GUI tool (one in menu in default desktop
settings, network-admin, I think) to change it from DHCP to static IP.

After this the IP changed to the static one, but every three days it
changed back. /etc/network/interfaces was correct, _but_ dhclient
was still running and it seems it kept changing the address back.
/etc/init.d/networking restart fixed the problem for next three days,
but then it reoccurred. dhclient was visible at the process list.

Thus: I think the network-admin tool should stop/start dhclient
when user changes IP address from dynamic to static or vice versa.

My /etc/network/interfaces:

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth1
iface eth1 inet static
name Ethernet lÀhiverkkokortti
address 192.168.0.2
netmask 255.255.255.0
broadcast 192.168.0.255
network 192.168.0.0
gateway 192.168.0.1

This process showed up in process list:
dhclient3 -pf /var/run/dhclient.eth1.pid -lf
/var/run/dhclient.eth1.leases eth1

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i586)
Kernel: Linux 2.6.8.1-3-386
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15

Versions of packages gnome-system-tools depends on:
ii  gksu              1.2.0-2ubuntu2         graphical frontend to su
ii  libart-2.0-2      2.3.16-5               Library of functions for 2D graphi
ii  libatk1.0-0       1.8.0-1ubuntu2         The ATK accessibility toolkit
ii  libbonobo2-0      2.8.0-0ubuntu2         Bonobo CORBA interfaces library
ii  libbonoboui2-0    2.8.0-0ubuntu1         The Bonobo UI library
ii  libc6             2.3.2.ds1-13ubuntu2    GNU C Library: Shared libraries an
ii  libgconf2-4       2.8.1-0ubuntu1         GNOME configuration database syste
ii  libglade2-0       1:2.4.0-1              Library to load .glade files at ru
ii  libglib2.0-0      2.4.7-0ubuntu2         The GLib library of C routines
ii  libgnome2-0       2.8.0-0ubuntu5         The GNOME 2 library - runtime file
ii  libgnomecanvas2-0 2.8.0-0ubuntu1         A powerful object-oriented display
ii  libgnomeui-0      2.8.0-0ubuntu1         The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0    2.8.2-0ubuntu1         The GNOME virtual file-system libr
ii  libgtk2.0-0       2.4.10-1ubuntu1        The GTK+ graphical user interface 
ii  libice6           4.3.0.dfsg.1-6ubuntu25 Inter-Client Exchange library
ii  liborbit2         1:2.12.0-0ubuntu1      libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0     1.6.0b-0ubuntu1        Layout and rendering of internatio
ii  libpopt0          1.7-4                  lib for parsing cmdline parameters
ii  libsm6            4.3.0.dfsg.1-6ubuntu25 X Window System Session Management
ii  libxml2           2.6.11-3ubuntu1        GNOME XML library
ii  perl              5.8.4-2                Larry Wall's Practical Extraction 
ii  xlibs             4.3.0.dfsg.1-6ubuntu25 X Window System client libraries m
ii  zlib1g            1:1.2.1.1-3ubuntu1     compression library - runtime

-- no debconf information




More information about the ubuntu-users mailing list