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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-24-2005, 06:26 PM
|
#1
|
Member
Registered: Oct 2003
Location: Bozeman, Montana
Distribution: Gentoo 2010, Ubuntu 9.04
Posts: 175
Rep:
|
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/
|
|
|
05-25-2005, 11:58 AM
|
#2
|
Member
Registered: May 2005
Distribution: gentoo ROCKS
Posts: 32
Rep:
|
What is the result of: cat /var/log/messages|grep ath?
Do you have a configuration file at /etc/sysconfig/network-scripts/ifcfg-ath0?
|
|
|
05-25-2005, 03:59 PM
|
#3
|
Member
Registered: Oct 2003
Location: Bozeman, Montana
Distribution: Gentoo 2010, Ubuntu 9.04
Posts: 175
Original Poster
Rep:
|
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?
|
|
|
05-25-2005, 04:32 PM
|
#4
|
Member
Registered: May 2005
Distribution: gentoo ROCKS
Posts: 32
Rep:
|
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.
|
|
|
05-25-2005, 11:19 PM
|
#5
|
Member
Registered: Oct 2003
Location: Bozeman, Montana
Distribution: Gentoo 2010, Ubuntu 9.04
Posts: 175
Original Poster
Rep:
|
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
|
|
|
05-26-2005, 08:27 AM
|
#6
|
Member
Registered: May 2005
Distribution: gentoo ROCKS
Posts: 32
Rep:
|
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
|
|
|
06-01-2005, 02:50 PM
|
#7
|
Member
Registered: Oct 2003
Location: Bozeman, Montana
Distribution: Gentoo 2010, Ubuntu 9.04
Posts: 175
Original Poster
Rep:
|
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 =[
|
|
|
All times are GMT -5. The time now is 02:07 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|