This howto describes installing entware for the Tomato open-source router firmware.
- USB stick - 1G or more in size
- USB-capable router running TomatoUSB.
| uci set network.wifi_open=interface | |
| uci set network.wifi_open.type=bridge | |
| uci set network.wifi_open.proto=static | |
| uci set network.wifi_open.ipaddr=10.0.0.1 | |
| uci set network.wifi_open.netmask=255.255.255.0 | |
| uci add wireless wifi-iface | |
| uci set wireless.@wifi-iface[-1].device=radio0 | |
| uci set wireless.@wifi-iface[-1].mode=ap | |
| uci set wireless.@wifi-iface[-1].ssid=medlanky.xvx.cz |
This howto describes installing entware for the Tomato open-source router firmware.
| # Backup | |
| docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
| # Restore | |
| cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE | |
| version: "3" | |
| services: | |
| postgres-db: | |
| image: postgres | |
| restart: always | |
| ports: | |
| - 5432:5432 | |
| environment: | |
| POSTGRES_PASSWORD: postgres |
| #!/bin/sh | |
| # Example of job definition (as add job using crontab -e): | |
| # .---------------- minute (0 - 59) | |
| # | .------------- hour (0 - 23) | |
| # | | .---------- day of month (1 - 31) | |
| # | | | .------- month (1 - 12) OR jan,feb,mar,apr ... | |
| # | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat | |
| # | | | | | | |
| # * * * * * user-name command to be executed | |
| # 30 02 15,28 * * /root/opkg_updater.sh |
Go to OpenWRT release page, select the latest release stable release, then targets -> x86 -> 64. Right-click generic-ext4-combined.img.gz (not the "efi"!) and copy the link.
On the Proxmox host, download the archive and unpack it:
wget *paste link here*
gunzip openwrt-*.img.gz
| #!/bin/sh | |
| # | |
| # FOR USE IN OPENWRT | |
| # This script creates a guest network fully isolated from the main one. | |
| # Tested on a Xiaomi AX3000T router; should work on any OpenWRT-powered router. | |
| # | |
| # - Ensure the Wi-Fi interfaces retain their default names (radio0 and radio1). | |
| # - For enable download/upload limits, you MUST install the sqm-scripts package on your OpenWRT router. | |
| # - For enable roaming (aka wifi mesh): |