Tuesday, November 30, 2010

Connect to Accest Point use Linux LIVE CD BACKTRACK 2

* To connect to a wireless LAN that Open or Secured by WEP (DHCP)
# Iwconfig [interface] mode managed key [WEP key]
-> Replace the word "interface" with the name of your interface is more active at this time, eg ath0, wlan0 or eth1.
-> WEP key, WEP key it says Kuci, 10 carakter hexadecimal to 64 bit and 26 carakter to 128 bits.
# Iwconfig essid "[ESSID]" -> the SSID of a WLAN Specifications
# Dhclient [interface] -> to get the IP address, netmask, DNS server and default gateway of access points

* To connect to a wireless LAN that Open or Secured by WEP (IP Manual / Static)
# Iwconfig [interface] mode managed key [WEP key]

# Iwconfig essid "[ESSID]"
# Route add default gw [IP of default gateway] -> Enter the gateway IP Address
# Echo nameserver [IP address of DNS server]>> / etc / resolve.conf, configure the AP -> Configure your DNS server
# Ping www.detik.com -> ping to the internet to test connection

* Collection of iwconfig
iwconfig [interface] mode master -> Making the PCMCIA card in mode access points
# Iwconfig [interface] mode managed -> Making your PCMCIA card in client mode on wifi network infrastructure
# Iwconfig [interface] mode ad-hoc -> Set your card as a member of the ad hoc wifi network without Access Point
# Iwconfig [interface] mode monitor -> Set your card in monitor mode
# Iwconfig [interface] essid "your ssid_here" -> configure your network ssid.
# Iwconfig [interface] key 1111-1111-1111-1111 (set a WEP 128bit key)
# Iwconfig [interface] key 11111111 (set 65 bit WEP key)
# Iwconfig [interface] key off (disable WEP key)
# Iwconfig [interface] key open (set as the open mode, no authentication required)
# Iwconfig [interface] channel [channel no.] (Set a channel 1-14)
# Iwconfig [interface] channel auto (automatic channel select)
# Iwconfig [interface] freq 2.422G (channels set in GHz)
#

# Iwconfig [interface] ap 11:11:11:11:11:11 (forcing the card to register AP address)

# Iwconfig [interface] rate of 11m (the card will use a certain speed)

# Iwconfig [interface] rate auto (select speed automatic)

# Iwconfig [interface] rate auto 5.5M (card will use a certain speed and at lower speeds if necessary)

* The command ifconfig

# Ifconfig [interface] up (activate the network card)

# Ifconfig [interface] down (disable the network card)
#ifconfig [interface] [IP address] netmask [subnet-mask] (set the IP address and subnet mask manually)
#ifconfig [interface] hw ether [MAC] (Change the MAC address of the PCMCIA card in the format 11:11:11:11:11:11)

0 comments:

Post a Comment