SlackwareThis 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.
I am having trouble with connecting my wireless card to the internet.. Reading all the information from this forum, and tons of other sites are getting me nowhere..
I can get the card to show up in iwconfig, and ifconfig, but seems it doesn't want to run properly.. I have used ifconfig ath0 up before and that doesn't work..
1.) ifconfig ath0 up
2.) iwconfig ath0 channel 6
3.) iwconfig ath0 essid myessid
4.) iwconfig ath0 key s:key and iwconfig ath0 enc s:key
5.) modprobe wlan, ath_hal, and ath_pci
I did them in backwards order from 5 to 1 and still didn't work.. Also Slax is crashing everytime I do the iwconfig ath key s:key or iwconfig ath0 enc s:key. Not sure why that is happening as that use to work.. I am not sure if the key should be 123456790 or should it be 0000001234567890?
As for other things, I did a lspci | grep Atheros and this is what came up: 06:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
I have no other ideas on what to do, and seems that nothing is working...
OK, from your lspci output, you've got a AR5212 chipset which is supported by madwifi.
Quote:
I am not sure if the key should be 123456790 or should it be 0000001234567890?
This suggests to me that you're not real sure if you have the text or hex version of your WEP key (by the way, you're using WEP, not WPA right?).
If your key is text, then you use iwconfig ath0 key s:TextKey
However if your key is the hex version, then you use this:
iwconfig ath0 key HexKey
Usually when you generate keys on your access point, you enter in a text word or phrase and the AP then generates hex keys from that. So knowing which one you are entering into the card is key.
I am using WEP and Hex version, and I was able to get the key to punch in.. I did use the "iwconfig ath0 key HexKey", but it crashed not sure why but it keeps crashing on me.. I was able to do it the first bit using Slax and now it deads on there.
The crashing is definitely not normal. I'd have a look in your log files (without using grep ath) and see if anything jumps out. The output from dmesg looks OK, so I'm hoping that something else will be in there.
Also, when you compiled madwifi, were there any difficulties? You also might want to run depmod -a and see if that helps.
There reallly isn't anything in your dmesg that hints at what it going wrong. Is it possible you've got some sort of wireless tools/extensions mismatch? Run iwconfig -v and see if anything obvious jumps out. Otherwise, I'm at a bit of a loss as to why this crashing is happening. The madwifi drivers appear to be loading normally.
As for chkdsk, your dmesg output does have a lot of complaining from NTFS. I'm wondering if Slax isn't doing something it shouldn't be. I almost hate to suggest this, but I'm thinking that the install may not have gone well and it might be worth re-doing if you don't have a lot invested into this.
So you installed slax5 live-cd? It comes with ndiswrapper and madwifi drivers for Multiband Atheros(does this cover your chip) and I see there are modules you can add. Does slax5 have guide for ndiswrapper and madwifi setup?
Would the live-cd setup madwifi and ndiswrapper too? Have a look at http://slax.linux-live.or/doc_troubleshoot.php#drivers and the howtos section of the slax forum. Between those and the LQ SW forum help you should be all set. Good luck.
iwconfig Version 26
Compatible with Wireless Extension v16 or earlier,
Currently complied with Wireless Extension v16.
Kernel Currently complied with Wireless Extension v17.
ath0 Recommend Wireless Extension v13 or later,
Currently complied with Wireless Extension v17.
With the problems to the NTFS, I noticed that but not sure why that is happening.. Maybe my whole Slax CD is dead, and need to replace it from what I see...
I didn't install slax5 live-cd, I just burned it onto the CD, and am running off the CD.. As for using ndiswrapper, I want to try using madwifi down to the last possible idea.. As for add modules, I didn't do any of that, I just used what they had no additions at all.
The guides I am not sure, but from what I have seen they don't have guides which is not weird, but there would something online but maybe my version of madwifi is older.. The live-cd doesn't setup either automaticly unless running wired ethernet.
The commands in the link I have already used, and they are part of this thread.. With the howto section on the slax forum they are using ndiswrapper which I don't want to.. Also I have looked around on these forums everywhere, and still nothing is working for me..
iwconfig Version 26
Compatible with Wireless Extension v16 or earlier,
Currently complied with Wireless Extension v16.
Kernel Currently complied with Wireless Extension v17.
I'm betting this is part of the problem. It looks as if the version of wireless tools on the Slax CD is out of sync with the kernel extensions. My experience is that while this isn't always a disaster, it does cause odd problems and I'd be willing to bet that it is part of the crashing problem. It also suggests that the Slax maintainers aren't paying real close attention to wireless. And the fact that a live CD is messing with NTFS partitions enough to cause a chkdsk run in Windows is definitely a concern.
To be honest, I'd do one of two things here: If you want to stick with Slackware, I'd make space on your hard drive and do a real install. If you want to stick with a live CD, I'd go for a more full-featured one like Knoppix or Ubuntu. What you're posting here suggests that Slax isn't going to work real well on your hardware.
I think that no distro really looks after wireless tools as they are more concerned with whatever makes the distro good.. Why would the kernel and the wireless tools be different verisons?
As for moving to another live CD distro, I don't think I have tried everything to get this to work so I will continue to work on this.. Also I still want to use Slax, and if I can maybe run off the harddrive.. As for other Live-CDs, I am not much into more features as just the basics..
I have used this distro on my other computer that is using wired ethernet, and am able to use internet.. I feel this is an amazing distro, but I feel that I just need to read more on wireless tools and madwifi..
I would suggest that you not use wep or wap at this time. Get your hardware working first, then set your security.
You could check your module for the wifi device to make sure it is current. Check to see if you have any hardware that conflicts with the wifi device. Sometimes the oder of load or detection of the hardware solves this type of a proble.
I haven't be able to figure out if there is a hardware conficlt but from what I know there isn't one.. As for the WEP thing, I think that is crazy not to use it then people can get into your AP not questions asked...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.