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 14:53] – [How-to] cakir | faq:install-licenses-via-usb-stick [2023/09/28 18:14] (current) – [How-to] fachet | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| - If you got the licenses in an archive, extract the license files | - If you got the licenses in an archive, extract the license files | ||
| - Copy all the license files (00112B*.lic) on the stick | - Copy all the license files (00112B*.lic) on the stick | ||
| - | - Power on the router and wait until it has booted completely | + | - Power on the router and wait until it has booted completely. The STAT LED will turn solid green. |
| - | - Plug in the USB stick and wait | + | - Plug in the USB stick and the WLAN1 LED will blink slow green. |
| - | - | + | - When the installation starts, all LEDs blink green and it takes some time. |
| - | **An LED will first blink fast red, the fast yellow. If __successful__ | + | |
| - | **The STATUS LED will be green and after inserting the USB Stick the WLAN1 LED will also start blinking. Afer a few seconds all LEDs will blink green together. When the update is done the LEDs will be in a stare where STATUS LED is solid yellow and WLAN1 LED is blinking yellow | + | 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 [ "$FEATURE_WLAN" | + | if cli update license file:/// |
| - | for i in $(ls / | + | sleep 5 |
| + | / | ||
| + | for i in $(ls / | ||
| + | if cmp -s / | ||
| + | for i in $(ls / | ||
| + | fi | ||
| else | else | ||
| - | for i in $(ls / | + | sleep 5 |
| + | for i in $(ls / | ||
| fi | fi | ||
| + | rm / | ||
| </ | </ | ||