LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-30-2010, 09:29 AM   #1
ZXDunny
LQ Newbie
 
Registered: May 2010
Location: Broughton, Brigg, UK
Distribution: About to try Slackware 13
Posts: 22

Rep: Reputation: 5
Atheros AR5007EG wireless in Slackware 13 64bit - how to activate it?


Okay, thanks to the folks who helped with my last problem I now have a working (almost!) Slackware 13 install on my Samsung R60+ laptop

"startx" gets me into KDE no problems, so there's a reasonably familiar GUI to muck around in, but I think that I'll need help getting the wireless networking going. It would be nice to do this in KDE, but I don't think it's going to be possible at the moment.

Running netconfig was confusing, as I've never had to do it before. So imagine if you will:

I've just booted Slackware. I'm sitting, logged in as root for the time being, at the command prompt. I'd like to get my wireless card (Atheros AR5007EG) working.

Can anyone walk me through the commands I'll need to execute (bear in mind that I don't even know how to edit a config file yet) in order to get this thing on the internet? I've tried reading the docs (slackbook) and googling, but with no luck so far - I don't understand what they're on about! Win7 does this for me, but I understand that in order to gain knowledge I need to get my hands dirty.

Cheers,

D.
 
Old 05-30-2010, 09:53 AM   #2
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
Always nice to help a local user.

Okay, lets see the output from
Code:
lsmod|grep ath
and
Code:
locate ath5k
To see whether or not we need to load (or even build and load) the module for the card
 
1 members found this post helpful.
Old 05-30-2010, 10:25 AM   #3
ZXDunny
LQ Newbie
 
Registered: May 2010
Location: Broughton, Brigg, UK
Distribution: About to try Slackware 13
Posts: 22

Original Poster
Rep: Reputation: 5
Wow, Scunny Nice to meet you!
Here's the results:

Code:
lsmod|grep ath:

ath5k             131245  0
mac80211          171226  1 ath5k
ath                 8844  1 ath5k
cfg80211          128711  3 ath5k,mac80211,ath
led_class           2785  1 ath5k

locate ath5k

locate: fatal error: Could not find user database '/var/lib/slocate/slocate.db':  No such file or directory
Looks like there's a problem...

D.

Last edited by ZXDunny; 05-30-2010 at 10:27 AM.
 
