LibreRouterOs 1.3 “The shed”
We are happy to bring you the work of the last 6 months, with many improvements!
Thanks to everyone who collaborated with testing, documentation, development and ideas! A special recognition of the great work of @gferrero in the Lime-App, thank you Germán!
One of the most important improvements is the possibility of software updates
in a simplified way through the Lime-App
We recommend updating as soon as possible, there are many improvements and corrections!
New features and improvements
Changes and improvements in LibreMesh
- Shared password for the administration of the community nodes
- Utilities to use Qemu as a development platform emulating a network with several nodes
- Support for OpenWrt versions 18.06 and 19.07
- Utility
check-internet
- Support for ethernet in batman, which makes it possible to connect nodes by ethernet without problems.
- Improvements in DNS:
- The node name returns the primary IP and not that of anycast
- New configuration possibilities and assets files:
-
copy_asset
to copy files -
run_asset
: to run scripts -
generic_uci_config
: to be able to configure any UCI file from libremesh
-
- New functionalities of
safe-upgrade
:- Automatic reboot when the upgrade is finished. Use --no-reboot to disable this functionality.
- Validate that the firmware is for the current device
- Allows you to backup files from the current partition to the new one.
- Firmware update remotely (for example through the Lime-App)
And many other small improvements and bug fixes!
Lime-App
- New screen to update the firmware.
- Allows you to choose a firmware image from the device.
- Creation of the shared node administration password when creating a new network.
- More intuitive menu item names.
- Fix of bugs in the functionality of “Locate”, now “Map”.
General changes
- OpenWrt updated to 18.06.8
- Generation of automated firmwares in continuous integration of Gitlab
- In addition to generating firmwares for the LibreRouter, they are also generated for WDR3500, WDR3600, WDR4300, x86_64 (qemu)
- Automatic and dynamic wireless link distance configuration (using ATH_DYNACK). Configured by default.
- Many improvements in the release process, firmware names, versions, etc.
- Increase of the minimum multicast bitrate value for 5GHz. This improves the choice of skips for routing protocols (batman advanced and babel).
How to update
Any questions about the installation please ask here!
Simplified procedure for configured LibreRouter equipment
From this version, 1.3, the update process can be done from the Lime-App! But first we have to get to 1.3 so the procedure is more manual (for the last time!)
- Download the updater from https://repo.librerouter.org/lros/releases/1.3/targets/ar71xx/generic/upgrade.sh
- Copy the upgrader to the node:
scp upgrade.sh root@thisnode.info:/tmp/
- Run the updater:
ssh root@thisnode.info sh /tmp/upgrade.sh
- Wait about 2 minutes for it to update and the computer will restart
- Confirm the update within 10 minutes. It can be done through the Lime-App (a message appears on the screen above for that), or else entering by ssh and executing
safe-upgrade confirm
.
If the LibreRouter has internet, you can replace steps 1 and 2 with the following:
ssh root@thisnode.info" wget http://repo.librerouter.org/lros/releases/1.3/targets/ar71xx/generic/upgrade.sh -O /tmp/upgrade.sh"
Procedure for a LibreRouter not yet configured
Run on node:
- Download:
wget -O /tmp/firmware.bin http://repo.librerouter.org/lros/releases/1.3/targets/ar71xx/generic/librerouteros-1.3-r8118+1-8fa342b289-ar71xx-generic-librerouter-v1-squashfs-sysupgrade.bin
- Update:
safe-upgrade upgrade -n firmware.bin
- Reboot:
reboot
- Confirm the update by entering with the Lime-App or by ssh executing
safe-upgrade confirm
For other equipment (TP-Link 3500, 4600, 4200)
- Download the required version from https://repo.librerouter.org/lros/releases/1.3/targets/ar71xx/generic/
- To simplify the next steps it is advisable to rename the downloaded file to
firmware.bin
- Copy firmware to node:
scp firmware.bin root@thisnode.info: /tmp/
- If you want to keep the configuration:
- Make a backup of the configuration:
tar cvfz /tmp/archive.tar.gz /etc/config/lime-node /etc/config/lime-community /etc/config/libremap /etc/dropbear/ /root/.ssh/known_hosts /etc/shadow
- Update
sysupgrade -f /tmp/archive.tar.gz /tmp/firmware.bin
- Make a backup of the configuration:
- If it is not required to maintain the configuration:
- Update
sysupgrade -n /tmp/firmware.bin
- Update
- If you want to keep the configuration: