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.
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.
I installed the new Slackware 13.1 64 on my laptop and I am trying to connect to the internet via a wireless network but i don't what is wrong with my configurations it just doesn't work.
I tried doing the following:
iwconfig wlan0 essid "ESSID"
iwconfig wlan0 key "Password"
iwconfig wlan0 channel NUMBER
Then i do dhcpcd -d but then no success after - i try to ping some sites, no reply, i put new dns servers in resolv.conf, still no results, i tried to ping some ips and it says network unreachable, it just doesn't work at all.
I did iwlist wlan0 scanning and it found all the wireless networks, so the adapter is not the problem, the problem here is the procedure. How to do it properly so it will work ? I can connect via ethernet by easy configuring eth0 but i have no success for wireless networks. I read everything there was on google, i searched a lot of sites, i tried a lot of different methods but NONE of it worked.
What I am really asking for is: Someone who has MADE succesful connections via wireless on slackware 13.1 to write here how exactly he does it, because i am stuck with this problem for 4 weeks. Please help me, i would really appreciate that, thank you in advance.
with Slackware I use wpa_supplicant. One has to edit the "/etc/wpa_supplicant.conf" file and as well the "/etc/rc.d/rc.inet1.conf" file.
For the wpa_supplicant.conf you will find an example in the /usr/share/wpa_supplicant directory.
This is a post from way back that shows how I do it, and I used it again recently to connect after installing 13.1. It assumes the necessary driver is installed. If it isn't, more steps will be necessary. Eric Hameleers (Alien Bob) has more detailed instructions on his Wiki.
Yes, that script dates from before the kernel had standarized wifi modules, so it is quite old, and YMMV.
Also note that this only works if you use WEP encryption on your wireless connection, and that you have to enter the actual key, not a passphrase.
Do you get an error when you run iwconfig? What is the output from "iwconfig wlan0" after you run the script? Please post the output from iwconfig wlan0 (feel free to replace the encryption key if it is visible)
You'll be better off if you leave rc.inet1.conf unedited and set both wireless and wired connections through wicd instead. I also edited wpa_supplicant.conf file.
I was quite confused with multiple wireless configuration files - wpa_supplicant.conf, rc.inet1.conf and rc.wireless. Wicd manages connections just fine.
Another vote for WICD. I have used it on a wide array of wireless cards and never had a problem with it working. Just install it out of /extra on the Slackware DVD reboot and go.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.