network-admin does not set the psk-key from file

romph romph at web.de
Sun Aug 3 17:03:17 UTC 2008


Hello,

A few days ago I've upgraded my Ubuntu to
  Ubuntu 8.04.1 "Hardy Heron" - Release i386

The two concerned packages are:
  gnome-system-tools     2.22.0-0ubuntu9
  system-tools-backends  2.6.0-0ubuntu7

I've tested the following sequence.

Firstly I've prepared the file
  /etc/network/interfaces

The contents of /etc/network/interfaces:
----------------------------------------
iface eth1 inet static
address 192.168.0.200
netmask 255.255.255.0
gateway 192.168.0.1
wpa-psk 37ecb2638749fe07f8d2f32bb3a669a9f649d044c43f8b0062fb1e9df6dcf0d6
wpa-driver wext
wpa-key-mgmt WPA-PSK
wpa-proto WPA
wpa-ssid 3lKohPdrddK390kj
auto eth1
----------------------------------------


Then I've started the network-admin from the gnome-system-tools package
and save 'my-location' in the file:
  ~/.gnome2/network-admin-locations/my-location

The contents of ~/.gnome2/network-admin-locations/my-location:
--------------------------------------------------------------
[eth1]
auto=true
active=true
configured=true
ip-address=192.168.0.200
ip-mask=255.255.255.0
gateway-address=192.168.0.1
network-address=
broadcast-address=
config-method=static
essid=3lKohPdrddK390kj
key-type=wpa-psk
key=37ecb2638749fe07f8d2f32bb3a669a9f649d044c43f8b0062fb1e9df6dcf0d6
--------------------------------------------------------------


As you can see the psk-key has been properly saved.
Then I've activated this location using network-admin.
The network-admin has written back the file /etc/network/interfaces.

The contents of /etc/network/interfaces:
----------------------------------------
iface eth1 inet static
address 192.168.0.200
netmask 255.255.255.0
gateway 192.168.0.1
wpa-driver wext
wpa-key-mgmt WPA-PSK
wpa-proto WPA
wpa-ssid 3lKohPdrddK390kj
auto eth1
----------------------------------------


The entry 'wpa-psk ...' is not contained any more. On they way from the
file '~/.gnome2/network-admin-locations/my-location', over the
'network-admin' and 'system-tools-backends' to the file
'/etc/network/interfaces' this information has been lost.

This issue is new for the ubuntu 8.04.1.
In the previous 7.04 version there were no problems with network-admin.

I'm pretty sure, it's a kind of bug, but I'd like to ask, if anybody has
had the same problems before sending this message to the bug list.

Regards,
Roman





More information about the ubuntu-users mailing list