Comment 1 for bug 37451

Revision history for this message
Tormod Volden (tormodvolden) wrote : patch for /etc/network/if-pre-up.d/linux-wlan-ng-pre-up

This small, non-intrusive patch takes some wireless-tools variables (if they are set) and translates them to the corresponding linux-wlan-ng variables (if they are not set).

This will make the prism2 devices work out of the box for unencrypted and WEP encrypted networks.

To test the patch:
cd /etc/network/if-pre-up.d
sudo cp -p linux-wlan-ng-pre-up linux-wlan-ng-pre-up.orig
sudo patch < ~/Desktop/linux-wlan-ng-pre-up.diff
(and start with an empty interfaces file)

(I don't have a WLAN for the moment, so I could only do dry testing. Reviews, corrections, comments, improvements are welcome.)