Wifi

From Attie's Wiki
(Difference between revisions)
Jump to: navigation, search
m
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 ==
 +
First of all... KILL NETWORK MANAGER
 +
 
===Scan for a network===
 
===Scan for a network===
 
<source lang="bash">
 
<source lang="bash">

Revision as of 12:31, 3 February 2012

Contents

Connecting to a WiFi network from the Linux command line

First of all... KILL NETWORK MANAGER

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