LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-24-2005, 04:04 PM   #1
lasindi
Member
 
Registered: Apr 2004
Distribution: Slackware, Ubuntu
Posts: 101

Rep: Reputation: 15
"wlan0" interface not recognized with NETGEAR WG111 USB Wireless Network Adapter


Note: Sorry, I accidentally also posted this in the Slack Installation forum. I'm reposting it here, but I'm just letting you know that I'm not spamming the forum.

I've been trying to configure a NETGEAR WG111 USB wireless network adapter, but I cannot get it recognized as the "wlan0" interface. I downloaded, compiled and installelinux-wlan-ng-0.2.2, according to the instructions in the README, but I get stuck at this command:

wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable

It tells me that there is no such device. According to what I've been reading, I think hotplug is supposed to automagically create this interface. I know at least that when I plug the adapter in, nothing appears in dmesg. So I'm beginning to suspect that something's wrong with hotplug. I don't really mind if I have to do this manually, but what do I need to do to create this interface (or get hotplug to)?
 
Old 09-24-2005, 05:17 PM   #2
mirto
Member
 
Registered: May 2005
Location: Brazil
Distribution: Debian Testing
Posts: 89

Rep: Reputation: 15
hi, I'm not sure but I think the package you downloaded is just a support for wireless card.
I use a pci card not sure for usb ones but ndiswrapper works fine with then, if you don't know ndiswrapper uses the winXP driver to make your wifi card works on linux. like I said don't know if it works on usb ones.. And don't forget to check if your kernel has support to wireless extensions.
I hope it helps
 
Old 09-24-2005, 05:51 PM   #3
shepper
Member
 
Registered: Mar 2003
Location: Dry, Dusty and Conservative
Distribution: OpenBSD, Debian Wheezy/Jessie
Posts: 449

Rep: Reputation: 32
I am using the netgear MA111 (prism2.5 chipset) with the linux-wlan-ng drivers successfully.
Initially it would just work on my home network but not at free hotspots. Does the WA111 use the prism2.5 chipset?

I added "wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable" then "dhcpcd -h <host name> wlan0". I set this up as a script in bin/.

What I am doing different is using different drivers (pre21). In the extra/ directory Pat V. has a Slackware package of the drivers (installs pci, usb pcmia, etc)
I updated my kernel (2.4.31) so I compiled my own driver from the linux-wlan-ng site. If you compile your own use version 25 as version 26 only supports the 2.6 kernel.

The driver source code that works for me
 
Old 09-24-2005, 07:04 PM   #4
lasindi
Member
 
Registered: Apr 2004
Distribution: Slackware, Ubuntu
Posts: 101

Original Poster
Rep: Reputation: 15
Thanks for your replies!

mirto, using ndiswrapper locked up my keyboard, which the website said was a possibility, so unfortunately that's not going to be an option.

shepper, the problem I'm having is that I can't even access the card (i.e., no where, not just outside of my home). I need a way to create the wlan0 interface which I can configure.
 
Old 09-24-2005, 08:03 PM   #5
shepper
Member
 
Registered: Mar 2003
Location: Dry, Dusty and Conservative
Distribution: OpenBSD, Debian Wheezy/Jessie
Posts: 449

Rep: Reputation: 32
I guess the first things to check are as follows:

Plug in the WA111 and run "dmesg | less" as root. The end of the output should show the device being recognized.
Also check "lsmod" to see if the prism2_usb and p80211 modules are loaded.

edited because the only thing worse than my spelling is my typing

Last edited by shepper; 09-24-2005 at 08:04 PM.
 
Old 09-24-2005, 08:09 PM   #6
shepper
Member
 
Registered: Mar 2003
Location: Dry, Dusty and Conservative
Distribution: OpenBSD, Debian Wheezy/Jessie
Posts: 449

Rep: Reputation: 32
My "dmesg | less output"

