Wifi
From Attie's Wiki
(Difference between revisions)
m |
m |
||
Line 1: | Line 1: | ||
− | + | NetworkManager tends to get in the way... big time. Don't forget to kill him. | |
− | + | ||
− | == | + | ==WEP== |
− | < | + | <srouce lang="bash"> |
− | + | stop network-manager | |
− | + | ifconfig wlan0 down | |
− | + | iwconfig wlan0 essid my_network | |
− | + | iwconfig wlan0 key s:my_passphrase | |
− | + | ||
− | + | ||
− | iwconfig wlan0 essid | + | |
− | iwconfig wlan0 key s: | + | |
− | + | ||
iwconfig wlan0 mode managed | iwconfig wlan0 mode managed | ||
+ | ifconfig wlan0 up | ||
+ | dhclient -v wlan0 | ||
</source> | </source> | ||
− | |||
− | |||
− | + | Alternatively you can specify the hex value for the key: | |
<source lang="bash"> | <source lang="bash"> | ||
− | + | iwconfig wlan0 key ... | |
− | + | ||
</source> | </source> |
Revision as of 12:55, 20 March 2012
NetworkManager tends to get in the way... big time. Don't forget to kill him.
WEP
<srouce lang="bash"> stop network-manager ifconfig wlan0 down iwconfig wlan0 essid my_network iwconfig wlan0 key s:my_passphrase iwconfig wlan0 mode managed ifconfig wlan0 up dhclient -v wlan0 </source>
Alternatively you can specify the hex value for the key:
iwconfig wlan0 key ...