LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 03-15-2005, 05:56 AM   #1
hvinelinux
LQ Newbie
 
Registered: Feb 2004
Location: Rhode Island
Distribution: SlackWare 10.1
Posts: 29

Rep: Reputation: 15
Unhappy wireless netgear wg311


anyone have any ideas on how to get one of these working in slackware?

i did a fresh install on my other computer after being so pleasantly surprised at how great it was on the original, only to discover my network card wasn't installed or detected at all.

anyone have any luck getting it to work? maybe a tutorial someplace?

thanks!

harold

Last edited by hvinelinux; 03-19-2005 at 02:00 AM.
 
Old 03-15-2005, 06:38 AM   #2
snecklifter
Member
 
Registered: Mar 2004
Location: UK/West Yorkshire/Huddersfield
Distribution: Fedora 7
Posts: 982

Rep: Reputation: 30
Hi there,

Please check the HCL (see nav bar at the top of the page) as there are seven entries relating to this card.
Regards
Chris
 
Old 03-15-2005, 12:10 PM   #3
coffeedrinker
Member
 
Registered: Sep 2003
Posts: 173

Rep: Reputation: 30
Have two of them WG311T. They work perfectly with the madwifi drivers which are not very difficult to install.
 
Old 03-15-2005, 05:51 PM   #4
Rognon
Member
 
Registered: Dec 2003
Distribution: Arch
Posts: 64

Rep: Reputation: 15
Look at this site : http://www.packetpro.com/~peterson/l...g311t_pci.html
It worked for me.

If you want to specify a SSID an WEP KEY, a channel or a transfer rate you will have to do this between the "ifconfig ath0 up" and the "dhcpcd ath0"

So basically, after installing the drivers and modeprobing everything, you have to do this to get it working :
Code:
ifconfig ath0 up
iwconfig ath0 essid your ssid
iwconfig ath0 key your WEP key
iwconfig ath0 channel your channel
iwconfig ath0 rate your transfer rate
dhcpcd ath0
 
Old 03-15-2005, 07:37 PM   #5
hvinelinux
LQ Newbie
 
Registered: Feb 2004
Location: Rhode Island
Distribution: SlackWare 10.1
Posts: 29

Original Poster
Rep: Reputation: 15
loos like....

i have the v2 card.

i'll have to do some home work. thanks for the tips.

harold
 
Old 03-19-2005, 02:12 AM   #6
hvinelinux
LQ Newbie
 
Registered: Feb 2004
Location: Rhode Island
Distribution: SlackWare 10.1
Posts: 29

Original Poster
Rep: Reputation: 15
ok.....it works, somewhat...

ok.....question...

how do you automate this process?

i'm having to type out all this:

ifconfig ath0 up
iwconfig ath0 essid your ssid
iwconfig ath0 key your WEP key
iwconfig ath0 channel your channel
iwconfig ath0 rate your transfer rate
dhcpcd ath0

in order to start up my card....

i followed the instructions here where ndiswrapper says:

Quote:
5. AutomateOnce everything works fine you can write the correct modprobe settings to load ndiswrapper automatically when wlan0 interface is used, by running

ndiswrapper -m
Note that this doesn't automatically load ndiswrapper module at boot time. If you want the module to be loaded automatically at boot time, you should configure your module setup, which depends on the distrbution. Most distributions will load all modules listed in /etc/modules at boot time. Mandrake 10.x uses /etc/modprobe.preload. For them, you can add a line

ndiswrapper
in /etc/modules.
but this just don't work.

i tried putting those commands in rc.local in order to try it that way, but for some reason it won't work at boot up, only after i log in and run rc.local again, will they work.

any thoughts?
 
Old 03-19-2005, 10:51 AM   #7
coffeedrinker
Member
 
Registered: Sep 2003
Posts: 173

Rep: Reputation: 30
You need the whole path to the commands.

/sbin/iwconfig ath0 essid "netname" key xxxxxxxxxxxxxxxxxxxxx
/sbin/ifconfig ath0 up
/sbin/dhcpcd ath0

Last edited by coffeedrinker; 03-19-2005 at 10:53 AM.
 
Old 03-19-2005, 11:11 AM   #8
Rognon
Member
 
Registered: Dec 2003
Distribution: Arch
Posts: 64

Rep: Reputation: 15
hmm... I've put everything in my rc.local without the complete path and it works perfectly...
 
Old 03-20-2005, 02:22 PM   #9
hvinelinux
LQ Newbie
 
Registered: Feb 2004
Location: Rhode Island
Distribution: SlackWare 10.1
Posts: 29

Original Poster
Rep: Reputation: 15
i got errors.

don't know why.

here is the messages i get from dmesg:
acx100: It looks like you were coaxed into buying a wireless network card
acx100: that uses the mysterious ACX100 chip from Texas Instruments.
acx100: You should better have bought e.g. a PRISM(R) chipset based card,
acx100: since that would mean REAL vendor Linux support.
acx100: Given this info, it's evident that this driver is quite EXPERIMENTAL,
acx100: thus your mileage may vary. Visit http://acx100.sf.net for support.
acx100_init_module: dev_info is: TI acx_pci
acx100_init_module: TI acx_pci.o: Ver 0.2.0pre8 Driver initialized, waiting for cards to probe...
PCI: Found IRQ 11 for device 00:0a.0
acx100_probe_pci: WARNING: ACX111 support is highly experimental!
Found ACX111-based wireless network card at 00:0a.0, irq:11, phymem1:0xed140000, phymem2:0xed100000, mem1:0xf0b52000, mem1_size:8192, mem2:0xf0b55000, mem2_size:131072.
acx100_probe_pci: using ACX111 io resource addresses (size: 54)
hw_unavailable = 1
acx_show_card_eeprom_id: EEPROM card ID string check found uninitialised card ID: this is a SpeedStream SS1021 or Gigafast WF721-AEX, no??
reset hw_unavailable++
acx100_reset_mac: enable soft reset...
acx100_reset_mac: disable soft reset and go to init mode...
acx100_reset_dev: eCPU do not start after boot (SOR), is this fatal?
ERROR: no directory for firmware file specified, ABORTING. Make sure to set module parameter 'firmware_dir'! (specified as absolute path!)
acx100_reset_dev: Failed to upload firmware to the ACX111
acx100_probe_pci: TI acx_pci: MAC initialize failure!
acx100_probe_pci: TI acx_pci.o: Ver 0.2.0pre8 Loading FAILED

