Linux - HardwareThis 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.
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.
I just installed CentOS 5.5 and I am trying to get a D-Link DWA-556 wireless NIC to work with it. The release notes state that the ath9k driver for Atheros 802.11n wireless LAN adapters has been enabled (http://www.centos.org/docs/5/html/5.....html#id475110). When I do a lspci I don't see the device listed. Any ideas or suggestions?
Some other commands most with their own man pages
ifconfig - tells you about network interfaces
lsmod |grep ath9k - should check module is loaded
system-config-network - set up the thing
iwconfig - adjusts for wireless devices
lshal |grep info\.product shows you everything in the box under every conceivable heading. Here's my broadcom 4312
I'll give lshal a try. I think my first problem is that the system isn't seeing the NIC. I was doing an lspci and could only see the two on-board Ethernet devices. I tried moving it to a different slot (it is a PCIEx1 device and I had it in a PCIEx16 slot), but that didn't seem to make a difference.
Thanks for the suggestions. I'll give it a shot tonight after work.
I've made some progress. After running kudzu -p, the system was finally able to see the nic. I can run iwlist wlan0 scan and it is seeing the network. I'm just trying to get the wpa_supplicant set up properly. The documentation on wireless.kernel.org talks about enabling mac80211, but I'm not really following their instructions. I'm going to look at it closer this afternoon.
I thought wpa_passphrase just encrypted the phrase in the conf file so that it wasn't directly visible. I was going to do that after I got it working. I know I'm close. The system sees the nic. The ath9k and mac80211 kernel modules are loaded:
Code:
lsmod | grep ath9k
Module Size Used by
ath9k 299893 0
mac80211 183617 1 ath9k
ath 43585 1 ath9k
cfg80211 191113 3 ath9k,mac80211,ath
In /etc/sysconfig/network-scripts/ifcfg-wlan0 I have:
Code:
DEVICE=wlan0
BOOTPROTO=dhcp
HWADDR=00:26:5a:e8:f8:db
TYPE=Wireless
USERCTL=no
ESSID="my SSID"
MODE=Master (I think I need to change this to Managed)
SECURITYMODE=off
RATE=54Mb/s
My router has channel set to auto and I am using WPA2. Do I need to just select a channel in ifcfg-wlan0?
Yes, it might be my dhcp setup. After I saw that the router gave an ip address, I made a reservation for it and then went back to my CentOS computer and statically set up the ip address. It works. I'll take a look tonight and see if I can't figure out why dhcp wasn't working.
If the router gave an ip address you are in. DHCP has connected you.
Next ping some website, and ping some server you know the ip of. 208.67.222.222 is opendns.org and answers
If you can ping the IP but nit the website, you have a problem with resolv.conf being overwritten, or not set.
The router assigned an ip address, but the centos system never picked it up. I think I'll have to snoop the packets to try and figure out where it is going wrong. I statically assigned the ip address the router gave and I can get to the Internet alright. I just can't get it to work dynamically. Not a big deal, I reserved the ip on the router.
Let's call this one closed. I got the wireless connection to work. You've been a big help. I appreciate it!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.