LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-06-2012, 03:43 PM   #1
usr345
Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 204
Blog Entries: 1

Rep: Reputation: Disabled
Can't configure wireless card Atheros on Acer Aspire 5750G


I am using Linux Slackware. Downloaded and installed the new kernel: 3.1.6. Checked, that the appropriate drivers are compiled.

Quote:
#lspci
...
03:00.0 Network controller: Atheros Communications Inc. AR9287 Wireless Network Adapter (PCI-Express) (rev 01)
So, the device is there. I loaded the module ath9k, that must support my card:

http://linuxwireless.org/en/users/Drivers/ath9k

Quote:
# lsmod | grep ath
ath9k 70605 0
mac80211 197073 1 ath9k
ath9k_common 1350 1 ath9k
ath9k_hw 297231 2 ath9k,ath9k_common
ath 11953 2 ath9k,ath9k_hw
cfg80211 139926 3 ath9k,mac80211,ath
But still, I don't see anything in the interfaces list:

Quote:
# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.
eth0 works fine: I am writing this message, using this connection.

What should I do? Under Win 7 the device works.
 
Old 01-06-2012, 06:35 PM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Go here -->http://alien.slackbook.org/dokuwiki/...ckware:network

These are the best set of instructions I have found. They worked for me. The file
Quote:
/etc/rc.d/rc.inet1.conf
needs to be edited. There is an entire section on wireless. Follow the examples, you should have success.
 
Old 01-06-2012, 10:46 PM   #3
usr345
Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 204

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Follow the examples, you should have success.
I tried, no success. The wlan0 interface doesn't appear when I start the driver. So, I suspect, it's the driver problem.

How to debug it? Cause I don't get any errors.

My card is supported. And the kernel automatically loads the modules for the supported devices. But for this card it didn't.
 
Old 01-07-2012, 08:54 AM   #4
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Post the contents of your rc.inet1.conf file.
 
Old 01-07-2012, 09:28 AM   #5
usr345
Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 204

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
I was right - it was a kernel module problem. The solution is given in the last post here:

http://www.linuxquestions.org/questi...ar9287-918831/

But the guy, who wrote it, didn't follow the ergonomic rules and I missed his solution, when read it for the first time. So I am duplicating the solution more ergonomically.

To solve the problem in make menuconfig enable Atheros ath9k PCI/PCIe bus support:

Quote:
-> Device Drivers
-> Network device support (NETDEVICES [=y])
-> Wireless LAN (WLAN [=y])
-> Atheros Wireless Cards (ATH_COMMON [=y])
-> Atheros 802.11n wireless cards support (ATH9K [=y])
-> Atheros ath9k PCI/PCIe bus support. ATH9K_PCI [=y]
Then rebuild the kernel modules.


Quote:
Post the contents of your rc.inet1.conf file.
After some struggling with the configs I enabled the network and it works. But I can't use DHCP. In Win 7 it works. I don't know, what to write in

DHCP_HOSTNAME

in rc.inet1.conf. Cause I don't have any hostname for the router. I tried DHCP_IPADDR, but no luck.
 
Old 01-07-2012, 10:02 AM   #6
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Quote:
DHCP_HOSTNAME[0]="mybox" # Tell the DHCP server what hostname to register
Looks like this parameter is your systems Hostname.
 
Old 01-07-2012, 05:15 PM   #7
usr345
Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 204

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Talking

I made it last. Posting my errors: I entered the string of the pass instead of the hex value into /etc/rc.d/rc.inet1.conf

That's why I couldn't connect. Check wi-fi router for hex or string. Usually, it's hex. Here are my working configs:

Quote:
IFNAME[4]="wlan0"
IPADDR[4]="4"
NETMASK[4]=""
USE_DHCP[4]="yes"
DHCP_HOSTNAME[4]="asus"
WLAN_ESSID[4]="#60"
WLAN_MODE[4]=Managed
WLAN_KEY[4]="7b1ce52e3gjk35fghj67467je727ab945sbe992912"
WLAN_WPA[4]="wpa_supplicant"
WLAN_WPADRIVER[4]="wext"

Last edited by usr345; 01-07-2012 at 07:38 PM.
 
1 members found this post helpful.
Old 01-07-2012, 06:37 PM   #8
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
You might want to edit the post and xxxx out your wan key; jsut in case...

Other than that, great, glad you got it going.
 
Old 01-07-2012, 07:40 PM   #9
usr345
Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 204

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
You might want to edit the post and xxxx out your wan key; jsut in case
I changed it to crap. But I needed to tell, that it's not the pass itself, but the hexadecimal representation of the pass.
 
1 members found this post helpful.
  


Reply



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
Acer Aspire 5750g not seeing wireless network card or wired adapter tjfv Linux - Newbie 5 10-31-2011 02:06 PM
[SOLVED] Ubuntu 10.04 LTS in laptop Acer Aspire 5750G does not see wired internet igor1102828 Linux - Newbie 4 10-07-2011 08:45 AM
Acer Aspire One Atheros wireless: No scan results Nylex Slackware 23 01-22-2009 01:13 PM
Atheros Wireless card won't work on Acer Aspire 4520, Ubuntu Gutsy utonvan96 Linux - Hardware 8 04-27-2008 10:15 PM
Atheros card not working in opensuse 10.2 Acer Aspire 5570Z chief_officer Linux - Laptop and Netbook 16 07-20-2007 10:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:21 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