23 Commits

Author SHA1 Message Date
Serge Schneider
b15527e15b Fix bluetooth rfkill unblock - 0 is unblocked 2024-11-19 12:45:26 +00:00
Serge Schneider
c6d303831b Remove wpa_supplicant tweaks 2024-10-31 13:21:58 +00:00
Serge Schneider
e86b901e25 Rework wlan blocking 2024-10-31 13:21:00 +00:00
Serge Schneider
8dd23cbc1d Remove dhcpcd and associated options 2023-09-25 15:04:19 +01:00
Serge Schneider
d53c4e58fb Default to dhcpcd for now 2022-08-19 12:38:33 +01:00
Serge Schneider
68ddb44960 Use raspi-config to set WPA_COUNTRY 2022-08-19 12:35:48 +01:00
Serge Schneider
db3cd433fb stage2: Install NetworkManager 2022-08-09 12:18:13 +01:00
Serge Schneider
ac246e300b Use raspi-config to toggle boot_wait 2021-10-05 17:26:51 +01:00
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