arm/mipsel/x86 packages¶
http://pkg.entware.net/binaries/mipsel/
tar zxvf *.ipk / *.tar.gz
- Pure: http://openwrt-dist.sourceforge.net/
- for CN: https://github.com/immortalwrt/immortalwrt
- Lean/LEDE/iStoreOS: https://firmware.koolshare.cn/LEDE_X64_fw867/
- eSir: https://drive.google.com/drive/folders/1uRXg_krKHPrQneI3F2GNcSVRoCgkqESr
- Lenyu: https://drive.google.com/drive/folders/1mckwgy0zpjSpeLR4K3-wjVDAb9gLwRh_
- Docker/Custom 200+ devices: https://github.com/kiddin9/OpenWrt_x86-r2s-r4s-r5s-N1 | https://supes.top/
- Raspberry Pi & NanoPi R2S/R4S & G-Dock & x86 OpenWrt: https://github.com/SuLingGG/OpenWrt-Rpi
Breed¶
breed -> openwrt initramfs -> /cgi-bin/luci/admin/system/flashops/sysupgrade
Mi¶
- AX3200 (RB01, international) = Redmi AX6S (RB03, Chinese)
- AX6 : https://github.com/InfinityTL/OpenWrt-Redmi-AX6
- AX3000: https://github.com/shell-script/unlock-redmi-ax3000
- RM2100: http://openwrt.ink:88/archives/s-breed
Model | SoC | CPU MHz | Flash MB | RAM MB |
---|---|---|---|---|
AX3200 / AX6S | MediaTek MT7622B | 1350 | 128NAND | 256 |
RM AX6 | Qualcomm IPQ8071A | 4C A53 1.4GHz | 128 MiB | 512 |
RM AX3000 | Qualcomm IPQ5000 | 2C A53 1.,0GHz | 128 MiB | 256 |
UBNT¶
UNMS¶
curl -fsSL https://unms.com/v1/install > /tmp/unms_inst.sh && sudo bash /tmp/unms_inst.sh
ER-X¶
system type : MT7621
processor : 3
cpu model : MIPS 1004Kc V2.15
BogoMIPS : 583.68
wait instruction : yes
microsecond timers : yes
tlb_entries : 32
extra interrupt vector : yes
hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0f fb, 0x0ffb]
isa : mips1 mips2 mips32r1 mips32r2
ASEs implemented : mips16 dsp mt
Reset¶
Reset button for about 10 seconds until the eth4 LED flashing/solid. default: static | https://192.168.1.1 (eth0)
Console¶
Pinout: https://openwrt.org/_media/media/ubiquiti/edgerouter-x-sfp2.jpg
My TTL cables: green/red/yellow/grey | Putty: 57600 8-N-1
https://help.ubnt.com/hc/en-us/articles/360018189493-EdgeRouter-Manual-TFTP-Recovery#3
https://dl.ui.com/firmwares/edgemax/v2.0.x/ER-e50.recovery.v2.0.6.5208541.190708.0508.16de5fdde.img (>100M)
The baud rate for ER-X / ER-X-SFP / ER-10X and EP-R6 console connections is 57600 instead of 115200.
Hold down the 1 (number one) key as the router starts up
1: System Load Linux to SDRAM via TFTP.
Please Input new ones /or Ctrl-C to discard
Input device IP (172.16.3.212) ==:192.168.1.20
Input server IP (172.16.3.210) ==:192.168.1.10
Input Linux Kernel filename (vme50) ==:ER-e50.recovery.v2.0.6.5208541.190708.0508.16de5fdde.img
bootloader¶
https://help.ubnt.com/hc/en-us/articles/360009932554-EdgeRouter-How-to-Update-the-Bootloader
show system boot-image
add system boot-image
Firmware¶
https://www.ui.com/download/edgemax/edgerouter-x
show version
add system image http://dl.ubnt.com/...
add system image egdeos-120821.tar
show system image
reboot
show system image storage
set system image default-boot
delete system image
set interfaces ethernet eth1 address 192.168.3.2/24
commit
OpenWRT¶
https://openwrt.org/toh/ubiquiti/ubiquiti_edgerouter_x_er-x_ka
custom scripts¶
chmod +x /config/scripts/post-config.d/yourscript.sh
#!/bin/bash
Web Setup Wizards¶
Switch¶
switch switch0 {
address dhcp
switch-port {
interface eth0 {
}
interface eth1 {
}
interface eth2 {
}
interface eth3 {
}
interface eth4 {
}
}
}
CLI¶
ubnt@ubnt:~$ configure
[edit]
ubnt@ubnt# show
add bridge¶
# WebUI: remove eth3 from switch0
set interfaces bridge br2 address dhcp
set interfaces ethernet eth3 bridge-group bridge br2
commit; save
# WebUI Dashboard: manage bridge/add ports
enable apt¶
https://help.ubnt.com/hc/en-us/articles/205202560-EdgeRouter-Add-other-Debian-packages-to-EdgeOS
configure
set system package repository wheezy components 'main contrib non-free'
set system package repository wheezy distribution wheezy
set system package repository wheezy url http://http.us.debian.org/debian
commit
save
exit
sudo apt-get update
apt-cache search supervisor
List dhcp/static clients¶
set service dhcp-server hostfile-update enable
cat /etc/hosts
RIP¶
ubnt@ubnt# show protocols rip
interface switch0
interface eth0
neighbor 192.168.3.1
redistribute {
connected {
}
}
Unifi-AC-Lite/LR¶
https://community.ubnt.com/t5/UniFi-Updates-Blog/bg-p/Blog_UniFi
system type : Qualcomm Atheros QCA956X rev 0
processor : 0
cpu model : MIPS 74Kc V5.0
BogoMIPS : 385.84
wait instruction : yes
microsecond timers : yes
tlb_entries : 32
extra interrupt vector : yes
hardware watchpoint : yes, count: 4, ...
ASEs implemented : mips16 dsp
BZ.v3.7.5# free -m
total used free shared buffers
Mem:(Lite) 126316 62272 64044 0 0
-/+ buffers: 62272 64044
Mem:(LR) 126272 66764 59508 0 0
-/+ buffers: 66764 59508
Swap: 0 0 0
BZ.v3.7.5# info
BZ.v3.7.5# set-inform http://unifi:8080/inform
Controller Web¶
Settings - search "AUTHENTICATION" for SSH/SMTP
Every minor change on controller causes SSID reset!