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 08:14] – fachet | faq:install-licenses-via-usb-stick [2023/09/28 18:14] (current) – [How-to] fachet | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ===== How-to ===== | ===== How-to ===== | ||
| - | === Preparation === | ||
| - Router must be in [[faq: | - Router must be in [[faq: | ||
| - Format an USB-Stick FAT16/32 | - Format an USB-Stick FAT16/32 | ||
| Line 9: | 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 | + | - 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. | ||
| + | |||
| + | Finaly LEDs are | ||
| + | * green: ok | ||
| + | * yellow: ok, but there was no license change, e.g. installed the same license two times | ||
| + | * red: something went wrong. (WLAN1 blinking: red = no license file, yellow = license file corrupt) | ||
| + | |||
| - | === Progress === | ||
| - | An LED will first blink fast red, the fast yellow. | ||
| - | If successful the LEDs will be solid green, otherwise red. | ||
| ===== 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 $(/ | + | / |
| - | sleep 3 | + | eval $(/ |
| cp / | cp / | ||
| - | cli update license file:/// | + | sleep 3 |
| - | 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 / | ||
| </ | </ | ||