Old 05-30-2010, 11:45 AM   #4
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
Locate is just a nice and breezy way of doing a search, it takes it from a generated database. That failing is no big deal, especially since the modules are loaded anyway (So we'll fix that after).

Right; first things first. What are you using to connect/ try to connect to the wireless? What program?
 
Old 05-30-2010, 11:47 AM   #5
ZXDunny
LQ Newbie
 
Registered: May 2010
Location: Broughton, Brigg, UK
Distribution: About to try Slackware 13
Posts: 22

Original Poster
Rep: Reputation: 5
Okay, I fixed the "locate" error - here's the output:

Code:
/usr/src/linux-2.6.33/drivers/net/wireless/ath/ath5k/ath5k.h
/usr/src/linux-2.6.33/drivers/net/wireless/ath/ath5k/dma.c
/usr/src/linux-2.6.33/drivers/net/wireless/ath/ath5k/led.c
/usr/src/linux-2.6.33/drivers/net/wireless/ath/ath5k/rfgain.h
/usr/src/linux-2.6.33/drivers/net/wireless/ath/ath5k/base.c
/usr/src/linux-2.6.33/drivers/net/wireless/ath/ath5k/makefile
/usr/src/linux-2.6.33/drivers/net/wireless/ath/ath5k/base.h
/usr/src/linux-2.6.33/drivers/net/wireless/ath/ath5k/reg.h
/usr/src/linux-2.6.33/drivers/net/wireless/ath/ath5k/gpio.c
/usr/src/linux-2.6.33/drivers/net/wireless/ath/ath5k/pcu.c
/usr/src/linux-2.6.33/drivers/net/wireless/ath/ath5k/phy.c
/usr/src/linux-2.6.33/drivers/net/wireless/ath/ath5k/reset.c
/usr/src/linux-2.6.33/drivers/net/wireless/ath/ath5k/rfkill.c
/usr/src/linux-2.6.33/drivers/net/wireless/ath/ath5k/desc.h
/usr/src/linux-2.6.33/drivers/net/wireless/ath/ath5k/attach.c
/usr/src/linux-2.6.33/drivers/net/wireless/ath/ath5k/Kconfig
/usr/src/linux-2.6.33/drivers/net/wireless/ath/ath5k/eeprom.c
/usr/src/linux-2.6.33/drivers/net/wireless/ath/ath5k/desc.c
/usr/src/linux-2.6.33/drivers/net/wireless/ath/ath5k/rfbuffer.h
/usr/src/linux-2.6.33/drivers/net/wireless/ath/ath5k/caps.c
/usr/src/linux-2.6.33/drivers/net/wireless/ath/ath5k/debug.c
/usr/src/linux-2.6.33/drivers/net/wireless/ath/ath5k/debug.h
/lib/modules/2.6.33.4/kernel/drivers/net/wireless/ath/ath5k
/lib/modules/2.6.33.4/kernel/drivers/net/wireless/ath/ath5k/ath5k.ko
Hope that helps, I'm getting nowhere here

D.
 
Old 05-30-2010, 11:50 AM   #6
ZXDunny
LQ Newbie
 
Registered: May 2010
Location: Broughton, Brigg, UK
Distribution: About to try Slackware 13
Posts: 22

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by jamescondron View Post
Right; first things first. What are you using to connect/ try to connect to the wireless? What program?
Under KDE, I just tried to run Firefox (as I would on my Win7 install) as I couldn't locate a network manager which would allow me to enter my WEP key - and unsurprisingly it failed

Then I found an app called wpa_gui, but that can't even see the network, let alone connect to it. I've no idea how to connect from a command line.

Not doing very well, am I?

D.
 
Old 05-30-2010, 11:52 AM   #7
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
Ah... the crux. Okay, what about wired? Does that work? If it does, install wicd, its a connection manager, and as far as I'm concerned, the best out there.
 
Old 05-30-2010, 11:57 AM   #8
ZXDunny
LQ Newbie
 
Registered: May 2010
Location: Broughton, Brigg, UK
Distribution: About to try Slackware 13
Posts: 22

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by jamescondron View Post
Ah... the crux. Okay, what about wired? Does that work? If it does, install wicd, its a connection manager, and as far as I'm concerned, the best out there.
Unfortunately, a wired connection isn't possible here - well, it is, but would take ages to get sorted out, which is why I'd like to use the wireless

How would I go about installing wicd without a network connection? I can transfer files over from a USB drive, but you'll have to walk me through the steps one by one!

If you feel that it would be better for me to research how to do this myself, then please don't hesitate to say so!

D.
 
Old 05-30-2010, 12:03 PM   #9
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
wicd should be in the /extra directory on your Slackware DVD, or from that directory on any of the mirrors.

Last edited by brianL; 05-30-2010 at 12:04 PM.
 
Old 05-30-2010, 12:03 PM   #10
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
Oh, installing it is the easy part, so I'll walk you through that one

Right okay, lets grab source and build that: http://wicd.sourceforge.net/download.php


EDIT: Oh yeah, or do it that way
 
Old 05-30-2010, 12:09 PM   #11
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
http://www.mirrorservice.org/sites/f....1/extra/wicd/
 
Old 05-30-2010, 12:17 PM   #12
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
This page, Slackware Links is great for all sorts of information, not only about Slackware, but Linux in general too.
 
Old 05-30-2010, 12:19 PM   #13
ZXDunny
LQ Newbie
 
Registered: May 2010
Location: Broughton, Brigg, UK
Distribution: About to try Slackware 13
Posts: 22

Original Poster
Rep: Reputation: 5
Ok, I've found wicd on the DVD - running KDE atm, so it's easy to find. I've opened a bash prompt window, and launched pkgtool, and choose the "install packages from some other directory" option - but although I'm fairly certain that my DVD drive is /dev/sr0 it says that the path is invalid. I tried the path listed by KDE, but that's invalid too! (/media/SlackDVD/extra/wicd\)

Where am I going wrong now?

Edit: Bugger! It's case sensistive! Gonna have to watch that
pkgtool installed it, now I just have to figure out how to run it.

D.

Last edited by ZXDunny; 05-30-2010 at 12:22 PM.
 
Old 05-30-2010, 12:20 PM   #14
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
My DVD drive is /dev/hda, try that.
 
Old 05-30-2010, 12:21 PM   #15
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
Code:
cat /etc/mtab
Will tell you if it is mounted and where, as would

Code:
df
- All devices when mounted/unmounted are added/removed from /etc/mtab you see. df goes to the kernel and asks it for disk information and returns info on the size too
 
2 members found this post helpful.
  


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
Atheros AR5007EG card problem with ndiswrapper amaliapapa Linux - Networking 1 02-22-2009 06:36 AM
Atheros AR5007EG wireless network adapter not working in Fedora core 6 erjan Linux - Newbie 9 11-10-2008 01:54 AM
how can i activate my wireless driver atheros plz hlp me>? neo ultimate hacker Linux - Networking 2 06-08-2008 04:08 AM
how can i activate my wireless driver atheros plz hlp me>? neo ultimate hacker Linux - Newbie 2 06-05-2008 02:45 PM
atheros AR5007EG and fedora 8 riple Linux - Laptop and Netbook 4 04-22-2008 03:10 AM


All times are GMT -5. The time now is 09:13 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration