Repository navigation
LEDs and Buttons
Front panel, left to right: PWR, ANT, COM, ALM, LAN1, LAN2, WLAN. ANT, COM and ALM can each be green, red or orange (red + green). Flashing means 1 second on, 1 second off, as on the stock firmware.
Same levels and thresholds as the stock firmware (RSRP; CSQ when no RSRP is available).
| LED | Level | RSRP |
|---|---|---|
| solid green | 5 | -83 dBm or better |
| flashing green | 4 | -84 to -97 dBm |
| solid orange | 3 | -98 to -112 dBm |
| flashing orange | 2 | -113 to -117 dBm |
| solid red | 1 | -118 to -120 dBm |
| flashing red | 0 | -121 dBm or worse, or no service |
| off | no information from the card (for example while it starts) |
| LED | Meaning |
|---|---|
| solid green |
wwan is connected |
| flashing green | connecting |
| off | not connected |
| LED | Meaning |
|---|---|
| green | OpenWrt is running |
| red | booting into failsafe mode, writing a firmware image, or a temperature sensor is above the stock threshold (85 °C by default) |
| LED | Meaning |
|---|---|
| PWR | power (always on) |
| LAN1, LAN2 | link on that Ethernet jack |
| WLAN | Wi-Fi activity |
The button is the standard OpenWrt reset button (KEY_RESTART). Standard OpenWrt behaviour, not yet tried on this device:
- press and release within 1 second: reboot
- hold 5 seconds or more, then release: factory reset (all settings are erased)
Different from the stock firmware. On the stock firmware, holding the button for 5 seconds or more reboots the router (it saves its log first, with ALM orange). On OpenWrt the same long press erases all settings. For a plain reboot, press briefly.
The 4-way DIP switch is visible to OpenWrt as switches BTN_0 to BTN_3 (ON = pressed), so a script in /etc/rc.button/ or /etc/hotplug.d/button/ can react to it. No function is assigned to them in this image. In OpenWrt they are named dip1 to dip4 (switches 1 to 4).
The stock firmware reads them at power-on. Its settings, from NEC's manual (change them only with the power off):
| SW1 | SW2 | SW3 | SW4 | Stock firmware |
|---|---|---|---|---|
| OFF | OFF | OFF | OFF | normal operation (factory setting) |
| OFF | ON | ON | OFF | Wi-Fi client mode |
| OFF | OFF | ON | OFF | initial setup mode (starts without a SIM) |
| ON | ON | ON | ON | factory reset of the stock settings |
Keep all four OFF. If you go back to the stock firmware, a switch left ON changes how it starts, and all ON erases its settings.
The board has a watchdog circuit that resets it about 2 seconds after it stops being fed. OpenWrt's kernel feeds it, and the um310r-ext-wdt service arms it at boot, as the stock firmware does. If the system hangs completely, the board resets by itself.
To disarm it until the next boot (for example while debugging on the serial console):
/etc/init.d/um310r-ext-wdt disarm
OpenWrt for the NEC uM310R