View previous topic :: View next topic |
Author |
Message |
Storytobi n00b
Joined: 06 Nov 2004 Posts: 32
|
Posted: Sun Apr 10, 2005 7:25 pm Post subject: How do i use "Netgear MA111 Wireless USB Adapter"? |
|
|
hi, i want to use the usb wireless adapter, what drivers/kernel params do i have to use?
the adapter is MA111
does someone already have experience with it? |
|
Back to top |
|
|
wjholden l33t
Joined: 01 Mar 2004 Posts: 826 Location: Augusta, GA
|
|
Back to top |
|
|
cartpullerjack Apprentice
Joined: 16 Nov 2003 Posts: 185
|
Posted: Sun Jun 12, 2005 3:49 am Post subject: |
|
|
I've got an ma111 working in gentoo. Make sure that you have version 1, or else you're screwwed. Version 2 supports USB 2.0, and uses a different chipset.
Here's how to do it:
Step 1: emerge linux-wlan-ng
Step 2: download the linux-wlan-ng tarball, and install it manually. I know this sounds redundant, but beleive me, it works.
Step 3: untar the tarball, and so forth, compile it and install it. Read the READMEs. Be sure to select [y] when it prompts you to install the USB driver.
Step 4: edit /etc/conf.d/net appropriately, and do a "cp /etc/init.d/net.eth0 /etc/init.d/net.wlan0"
Step 5: Copy the following scripts into /usr/sbin. Mine are named "wlan-start-nocrypt" and "wlan-start-crypt"
Code: |
#!/bin/bash
/sbin/wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
/sbin/wlanctl-ng wlan0 lnxreq_hostwep decrypt=true encrypt=false
/sbin/wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11ExcludeUnencrypted=false
/sbin/wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11PrivacyInvoked=false
/sbin/wlanctl-ng wlan0 lnxreq_autojoin ssid=$1 authtype=opensystem
/etc/init.d/net.wlan0 restart
|
This first one takes one argument, the SSID name of the ap that you want to connect to. Only works for unencrypted aps.
Code: |
#!/bin/bash
/sbin/wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
/sbin/wlanctl-ng wlan0 lnxreq_hostwep decrypt=true encrypt=true
/sbin/wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKeyID=0
/sbin/wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11ExcludeUnencrypted=true
/sbin/wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11PrivacyInvoked=true
/sbin/wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKey0=$2
/sbin/wlanctl-ng wlan0 lnxreq_autojoin ssid=$1 authtype=opensystem
/etc/init.d/net.wlan0 restart
|
This second one takes two arguments, the first being the SSID as above, and the second being the encryption key as XX:XX:XX:XX and so forth. Currently, this only works for 64-bit encryption. I haven't had the use for 128-bit, but if anyone is interested, I might be convinced to try to figure it out.
[code]
Step 6: modprobe prism2_usb, then script away! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|