Quote:
Writing 4096 bytes to ram @0x7e8ffe
Writing 4096 bytes to ram @0x7e9ffe
Writing 4096 bytes to ram @0x7eaffe
Writing 4096 bytes to ram @0x7ebffe
Writing 4096 bytes to ram @0x7ecffe
Writing 4096 bytes to ram @0x7edffe
Writing 3010 bytes to ram @0x7eeffe
Writing 416 bytes to ram @0x7efc20
Writing 16 bytes to ram @0x7efdd0
Writing 4044 bytes to ram @0x7f0800
Writing 3288 bytes to ram @0x7fe000
ident: nic h/w: id=0x8026 1.0.0
ident: pri f/w: id=0x15 1.1.3
ident: sta f/w: id=0x1f 1.8.3
MFI:SUP:role=0x00:id=0x01:var=0x01:b/t=1/1
CFI:SUP:role=0x00:id=0x02:var=0x02:b/t=1/1
PRI:SUP:role=0x00:id=0x03:var=0x01:b/t=1/4
STA:SUP:role=0x00:id=0x04:var=0x01:b/t=1/15
PRI-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1
STA-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1
STA-MFI:ACT:role=0x01:id=0x01:var=0x01:b/t=1/1
Prism2 card SN: \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00
linkstatus=CONNECTED
 
Old 10-19-2005, 01:48 PM   #7
lasindi
Member
 
Registered: Apr 2004
Distribution: Slackware, Ubuntu
Posts: 101

Original Poster
Rep: Reputation: 15
Well, I managed to get the card working under Ubuntu using ndiswrapper. I'm not sure exactly how the configurations are different between my Slackware systems and Ubuntu (it may well have to do with the fact that I compile my own vanilla kernels on Slackware and use precompiled kernels on Ubuntu), bu in any case since I'm only using the card on an Ubuntu system, everything is fine now. Thanks again for all of your help!
 
Old 11-21-2005, 03:18 PM   #8
shade87
LQ Newbie
 
Registered: Nov 2005
Posts: 3

Rep: Reputation: 0
Wlan WEP Ubuntu WG 111

I have problems in configuring Wlan with Netgear WG 111 (S/N: WG72). I have to use WEP encryption.
First of all I installes ndiswrapper and ndisgtk. I download driver from netgear.com
ndisgtk shows that hardware is present, light ist blinking.
a scan with iwconfig shows the right ESSID.
Everythime I want to configure my network with ndisgtk the console displays the following error: While connecting to session manager:
Authentication rejected, reason: None of the authentication protocols specified are supported and host-based authentication failed.

Result of ifconfig:
wlan0 IEEE 802.11b ESSID:"hoehenweg"
Mode:Managed Frequency:2.437 GHz Access Point: 00:90:4B:1C:C5:25
Bit Rate:11 Mb/s Tx-Power:32 dBm
RTS thr:2346 B Fragment thr:2346 B
Encryption key:my key Security mode:restricted
Power Managementff
Link Quality:100/100 Signal level:-50 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:328 Missed beacon:0

/etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping hotplug
script grep
map eth0

# The primary network interface
iface eth0 inet dhcp
iface wlan0 inet dhcp
wireless-essid hoehenweg
wireless-mode managed
wireless-key s:1234567890123 (for 128-bit encryption)
auto wlan0
auto eth0

Can anyone help me?
 
Old 11-21-2005, 04:36 PM   #9
chrisortiz
Member
 
Registered: Nov 2005
Distribution: Slackware, and of course the super delux uber knoppix universal live recovery cd
Posts: 429

Rep: Reputation: 30
shade87,

you are looking for something called "wpa_supplican't".

The source code README contains some pretty good examples that should get you on your way.

I am also using a wg111v2, so it should work fine for you.
 
Old 11-22-2005, 12:48 PM   #10
shade87
LQ Newbie
 
Registered: Nov 2005
Posts: 3

Rep: Reputation: 0
WEP encryption

Thanks for your help
I want to use WEP encryption do I have to install "wpa_supplican't" then? The real problem is that I don't understand the meaning of the error I get when I want to configure the wlan card with ndisgtk:
Authentication rejected, reason: None of the authentication protocols specified are supported and host-based authentication failed.

Does anyone know what this means?
 
Old 11-22-2005, 12:56 PM   #11
chrisortiz
Member
 
Registered: Nov 2005
Distribution: Slackware, and of course the super delux uber knoppix universal live recovery cd
Posts: 429

Rep: Reputation: 30
Quote:
wireless-key s:1234567890123 (for 128-bit encryption)
is this the actual line of code or did you put (for 128-bit encryption) in as a pointer?

if it is actual code put this in instead
Quote:
wireless-key s:1234567890123 #(for 128-bit encryption)
i make errors like that all the time.
 
Old 11-23-2005, 02:23 PM   #12
steff aka sid
LQ Newbie
 
Registered: Nov 2005
Location: Siegen/ Germany
Distribution: Debian/ Sid
Posts: 4

Rep: Reputation: 0
Hi i want to know: Works the wg111v2 Usb wireless stick with wlan-ng driver??? I only used ndiswrapper right now but i get kernel freezes whith it. So i like to try to use wlan-ng but i don't know if it's supported.
Greetz Steff
 
Old 11-23-2005, 02:33 PM   #13
chrisortiz
Member
 
Registered: Nov 2005
Distribution: Slackware, and of course the super delux uber knoppix universal live recovery cd
Posts: 429

Rep: Reputation: 30
Quote:
Hi i want to know: Works the wg111v2 Usb wireless stick with wlan-ng driver??? I only used ndiswrapper right now but i get kernel freezes whith it. So i like to try to use wlan-ng but i don't know if it's supported.

i had the same problem with ndiswrapper, the only way i could fix it was to change my kernel to 2.6.10 off of the second slackware 10.1 cd

The problem is in how the 2.4.31 kernel handles the usb calls. (i'm guessing you are using 2.4.31, because thats what i used)

Last edited by chrisortiz; 11-23-2005 at 02:35 PM.
 
Old 11-23-2005, 02:40 PM   #14
steff aka sid
LQ Newbie
 
Registered: Nov 2005
Location: Siegen/ Germany
Distribution: Debian/ Sid
Posts: 4

Rep: Reputation: 0
Quote:
Originally posted by chrisortiz
i had the same problem with ndiswrapper, the only way i could fix it was to change my kernel to 2.6.10 off of the second slackware 10.1 cd

The problem is in how the 2.4.31 kernel handles the usb calls. (i'm guessing you are using 2.4.31, because thats what i used)
No i use a 2.6.14 custom build kernel. I use this kernel with my notebook with Centrino and Intel wireless card and have no problems. So i think the Problem is the windows driver from the usb stick or maybe like you think its the handle of the usb calls.
I think i will try the wlan-ng modul now and when it works then i will post here what i've done.
Greetz Steff
 
Old 11-27-2005, 09:59 AM   #15
shade87
LQ Newbie
 
Registered: Nov 2005
Posts: 3

Rep: Reputation: 0
Smile wlan works with wep encryption

Hey I've solved my problem. Everything works now. All you really need is ndiswrapper and the netgear driver. My router works with MAC address control. I thought I had made an entry but actually the MAC address of my card was not listed there.

/etc/network/interfaces
looks like this now:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
#mapping hotplug
# script grep
# map eth0

# The primary network interface
#iface eth0 inet dhcp

iface wlan0 inet dhcp
wireless-channel 6
wireless-mode managed
wireless-key s:123y61vja7hl9
wireless-essid hoehenweg

auto wlan0

#END
There are no connection problems and even dhcp works properly.
I used the following wiki: ndiswrapper installation
 
  


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
Wireless usb wg111 not recognized ? gonzojd7 Linux - Newbie 1 10-14-2005 02:23 PM
"wlan0" interface not recognized with NETGEAR WG111 USB Wireless Network Adapter lasindi Slackware - Installation 3 09-24-2005 05:51 PM
Support for Wireless Networking -- Netgear WG111 USB Adapter Awesome Dude Linux - Wireless Networking 1 10-24-2004 11:45 AM
Help installing my "SMC EZ Connect Wireless USB Adapter(SMC2662W)" ad1das Linux - Wireless Networking 3 06-05-2004 12:59 PM
Newbie: "Parse Error" when adding wireless usb network adapter tommer Red Hat 7 10-16-2003 04:48 PM


All times are GMT -5. The time now is 02:39 AM.

Main Menu
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