Skip to content

Commit

Permalink
v9.1
Browse files Browse the repository at this point in the history
- DietPi-Installer | Orange Pi Zero 3: Have WiFi kernel modules loaded on first boot
  • Loading branch information
MichaIng committed Jan 27, 2024
1 parent 54ae72e commit 7270e14
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .build/images/dietpi-installer
Original file line number Diff line number Diff line change
Expand Up @@ -2112,6 +2112,10 @@ SUBSYSTEM=="leds", KERNEL=="lan2_led", ACTION=="add", ATTR{trigger}="netdev", AT
SUBSYSTEM=="leds", KERNEL=="lan1_led", ACTION=="add", ATTR{trigger}="netdev", ATTR{device_name}="eth1", ATTR{link}="1", ATTR{rx}="1", ATTR{tx}="1"
SUBSYSTEM=="leds", KERNEL=="wan_led", ACTION=="add", ATTR{trigger}="netdev", ATTR{device_name}="eth2", ATTR{link}="1", ATTR{rx}="1", ATTR{tx}="1"
_EOF_
# Orange Pi 3B/Zero 3: Module does not load automatically, but we want it loaded on first boot in case firstrun setup is done via WiFi
elif [[ $G_HW_MODEL =~ ^(83|87)$ ]]
then
G_EXEC eval 'echo '\''sprdwl_ng'\'' > /etc/modules-load.d/dietpi-enable_wifi.conf'
fi

# Armbian
Expand Down

0 comments on commit 7270e14

Please sign in to comment.