LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 06-24-2012, 06:59 PM   #1
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.1 64bit-Gnome 3.10 on ASUS U52F
Posts: 1,387

Rep: Reputation: 333Reputation: 333Reputation: 333Reputation: 333
Need help getting connected to wireles


I recently switched computer but I kept the hard drive from the previous computer which has Slackware installed in it. The installation boot and everything seems to work except for the wireless.
When I do a iwconfig it replies with a message that there is not wireless extension.

I know the wireless card in the computer is supported, so my question is. Is there a command in SlackWare I can type to detects the hardware in which is running and reconfigure?
If I do a lspci I get
Code:
Ethernet controller : Intel Corporation 82540EP Gigabit Ethernet Controller (Mobile) (rev 03)
Ethernet controller: Atheros Communications Inc. Athereos AR5001X+ Wireless Network Adapter (rev 01)
I will appreciate all adices. Thank you.

Last edited by TroN-0074; 06-27-2012 at 12:55 PM.
 
Old 06-24-2012, 08:05 PM   #2
CTM
Member
 
Registered: Apr 2004
Distribution: Slackware64 13.37 / 14.0
Posts: 127

Rep: Reputation: 45
There's no command that will just do everything for you in Slackware. You have an Atheros AR5001X+, which is supported by the kernel's ath5k module, so make sure that's loaded ("lsmod | grep ath5k", then "modprobe ath5k" if it's not). That should be enough to get it showing up with iwconfig, where you can configure it however you choose.
 
Old 06-24-2012, 08:42 PM   #3
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.1, Slackware 14.1
Posts: 519

Rep: Reputation: 137Reputation: 137
A couple of suggestions:
  1. Check the card specs: 802.11abg or n?
  2. run 'lspci -knn' to see numeric IDs and what kernel module is loaded.
  3. Is ath5k or ath9k loaded (ath9k for 802.11n IIRC)? Is ath.ko loading?
  4. make sure you are not accidently loading the USB driver: zd1211rw etc.
  5. custom kernel with Atheros modules disabled? you aslo need cfg80211 and mac80211.

http://linuxwireless.org/en/users/Drivers/ath5k
 
Old 06-24-2012, 08:56 PM   #4
CTM
Member
 
Registered: Apr 2004
Distribution: Slackware64 13.37 / 14.0
Posts: 127

Rep: Reputation: 45
Quote:
Originally Posted by kingbeowulf View Post
Is ath5k or ath9k loaded (ath9k for 802.11n IIRC)?
As far as I can tell it's an a/b/g adapter, so ath5k is the one to go for
 
Old 06-24-2012, 09:20 PM   #5
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.1 64bit-Gnome 3.10 on ASUS U52F
Posts: 1,387

Original Poster
Rep: Reputation: 333Reputation: 333Reputation: 333Reputation: 333
When I run
Code:
# lsmod | grep ath5k
It returns
Code:
ath5k                       129116  0
ath                          10985  1  ath5k
mac80211                    178230  1  ath5k
cfg80211                    122062  3  ath5k,ath,mac80211
when I run
Code:
# lsmod | grep ath9k
returns nothing.
However I do
Code:
# modeprobe ath5k
and I still can't get connected.
Please I will appreciate all advices.
 
Old 06-24-2012, 10:13 PM   #6
zrdc28
Member
 
Registered: Dec 2007
Location: Alabama USA
Distribution: Slackware current
Posts: 248

Rep: Reputation: 40
You are loading the module, so root at cmd line.

dhclient
iwconfig wlan0 essid " name"
dhcpcd -d wlan0

You might be ra0 or etc instead of wlan0.
This will connect for you!
 
Old 06-24-2012, 11:03 PM   #7
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.1, Slackware 14.1
Posts: 519

Rep: Reputation: 137Reputation: 137
If the driver is loaded then 'iwconfig' as root will show the wlan0 or similar with wireless extensions. If not, then either you have the wifi disabled or the card is broken. Is this a stock slackware installation or did you fiddle with it? I've used and prefer Atheros wifi chipsets and never had an issue with them not firing up.
 
Old 06-25-2012, 05:01 AM   #8
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.1 64bit-Gnome 3.10 on ASUS U52F
Posts: 1,387

Original Poster
Rep: Reputation: 333Reputation: 333Reputation: 333Reputation: 333
I can confirm the card is not broken because I have another distro in the drive and the other distro connect right of the bat without modifications.
I think I am still using the Huge kernel, I never got around to change it to a generic. So yeah I think the installation I have is very stock.

I also followed zrdc28 suggestion
Quote:
dhclient
iwconfig wlan0 essid " name"
dhcpcd -d wlan0
no luck so I dont really know what to do.
 
Old 06-26-2012, 10:25 AM   #9
zrdc28
Member
 
Registered: Dec 2007
Location: Alabama USA
Distribution: Slackware current
Posts: 248

Rep: Reputation: 40
Ok lets try it again and see if it works this time, Please let us know if there are any errors!

