Re: Problems with MA111 and hotplug
"Peter Ison" <[email protected]>
| Newsgroups | gmane.linux.linux-wlan.user |
|---|---|
| Message-ID | <004001c5a6cd$ed83ee00$0200a8c0@station1xp> |
Previously I posted a patch to resolve a problem I was having with MA111,
hotplug and FC3. Just as you found, none of the suggested remedies worked
for me. What seems to be happening is that the drivers have difficulty
getting out of fwload state, and subsequent commands produce the
"implementation failure" message.
I find that I need the same patch under FC4 which is to add one line to
/etc/wlan/shared.
Extract from previous post relating to FC3:
In /etc/wlan/shared
wlan_enable()
.......
nsdname=`wlan_nsdname $1`
if ! ${nsdname}_fwload $1 ; then
${ECHO} "Firmware failed to load for device $1"
return 1
fi
# Enable the interface
# ADD THE FOLLOWING LINE
$WLANCTL $1 lnxreq_ifstate ifstate=disable
result=`$WLANCTL $1 lnxreq_ifstate ifstate=enable`
The patched file /etc/wlan/shared is called by /etc/hotplug/wlan.agent and
also by /etc/init.d/wlan.
I am not sure why this works, except that before the patch the result of the
"wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable" in the above script was
"implementation failure" as shown below:
Jun 6 21:04:09 myntech kernel: hfa384x_docmd: ctlx failure=REQ_FAILED
Jun 6 21:04:09 myntech wlan.agent[19532]: Failed to enable the device,
resultcode= implementation_failure .
Jun 6 21:04:09 myntech wlan.agent[19532]: WLAN Could not bring up wlan0
Jun 6 21:04:09 myntech kernel: hfa384x_drvr_start: cmd_initialize() failed,
result=-5
Jun 6 21:04:09 myntech kernel: prism2sta_ifstate: hfa384x_drvr_start()
failed,result=-5
After the patch the wlan0 interface is now stable, and trouble-free.
I notice that after un-plugging and re-plugging, sometimes the network
routing table entries get lost. To get going again I must do the following:
service wlan restart
service network restart
and the link and network are restored.
Peter Ison
----- Original Message -----
From: "Gee, David" <[email protected]>
To: <[email protected]>
Sent: Sunday, August 21, 2005 9:41 PM
Subject: [lwlan-user] Problems with MA111 and hotplug
> I'm having problems getting my Netgear MA111 wireless USB adapter to
> work reliably with the linux-wlan-ng drivers when using hotplug under
> Fedora Core 4 ...
...
> Aug 21 12:42:09 malvern kernel: hfa384x_docmd: ctlx failure=REQ_FAILED
> Aug 21 12:42:09 malvern wlan.agent[22302]: Failed to enable the device,
> resultcode= implementation_failure .
> Aug 21 12:42:09 malvern wlan.agent[22302]: WLAN Could not bring up wlan0
> Aug 21 12:42:09 malvern kernel: hfa384x_drvr_start: cmd_initialize()
failed, result=-5
> Aug 21 12:42:09 malvern kernel: prism2sta_ifstate: hfa384x_drvr_start()
failed,result=-5
...