LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   mandrake doesn't detect my netgear MA111 Wireless USB Adapter (https://www.linuxquestions.org/questions/mandriva-30/mandrake-doesnt-detect-my-netgear-ma111-wireless-usb-adapter-89893/)

timalan 09-06-2003 11:19 AM

mandrake doesn't detect my netgear MA111 Wireless USB Adapter
 
can i get Mandrake 9.1 to detect NETGEAR 802.11B WIRELESS USB ADAPTER 2.4GHz MA111??

Thanks alot for replying... :-)
timalan

Channi 09-21-2003 06:53 PM

i have the same problem:(

timalan 09-21-2003 07:05 PM

Channi,
the only way to get around that is what i did..
i installed my ethernet card and ran a rj45 from the card to the netgear cable modem box...
remove the usb adapter....
let me know if you try that and if it works...
take care
timalan

glsen_az 10-25-2003 06:41 PM

Same problems here - (Mandrake 9.1) OS recognizes there is a USB device, but not the specifics. (I don't have a wireless home network, only accessing while at cafes.)
I've gone thru the WLAN-NG driver config setup and end with wlancfg-ng wlan command not finding the wlancfg-ng command. (I've done the MAKE config, all, install with success.) There must be a config file or modules file I'm not updating manually or correctly.
Any clues? I appreciate any feedback/help.

-*-Bill

dinoraj 01-31-2004 06:33 PM

Install the kernel source
 
Hi,
Mandrake did not include the kernel-source file with the download package. Download it form the mirror images and install it before installing the wlan-ng drivers and everything will be fine.

BYE,
Dino.

glsen_az 01-31-2004 11:10 PM

> Mandrake did not include the kernel-source file with the download package.
> Download it form the mirror images and install it before installing the
> wlan-ng drivers and everything will be fine.
> Dino.

Dino (and everyone),
Thanks for your response. I apparently forgot that I had made this post back in October of '03. I was using Mandrake and had the kernel source installed. I ended up trading that card in and went with a Belkin card that is listed in the WLAN card list site - it was then found OK. I ended up buying a boxed copy of SuSE 8.2 Pro - found the card no sweat. I switch profiles all the time between different wireless APs and my wired connection at home with SCPM (I believe a SuSE tool.)

-*-Bill

cujof16 02-28-2004 05:46 AM

dinoraj -- Where are the mirrors and the files?
 
DO you have a URL to the mirrors? I am new to Linux and need to have some more help in finding the information.

Thanks.

CUJO

snodnipper 04-09-2004 06:10 PM

MA111 MA-111 MA 111 Mandrake 10 Working WEP DHCP
 
OK, I chose this as a university (ecs.soton.ac.uk) project (Linux Wifi Install Guide) – I'm proud to say it's working very well with Mandrake 10! Now I've just pasted the procedures from an unfinished document, I am writing this up officially at the moment - but for those anxious to get it working, here goes:

MA111, DHCP, and WEP.

1.Open the console and verify the OS has detected the MA111's presence:
“lsusb” --> look for “Netgear, Inc.”

Installing Kernel-Source (required for driver installation):
2.Open the console and type:
a.“su” --> enter the root password.
b.“urpmq -r kernel-source”; this should display:
--> kernel-source-2.6.3-7mdk
c.“urpm –i kernel-source-2.6.3-7mdk.rpm” – substitute if the disk used has a later version. Note: only the version shown has been tested.
d.“mkdir /usr/src/linux/.tmp_versions” --> note: driver installation will fail if this directory isn't created.

Installing wireless driver
3.Obtain the wlan-ng driver from AbsoluteValue Systems (2004).
Use this command at a Linux Internet workstation:
“wget ftp://ftp.linux-wlan.org/pub/linux-w...pre20.tar.gz”. Later versions should work too.
Copy this to a home directory.
4.Unpack the driver file by issuing the following command:
“tar zxvf linux-wlan-ng-0.2.1-pre20.tar.gz”.
5.Enter the directory created: “cd linux-wlan-ng-0.2.1-pre20”.
6.Initiate the driver configuration by issuing the following command:
“./Configure” --> follow this:
---
-------------- Linux WLAN Configuration Script -------------

The default responses are correct for most users.

Build Prism2.x PCMCIA Card Services (_cs) driver? (y/n) [y]: n
Build Prism2 PLX9052 based PCI (_plx) adapter driver? (y/n) [y]: y
Build Prism2.5 native PCI (_pci) driver? (y/n) [n]: n
Build Prism2.5 USB (_usb) driver? (y/n) [y]: y

Linux source directory [/usr/src/linux]:

The kernel source tree is version 2.6.3-4mdk.
Kernel 2.5/2.6 support is highly experimental.
The current kernel build date is Tue Mar 2 07:26:13 2004.

Alternate target install root directory on host []:
Module install directory [/lib/modules/2.6.3-4mdk]:

Prefix for build host compiler? (rarely needed) []:

Build for debugging (see doc/config.debug) (y/n) [n]:

Configuration successful.
---

7.As root at the console, enter “make all” and wait (you shouldn't get any errors)
8.Enter “make install”, drivers should be installed correctly.
Configuring the network settings
9.As root, copy the “ifcfg-wlan0” network-script, shown in the appendix of this document, to the “/etc/sysconfig/network-scripts/” location using this console command:
“cp ifcfg-wlan0 /etc/sysconfig/network-scripts/”
10.Use the “vi /etc/sysconfig/network-scripts/ifcfg-wlan0” command. Press “i”to edit the file and make the necessary changes (HWADDR, ESSID). --> get hardware address from the device itself! {on the side}
Press “Esc” followed by “:wq” to save the changes.
11. Type “vi /etc/modules.conf”. Using the previous commands, insert “alias wlan0 prism2_usb”.
12.Reboot the PC.

Appendix

“ifcfg-wlan0” script:

# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
GATEWAY=
TYPE=Wireless
DHCP_HOSTNAME=
IPADDR=
DEVICE=wlan0
HWADDR=00:07:6a:73:8a:67 <-- this is found on the side of the MA111 device
BOOTPROTO=dhcp
DOMAIN=
NETMASK=
ONBOOT=yes
USERCTL=no
PEERDNS=yes
ESSID=wifinetname <-- this is the name of the wireless network.
CHANNEL=6
MODE=Managed
RATE=11Mb/s


“wlancfg-wifinetname” (name must correspond with ifcfg-wlan0) script:

#=======USER MIB SETTINGS=============================
# You can add the assignments for various MIB items
# of your choosing to this variable, separated by
# whitespace. The wlan-ng script will then set each one.
# Just uncomment the variable and set the assignments
# the way you want them.

#USER_MIBS="p2CnfRoamingMode=1 p2CnfShortPreamble=mixed"

#=======WEP===========================================
# [Dis/En]able WEP. Settings only matter if PrivacyInvoked is true
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.

# If PRIV_GENSTR is not empty, use PRIV_GENTSTR to generate
# keys (just a convenience)
# add-ons/ in the tarball contains other key generators.
PRIV_GENERATOR=/sbin/nwepgen # nwepgen, Neesus compatible
PRIV_KEY128=true # keylength to generate
PRIV_GENSTR=""

# or set them explicitly. Set genstr or keys, not both.
dot11WEPDefaultKey0=6c:75:2e:36:5c:4e:47:69:39:7c:3a:31:2f #your secret code
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 ===================
# What kind of authentication?
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)

---

THIS SHOULD WORK....IT'S WORKING FOR ME, IF IT DOESN'T, IT MEANS THAT MY TUTORIAL HAS GONE WRONG....BUT I'M MAKING A PROFESSIONAL ONE NOW.
Good luck!

suppaman 04-10-2004 10:10 PM

Suse
 
I have a problem here. Can your tutorial works in Suse linux? I know this is a mandrake forum but I need to know how for SuSE.

Thanks a lot.

snodnipper 04-11-2004 02:14 PM

Re: Suse
 
Quote:

Originally posted by suppaman
I have a problem here. Can your tutorial works in Suse linux? I know this is a mandrake forum but I need to know how for SuSE.

Thanks a lot.

I'm sorry but I don't use SuSe - you could try Mandrake 10, it's very nice ;)

p.s. have you tried the tutorial with SuSe? you never know, it might work straight out of the box - also MDK10 has kernel 2.6 - I can't really comment if you're still using 2.4.

suppaman 04-15-2004 11:41 PM

I have done some part of the job.

I have successfully installed the driver it needs. However, I cannot run it yet. How do i do it?

i followed this instructions:

A) Make sure your kernel usb support is running
B) Plug in the Prism2.x USB device
C) Run 'modprobe prism2_usb prism2_doreset=1' to load the driver into memory.
D) Run 'wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable' to initialize the
driver+MAC functions.
E) Run 'wlanctl-ng wlan0 lnxreq_autojoin ssid=<your ssid> authtype=opensystem'
to enable the MAC in Infrastructure Station mode.
F) Run 'ifconfig wlan0 <your IP address>'

