You are not logged in.
I use a Netgear Ma101 wireless usb adapter. I can find it with lshwd -cc:
Usb Application specific interface
at76c503-rfmd :Netgear, inc. |Ma101 wireless adapter
So it has found apropiate drivers.
But how do I get it to work?( already tried the wireless setup guide in the wiki)
Any help is greatly appriciated
Thanks for your time
/Jansson
Offline
Ok, a couple of days since last post, and still trying to solve this...
rc.conf:
wlan0="dhcp"
wlan_wlan0="wlan essid [myessid] key [mykey]
INTERFACES=(lo eth0 wlan0)
iwconfig gives output:
lo no wireless extension
eth0 no wireless extension
iwconfig wlan0 gives:
wlan0 No such device
I've installed both wireless tools and wlan-ng26(yeah... I discovered I may be wrong on "found the drivers"...).
What am I doing wrong?
Thanks for your time//Jansson
Offline
wlan-ng's setup requirements are different from the majority of wifi gear. Have you edited /etc/wlan/wlan.conf, created the required /etc/wlan/wlancfg-<essid> file, and added the wlan daemon to etc/rc.conf DAEMONS? The wlan_wlan0 line has no effect with wlan-ng.
If you haven't done any of the above, you can have a go, or alternatively, you can try my alternative init script, as recently discussed on the ML:
Offline
thanks:)
ok, I tried method number two. But theres a litle problem when starting:
wlanctl-ng: No such device
I've taken the shellscript, saved if under /etc/rc.d/, aded it as a daemon
and aded the line in /etc/modprobe.conf
Is there something I've forgot?
(May there be a problem with hotplug? wondering since I don't have a hotplug script in /etc/rc.d)
Offline
Check if the module loaded:
lsmod | grep prism
If not, do
modprobe prism2_usb
and try again.
If you're using Arch's default udev setup, the module should autoload at boot, or when the device is plugged in.
Offline
lsmod |grep prism2_usb
prism2_usb 74628 0
p80211 28688 1 prism2_usb
usbcore 113536 6 prism2_usb,usbhid,usb_storage,ehci_hcd,uhci_hcd
Offline
First Doug on the ML, now you - am I the only Arch user that this works for? :?
OK - try this. Unplug the device, and unload the module. Plug in the device, and post whatever comes up in dmesg.
(May there be a problem with hotplug? wondering since I don't have a hotplug script in /etc/rc.d)
Ahh, hotplug... such memories. Don't worry about that - hotplug became obsolete a good while ago, thanks to udev.
Offline
Ok, this is it:
usb 2-1: new full speed USB device using uhci_hcd and address 4
usb 2-1: configuration #1 chosen from 1 choice
Ahh, hotplug... such memories. Don't worry about that - hotplug became obsolete a good while ago, thanks to udev.
Good got worried there
Offline
OK. When I do the same thing, I get the same USB messages, plus this:
prism2usb_init: prism2_usb.o: 0.2.3 Loaded
prism2usb_init: dev_info is: prism2_usb
usbcore: registered new driver prism2_usb
which is the module autoloaded by udev. Are you not seeing that?
Offline
No not a word more
Do I have to edit udev.rules or something to force it to load?
Haven*t changed a bit in the udev, so thouse files are standard.
Offline
No rule changes are required in my case. Autoload failure in itself is not the end of the world, but it may be a symptom of something else. Can you now do
modprobe prism2_usb
and check dmesg again? You should see the three lines above.
Offline
Hmm, I looked further into dmesg and found that after bootup I can find
prism2usb_init: prism2_usb.o: 0.2.3 Loaded
prism2usb_init: dev_info is: prism2_usb
usbcore: registered new driver prism2_usb
So they do show up with dmesg, but not when the device is inserted.
Offline
I just rebooted with the wlan and network daemons disabled, so I just got the module loaded by udev, like you. With just the module loaded, ifconfig should show nothing to do with wlan0, ifconfig wlan0 up should show
SIOCSIFFLAGS: No such device
and iwconfig should show
wlan0 no wireless extensions.
Assuming that's all OK, the first command in the wlan script:
wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
should produce this response:
message=lnxreq_ifstate
ifstate=enable
resultcode=success
ifconfig wlan0 up should now work, and iwconfig should show something, depending on the APs in the vicinity.
Does any of this work for you?
Offline
Well, after turning off bouth the wlan - and the networking daemons ifconfig wlan0 up gives:
wlan0: unknown interface:No such device
in iwconfig, wlan0 isn't even mentioned.
Just to make sure I've done evertything I should:
1. copied the script (and entered my essid and wap key +changed so that it adds, and removes wlan-fredrik) and put it in /etc/rc.d
2. made the entry in /etc/modprobe.conf:
#
# /etc/modprobe.conf (for v2.6 kernels)
#
alias wlan0 prism2_usb/etc/modprobe.conf
3. Aded it to my Daemons:
DAEMONS=(syslog-ng !hotplug !pcmcia wlan-fredrik network netfs crond)
That is what I've done, I hope I just forgot something...
Thanks for your help so far
Offline
Ok, now I've got it all up and working. With AT76c503A Linux usb driver ( http://at76c503a.sourceforge.net/ ) Only to install (dont forget to get the atmel-firmware that is found in AUR) and the edit rc.conf and wireless, as described in the wiki.
Hope this will help people who gets into the same truble as I did.[/url]
Offline