----

now as soon as i log in, i can run my rc.local manuallly, and it all loads.

here is rc.local:
#!/bin/sh
#
# /etc/rc.d/rc.local: Local system initialization script.
#
# Put any local setup commands in here:
#/usr/sbin/ndiswrapper -l
#/sbin/modprobe ndiswrapper
/sbin/ifconfig wlan0 up
/sbin/iwconfig wlan0 essid Harolds-Wireless
/sbin/iwconfig wlan0 channel 10
/sbin/iwconfig wlan0 rate 11m
/sbin/dhcpcd wlan0
/sbin/route
/sbin/ifconfig
-----

here what happens, in dmesg to show it does indeed load correctly.

ndiswrapper version 1.1 loaded (preempt=no,smp=no)
ndiswrapper: driver wg311v2 (NETGEAR, Inc.,04/04/2004,6.0.2.23) loaded
PCI: Found IRQ 11 for device 00:0a.0
ndiswrapper: using irq 11
wlan0: ndiswrapper ethernet device 00:0f:b5:48:57:fa using driver wg311v2, configuration file 104C:9066:1385:4C00.5.conf
wlan0: encryption modes supported: WEP, WPA with TKIP

-----

no runs hits or errors.

what am i missing here? its baffling me.
 
Old 03-20-2005, 03:51 PM   #10
Rognon
Member
 
Registered: Dec 2003
Distribution: Arch
Posts: 64

Rep: Reputation: 15
Hmm.. I don't know about the things in dmesg but you might want to try replacing wlan0 with ath0 in your rc.local.

I don't knows if it helps...
 
Old 03-21-2005, 05:08 AM   #11
hvinelinux
LQ Newbie
 
Registered: Feb 2004
Location: Rhode Island
Distribution: SlackWare 10.1
Posts: 29

Original Poster
Rep: Reputation: 15
ok, i tried that...

Quote:
Originally posted by Rognon
Hmm.. I don't know about the things in dmesg but you might want to try replacing wlan0 with ath0 in your rc.local.

I don't knows if it helps...
this is what i got for a message......
----
ath0: unknown interface: No such device
Error for wireless request "Set ESSID" (8B1A) :
SET failed on device ath0 ; No such device.
Error for wireless request "Set Frequency" (8B04) :
SET failed on device ath0 ; No such device.
Error for wireless request "Set Bit Rate" (8B20) :
SET failed on device ath0 ; No such device.
-----

so i set it back to wlan0 and no problem, comes right up, but only AFTER i log in, and run rc.local.
 
Old 03-21-2005, 11:46 AM   #12
coffeedrinker
Member
 
Registered: Sep 2003
Posts: 173

Rep: Reputation: 30
I think the problem here is that we are using the madwifi driver and you are using the ndiwrapper. We are talking about two different animals.

Go to the page rognon linked to and follow the instructions there.
 
Old 03-23-2005, 05:32 AM   #13
hvinelinux
LQ Newbie
 
Registered: Feb 2004
Location: Rhode Island
Distribution: SlackWare 10.1
Posts: 29

Original Poster
Rep: Reputation: 15
that page also.....

Quote:
Originally posted by coffeedrinker
I think the problem here is that we are using the madwifi driver and you are using the ndiwrapper. We are talking about two different animals.

Go to the page rognon linked to and follow the instructions there.
is the instructions for the madwifi driver.

i guess i'll have to live with running rc.local after i log in. i cant seem to finger out why i can't automate this process.
 
Old 03-23-2005, 04:44 PM   #14
Rognon
Member
 
Registered: Dec 2003
Distribution: Arch
Posts: 64

Rep: Reputation: 15
Yes the instructions are for the madwifi drivers and it works perfectly with my WG311T.
 
Old 03-24-2005, 08:38 PM   #15
bbo
Member
 
Registered: Mar 2004
Location: VA
Distribution: Slackware 10.0
Posts: 50

Rep: Reputation: 15
put some sleep time before /sbin/ifconfig wlan0 up (put it twice) in your rc.local like-

/bin/sleep1
/sbin/ifconfig wlan0 up
/bin/sleep 1
/sbin/ifconfig wlan0 up

I got the same problem with different card, doing above fixed my problem.

Cheers
 
  


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 WG311 wireless with Suse 9.3 munyard Suse/Novell 3 07-07-2006 06:01 PM
Problems setting up wireless Netgear WG311 in Mandrake 10.1 majin_boy Linux - Wireless Networking 1 05-02-2005 08:46 AM
Installing Wireless Ethernet in Fedora (Netgear WG311) ricka Linux - Newbie 4 09-01-2004 11:45 PM
netgear WG311 desktop wireless adapter larakimbo Linux - Wireless Networking 2 08-22-2004 04:55 PM
NetGear WG311 Wireless ease of setup shelbydz Linux - Wireless Networking 13 12-08-2003 04:01 PM


All times are GMT -5. The time now is 08:53 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration