Browse Source

add wpa_suplicant config, and update etc/update-motd.d/10-uname, to also show SoC termperatures..

master
tuxd3v 1 month ago
parent
commit
91ac5c2ec9
2 changed files with 26 additions and 0 deletions
  1. +10
    -0
      etc/update-motd.d/10-uname
  2. +16
    -0
      etc/wpa_supplicant/wpa_supplicant-wlan0.conf

+ 10
- 0
etc/update-motd.d/10-uname View File

@@ -1,3 +1,13 @@
#!/bin/sh
cat /etc/update-motd.d/20-devuan
uname -snrvm

#for hwmon in /sys/class/hwmon/hwmon?
#do
# read name < $hwmon/name
# for ftemp in $hwmon/temp?_input;
# do
# read temp < $ftemp
# echo "scale=2;value=$temp/1000;print \"$name: \",value, \" °C\n\";" | bc -l;
# done
#done

+ 16
- 0
etc/wpa_supplicant/wpa_supplicant-wlan0.conf View File

@@ -0,0 +1,16 @@
# Input your ISO 3166-1 alpha-2 Country Code bellow
country=pt
update_config=1
ctrl_interface=/var/run/wpa_supplicant

# Configuration for WPA2-PSK
network={
scan_ssid=1
ssid="MYSSID"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
group=CCMP
# result bellow produced by 'wpa_passphrase MYSSID passphrase'
psk=paste_result_of_above_command_here
}

Loading…
Cancel
Save