but when i type 'wlanctl-ng ' it returns to me no device found.

snodnipper 04-16-2004 05:43 AM

Quote:

Originally posted by suppaman
but when i type 'wlanctl-ng ' it returns to me no device found. [/B]
You shouldn't need to be playing around with wlanctl-ng - "Only experts will want to use this program, as it is quite complicated. Everyone else edits a config file and uses a script that runs this program as necessary."
Source: http://leaf.sourceforge.net/devel/jn...lanctl-ng.html

Also, I haven't even said: "run ifconfig wlan <you IP address>" - sounds like your getting confused with someone else's guide. If you follow exactly what is written (and modify the scripts shown), you should have it working.

snodnipper 04-16-2004 05:47 AM

Alternative source of help
 
See: http://sodaphish.com/phorums/viewtopic.php?t=154
This might help you.

"/etc/modules.conf file to account for the new modules needed to get the wlan0 device recognized on boot. I added the line 'alias wlan0 prism2_usb' and then rebooted to give things a go."

suppaman 04-18-2004 09:22 PM

cp ifcfg-wlan0 /etc/sysconfig/network-scripts/

this cannot be done at my linux. any alternative way that i can find for network-scripts?

suppaman 04-21-2004 04:20 AM

I just found out that the driver partially works. i can access my own router configuration which is 192.168.0.1 (Netgear MR314) However, I still cannot access the internet. It seems like I cannot get the ip address.


All times are GMT -5. The time now is 05:11 PM.