Wireless Configuration Writes Bad Interfaces File
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kdeadmin (Ubuntu) |
Fix Released
|
Medium
|
Jonathan Riddell |
Bug Description
When attempting to configure the wireless interface wlan0, managed by
ndiswrapper, with systemsettings, the interface file that was written ended up
containing the lines:
iface wlan0 inet dhcp
wireless-essid RGHNLW
wireless-key **********
The asterisks were present, as shown, rather than the correct key. As a result,
when I ran 'ifup --verbose wlan0', $IF_WIRELESS_KEY became "**********", and
if-pre-
failing to set the key and therefore not associating with the access point. Thus:
root@rghlaptop:
Configuring interface wlan0=wlan0 (inet)
run-parts --verbose /etc/network/
run-parts: executing /etc/network/
Error for wireless request "Set Encode" (8B2A) :
invalid argument "if-down.d".
The argument is taken from expansion of "*": if-down-d is the first file in the
directory from which I was running ifup, viz: /etc/network.
Editing /etc/network/
with a good one corrects the problem. So the issue is what systemsettings writes
to this file.
Confirmed. Working on the fix.