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.
To find out what hotspot is on in the area :
Edit /etc/wpa_supplicant.conf
Enter the essid and wpapsk (password to the essid/ hotspot)
scan_ssid=0
ssid=”myhotspot”
proto=WPA RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40
psk=”mykeypassword”
priority=10
}
Save it (Ctrl+o)
Then connect to it
If the result is like this
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 : http://ajibzsmkn1.wordpress.com/
Leave a Reply