Slackware wireless setting

First time I use Linux with ubuntu os, I said this is the easy os that can connect to wireless spot (hotspot) using its application. When I started to run slackware, I had confused how i m gonna use the wireless function. But then there is a way how to handle the setting.

Let’s say your device wireless already on and it is identify as wlan0. Do this as root by su

Select the essid or the hotspot name we will use.

root@user#iwconfig wlan0 essid “myhotspot”

To find out what hotspot is on in the area :

root@user#iwlist scanning

Edit /etc/wpa_supplicant.conf

root@user#nano /etc/wpa_supplicant.conf

Enter the essid and wpapsk (password to the essid/ hotspot)

proto=WPA RSN
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40

Save it (Ctrl+o)

Then connect to it

root@user#wpa_supplicant -iwlan0 -c /etc/wpa_supplicant.conf

If the result is like this

CTRL-EVENT-DISCONNECTED – Disconnect event – remove keys
ioctl[SIOCGIWSCAN]: Resource temporarily unavailable
ioctl[SIOCSIWSCAN]: Device or resource busy
Failed to initiate AP scan.
Trying to associate with 00:02:6f:57:a1:4b (SSID=’devilzc0de’ freq=2437 MHz)
Associated with 00:02:6f:57:a1:4b
CTRL-EVENT-CONNECTED – Connection to 00:02:6f:57:a1:4b completed (auth) [id=1 id_str=]

It means we already connected. If the hotspot server using dhcp (most of them) then we will get our ip address and we can directly connect to the internet.

Source :

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.