View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 9 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: 802.11g success story
PostPosted: Fri Sep 17, 2004 1:04 pm 
Offline
Joined: Thu Feb 12, 2004 2:54 pm
Posts: 392
Location: Beaumont, CA
I have an 802.11g wirless networking working and want to share my sucess story with anyone that is curious. This is from a fresh install of R4v4. I did some research and was originally going to with the DLink DI-624 (version C3, 2.42) router and use a Dlink DWL-G820 Gaming adapter (to serve as a bridge) to connect to my knoppmyth box.
It may have just been the particular unit I bought, but I found that the Gaming Adapter was very flaky. Sometimes it would work and other times it would not, plus it got EXTREMELY hot. Anyway, it is going back to Circuit City.
I found that the Atheros chipset is supported by madwifi and thought I would take the leap of faith and try them out. I purchased the DWL-G520 PCI Adapter (Version B2, Frmwr: 3.1.6) at Best Buy for my mythbox and also a DWL-G650 PCMCIA adapter (Version C2, Frmwr: 3.1.6) for my laptop (running Mandrake 10). I can now have a nice fast wireless network. I installed mythfrontend on both desktop and laptop so I can take my TV with me wherever I want in the house.
The install of the latest madwifi (cvs) took all of 10 minutes from compile to setup with no problems. Note I am not using encryption/wep at all. I just want speed.
Here is the steps I did to get it installed and running on my knoppmyth box (laptop was basically the same). It may not be 100% right, but it worked for me (I am sure I dont have to have IP in both files...?...):
tar xvjf linux-2.4.25-chw.tar.bz2 (knoppmyth kernel source)
ln -s /usr/src/linux-2.4.25-chw linux
ln -s /usr/src/linux /lib/modules/2.4.25-chw/build
make, make install, modprobe wlan, modprobe ath_pci, modprobe ath_hal.
edit (or create) /etc/sysconfig/network-scripts/ifcfg-ath0
DEVICE=ath0
BOOTPRO=static
IPADDR=192.168.0.1
NETMASK=255.255.255.0
NETWORK=192.168.0.0
BROADCAST=192.168.0.255
ONBOOT=yes
MII_NOT_SUPPORTED=yes (dunno what this is for)
WIRELESS_ENC_KEY=""

edit (or create) /etc/network/interfaces
auto lo ath0
iface ath0 inet static
address 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.254

also /etc/resolv.conf add your DNS
nameserver 4.2.2.2

_________________
ASUS A7N266 Micro-ATX Motherboard
Athlon 2200 processor
512K Kingston PC2100 Memory
MicroAtx Case
2 PVR250's w/remote
eVGA e-GeForce mx4000 (64 Ram with Tv/Out (Svideo))
Lite-on DVD cd-rw combo
120 GB Western Digital


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 17, 2004 1:48 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
just a quick note debian based distributions neither have nor use /etc/sysconfig that is for redhat based distributions, probably your mandrake box. the /etc/network/interfaces changes are all that is necessary for debian/knoppmyth.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 18, 2004 6:47 pm 
Offline
Joined: Mon Nov 17, 2003 8:59 am
Posts: 206
Location: Michigan
Sweet. Thanks for the info. :)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 09, 2004 5:35 pm 
Offline
Joined: Mon Feb 16, 2004 7:06 pm
Posts: 309
Location: Toronto
I got the same card but the configuration above didn't want to work for me so this is what I did.

1. Get the cvs madwifi drivers. Instructions for this can be found on the madwifi site: http://madwifi.sourceforge.net

2. Compiled and installed.
Code:
make clean;make;make install


3. Added the line
Code:
alias atho ath_pci
to /etc/modultils/linux-wlan-ng (this can be added to any file in this dir) and ran
Code:
update-modules


4. Modified /etc/network/interfaces with the following code
Code:
auto ath0
iface ath0 inet dhcp
      #configure the card to use g mode, adjust or leave out if you need something else:
      pre-up /sbin/iwpriv ath0 mode 3
      #Sample for a configuration with WEP:
      pre-up /sbin/iwconfig ath0 essid "ESSID-HERE" mode managed rate 54Mb key WEP-KEY-HERE restricted


5. Installed the module manually the first time to get it running by running
Code:
modprobe ath_pci


6. Brought the interface up with
Code:
ifconfig ath0 up
and then got my IP address through dhcp
Code:
pump -i ath0

_________________
KnoppMyth Folding@home
How to setup F@H
F@H Stats Page


