LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 12-29-2004, 07:13 PM   #1
slothpuck
Member
 
Registered: Jul 2003
Distribution: Slackware 10.2 / Slamd 64
Posts: 86

Rep: Reputation: 15
Netgear MA111 in linux


Hi,

I'm having a few troubles getting a Netgear MA111 USB Radio network card working under linux. I am using it in Slackware 10; also I am connecting to the internet through another PC (configured as IP address 192.168.0.10).

I've downloaded and compiled the linux-ng drivers successfully, but am having problems with them. First of all the readme for the driver says to put the two configuration files called "wlan.conf" and "wlancfg-<name of ssid here> (I used wlancfg-29home)" into directory /etc/wlan. For some odd reason the drivers seem to ignore most of the configuration; I use a security (encryption) key number with my network but the encryption key nor enabling encryption is ever set even if I specify it in the wlancfg-29home file. Neither does ad-hoc mode get set properly.

All I was able to do was to set everything manually with a script like this;

#!/bin/sh
insmod p80211.o
insmod prism2_usb.o prism2_doreset=1
ifconfig wlan0 192.168.0.78 netmask 255.255.255.0
ifconfig wlan0 up
./wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
./wlanctl-ng wlan0 lnxreq_autojoin ssid=29home authtype=opensystem
./wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11ExcludeUnencrypted=true
./wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11PrivacyInvoked=true
./wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKey0=12:34:56:78
./wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKeyID=0
./wlanctl-ng wlan0 dot11req_mibset mibattribute=p2CnfPortType=ad-hoc

route add default gw 192.168.0.10

That works and sets the encryption key and enables encryption, and I can also ping 192.168.0.78 (set in the 4th line down), 192.168.0.78 being the IP address of the box I'm using; 192.168.0.10 is the IP address (server) of the computer I connect to the internet through. But the line

./wlanctl-ng wlan0 dot11req_mibset mibattribute=p2CnfPortType=ad-hoc

seems not to set the MA111 to ad-hoc mode, it remains stuck on "auto" even if I replace 'ad-hoc' with '0' or '1'.

Trying to ping the internet or IP address 192.168.0.10 results in no response. I know my server is working for sure, as I can connect using both a windows box and using another PC with mandrake 10 and a different brand of radio network card.

Any ideas?

thanks

slothpuck
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
netgear MA111 sovine002007 Linux - Software 1 11-14-2005 02:53 PM
Netgear MA111 violetb Linux - Wireless Networking 6 12-07-2004 06:50 PM
Netgear MA111 USB Wireless install question under red hat linux. woodpecker Linux - Wireless Networking 3 11-18-2004 01:27 PM
anyone make NetGear MA111 work well in Red Hat Linux 9.0? jarrywhu Linux - Wireless Networking 1 10-18-2004 08:05 AM
Wi-Fi under Mandrake Linux 9.1 with Netgear MA111 nate0326 Linux - Newbie 0 12-09-2003 10:13 PM


All times are GMT -5. The time now is 12:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration