LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-06-2004, 09:56 PM   #1
drowning
LQ Newbie
 
Registered: Jul 2004
Distribution: Fedora Core 1
Posts: 9

Rep: Reputation: 0
Question Netgear wg311 v2 help


I have just purchased an Netgear wg311 v2 and cannot find drivers that will work. My linux distro is Fedora Core 1.
[lspci] - displays the card as --
(00:0d.0 Network Controler: Texas Instruments: Unknown Device 9066).

I have since discovered that (as far as i understand) the madwifi driver does not work for v2. Is this true? And if so are any other drivers available for the wg311 v2.

Any help would be greatly apreciated. I am a newbi to linux and this has really lost me.
 
Old 07-10-2004, 05:01 PM   #2
disq_maker
LQ Newbie
 
Registered: Jul 2004
Location: England
Posts: 3

Rep: Reputation: 0
Hi,

I have it working _but_ I'm on SUSE 9.1 (kernel 2.6.5-7.95-default).

It's working using the SUSE ndiswrapper rpm (0.6-23)
around the Netgear Windows XP drivers from 22 June.
(ftp://downloads.netgear.com/files/wg...pa_1_0_1_7.zip)
The inf file is in Drivers/Windows\ XP\wg311v2.inf

I found information about its use in a thread on linuxquestions.
It's about a different adapter but in principle it's the same.
Read this:

http://www.linuxquestions.org/questi...hreadid=198339

However I've been unable to follow the standard config file. Instead I have
it loading it on startup in my /etc/init.d/boot.local file. This file is run during
startup before entering the runlevel.
The appropriate startup file for Fedora is different though and I know even
less about Fedora than I know about SUSE. I think it's in /etc/init.rd/ but
you'll have to ask another Fedorista.

# Load the ndiswrapper module because it's not loading at startup
# despite ndiswrapper -m telling me it's already created an alias
# apparently means it should be loading
modprobe ndiswrapper
# WLAN settings
iwconfig wlan0 essid "MYID"
iwconfig wlan0 key MYKEY
# These 3 other commands were added later
iwconfig wlan0 mode Managed
iwconfig wlan0 nick linux
# My wireless router uses channel 11
iwconfig wlan0 channel 11
# Start it and get address via DHCP
ifup-dhcp wlan0

It's working and it seems totally stable so far.
But I've just got going today so I can't say anything about
long term. It's talking to a Netgear 834G ADSL router with the
latest firmware (1.5) with WEP 128 bit encryption.

I hope this helps
 
Old 07-11-2004, 06:46 AM   #3
makro2004
LQ Newbie
 
Registered: May 2004
Posts: 11

Rep: Reputation: 0
Question

Hi disq_maker,

does it also work with WPA & TKIP?

That would be really interesting!

makro
 
Old 07-11-2004, 10:13 AM   #4
disq_maker
LQ Newbie
 
Registered: Jul 2004
Location: England
Posts: 3

Rep: Reputation: 0
I just don't know...

Well I'm no expert on this but I don't think that
ndiswrapper supports WPA.

Linuxant's drivers do, I believe.

Supposedly those updated Windows drivers add WPA
(hence the file name) support. But, I believe that the additional support in Windows XP relies on a Windows XP patch, or a
3rd party utility for earlier Windows versions.

If anyone can tell me otherwise please do because I too would
like to use it if I can.
 
Old 07-11-2004, 09:38 PM   #5
drowning
LQ Newbie
 
Registered: Jul 2004
Distribution: Fedora Core 1
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks disq_maker I installed the wg311v2 windows driver with ndiswrapper and it all seemed to go well. I can now see wlan0 in iwconfig.

Unfortunatly I now have another problem. When i try to set the essid (or anything for that matter) it will not work.

If I enter > iwconfig wlan0 essid MY_ESSID
I do not get any errors but when viewing the iwconfig details
it does not display any ssid.

I thought I would try setting the details in:
/etc/sysconfig/network-scripts/ifcfg-wlan0 as was mentioned in another forum however it doesn't exist. The only ifcfg-X in network-scripts/ is ifcfg-lo for the loop back. Is this correct?

Using iwconfig, I was able to change to Ad-Hoc mode. After doing this I was able to set the essid. For some reason when I try to change back to Managed mode it stays in Ad-Hoc mode.

I am still trying a few things but if you have any suggestions they would be much appreciated.
 
Old 07-11-2004, 11:14 PM   #6
drowning
LQ Newbie
 
Registered: Jul 2004
Distribution: Fedora Core 1
Posts: 9

Original Poster
Rep: Reputation: 0
Ok I rebooted my machine and now iwconfig shows:
lo no wireless extensions.

wlan0 IEEE 802.11g ESSID:"NETGEAR"
Mode:Managed Frequency:2.462GHz Access Point: 00:06:5C:F7:29:N4
Bit Rate:54Mb/s Tx-Power:10 dBm Sensitivity=0/3
RTS thr:2347 B Fragment thr:2312 B
Encryption keyff
Power Managementff
Link Quality:100/100 Signal level:-41 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

I don't know what I did but the essid and channel are now set. I haven't
set WEP yet as I didn't want to confuse the issue.

I am still concerned about not ifcfg-wlan0 not existing in
/etc/sysconfig/network-scripts/. I have a feeling that this may have
something to do with the reason for my problem.

So anyway from here is enter

Code:
ifonfig wlan0 up
then

Code:
dhclient wlan0
to assign an IP address ( the router/modem is setup with dhcp )
At this point it just displays the following output:

/sbin/dhclient-script: configuration for wlan0 not found.
Listening on LPF/wlan0/00:09:5b:ba:75:8e
Sending on LPF/wlan0/00:09:5b:ba:75:8e
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPOFFER from 192.168.0.1
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPACK from 192.168.0.1
/sbin/dhclient-script: configuration for wlan0 not found.
DHCPDECLINE on wlan0 to 255.255.255.255 port 67
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPOFFER from 192.168.0.1
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPACK from 192.168.0.1
/sbin/dhclient-script: configuration for wlan0 not found.
DHCPDECLINE on wlan0 to 255.255.255.255 port 67
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14
DHCPOFFER from 192.168.0.1
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPACK from 192.168.0.1
/sbin/dhclient-script: configuration for wlan0 not found.
DHCPDECLINE on wlan0 to 255.255.255.255 port 67
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
DHCPOFFER from 192.168.0.1
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPACK from 192.168.0.1
/sbin/dhclient-script: configuration for wlan0 not found.

... and this continues unless you terminate the request.

From this info it seems that wlan0 has not been configured but I thought
I had done this.

I cannot ping the modem 192.168.0.1 What could I be doing wrong?
I currently have a machine running XP also on the network using the same wireless adaptor and this works fine. I know an enabled firewall could prevent me from pinging the modem but when I installed the linux disto I opted not to install a firewall as I have one on my modem/router.

Thanks in advance

Last edited by drowning; 07-11-2004 at 11:16 PM.
 
Old 07-12-2004, 02:46 PM   #7
disq_maker
LQ Newbie
 
Registered: Jul 2004
Location: England
Posts: 3

Rep: Reputation: 0
Unhappy Not much I can suggest...

Have you tried creating an ifcfg-wlan0 something like the one suggested in the thread whose link I gave?

Or even just an empty ifcfg-wlan0 file? Perhaps the missing script causes it to fail.

I'm sorry drowning but I don't really understand this stuff myself.

Colin
 
Old 07-12-2004, 10:40 PM   #8
drowning
LQ Newbie
 
Registered: Jul 2004
Distribution: Fedora Core 1
Posts: 9

Original Poster
Rep: Reputation: 0
Whoohooo. Got it sorted

I added my AP's IP address to /etc/resolv.conf. and then it worked.

Thanks for your help
 
  


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
Problems with NetGear wg311 Imerion Mandriva 9 08-10-2006 01:38 AM
Netgear WG311 Setup zip_case Linux - Wireless Networking 3 01-30-2006 10:17 PM
Netgear WG311 v2 in LE 2005? jbuckley2004 Linux - Wireless Networking 3 08-11-2005 05:27 AM
netgear wg311 lauram93 Linux - Networking 2 06-17-2005 04:21 PM
wireless netgear wg311 hvinelinux Slackware 17 03-26-2005 12:16 AM


All times are GMT -5. The time now is 09:44 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