LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-24-2005, 06:26 PM   #1
RemusX2
Member
 
Registered: Oct 2003
Location: Bozeman, Montana
Distribution: Gentoo 2010, Ubuntu 9.04
Posts: 175

Rep: Reputation: 30
Dlink DWL-G510 With MADWiFi


I installed MADWifi as described on the website... the only thing is when I go to bring the interface up it says that it isn't there. Here's the steps I took.

/sbin/lspci
01:0a.0 Ethernet controller: Atheros Communications, Inc.: Unknown device 001a (rev 01)

So therefore I'm going to use MADWifi....

Downloaded and Untar

make
make install
/sbin/modprobe ath_pci
[root@localhost madwifi]# /sbin/ifconfig ath0 up
ath0: unknown interface: No such device

And then I am stuck. Any ideas?

Fedora Core 3 2.6.11 Kernel... Custom ...


http://madwifi.sourceforge.net/
 
Old 05-25-2005, 11:58 AM   #2
daly1
Member
 
Registered: May 2005
Distribution: gentoo ROCKS
Posts: 32

Rep: Reputation: 15
What is the result of: cat /var/log/messages|grep ath?

Do you have a configuration file at /etc/sysconfig/network-scripts/ifcfg-ath0?
 
Old 05-25-2005, 03:59 PM   #3
RemusX2
Member
 
Registered: Oct 2003
Location: Bozeman, Montana
Distribution: Gentoo 2010, Ubuntu 9.04
Posts: 175

Original Poster
Rep: Reputation: 30
May 24 17:22:01 localhost kernel: ath_rate_onoe: 1.0
May 24 17:22:01 localhost kernel: ath_pci: 0.9.4.12 (EXPERIMENTAL)
May 25 14:54:45 localhost kernel: ath_pci: driver unloaded
May 25 14:54:45 localhost kernel: ath_rate_onoe: unloaded
May 25 14:54:45 localhost kernel: ath_hal: driver unloaded
May 25 14:55:00 localhost kernel: ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413)


And there is no ifcfg-ath0.... should I try making one by hand?
 
Old 05-25-2005, 04:32 PM   #4
daly1
Member
 
Registered: May 2005
Distribution: gentoo ROCKS
Posts: 32

Rep: Reputation: 15
Yes. Put this in it (change and uncomment as necessary). This is from the madwifi faq.

#
# Original File
# =============
# http://www.Linux-Sec.net/Wireless/In...-config-files/
#
#
# /etc/sysconfig/network-scripts/ifcfg-ath0
#
#
# To Reload Changes
# ------------------
# ifdown ath0
# ifup ath0
#
#
#
# 11-Dec-03 amo Install Netgear WG311 ( 802.11g ) - uses the atheros chips
# use madwifi drivers
# 21-Jun-04 amo Added WPA option
#
#
#
# Notice its ath0 NOT eth0
# ========================
#
DEVICE=ath0
#
#
BOOTPROTO=static
# BOOTPROTO=dhcp
#
#
# Using Static IP#
#
IPADDR=192.168.1.11
#
BROADCAST=192.168.1.255
NETMASK=255.255.255.0
NETWORK=192.168.1.0
ONBOOT=yes
#
#
# Notice the type
# ===============
#
TYPE=Wireless
#
#
# MAC Address of device ( ifconfig -v )
HWADDR='xx:xx:xx:xx:xx:xx
#
#
# Arbitrary ESSID
#
WIRELESS_ESSID=xxxxx
#
#
#
# Turn on WPA
# ---------------
# WPA=y
#
#
# End of file


Now, type:
modprobe ath_pci (as root)
and then, /etc/init.d/network restart

It should work now.

EDIT: I actually use it without the HWADDR entry and it works fine.

Last edited by daly1; 05-25-2005 at 04:35 PM.
 
Old 05-25-2005, 11:19 PM   #5
RemusX2
Member
 
Registered: Oct 2003
Location: Bozeman, Montana
Distribution: Gentoo 2010, Ubuntu 9.04
Posts: 175

Original Poster
Rep: Reputation: 30
No luck.... here's what I got in the dmesg...

ath_pci: driver unloaded
ath_rate_onoe: unloaded
ath_hal: driver unloaded
ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413)
ath_rate_onoe: 1.0
ath_pci: 0.9.4.12 (EXPERIMENTAL)
scatter-gather: enabled


and in the cat command

May 25 21:55:19 localhost kernel: scatter-gather: enabled
May 25 22:00:47 localhost network: Bringing up interface ath0: succeeded
May 25 22:00:49 localhost kernel: scatter-gather: enabled
May 25 22:01:12 localhost kernel: ath_pci: driver unloaded
May 25 22:01:12 localhost kernel: ath_rate_onoe: unloaded
May 25 22:01:12 localhost kernel: ath_hal: driver unloaded
May 25 22:01:20 localhost kernel: ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413)
May 25 22:01:20 localhost kernel: ath_rate_onoe: 1.0
May 25 22:01:20 localhost kernel: ath_pci: 0.9.4.12 (EXPERIMENTAL)
May 25 22:01:25 localhost network: Bringing up interface ath0: succeeded
May 25 22:01:27 localhost kernel: scatter-gather: enabled
 
Old 05-26-2005, 08:27 AM   #6
daly1
Member
 
Registered: May 2005
Distribution: gentoo ROCKS
Posts: 32

Rep: Reputation: 15
Not sure why it says unloaded. Here is my ifcg-ath0 file:

# Atheros Communications, Inc. AR5212 802.11abg NIC
DEVICE=ath0
ONBOOT=yes
BOOTPROTO=dhcp
WIRELESS=yes
ESSID=myessidhere
KEY=mykeyhere

Try:
1. rmmod ath_pci, followed by
2. modprobe -ae, and then
3. modprobe ath_pci
and check what happens in /var/log/messages. Might be worthwile to run tail -f /var/log/messages before doing the step 1 in another console to see events as they unfold
 
Old 06-01-2005, 02:50 PM   #7
RemusX2
Member
 
Registered: Oct 2003
Location: Bozeman, Montana
Distribution: Gentoo 2010, Ubuntu 9.04
Posts: 175

Original Poster
Rep: Reputation: 30
Alright, sorry I havn't been able to respond. Here is what I get. When doing modprobe -ae it returns invalid option -e. And here is the console output from tail -f

Jun 1 13:44:50 localhost kernel: ath_pci: driver unloaded
Jun 1 13:45:44 localhost kernel: ath_pci: 0.9.4.12 (EXPERIMENTAL)

Still same results as before =[
 
  


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
DLink DWL-G510 Drivers TheDrew202 Linux - Hardware 11 07-13-2008 09:54 PM
Suse 9.1, Dlink DWL-G510, and ndiswrapper DaveDrass Linux - Hardware 2 07-07-2005 02:45 PM
DLink DWL-G510 on AMD64 High-Hopes Linux - Wireless Networking 5 01-13-2005 12:48 PM
DWL G510 Help please it-s Linux - Hardware 1 11-09-2004 08:50 AM
D-Link DWL-G510 FIRS Linux - Hardware 0 08-13-2004 01:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:07 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
Open Source Consulting | Domain Registration