[patch] mode is set by default to "ad-hoc", should be left to "auto"

Bug #50224 reported by Tormod Volden
2
Affects Status Importance Assigned to Milestone
linux-wlan-ng (Debian)
Fix Released
Unknown
linux-wlan-ng (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The g-s-t network-admin has no setting for wireless network mode. Most users will want to use "managed" or "auto". For /non/-linux-wlan-ng operation, the wireless-tools scripts do not set any default for this, so it is left to the individual driver's default, which I guess is "auto".

However, the linux-wlan-ng-pre-up scripts sets the default to "ad-hoc" if it has not been set explicitely in /etc/network/interfaces. This breaks the network-admin setup for most people.

A possible solution would be a setting in network-admin for this, and thus always provide a setting for linux-wlan-ng or wireless-tools. But the best solution now seems to me to make linux-wlan-ng do as wireless-tools does, just leave it unconfigured.

Revision history for this message
Tormod Volden (tormodvolden) wrote : removes the mode setting

This works fine with my prism2_usb adapter on my WLAN. Using iwconfig I see that the network adapter automatically selects "managed".

Changed in linux-wlan-ng:
status: Unknown → Unconfirmed
Changed in linux-wlan-ng:
status: Unconfirmed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

 linux-wlan-ng (0.2.5-2ubuntu1) edgy; urgency=low
 .
   * Merge from debian unstable, resolving minor merging conflicts. Remaining
     Ubuntu changes:
     - debian/control: Point out that kernel module package is not needed for
       Ubuntu.
     - debian/linux-wlan-ng-suspend, debian/linux-wlan-ng-resume: ifdown/rmmod
       l-w-n devices before suspend and restore the state after resuming.
     - debian/linux-wlan-ng.install: Install above two scripts.
     - debian/linux-wlan-ng-pre-up, etc/rc.wlan: ieee80211 is the newer name
       for p80211.
     - debian/linux-wlan-ng.preinst, debian/linux-wlan-ng.postinst: hotplug
       transition cleanup.
     - debian/linux-wlan-ng-post-down: Do not unload modules to not break
       network-manager and to conform to new udev world order.
     - debian/rules: Fix bashisms.
     - debian/patches/CONF_etc_linux-wlan-ng_rules.dpatch: Create some udev
       rules to make l-w-n work with network-manager.
     - debian/patches/CONF_etc_Makefile.dpatch: Install udev rules into
       appropriate directory.
   * New upstream version (UVF Exception granted by Matt Zimmerman):
     - Make /e/n/interfaces keywords for WEP compatible with the rest of the
       world. Closes: LP#37451
     - Fix /etc/wlan/shared to not complain without hotplug. Closes: LP#50138
     - Leave default wireless mode to 'auto' instead of 'ad-hoc' to unbreak
       configuration with gnome-system-tools. Closes: LP#50224
   * Thanks to Tormod Volden for doing the initial merge and triaging the
     relevant bugs!

Changed in linux-wlan-ng:
status: Unconfirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.