Slackware This Forum is for the discussion of Slackware 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
05-11-2006, 02:28 PM
|
#1
|
Member
Registered: May 2004
Location: Bangkok, Thailand
Distribution: Simply Mepis 8.0 32bit
Posts: 89
Rep:
|
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.
|
|
|
05-11-2006, 02:50 PM
|
#2
|
Member
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816
Rep:
|
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
|
|
|
05-11-2006, 03:29 PM
|
#3
|
Member
Registered: Mar 2003
Location: Dry, Dusty and Conservative
Distribution: OpenBSD, Debian Wheezy/Jessie
Posts: 449
Rep:
|
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.
|
|
|
05-12-2006, 02:22 PM
|
#4
|
Member
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 769
Rep:
|
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
|
|
|
05-12-2006, 02:25 PM
|
#5
|
Senior Member
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761
Rep:
|
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.
|
|
|
05-12-2006, 02:29 PM
|
#6
|
Member
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 769
Rep:
|
edit: ignore this - was getting posters muddled
Last edited by tobyl; 05-12-2006 at 02:33 PM.
|
|
|
05-13-2006, 01:44 PM
|
#7
|
Member
Registered: May 2004
Location: Bangkok, Thailand
Distribution: Simply Mepis 8.0 32bit
Posts: 89
Original Poster
Rep:
|
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.
|
|
|
05-13-2006, 04:58 PM
|
#8
|
Member
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 769
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 07:31 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|