LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-11-2006, 02:28 PM   #1
dejavu_01
Member
 
Registered: May 2004
Location: Bangkok, Thailand
Distribution: Simply Mepis 8.0 32bit
Posts: 89

Rep: Reputation: 15
ath0: not found ......???


I was trying to setup wifi on my notebook, which run slackware 10.2 kernel 2.6.13. I got mad wifi installed, and am able to follow all the directions in the first time user doc on mad wifi web, without any error message. I hit dead end when issueing command

dhclient ath0

which was replied with ath0: not found

I'm sure I've followed the docs exactly step by step until hitting the said deadend. My Lan card is listed as Via Rhine II and I got via-rhine module loaded.

There's remain one thing that I doubt, that is since kernel 2.6 has quit using cardmgr to manage PCMCIA for PCMCIAutils instead. Can it be that the problem stems from having these 2 exist together? And what I notice was the via-rhine module I loaded was use by 0 (zero), does that mean I loaded the wrong module? lspci said my LAN card is Rhine II. Advice appreciated.
 
Old 05-11-2006, 02:50 PM   #2
raska
Member
 
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816

Rep: Reputation: 31
Quote:
Originally Posted by dejavu_01
dhclient ath0

which was replied with ath0: not found
hello! looks to me like a typo, I've never seen a network device as ath0. Shouldn't it be eth0? check the output of ifconfig -a, that should say your actual network devices and configurations
 
Old 05-11-2006, 03:29 PM   #3
shepper
Member
 
Registered: Mar 2003
Location: Dry, Dusty and Conservative
Distribution: OpenBSD, Debian Wheezy/Jessie
Posts: 449

Rep: Reputation: 33
It should have been assigned ath0 at boot. Review the output of the boot log with "dmesg | less"

You also need to edit rc.inet1 as described in this link.

http://madwifi.org/wiki/UserDocs/Distro/Slackware

Also, I have better luck using "dhcpcd ath0 up" to bring up the network.

Last edited by shepper; 05-11-2006 at 03:31 PM.
 
Old 05-12-2006, 02:22 PM   #4
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 769

Rep: Reputation: 66
Via Rhine II - thats a driver for your wired ethernet connection isn't it?
Do lspci again, and look for another ethernet controller
Madwifi supports atheros chipsets, so you will not get an ath0 unless your wifi controller is atheros based.

tobyl
 
Old 05-12-2006, 02:25 PM   #5
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
Here is what I to get my Gateway MX7525 to recognize cardbus cards in the pcmcia slot.

With the stock 2.6.13 (test26.s) kernel I managed to get the cardbus card recognized.

First I installed (like I have done 20 times before, lol) the madwifi-ng driver (make and make install).

Second I added this to my /etc/lilo.conf.
append="irqpoll pci=assign-busses"

Third I added -f to the CARDMGR_OPTS= in the /etc/rc.d/rc.pcmcia file. Looks like this.
CARDMGR_OPTS=-f

Fourth, I removed port 0x800-0x8ff and port 0xc00-0xcff from the /etc/pcmcia/config.opts.

Then I rebooted and it worked like a charm.
 
Old 05-12-2006, 02:29 PM   #6
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 769

Rep: Reputation: 66
edit: ignore this - was getting posters muddled

Last edited by tobyl; 05-12-2006 at 02:33 PM.
 
Old 05-13-2006, 01:44 PM   #7
dejavu_01
Member
 
Registered: May 2004
Location: Bangkok, Thailand
Distribution: Simply Mepis 8.0 32bit
Posts: 89

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by tobyl
Via Rhine II - thats a driver for your wired ethernet connection isn't it?
Do lspci again, and look for another ethernet controller
Madwifi supports atheros chipsets, so you will not get an ath0 unless your wifi controller is atheros based.

tobyl
No it isn't, Via Rhine II is a chipset of my notebook's onboard LAN controller, and I use a Dlink PCMCIA card (can't remember the model) on this notebook which has atheros chip. Therefore lspci displayed both pieces of the hardware.
 
Old 05-13-2006, 04:58 PM   #8
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 769

Rep: Reputation: 66
Ok thats fine, its just that you seemed to talking about via rhine in your first post.
As shepper said, it would normally get loaded at boot, and you would see the module ath_pci in your lsmod output.
So I guess the next question is do you see the ath_pci module? Do you have hotplug enabled?
Does modprobe ath_pci have any effect?
I am no expert on this, but I understand that pcmcia cards are 16 bit, and cardbus are 32 bit. Many older laptops (including mine) often have two slots, only one of which is cardbus, ie 32 bit, so it may make a difference which slot you use.
If the driver loads ok, then running the command ifconfig -a should show wifi0 and ath0.
tobyl
 
  


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
No hotplug for ath0 powadha Debian 3 04-25-2006 10:58 PM
dhcp only on ath0 pelusitavali Linux - Networking 0 12-07-2005 04:12 PM
Help! ath0 problem choboNO1 Linux - Hardware 4 01-26-2005 06:27 PM
ath0 is not present icpsvt Linux - Wireless Networking 1 10-18-2004 03:24 AM
Cannot configure ath0 TheRepublican Linux - Wireless Networking 1 04-17-2004 09:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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