The gMan nixWiki

Because the mind is made of Teflon...

User Tools

Site Tools


hack_wireless_connect

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
hack_wireless_connect [2020/05/03 19:35] – [wconfig] gmanhack_wireless_connect [2020/05/31 17:45] (current) – [CLI] gman
Line 1: Line 1:
-====== CLI ======+====== Wireless: Connect ====== 
 + 
 +===== CLI =====
  
 ^  command  ^  description  ^ ^  command  ^  description  ^
Line 8: Line 10:
  
 ---- ----
-===== wconfig =====+ 
 +===== Debian How-To ===== 
 + 
 +[[https://wiki.debian.org/WiFi/HowToUse#Command_Line|]] 
 + 
 +---- 
 + 
 +===== iwconfig =====
      
 Configure a wireless network (like ''ifconfig'' for wireless) Configure a wireless network (like ''ifconfig'' for wireless)
Line 33: Line 42:
 ---- ----
  
-===== Using ifupdown =====+===== ifconfig + ifupdown (best) =====
  
 [1] Bring your wireless network up (assuming interface name is wlan0):  [1] Bring your wireless network up (assuming interface name is wlan0): 
Line 46: Line 55:
 </code> </code>
  
-[3] Find the one you want and put its configs in a file under /etc/network/+[3] Find the one you want and put its [[general_network#examples|configs]] in a file under /etc/network/
  
-[4] Down/Up the wireless network+[4] Down the wireless interface and bring it up with you config file
  
 <code> <code>
Line 55: Line 64:
 </code> </code>
  
-===== Using ifconfig =====+----  
 +===== ifconfig + iwconfig =====
  
 Simplied (three commands to get wireless up and running; assuming interface name is wlan0): Simplied (three commands to get wireless up and running; assuming interface name is wlan0):
Line 119: Line 129:
 systemctl start networking.service systemctl start networking.service
 systemctl restart networking.service  # same as above two, combo systemctl restart networking.service  # same as above two, combo
 +</code>
 +
 +If that doesn't work: 
 +
 +<code>
 +service network-manager restart
 </code> </code>
      
 ----  ---- 
hack_wireless_connect.1588534550.txt.gz · Last modified: by gman