ifconfig should list interfaces, and look something like this!
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
wlan0 Link encap:Ethernet HWaddr 00:25:9C:0A:886
[B] inet addr:192.168.5.102 Bcast:192.168.5.255 Mask:255.255.255.0

iwconfigshould look like this!

lo no wireless extensions.
wlan0 IEEE 802.11abgn ESSID:"roger"
Mode:Managed Frequency:2.462 GHz Access Point: 00:13:10:C9:90:94

iwlist scanshould give a list of all local networks received!
wlan0 Scan completed Cell 01 Address:C0:83:0A:56:CE:71 Channel:9
Frequency:2.452 GHz (Channel Quality=30/70 Signal level=-80
ESSID:"2WIRE122"
If none of the above work, do a
dhclient ,if no errors then!
iwconfig wlan0 essid name if it errors replace wlan0 with ra0, and be sure to include essid name with yours!
dhcpcd -d wlan0 If everything works go back to the top and, ifconfig,iwconfig,iwlist scan, and you should see results

Last edited by zrdc28; 06-26-2012 at 10:27 AM.
 
Old 06-26-2012, 05:16 PM   #10
jostber
Member
 
Registered: Jul 2001
Location: Skien, Norway
Distribution: Slackware 14.0 64-bit
Posts: 228

Rep: Reputation: 41
Can you try to install wicd and check if you can get the card running with this?

http://www.linuxquestions.org/questi...e-wicd-584272/
 
Old 06-27-2012, 12:59 PM   #11
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.1 64bit-Gnome 3.10 on ASUS U52F
Posts: 1,387

Original Poster
Rep: Reputation: 333Reputation: 333Reputation: 333Reputation: 333
I have wicd installed and I had it working before the switch. The installation was fully working on the other laptop so I don't know why it wont work on this other one. They both have the same wireless card.

I will appreciate all advices. Thank you.
 
Old 06-28-2012, 12:27 AM   #12
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.1, Slackware 14.1
Posts: 519

Rep: Reputation: 137Reputation: 137
TroN-0074, have you checked /etc/modprobe.d and /etc/rc.d/[rc.local|rc.modprobe] etc to make sure you are not loadind a conflicting module from the prvios computer?
 
Old 06-28-2012, 03:59 PM   #13
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,044
Blog Entries: 1

Rep: Reputation: 1370Reputation: 1370Reputation: 1370Reputation: 1370Reputation: 1370Reputation: 1370Reputation: 1370Reputation: 1370Reputation: 1370Reputation: 1370
Member Response

Hi,

What do you see with 'ifconfig -a'? Which Laptop? Specs?
 
Old 06-29-2012, 10:28 PM   #14
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.1 64bit-Gnome 3.10 on ASUS U52F
Posts: 1,387

Original Poster
Rep: Reputation: 333Reputation: 333Reputation: 333Reputation: 333
O.k this is weird and I hate it. When I plug my WG111v3 NETGEAR wireless USB adapter wicd connects instanly. So the settings on wicd are good and functioning.

In this hard drive also have installed OpenSuSE 12.1 and it connects just fine when I boot in it without using a usb adapter.
I also have installed in the same hard drive FreeBSD 8.2 and it connects just fine too no need of netgear

Only in slackware the adapter is needed.

My laptop is a IBM Thinkpad T42 with an Atheros AR5001X+ wireless Network Adapter. I dont know if I should and I dont know how to re install the driver for it.

I am booting with the vmlinuz-huge-2.6.37 kernel. I wonder if I boot with the generic will change anything, however SUSE controls the boot and I havent figure out how to change the kernel choice.

The laptop I was using before had the same type of wireless card, it was also a Thinkpad but the T41 model.

I will appreciate it all advice.

Last edited by TroN-0074; 06-29-2012 at 11:32 PM.
 
Old 06-30-2012, 05:23 AM   #15
Arcosanti
Member
 
Registered: Apr 2004
Location: Mesa, AZ USA
Distribution: Slackware 13.37 kernel 2.6.39 gcc 4.5.2
Posts: 155

Rep: Reputation: 8
The only thing I can think of is that you might have another module loading that is causing a conflict. Maybe you ought to try compiling a custom kernel and take out all of the unnecessary modules. A side benefit is a leaner kernel as well.
 
  


Reply

Tags
laptop, network, slackware 13.37, wireless


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
wireles setup problem raffigee Linux - Wireless Networking 6 07-11-2008 04:59 PM
Wireles on Dell Postal Penguin Linux - Newbie 7 07-20-2006 01:00 AM
Suse 10.0 wireles problem Donic Linux - Hardware 0 10-26-2005 08:51 PM
Problem with wireles keyboarddddd Orkie Linux - Hardware 2 04-18-2005 02:51 PM
Wireles Mouse ebrown27 Linux - Hardware 0 07-04-2003 08:34 PM


All times are GMT -5. The time now is 12:11 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration