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:18] – fachet | 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 - Power on the router | + | - Plug in the USB stick and the WLAN1 LED will blink slow green. |
- | - Plug in the USB stick | + | |
- | | + | |
- | **An LED will first blink fast red, the fast yellow. | + | Finaly LEDs are |
+ | | ||
+ | * yellow: ok, but there was no license change, e.g. installed | ||
+ | * red: something went wrong. (WLAN1 blinking: red = no license file, yellow = license file corrupt) | ||
+ | |||
+ | |||
===== 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 / | ||
</ | </ | ||