mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
Bugfix/wifi init (#619)
* initializes wifi system correctly * add packages to initialization * restart wpa_supplicant after conf file is sync'ed * fix cli rendering for set_network * debug statements * more debug stuff, trim network id on return * possibly solves all dhcp problems on startup, I wish I understood better why it starts by default for eth0 but not wlan0 * make consistent with new logging
This commit is contained in:
committed by
Aiden McClelland
parent
debefdbc5f
commit
3f30905786
@@ -13,11 +13,17 @@ apt install -y \
|
||||
bmon \
|
||||
zfsutils-linux \
|
||||
exfat-utils \
|
||||
sqlite3
|
||||
sqlite3 \
|
||||
wireless-tools \
|
||||
net-tools \
|
||||
ifupdown
|
||||
sed -i 's/"1"/"0"/g' /etc/apt/apt.conf.d/20auto-upgrades
|
||||
sed -i 's/Restart=on-failure/Restart=always/g' /lib/systemd/system/tor@default.service
|
||||
sed -i '/}/i \ \ \ \ application\/wasm \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ wasm;' /etc/nginx/mime.types
|
||||
sed -i 's/# server_names_hash_bucket_size 64;/server_names_hash_bucket_size 128;/g' /etc/nginx/nginx.conf
|
||||
sed -i 's/ExecStart=\/sbin\/wpa_supplicant -u -s -O \/run\/wpa_supplicant/ExecStart=\/sbin\/wpa_supplicant -u -s -O \/run\/wpa_supplicant -c \/etc\/wpa_supplicant.conf -i wlan0/g' /lib/systemd/system/wpa_supplicant.service
|
||||
echo "auto wlan0" > /etc/network/interfaces
|
||||
echo "iface wlan0 inet dhcp" >> /etc/network/interfaces
|
||||
mkdir -p /etc/nginx/ssl
|
||||
docker run --privileged --rm tonistiigi/binfmt --install all
|
||||
docker network create -d bridge --subnet 172.18.0.1/16 start9 || true
|
||||
|
||||
Reference in New Issue
Block a user