R36S Wi-Fi Manager (ArkOS / dArkOS/RE)
v4.3 by djparent
Based on Wifi script by Kris Henriksen, with additional code from Wifi-Toggle v3.6 and Bluetooth Manager for dArkOS by Jason3x.
v4.3 Change Log
- added Remote Services Autostart, toggle to enable
- added SMB Access Level (default or root)
- added HOSTNAME (edit inside the script)
- added Jason3x's network drivers (autoinstall if missing)
v4.2.1 Change Log
- added option to turn off updates, edit in text reader
- fixed typo in the Title
- improved dArkOS compatibility
v4.2 Change Log
- self-updates to latest GithHub release when available
- wifi turns on and off faster
- faster enable or disable sharing
- disabled background scanning;
- trust network implicitly, no more disconnections looking for a better signal
- removed psk flags from known connections;
- NM couldn't find the password without a helper process
- connection monitor variables/settings moved to top of script for easy editing
- smarter reconnect monitoring;
- 12 fast attempts, then only once a minute if the AP is unreachable
- efficient reconnect monitoring;
- wifi is disabled after 10 minutes if the the AP is unreachable
- increased kernel network buffer size for faster transfers
- added hostname to 'enable sharing' and 'network information' dialogs
- increased timeout when connecting saved networks, prevent timeout error
Overview
An advanced Wi-Fi management tool for the R36S that improves reliability, adds automation, and provides a controller-friendly interface with full system integration.
Features
- B button functions as back button
- Checks for installed drivers on launch
- Will install missing drivers, no connection needed:
- RTL8188eufw
- MT7601u
- Multi-language support (EN, FR, ES, PT, IT, DE, PL)
- Full Wi-Fi control (enable / disable)
- USB OTG Wi-Fi adapter support with automatic handling
- Persistent Wi-Fi state across sleep / wake cycles
- Automatic reconnection monitor (optional)
- Remote access toggle (SSH, Samba, FileBrowser)
- Improved connection handling and faster timeouts
- Automatic dependency detection and installation
- Clean UI designed for handheld use
- Safe startup and exit handling
What’s New vs Original
- Automatic detenction and install of missing drivers
- Automatic language detection from EmulationStation
- Full USB Wi-Fi lifecycle management (load, unload, re-enumerate)
- Persistent systemd service for USB Wi-Fi initialization
- Sleep hook to preserve Wi-Fi state across suspend/resume
- Disabled NetworkManager power saving for stability
- State tracking via
/tmp/wifi_manager_state - Background auto-reconnect system
- Integrated remote access controls with IP display
- Faster and more reliable connection attempts
- Improved input handling with gptokeyb management
- Clean exit handling with proper system restoration
Credits
- Original Wifi script by Kris Henriksen
- Wifi-Toggle v3.6 and Bluetooth Manager contributions by Jason3x
- Enhancements and integration by djparent