I find that "iwconfig wlan0 essid <network> mode Ad-Hoc" fails when the wlan0 is up in managed mode to start with:
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Device or resource busy.
However, the sequence:
ifconfig wlan0 down
iwconfig wlan0 mode Ad-Hoc
ifconfig wlan0 up
iwconfig wlan0 essid <network>
Sucessfully allows me to connect. It would be helpful if wicd could manage this, as this was one of the main reasons for me swapping from pure wpa_supplicant (which requires ap_scan=2 being added to allow adhoc networks to be associated with properly).
I can report the same issue as laid out by SirG. I have the following chipset:
03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02) ff-ff-d2- 19-00
Subsystem: Intel Corporation PRO/Wireless 3945ABG Network Connection
Flags: bus master, fast devsel, latency 0, IRQ 26
Memory at d0000000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [c8] Power Management version 2
Capabilities: [d0] Message Signalled Interrupts: Mask- 64bit+ Count=1/1 Enable+
Capabilities: [e0] Express Legacy Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq+ ACSVoil-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSVoil-
UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSVoil-
CESta: RxErr- BadTLP- BadDLLP+ Rollover- Timeout- NonFatalErr-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
AERCap: First Error Pointer: 14, GenCap- CGenEn- ChkCap- ChkEn-
Capabilities: [140] Device Serial Number 5c-9a-cf-
Kernel driver in use: iwl3945
Kernel modules: iwl3945
I find that "iwconfig wlan0 essid <network> mode Ad-Hoc" fails when the wlan0 is up in managed mode to start with:
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Device or resource busy.
However, the sequence:
ifconfig wlan0 down
iwconfig wlan0 mode Ad-Hoc
ifconfig wlan0 up
iwconfig wlan0 essid <network>
Sucessfully allows me to connect. It would be helpful if wicd could manage this, as this was one of the main reasons for me swapping from pure wpa_supplicant (which requires ap_scan=2 being added to allow adhoc networks to be associated with properly).
Thanks for your work.