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
dcore:wireless_set-up [2017/09/18 15:41] – [Configure wireless network] /etc/wpa_supplicant/wpa_supplicant.conf -> /etc/wpa_supplicant.conf sm8psdcore:wireless_set-up [2017/09/18 16:19] (current) – [Configure wireless network] sm8ps
Line 66: Line 66:
 </code> </code>
  
-Having used 'wifi.sh' before, this file will already be in place and the password will be +Alternatively, one may use 'wifi.sh' which will create the file with the password hashed. The clear-text password is commented out and may be deleted.
  
 == Set-up key file by use of WPA-cli== == Set-up key file by use of WPA-cli==
Line 120: Line 120:
  
 <code> <code>
-sudo udhcpc -b -i <IF> -x hostname <HOSTNAME> -p /var/run/udhcpc.wlan0.pid'+sudo udhcpc -b -i <IF> -x hostname <HOSTNAME> -p /var/run/udhcpc.<IF>.pid'
 </code> </code>
 acquires a DHCP-lease. 'ifconfig' should then show the IP-address as "inet addr" acquires a DHCP-lease. 'ifconfig' should then show the IP-address as "inet addr"
Line 129: Line 129:
 ==Persistence== ==Persistence==
  
-The configuration file can be made persistent by adding "/etc/wpa_supplicant.conf" to '/opt/bootlocal.sh' and issue ''backup''.+The configuration file can be made persistent by adding "/etc/wpa_supplicant.conf" to '/opt/.filetool.lst' and issueing ''backup''.
  
 Note that the folder '/etc/wpa_supplicant' will be mounted from the wireless extension as an overlay-filesystem, though that does not interfere with the configuration file. Note that the folder '/etc/wpa_supplicant' will be mounted from the wireless extension as an overlay-filesystem, though that does not interfere with the configuration file.
Line 141: Line 141:
 <code> <code>
 /sbin/wpa_supplicant -B -i <IF> -c /etc/wpa_supplicant.conf /sbin/wpa_supplicant -B -i <IF> -c /etc/wpa_supplicant.conf
-/bb/udhcpc -b -i <IF> -x hostname $(hostname) -p /var/run/udhcpc.wlan0.pid+/bb/udhcpc -b -i <IF> -x hostname $(hostname) -p /var/run/udhcpc.<IF>.pid
 </code> </code>
 If Syslog is running, one may want to add the option ''-s'' for WPA-supplicant and ''-S > /dev/null 2>&1'' for UDHCP-client. If Syslog is running, one may want to add the option ''-s'' for WPA-supplicant and ''-S > /dev/null 2>&1'' for UDHCP-client.
Print/export
QR Code
QR Code dcore:wireless_set-up (generated for current page)