True.
In OpenWRT, recovery mode (often referred to as failsafe mode) typically disables network interfaces, including wireless (WiFi), by default. Here's why:
What is Failsafe/Recovery Mode?
- Failsafe Mode is a minimal boot environment used to recover a device when the main firmware or configuration is corrupted or misconfigured. It allows you to access the router's command line to troubleshoot or restore it.
- In this mode, most services and network configurations are intentionally disabled to prevent conflicts during recovery.
Why is Wireless Disabled?
- Minimal Configuration: The failsafe mode loads only the most basic drivers and no user-defined configurations. Network interfaces (including WiFi) are not initialized unless explicitly started.
- Security: Disabling network interfaces prevents unintended network connections during recovery, which could lead to security risks or further issues.
- Resource Constraints: The minimal environment prioritizes stability and simplicity over full functionality.
How to Enable Wireless in Failsafe Mode (if needed):
If you need to re-enable WiFi in failsafe mode (e.g., to download files or reconfigure the router), you can do so manually via the command line:
- Access the router's console (usually via a serial connection or Ethernet cable with a crossover cable).
- Run commands like:
wifi
This will start the wireless interfaces based on the existing configuration (if it exists).
- If the wireless configuration is missing or corrupted, you may need to manually set it up using tools like
uci or wifi detect.
Key Takeaways:
- Default State in Recovery/Failsafe: Wireless is disabled until manually enabled.
- Purpose: Ensures a stable, minimal environment for recovery tasks.
- Use Case: If you need wireless during recovery, you must explicitly enable it yourself.
If you're in failsafe mode and need to re-enable WiFi, follow the steps above, but be cautious—this mode is intended for troubleshooting, and changes made here may not persist after reboot unless saved properly.