Wifi

From Attie's Wiki
(Difference between revisions)
Jump to: navigation, search
m
m
Line 8: Line 8:
 
===== WEP =====
 
===== WEP =====
 
<source lang="bash">
 
<source lang="bash">
iwconfig wlan0 essid SSID key s:KEY
+
iwconfig wlan0 essid NETWORKNAME
 +
iwconfig wlan0 key s:ASCIIKEY
 +
iwconfig wlan0 key HEXKEY
 +
iwconfig wlan0 mode managed
 
</source>
 
</source>
 
===== WPA/WPA2 =====
 
===== WPA/WPA2 =====

Revision as of 12:24, 3 February 2012

Contents

Connecting to a WiFi network from the Linux command line

Scan for a network

iwlist wlan0 scan

Connect to the network

WEP
iwconfig wlan0 essid NETWORKNAME
iwconfig wlan0 key s:ASCIIKEY
iwconfig wlan0 key HEXKEY
iwconfig wlan0 mode managed
WPA/WPA2

To come...

Get an IP from DHCP

ifconfig wlan0 up
dhclient wlan0
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox