Wifi

From Attie's Wiki
(Difference between revisions)
Jump to: navigation, search
m (Created page with '== Connecting to a WiFi network from the Linux command line == === WEP === <source lang="bash"> iwconfig wlan0 essid SSID key s:KEY </source> === WPA/WPA2 === To come... === Gene…')
 
m
Line 1: Line 1:
 
== Connecting to a WiFi network from the Linux command line ==
 
== Connecting to a WiFi network from the Linux command line ==
=== WEP ===
+
===Scan for a network===
 +
<source lang="bash">
 +
iwlist wlan0 scan
 +
</source>
 +
 
 +
===Connect to the network===
 +
===== WEP =====
 
<source lang="bash">
 
<source lang="bash">
 
iwconfig wlan0 essid SSID key s:KEY
 
iwconfig wlan0 essid SSID key s:KEY
 
</source>
 
</source>
=== WPA/WPA2 ===
+
===== WPA/WPA2 =====
 
To come...
 
To come...
=== Generic ===
+
 
 +
===Get an IP from DHCP===
 
<source lang="bash">
 
<source lang="bash">
 
ifconfig wlan0 up
 
ifconfig wlan0 up
 
dhclient wlan0
 
dhclient wlan0
 
</source>
 
</source>

Revision as of 11:38, 2 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 SSID key s:KEY
WPA/WPA2

To come...

Get an IP from DHCP

ifconfig wlan0 up
dhclient wlan0
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox