You are not logged in.

#1 2006-09-10 12:44:31

Jansson
Member
From: Sweden
Registered: 2006-09-10
Posts: 106

(solved) Netgear Ma101, wireless usb adapter problems

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

#2 2006-09-13 12:03:06

Jansson
Member
From: Sweden
Registered: 2006-09-10
Posts: 106

Re: (solved) Netgear Ma101, wireless usb adapter problems

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

#3 2006-09-13 13:35:54

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: (solved) Netgear Ma101, wireless usb adapter problems

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:

http://www.archlinux.org/pipermail/arch … 11907.html

Offline

#4 2006-09-13 17:55:41

Jansson
Member
From: Sweden
Registered: 2006-09-10
Posts: 106

Re: (solved) Netgear Ma101, wireless usb adapter problems

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

#5 2006-09-13 18:20:13

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: (solved) Netgear Ma101, wireless usb adapter problems

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

#6 2006-09-13 18:33:09

Jansson
Member
From: Sweden
Registered: 2006-09-10
Posts: 106

Re: (solved) Netgear Ma101, wireless usb adapter problems

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

#7 2006-09-13 20:00:37

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: (solved) Netgear Ma101, wireless usb adapter problems

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.

Jansson wrote:

(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. smile

Offline

#8 2006-09-14 07:17:17

Jansson
Member
From: Sweden
Registered: 2006-09-10
Posts: 106

Re: (solved) Netgear Ma101, wireless usb adapter problems

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  big_smile got worried there

Offline

#9 2006-09-14 08:36:03

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: (solved) Netgear Ma101, wireless usb adapter problems

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

#10 2006-09-14 14:44:47

Jansson
Member
From: Sweden
Registered: 2006-09-10
Posts: 106

Re: (solved) Netgear Ma101, wireless usb adapter problems

No not a word more sad
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

#11 2006-09-14 18:04:27

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: (solved) Netgear Ma101, wireless usb adapter problems

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

#12 2006-09-14 19:05:37

Jansson
Member
From: Sweden
Registered: 2006-09-10
Posts: 106

Re: (solved) Netgear Ma101, wireless usb adapter problems

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

#13 2006-09-14 21:32:31

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: (solved) Netgear Ma101, wireless usb adapter problems

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

#14 2006-09-15 09:51:58

Jansson
Member
From: Sweden
Registered: 2006-09-10
Posts: 106

Re: (solved) Netgear Ma101, wireless usb adapter problems

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  big_smile

Offline

#15 2006-09-17 17:18:48

Jansson
Member
From: Sweden
Registered: 2006-09-10
Posts: 106

Re: (solved) Netgear Ma101, wireless usb adapter problems

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

Board footer

Powered by FluxBB