This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| faq:install-licenses-via-usb-stick [2023/09/28 15:18] – fachet | faq:install-licenses-via-usb-stick [2023/09/28 18:14] (current) – [How-to] fachet | ||
|---|---|---|---|
| Line 10: | Line 10: | ||
| - Power on the router and wait until it has booted completely. The STAT LED will turn solid green. | - Power on the router and wait until it has booted completely. The STAT LED will turn solid green. | ||
| - Plug in the USB stick and the WLAN1 LED will blink slow green. | - Plug in the USB stick and the WLAN1 LED will blink slow green. | ||
| - | - Afer a few seconds | + | - When the installation starts, |
| - | **When the update is done the LEDs will be in a stare where STATUS LED is solid yellow and WLAN1 LED is blinking yellow/red. All other LEDs are solid red.** | + | Finaly LEDs are |
| + | | ||
| + | | ||
| + | * red: something went wrong. (WLAN1 blinking: red = no license file, yellow | ||
| + | | ||
| - | You can now reboot the device and check the status of the licenses with the command: | ||
| - | |||
| - | cli status license | ||
| ===== Files ===== | ===== Files ===== | ||
| <code c autorun.key> | <code c autorun.key> | ||
| - | $1$LVOmS4hg$h3X0lt8xMrlElRyqXODLC/ | ||
| - | e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 | ||
| - | 0876dfca6d6fedf99b2ab87b6e2fed4bd4051ede78a8a9135b500b2e94d99b88 | ||
| - | d6414f06abe9d25df078def16971fc48a0c18fb5da799c141cc8c555683467a7 | ||
| - | </ | ||
| - | <code c autorun.sh> | ||
| #!/bin/ash/ | #!/bin/ash/ | ||
| set -xv | set -xv | ||
| echo "SLOW GREEN" > / | echo "SLOW GREEN" > / | ||
| + | sleep 3 | ||
| - | eval $(/ | + | / |
| + | eval $(/ | ||
| + | cp / | ||
| sleep 3 | sleep 3 | ||
| - | cp / | ||
| - | cli update license file:/// | ||
| - | sleep 5 | ||
| - | eval $(/ | + | if cli update license file:/// |
| - | + | sleep 5 | |
| - | if [ " | + | / |
| - | | + | for i in $(ls / |
| + | if cmp -s / | ||
| + | for i in $(ls / | ||
| + | fi | ||
| else | else | ||
| + | sleep 5 | ||
| for i in $(ls / | for i in $(ls / | ||
| fi | fi | ||
| + | rm / | ||
| </ | </ | ||