LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 09-21-2004, 12:23 AM   #1
Etrnaly
LQ Newbie
 
Registered: Jun 2004
Posts: 9

Rep: Reputation: 0
Getting Netgear MA111 to work on Mandrake 10 AMD64 Version


Hi. I've been trying to get my Netgear MA111 USB adaptor to work with my mdk installation, but it just won't see to work. I've tried the following tutorials:

hxxp://(world wide web).linuxquestions.org/questions/answers.php?action=viewarticle&artid=239

hxxp://(world wide web).linuxquestions.org/questions/showthread.php?s=&threadid=89893&highlight=ma111

Both of these tutorials gave me the same problem. First, during boot, it gives me an error about not being able to find /etc/sysconfig/networking/default/ifcfg-*. So, I made a copy of ifcfg-wlan0 and placed it in that directory. Restarted, and it gives me the following error during boot:
Bringing up interface wlan0: Determining IP information for wlan0...failed


I also went here:

hxxp://(world wide web).linuxquestions.org/questions/showthread.php?s=&threadid=184459&highlight=ma111

It said I should try to recompile the whole kernel, so that's what I did. (make oldconfig/make/make modules_install/make bzImage/make install). Restarted with 263-9custom and tried the above two again. Still got the same problems.

Then I tried the following tutorial:

hxxp://rayli.net/#ma111

I was using pre22 for the beginning, and since this tutorial said pre20 worked, I tried using that. It didn't mention anything about the ifcfg files, so I got rid of those. So, it didn't try to initialize the usb card on boot. When I tried running "modprobe uhci-hcd prism2_usb" it gave me the following error:
FATAL: Error inserting uhci-hcd (/lib/modules/2.6.3-9mdk/kernel/drivers/usb/host/uhci-hcd.ko.gz): Unknown symbol in module, or unknown parameter (see dmesg).

Does anyone know what I'm doing wrong?? I'm kind of a noob at linux, so step by step instructions will help. I can list my config files for the network and stuff if needed too. I've tried the one I made on my own and the ones made at the rayli.net site. Thanks in advance for the help.

PS. Sorry about the url things. I don't have 5 posts yet, so it won't let me do it.
 
Old 09-23-2004, 01:16 PM   #2
Etrnaly
LQ Newbie
 
Registered: Jun 2004
Posts: 9

Original Poster
Rep: Reputation: 0
does anyone have a clue??
 
Old 09-23-2004, 08:17 PM   #3
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
It looks to me like you need to go back to what you originally did:

Quote:
Bringing up interface wlan0: Determining IP information for wlan0...failed
Usually you get this error when you try to bring up an interface and haven't assigned it an IP address yet. If I remember correctly, somewhere in your ifcfg-wlan0 file should be a couple lines like this:

BOOTPROTO=dhcp
onBOOT=yes

If BOOTPROTO isn't set to dhcp, you're probably not getting an IP address. Of course you also have to have the SSID and WEP key set (if you use WEP).
 
Old 09-23-2004, 09:56 PM   #4
Etrnaly
LQ Newbie
 
Registered: Jun 2004
Posts: 9

Original Poster
Rep: Reputation: 0
I do have BOOTPROTO=dhcp and ONBOOT=yes. My SSID and WEP are also in there. When i run dmesg, it just tells me I have an unknown parameter....
 
Old 09-23-2004, 10:08 PM   #5
Etrnaly
LQ Newbie
 
Registered: Jun 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Here are my files, if it'll help any. My SSID is WaveLAN and my WEP key is 14685.

ifcfg-wlan0:

DEVICE=wlan0
BOOTPROTO=dhcp
ONBOOT=yes
ESSID="WaveLAN"
HWADDR=00:09:5B:41:61:5E
TYPE=Wireless



wlancfg-WaveLAN:

lnxreq_hostWEPEncrypt=true # true|false
lnxreq_hostWEPDecrypt=true # true|false
dot11PrivacyInvoked=true # true|false
dot11WEPDefaultKeyID=0 # 0|1|2|3
dot11ExcludeUnencrypted=true # true|false, in AP this means WEP is required.

PRIV_GENERATOR=/sbin/nwepgen # nwepgen, Neesus compatible
PRIV_KEY128=false # keylength to generate
PRIV_GENSTR=""

dot11WEPDefaultKey0=01:04:06:08:05 # format: xx:xx:xx:xx:xx or
dot11WEPDefaultKey1= # xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
dot11WEPDefaultKey2= # e.g. 01:20:03:40:05 or
dot11WEPDefaultKey3= # 01:02:03:04:05:06:07:08:09:0a:0b:0c:0d
#=======SELECT STATION MODE===================
IS_ADHOC=n # y|n, y - adhoc, n - infrastructure

#======= INFRASTRUCTURE STATION ===================
AuthType="sharedkey" # opensystem | sharedkey (requires WEP)

#======= ADHOC STATION ============================
BCNINT=100 # Beacon interval (in Kus)
CHANNEL=6 # DS channel for BSS (1-14, depends
# on regulatory domain)
BASICRATES="2 4" # Rates for mgmt&ctl frames (in 500Kb/s)
OPRATES="2 4 11 22" # Supported rates in BSS (in 500Kb/s)



wlan.conf:

WLAN_DEVICES="wlan0"
ChannelList="01:02:03:04:05:06:07:08:09:0a:0b:00:00:00"
ChannelMinTime=200
ChannelMaxTime=250
WLAN_SCAN=y
SSID_wlan0="WaveLAN"
ENABLE_wlan0=y




I took out some of the comments to make it easier to see.
 
Old 09-24-2004, 07:42 AM   #6
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
After you boot, what is the output of iwconfig?
 
Old 09-24-2004, 12:14 PM   #7
Etrnaly
LQ Newbie
 
Registered: Jun 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Hangdog42
After you boot, what is the output of iwconfig?
I actually can't find iwconfig. When I run iwconfig, it tells me it can't find it. I couldn't find it in /bin or /sbin. And I couldn't find it anywhere in the packages either.
 
Old 09-24-2004, 03:41 PM   #8
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
That is odd. Iwconfig is part of the wireless tools package. You might try using rpmdrake to find it as it should be on your CD.
 
Old 09-24-2004, 07:54 PM   #9
Etrnaly
LQ Newbie
 
Registered: Jun 2004
Posts: 9

Original Poster
Rep: Reputation: 0
OK. I reinstalled mdk and found iwconfig. Reinstalled the drivers. This is what is showing up during boot:

Error for wireless request "Set Encode" (8B2A):
SET failed on device wlan0; Operation not supported
Error for wireless request "Set ESSID" (8B1A):
SET failed on device wlan0; Operation not supported
Determining IP information for wlan0...failed


I'm using pre22 of wlan-ng. Here's what I got from ifconfig and iwconfig.

ifconfig:

wlan0 Link encap:Ethernet HWaddr 00:09:5B:41:61:5E
inet6 addr: fe80::209:5bff:fe41:615e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:16 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

iwconfig:

wlan0 IEEE 802.11-DS ESSID:"WaveLAN" Nickname:"WaveLAN"
Mode:Auto Frequency:2.462GHz Access Point: 00:00:00:00:00:00
Bit Rate:2Mb/s Tx-Power:2346 dBm
Retry min limit:8 RTS thrff Fragment thrff
Encryption key:0104-0608-05 Security mode:restricted
Link Quality:0/92 Signal level:-69 dBm Noise level:-90 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

Here are my current other config files.

wlan.conf:
WLAN_DEVICES="wlan0"
ChannelList="01:02:03:04:05:06:07:08:09:0a:0b:00:00:00"
ChannelMinTime=200
ChannelMaxTime=250
WLAN_SCAN=y
SSID_wlan0="WaveLAN"
ENABLE_wlan0=y

wlancfg-WaveLAN:
lnxreq_hostWEPEncrypt=true # true|false
lnxreq_hostWEPDecrypt=true # true|false
dot11PrivacyInvoked=true # true|false
dot11WEPDefaultKeyID=0 # 0|1|2|3
dot11ExcludeUnencrypted=true # true|false, in AP this means WEP is required.
PRIV_GENERATOR=/sbin/nwepgen # nwepgen, Neesus compatible
PRIV_KEY128=false # keylength to generate
PRIV_GENSTR=""
dot11WEPDefaultKey0=01:04:06:08:05 # format: xx:xx:xx:xx:xx or
dot11WEPDefaultKey1= # xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
dot11WEPDefaultKey2= # e.g. 01:20:03:40:05 or
dot11WEPDefaultKey3= # 01:02:03:04:05:06:07:08:09:0a:0b:0c:0d
IS_ADHOC=n # y|n, y - adhoc, n - infrastructure
AuthType="sharedkey" # opensystem | sharedkey (requires WEP)
BCNINT=100 # Beacon interval (in Kus)
CHANNEL=6 # DS channel for BSS (1-14, depends
# on regulatory domain)
BASICRATES="2 4" # Rates for mgmt&ctl frames (in 500Kb/s)
OPRATES="2 4 11 22" # Supported rates in BSS (in 500Kb/s)



ifcfg-wlan0:
DEVICE=wlan0
BOOTPROTO=dhcp
TYPE=Wireless
onBOOT=yes
 
Old 10-03-2004, 08:11 AM   #10
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Sorry for the delay in a response, I got exiled to a place without internet for a week...

Anyway, from the output of your iwconfig, it looks as if your card isn't associating with your access point. The MAC address of nothing but 00:00 is the clue. You might try a couple of things. First, turn on the SSID broadcast of your access point. If that doesn't work, try turning off WEP and see if that allows a connection.

Quote:
dot11WEPDefaultKey0=01:04:06:08:05 # format: xx:xx:xx:xx:xx or
You also might want to double check your WEP key and make sure it is correct. I know that you may have not posted your real WEP key (and you shouldn't) but it doesn't hurt to double check and make sure it is correct and matches your AP.
 
Old 10-28-2004, 01:11 AM   #11
-V-
LQ Newbie
 
Registered: Oct 2004
Posts: 1

Rep: Reputation: 0
Download Fedora 2 and install it. Settings, Internet Configuration Wizard.
Pick your card, it should be there as prism2
Setup pertinent info like ESSID and WEP key (a wep key of 809bf372f9 becomes 0x809bf372f9)
When done setting up, click the enable button. You might get and error message. Disregard it.
Happy surfing.
 
Old 10-28-2004, 02:37 AM   #12
Etrnaly
LQ Newbie
 
Registered: Jun 2004
Posts: 9

Original Poster
Rep: Reputation: 0
actually...i got it to work already. turns out, you need the hex code to be 3132, etc for decimal keys. i thought 01 woulda given me a 1, not 31. thanks anyway.
 
  


Reply



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 01:53 PM
mandrake doesn't detect my netgear MA111 Wireless USB Adapter timalan Mandriva 24 02-16-2005 06:07 PM
Does wpa_suplicant work with Netgear MA111 USB? weeny Linux - Wireless Networking 0 02-06-2005 01:30 PM
anyone make NetGear MA111 work well in Red Hat Linux 9.0? jarrywhu Linux - Wireless Networking 1 10-18-2004 07:05 AM
Wi-Fi under Mandrake Linux 9.1 with Netgear MA111 nate0326 Linux - Newbie 0 12-09-2003 09:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 06:27 AM.

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
Open Source Consulting | Domain Registration