FS#22057 - [wicd] doesnt support ad-hoc network

Attached to Project: Arch Linux
Opened by Liu Dongiao (liudongmiao) - Saturday, 11 December 2010, 20:01 GMT
Last edited by Isenmann Daniel (ise) - Friday, 18 March 2011, 08:36 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Isenmann Daniel (ise)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
extra/wicd doesnt support ad-hoc network.

Additional info:
* wicd 1.7.0

Reason:
wicd use iwconfig to get the bssid of ap.
iwconfig use access point for normal network, and cell for ad-hoc network.
wicd cannot get the wireless, then disconnect it.

Possible Patch:
--- wicd-1.7.0/wicd/wnettools.py 2010-01-15 12:49:11.000000000 +0800
+++ wicd-1.7.0.patched/wicd/wnettools.py 2010-12-12 03:50:31.000000000 +0800
@@ -59,7 +59,7 @@ wpa2_pattern = re.compile('(WPA2)', _re_

#iwconfig-only regular expressions.
ip_pattern = re.compile(r'inet [Aa]d?dr[^.]*:([^.]*\.[^.]*\.[^.]*\.[0-9]*)', re.S)
-bssid_pattern = re.compile('.*Access Point: (([0-9A-Z]{2}:){5}[0-9A-Z]{2})', _re_mode)
+bssid_pattern = re.compile('.*[(Access Point)|(Cell)]: (([0-9A-Z]{2}:){5}[0-9A-Z]{2})', _re_mode)
bitrate_pattern = re.compile('.*Bit Rate[=:](.*?/s)', _re_mode)
opmode_pattern = re.compile('.*Mode:(.*?) ', _re_mode)
authmethods_pattern = re.compile('.*Authentication capabilities :\n(.*?)Current', _re_mode)

Although it should be reported to upstream, but i cannot find a possible way to upstream...
This task depends upon

Closed by  Isenmann Daniel (ise)
Friday, 18 March 2011, 08:36 GMT
Reason for closing:  Fixed
Additional comments about closing:  Patch was applied upstream. Closing this bug.
Comment by Ionut Biru (wonder) - Saturday, 11 December 2010, 20:18 GMT
https://bugs.launchpad.net/wicd

submit there first and paste the bug number/link
Comment by Thomas Dziedzic (tomd123) - Saturday, 25 December 2010, 20:31 GMT
I reported this link upstream: https://bugs.launchpad.net/wicd/+bug/129608
Comment by Thomas Dziedzic (tomd123) - Saturday, 05 February 2011, 05:06 GMT
Upstream has committed a fix (I think it was this patch, you have to check to confirm).

Loading...