mirror of https://github.com/OpenIPC/firmware.git
				
				
				
			
		
			
				
	
	
		
			8 lines
		
	
	
		
			303 B
		
	
	
	
		
			Plaintext
		
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			303 B
		
	
	
	
		
			Plaintext
		
	
	
| 
 | |
| iface eth2 inet dhcp
 | |
|     pre-up wifi xm711
 | |
|     pre-up wpa_passphrase "SSID" "password" >/tmp/wpa_supplicant.conf
 | |
|     pre-up sed -i '2i \\tscan_ssid=1' /tmp/wpa_supplicant.conf
 | |
|     pre-up (sleep 3; wpa_supplicant -B -D nl80211 -i eth2 -c/tmp/wpa_supplicant.conf)
 | |
|     post-down killall -q wpa_supplicant
 |