Top
 Profile  
 
 Post subject: Not working...
PostPosted: Fri Feb 11, 2005 8:42 pm 
Offline
Joined: Fri Feb 11, 2005 8:36 pm
Posts: 3
So I tried Gnarl's way and I tried elgordo123's way.. Niether working for me..
Trying to get a NetGear WG311 working..

I downloaded Madwifi. did a make and make install.. Didn't see any errors..

modprobing the modules works though it says loaded with warnings...
root@mythtv1:/ # modprobe ath_pci
Warning: loading /lib/modules/2.4.25-chw/net/ath_hal.o will taint the kernel: non-GPL license - Proprietary
See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Module ath_hal loaded, with warnings
Module wlan loaded, with warnings
Module ath_rate_onoe loaded, with warnings
Module ath_pci loaded, with warnings


I know the card is seated properly.. I can find it with lspci...
00:08.0 Network controller: Texas Instruments: Unknown device 9066
Subsystem: Netgear: Unknown device 4c00
Flags: bus master, medium devsel, latency 32, IRQ 10
Memory at ee020000 (32-bit, non-prefetchable) [size=8K]
Memory at ee000000 (32-bit, non-prefetchable) [size=128K]
Capabilities: [40] Power Management version 2


When I try ifconfig ath0 up I get

ath0: ERROR while getting interface flags: No such device

Any suggestions???


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 12, 2005 12:08 am 
Offline
Joined: Mon Feb 16, 2004 7:06 pm
Posts: 309
Location: Toronto
Try re-seating it or a different PCI slot, I recently had the same problem with a linksys card and the dreaded Windows XP (client box). Re-seating it somehow allowed it to detect properly. If lspci doesn't list it then it must be a hardware or BIOS problem.

_________________
KnoppMyth Folding@home
How to setup F@H
F@H Stats Page


Top
 Profile  
 
 Post subject: still no good...
PostPosted: Sat Feb 12, 2005 7:44 am 
Offline
Joined: Fri Feb 11, 2005 8:36 pm
Posts: 3
Gnarl wrote:
Try re-seating it or a different PCI slot, I recently had the same problem with a linksys card and the dreaded Windows XP (client box). Re-seating it somehow allowed it to detect properly. If lspci doesn't list it then it must be a hardware or BIOS problem.


lspci has always shown it.. But still calling "ifconfig ath0 up" still responds with a "no such device"...

I'm going to try to disable some of the other hardware (has two usb buses and a 9-in-1 card reader.. don't really need them for knoppMyth...

Not having much luck with this... pvr 350.. no input and no output.. grey remote no workie... wireless network no workie... But hey it's downloading channel guides and weather!!!

Thanks for the info...


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 16, 2005 12:27 am 
Offline
Joined: Tue Jan 11, 2005 11:38 pm
Posts: 50
G'day Gpinketc,

The Texas Intstruments line suggests you have a TI chipset ie ACX1000 or whatever the chipset is. I'm pretty sure madwifi only works with Atheros chipsets. I think You have a wg311 ver 2.

You probably need to get the ndiswrapper stuff to make the Netgear Wg311 Ver 2 to work. go to the ndsiwrapper homepage, they have the driver for the card ( ndsiwrapper use a windows driver) and the ndiswrapper exe.

Matt ( I may be wrong about this but I just bought a wg311 card and was vewry suspect of the TI chipset and the v2 stamped on it.


Top
 Profile  
 
 Post subject: your right
PostPosted: Wed Feb 16, 2005 6:14 pm 
Offline
Joined: Fri Feb 11, 2005 8:36 pm
Posts: 3
macman wrote:
G'day Gpinketc,

The Texas Intstruments line suggests you have a TI chipset ie ACX1000 or whatever the chipset is. I'm pretty sure madwifi only works with Atheros chipsets. I think You have a wg311 ver 2.

You probably need to get the ndiswrapper stuff to make the Netgear Wg311 Ver 2 to work. go to the ndsiwrapper homepage, they have the driver for the card ( ndsiwrapper use a windows driver) and the ndiswrapper exe.

Matt ( I may be wrong about this but I just bought a wg311 card and was vewry suspect of the TI chipset and the v2 stamped on it.


I should have responded earlier to this.. After days of struggling to get it recognized I noticed a quote on another site that said the WG311 V2 was TI and not Atheros... Installed the ACX drivers the other day and it works fine..

Thanks again!


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: Bing [Bot] and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu