a Little Notes

Ikon

TUlisan dan Contekan

Madwifi Howto


Langkah pertama setelah kita berhasil menginstall madwifi di linux box kita


Load Madwifi ke dalam kernel
#modprobe wlan_scan_sta (scanning module)
#modprobe ath_pci

Membuat interface

#wlanconfig ath0 create wlandev wifi0 wlanmode sta
#iwconfig (cek apakah interfaces ath0 sudah up)
eth0 no wireless extensions.

lo no wireless extensions.

wifi0 no wireless extensions.

ath0 IEEE 802.11g ESSID:””
Mode:Managed Frequency:2.457 GHz Access Point: 00:00:00:00:00:00
Bit Rate:0 kb/s Tx-Power:20 dBm Sensitivity=0/3
Retry:off RTS thr:off Fragment thr:off
Power Management:off
Link Quality=0/94 Signal level=-95 dBm Noise level=-95 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

#ifconfig ath0 up

Scan Akes Point
#wlanconfig ath0 list scan
atau
#iwlist ath0 scan

KONEK KE AKSES POINT
———————–
Konek Ke akses pooint yang di enskrip
#iwconfig ath0 key #Key#
#iwpriv ath0 authmode 2

Konek ke akses point terbuka

#iwconfig ath0 essid (nama essid ap)

konek ke akses point terbuka secara otomatis (random)
#iwconfig ath0 ap auto

Konek dengan DHCP
#dhclient ath0

Contoh simple script untuk konek ke ap dengan key dengan mode dhcp
——————————————————————-
Kasih nama misal konek.sh

#!/bin/bash
modprobe ath_pci
modprobe wlan_scan_sta
wlanconfig ath0 destroy
wlanconfig ath0 create wlandev wifi0 wlanmode sta
ifconfig ath0 up
iwconfig ath0 key #Key#
iwpriv ath0 authmode 2
dhclient ath0

Iklan

Filed under: Wireless

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

%d blogger menyukai ini: