Raphael Nestler
be8daaa721
Only disable wifi if WPA_COUNTRY is not set ( #416 )
...
* Only disable wifi if WPA_COUNTRY is not set
* Use '-n' instead of '-v' to test if WPA_COUNTRY is set
Apparently -v doesn't work in all shells.
2020-09-18 14:40:33 +01:00
Serge Schneider
b4ea63c045
Update persistent rkfill files
2020-01-28 12:44:12 +00:00
Sam Tygier
271177a0f7
Use tee with wpa_passphrase so errors are visable
...
wpa_passphrase writes its error messages to stdout, so this needs to
tee so that errors are visable to user. Also need to enable pipefail
so that the error code still gets caught.
2020-01-07 08:07:48 +00:00
Christian Decker
18c3cebe94
configure unprotected wifi when WPA_PASSWORD is unset ( #357 )
2019-12-05 15:08:04 +00:00
Serge Schneider
e14a403533
stage2: Disable wifi on 5GHz models
2019-06-07 16:21:03 +01:00
Hugo Hromic
564f8ef1b8
Silence shellcheck warnings ( #255 )
...
* Made more specific shellcheck disables
* Fixed variable quoting (SC2086,SC2064)
* Use `$*` expansion instead of `$@` when not using arrays (SC2124)
* Use cleaner `$()` syntax instead of back quotes (SC2006)
* Improved comparator (SC2166)
* Minor improvements in coding style
Tested clean output using: `find -name "*.sh" | xargs -n1 shellcheck -x`.
2019-02-18 12:54:15 +00:00
Sam Tygier
c72f0b47ff
Quote wpa wifi variables
...
Allows essid and passwords with special characters.
2019-01-22 17:44:28 +10:00
Sam Tygier
f4dc2dcce6
Allow setting up wifi from config
...
Add WPA_ESSID, WPA_PASSWORD and WPA_COUNTRY options to config.
2018-12-21 04:09:47 +00:00
Serge Schneider
ff2d5edee1
shellcheck
2018-03-13 12:50:50 +00:00
Serge Schneider
e6f7cd5cd6
stage2: don't set 'country' in wpa_supplicant.conf
2018-03-01 15:54:13 +00:00
Serge Schneider
dc0fb57fb9
stage2: install net-tools explicitly
2017-08-24 16:31:15 +01:00
Serge Schneider
c77669ad9f
stage2: firmware-ralink renamed to firmware-misc-nonfree
2017-07-28 13:35:46 +01:00
Serge Schneider
6618df4b08
stage2: update wait.conf
2017-07-28 13:35:46 +01:00
Serge Schneider
71793ce183
stage2: install raspberrypi-net-mods
2016-10-18 15:23:02 +01:00
Serge Schneider
99bf2f4d61
Add Raspbian stages
2016-04-11 07:34:01 +01:00