[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
howtos:misc:wireless_in_a_pinch_with_wpa_supplicant [2022/05/11 07:36 (UTC)] – created zeebrahowtos:misc:wireless_in_a_pinch_with_wpa_supplicant [2023/12/11 14:57 (UTC)] (current) – [Introduction] zeebra
Line 16: Line 16:
 iw wlan0 scan | less iw wlan0 scan | less
 wpa_passphrase mywifiname >> /etc/wpa_supplicant.conf wpa_passphrase mywifiname >> /etc/wpa_supplicant.conf
-wpa_supplicant -B -D wext -i wlan0 -c /etc/wpa_supplicant+wpa_supplicant -B -D wext -i wlan0 -c /etc/wpa_supplicant.conf
 dhclient wlan0 dhclient wlan0
 </code> </code>
Line 67: Line 67:
  
 **7. Connect to the network with the info you have provided** **7. Connect to the network with the info you have provided**
-<code>wpa_supplicant -B -D wext -i wlan0 -c /etc/wpa_supplicant</code>+<code>wpa_supplicant -B -D wext -i wlan0 -c /etc/wpa_supplicant.conf</code>
 This should work in most cases. "wext" is a generic wireless driver, and in some cases you might have to use another driver to connect, but in almost all cases "wext" should work. You can find further drivers and information with This should work in most cases. "wext" is a generic wireless driver, and in some cases you might have to use another driver to connect, but in almost all cases "wext" should work. You can find further drivers and information with
 <code>wpa_supplicant --help</code> <code>wpa_supplicant --help</code>
Line 86: Line 86:
 If you want to bring down/undo wpa_supplicant you can remove the file If you want to bring down/undo wpa_supplicant you can remove the file
 <code>rm /var/run/wpa_supplicant/wlan0</code> <code>rm /var/run/wpa_supplicant/wlan0</code>
 +Or you can kill the processes.
 +<code>ps x | grep -i supplicant</code>
 +<code>1234 Ss 0:00 wpa_supplicant -B -D wext -i wlan0 -c /etc/wpa_supplicant.conf</code>
 +<code>kill -9 1234</code>
 If you want to release the dhclient lease, which doesn't always work, you can try it with If you want to release the dhclient lease, which doesn't always work, you can try it with
 <code>dhclient -r</code> <code>dhclient -r</code>
Line 101: Line 105:
 <!-- Please do not modify anything below, except adding new tags.--> <!-- Please do not modify anything below, except adding new tags.-->
 <!-- You must remove the tag-word "template" below before saving your new page --> <!-- You must remove the tag-word "template" below before saving your new page -->
-{{tag>howtosnetworkwirelesswpa_supplicant}}+{{tag>howtos network wireless wpa_supplicant author_zeebra}}
 howtos:misc:wireless_in_a_pinch_with_wpa_supplicant ()