Wireless Problems
I have a fresh install of Slackware 13.1 on my Samsung N150 plus. I've been fiddling around with it for a couple of days trying to get the wireless to work. Below are the network controllers of my laptop.
05:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01) 09:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8040 PCI-E Fast Ethernet Controller I included wireless and wired, not sure it would help or not. After many Google searches on the subject I installed and setup Wicd. I am able to get a wired connection but not a wireless. I can see other networks, I am unable to connect to them though. Also when I installed Slackware I didn't setup the network. The Readme for Wicd said that having a network configured can mess it up. But is having no network set up worse. I know there is easier way to setup wireless networks, I just cant figure it out. Help is appreciated. *Edit* If I'm missing some information that would help fix this, please tell me. Thanks |
1) On my slackware system i replaced all the script /etc/rc.d/rc.wireless with just one call to iwconfig:
iwconfig wlan0 essid mywireless key 0123-4567-89 Where "mywireless" is the name of my wireless connection and 0123-4567-89 is the key to WEP-64 encryption. 2) Use pkgtool to set up a DHCP network. 3) Edit /etc/rc.d/rc.inet1.conf: Replace USE_DHCP[0]="yes" with USE_DHCP[0]="" Uncomment the lines #IFNAME[4]="wlan0" #IPADDR[4]="" #NETMASK[4]="" #USE_DHCP[4]="yes" 4) Reboot the system. See if it can get an IP from wlan0. |
What part of the script do I replace. I looked through and didn't see a part that made sense to change. Or do you want me to replace the whole script with iwconfig wlan0 essid mywireless key 0123-4567-89? Im hesitant because the last time I removed a script I caused the computer to not be able to boot.
Also will having Wicd installed mess any thing up? |
If you don't want to dump all your /etc/rc.d/rc.wireless, just rename it so that you can put it back in place if anything goes wrong. All you need in rc.wireless is that line
iwconfig wlan0 essid mywireless key 0123-4567-89 Don't forget to chmod +x rc.wireless to make it executable. |
Quote:
I have a Samsung laptop with the same network adapters, both, wired and wireless work out of the box with Slackware 13.1. Please post the output of (execute as root!) Code:
iwconfig |
mastemmer
I did what you said and I did get a wireless connection. There are a couple of things I do have problems with though. I wouldn't be able to connect to another wireless internet without having to edit files. Code:
lo no wireless extensions. |
Well, your wireless adapter is working but you're not authenticated at the accesspoint.
Which encryption does your wireless network use? Markus |
WEP I believe
|
Well, did you configure the key anywhere?
You know, without the apropriate key and the ssid (networkname) you cannot authenticate at the accesspoint. If you're running wicd there should be an icon anywhere in your Windowmanager, if you click the icon with the righthand button, you'll get some options, when you go onto the "connection" field with the mousepointer, wicd scans for the available wireless networks. You may chose yours and when wicd asks, you'll have to enter your key. Be sure that wicd is running Code:
ps -e | grep wicd Code:
/etc/rc.d/rc.wicd start Markus |
Wicd runs fine. It doesn't ask me for my WEP key though. I'm using the version I got with the disk. Do you think it might be a bug that is fixed in a future release of it?
|
Well, try it without wicd.
You edit the /etc/rc.d/rc.inet1.conf (it is selfexplaining) and the /etc/wpa_supplicant.conf (there's an examplefile in the /usr/share/wpa_supplicant directory. And uninstall wicd before! After configuring rc.inet1.conf and wpa_supplicant.conf you can start your wlan0 with Code:
/etc/rc.d/rc.inet1 wlan0_start |
Quote:
|
If your wireless router is set with 64 bit WEP encryption, the key is a ten digit hexadecimal number such as 1234-5678-9A. There is also the network ID (ESSID) which is the name of you network connection.
You may use wicd to find the essid of wireless networks in the neighborhood. It won't tell anything about WEP keys because that is intended to be secret. The command iwconfig wlan0 essid mywireles key 1234-5678-9A sets the essid and key so that it can connect to a wireless network. The script /etc/rc.d/rc.inet1 uses DHCP to get an IP. OK. The method i recommended is not flexible, but works if you don't have to change your wireless station frequently. The original script may be better, automatically detecting the surrounding networks, but did not work for me. |
Quote:
|
Thanks for all of the help guys but I kind of gave up. I installed Debian and it fixed most of my problems. But of course it still doesn't do what I want it to do. I still am unable to view other wireless networks available and switch to them. It picks one network at boot up and sticks to it. Since I hate Debian with a passion I was wondering if there was a better solution with Slackware.
|
All times are GMT -5. The time now is 02:52 PM. |