root@mulyana:~# apt-get update
root@mulyana:~# apt-get install wireless-tools usbutils
root@mulyana:~# apt-get install firmware-atheros
root@mulyana:~# wget http://linuxwireless.org/download/htc_fw/1.3/htc_9271.fw
root@mulyana:~# cp htc_9271.fw /lib/firmware
root@mulyana:~# nano /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
auto wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa.conf
wlan0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
lo no wireless extensions.
eth0 no wireless extensions.
root@mulyana:~# iwlist wlan0 scan | grep ESSID
root@mulyana:~# nano /etc/wpa.conf
network={
ssid="SSID"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk="PASSWORD"
}
root@mulyana:~# ifup wlan0
root@mulyana:~# ifconfig
eth0 Link encap:Ethernet HWaddr b8:27:eb:e1:41:ff
inet addr:192.168.20.106 Bcast:255.255.255.255 Mask:255.255.255.0
inet6 addr: fe80::ba27:ebff:fee1:41ff/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1118 errors:0 dropped:0 overruns:0 frame:0
TX packets:196 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:68204 (66.6 KiB) TX bytes:25498 (24.9 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wlan0 Link encap:Ethernet HWaddr f8:d1:11:b3:94:e3
inet addr:192.168.20.104 Bcast:192.168.222.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2260 (2.2 KiB) TX bytes:1542 (1.5 KiB)
root@mulyana:~# route add default gw 192.168.20.1 wlan0
0 comments:
Post a Comment