mirror of
				https://github.com/mayfrost/guides.git
				synced 2025-11-04 05:02:46 +00:00 
			
		
		
		
	Create WIFI.md
This commit is contained in:
		
							
								
								
									
										16
									
								
								WIFI.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								WIFI.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
# WiFi
 | 
			
		||||
 | 
			
		||||
Needs "_dhcpcd_" (or "_dhcpclient_"), "_wpa\_supplicant_", "_iproute2_" and wifi firmware (like "_iwlwifi_"). Meant to be run as "_root_" or with "_sudo_"
 | 
			
		||||
 | 
			
		||||
* Create the configuration file (as root)
 | 
			
		||||
`wpa_passphrase Your_SSID Your_passwd > /etc/wpa_supplicant.conf`  
 | 
			
		||||
* Delete non hashed password from /etc/wpa_supplicant.conf
 | 
			
		||||
 | 
			
		||||
* To connect type the following command:
 | 
			
		||||
`ip link set wlan0 down`
 | 
			
		||||
`ip link set wlan0 up`
 | 
			
		||||
`wpa_supplicant -B -iwlan0 -c /etc/wpa_supplicant.conf -Dwext`
 | 
			
		||||
`dhcpcd wlan0`  
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
You can save the last step in a script.
 | 
			
		||||
		Reference in New Issue
	
	Block a user