konfigurasi tp link tl-wn722n di slackware 13.37


sebelumnya saya menulis tentang konfigurasi tp link tl-wn722n di debian squeeze
sekarang saya mau mencoba di slackware.

yups, bermodal wejangan-wejangan para mastah The Slackware Club @kaskus.us  juga om google tentunya😀
ini dia langkahnya…

Pertama, compile compat-wireless dahulu, download DISINI ekstrak lalu compile

$ tar -xjf compat-wireless-2.6.37-4.tar.bz2
$ cd compat-wireless-2.6.37-4
# make
# make install

sambil menunggu proses compile,
beli cemilan ke warung terdekat atau bikin kopi dahulu…😀

bila berhasil akan terlihat pesan  sebagai berikut,

Now run:

sudo make unload to unload all: wireless, bluetooth and ethernet modules
sudo make wlunload to unload wireless modules
sudo make btunload to unload bluetooth modules

Run sudo modprobe driver-name to load your desired driver.
If unsure reboot.

ikuti saja perintah di atas,

# make unload
# make wlunload

Kedua, download firmware ar9271.fwDISINI , lalu copykan ke directory /lib/firmware

# cd Downloads
# cp ar9271.fw  /lib/firmware

Ketiga, restart PC……………  lalu lihat hasil dmesg nya

[   29.178885] usb 1-8: New USB device strings: Mfr=16, Product=32, SerialNumber=48
[   29.178889] usb 1-8: Product: USB2.0 WLAN
[   29.178892] usb 1-8: Manufacturer: ATHEROS
[   29.178894] usb 1-8: SerialNumber: 12345
[   29.469243] usb 1-8: ath9k_htc: Transferred FW: ar9271.fw, size: 51312
[   30.469005] usb 1-8: ath9k_htc: Target is unresponsive
[   30.469013] Failed to initialize the device
[   30.470139] ath9k_hif_usb: probe of 1-8:1.0 failed with error -22
[  147.191562] usb 1-8: USB disconnect, address 4
[  150.174011] usb 1-7: new high speed USB device using ehci_hcd and address 5
[  150.308901] usb 1-7: New USB device found, idVendor=0cf3, idProduct=1006
[  150.308906] usb 1-7: New USB device strings: Mfr=16, Product=32, SerialNumber=48
[  150.308910] usb 1-7: Product: USB2.0 WLAN
[  150.308913] usb 1-7: Manufacturer: ATHEROS
[  150.308915] usb 1-7: SerialNumber: 12345
[  150.599142] usb 1-7: ath9k_htc: Transferred FW: ar9271.fw, size: 51312
[  150.864625] usb 1-7: ath9k_htc: HTC initialized with 33 credits
[  151.272484] ath: EEPROM regdomain: 0x809c
[  151.272488] ath: EEPROM indicates we should expect a country code
[  151.272491] ath: doing EEPROM country->regdmn map search
[  151.272494] ath: country maps to regdmn code: 0x52
[  151.272497] ath: Country alpha2 being used: CN
[  151.272499] ath: Regpair used: 0x52
[  151.274926] Registered led device: ath9k-phy2::radio
[  151.274993] Registered led device: ath9k-phy2::assoc
[  151.275183] Registered led device: ath9k-phy2::tx
[  151.275244] Registered led device: ath9k-phy2::rx
[  151.275249] usb 1-7: ath9k_htc: USB layer initialized

udah okey tuh ..😀

Keempat, coba konek AP dengan WEP key..

# ifconfig  wlan0 up
# iwlist wlan0 scan

wlan0     Scan completed :
Cell 01 – Address: B0:48:7A:B7:34:12
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=55/70  Signal level=-55 dBm
Encryption key:on
ESSID:”Wanda_Ariyasa”
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s
Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=000000a3d545a1bc
Extra: Last beacon: 961ms ago
IE: Unknown: 000D57616E64615F41726979617361
IE: Unknown: 010882848B960C121824
IE: Unknown: 030101
IE: Unknown: 2A0104
IE: Unknown: 32043048606C
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK

sampai disini kita sudah bisa melihat hasil scan AP nya dengan ESSID:”Wanda_Ariyasa”
kalau sobat sudah mengetahui passwordnya ikuti langkah selanjutnya,

Kelima, edit konfigurasi WPA yang terletak di /etc/wpa_supplicant.conf

# nano /etc/wpa_supplicant.conf

Ini contoh potongan file /etc/wpa_supplicant.conf. Jangan lupa di edit

# WPA protected network, supply your own ESSID and WPAPSK here:
network={
scan_ssid=0
ssid=”Wanda_Ariyasa”
proto=WPA RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40
psk=”bolehpinjam”
psk=538e7ea61b3eb2d6a741883ee3e9775f20b1b3a4b74deca6a0ab9448e5044efe
priority=10
}
## end

ket ,
ssid=”Wanda_Ariyasa”  << AP ESSID
psk=”bolehpinjam”  << passwordnya  AP

save, lalu akses terminal kembali,

# /usr/sbin/wpa_passphrase “Wanda_Ariyasa” “bolehpinjam” >> /etc/wpa_supplicant.conf
# wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf &

[1] 2182
bash-4.1# Trying to associate with b0:48:7a:b7:34:12 (SSID=’Wanda_Ariyasa’ freq=2412 MHz)
Associated with b0:48:7a:b7:34:12
WPA: Key negotiation completed with b0:48:7a:b7:34:12 [PTK=TKIP GTK=TKIP]
CTRL-EVENT-CONNECTED – Connection to b0:48:7a:b7:34:12 completed (auth) [id=0 id_str=]
bash-4.1#

biarkan, jendela terminal yang ini terbuka, kita buka lagi tab terminal lalu  tuliskan,

# iwconfig wlan0 essid “Wanda_Ariyasa”
# dhclient wlan0

Selesai …  silahkan ping atau buka browser sobat.

note : yang saya temukan, ping ke 8.8.8.8 berhasil namun, buka website tidak berhasil..
artinya kita hanya bisa ngeping, namun belum bisa browsing atau terhubung ke jaringan lokal

solusinya : edit /etc/resolv.conf

# nano /etc/resolv.conf

yang saya temui  di sini tertera,

nameserver 192.168.1.1

ubah dengan, DNS google atau DNS provider internetnya

nameserver 8.8.8.8
nameserver 8.8.4.4

save, lalu restart networknya,

# /etc/rc.d/rc.inet1 restart

Seharusnya udah bisa konek, namun.. bila muncul pesan sbb,

# ctrl_iface exists and seems to be in use – cannot override it
Delete ‘/var/run/wpa_supplicant/wlan0’ manually if it is not used anymore
Failed to initialize control interface ‘/var/run/wpa_supplicant’.
You may have another wpa_supplicant process already running or the file was
left by an unclean termination of wpa_supplicant in which case you will need
to manually remove this file before starting wpa_supplicant again.

coba delete,  /var/run/wpa_supplicant/wlan0

# rm /var/run/wpa_supplicant/wlan0

dan silahkan coba lagi …

semoga bermanfaat bagi saya dan sobat..
mohon maaf dan koreksi bila ada yangg kurang berkenan,
tulisan ini, hanya untuk catatan saya saja🙂

sumber :
http://blog.tibandung.com/konfigurasi-wireless-via-command-line/
The Slackware Club @kaskus.us

Thx to : mastah null.slack dan AKU_BEJO

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s