-
-
Notifications
You must be signed in to change notification settings - Fork 269
Router install
You can download precompiled images from https://www.openmptcprouter.com/
sysupgrade images are for upgrade, for a first installation use factory image.
You don't need ethernet adapters, only a switch is enough. Modems doesn't need to be directly connected to RPI ethernet port.
Download the image, then copy it to a sdcard.
You can use etcher graphical interface available for Windows, Linux and MacOS.
You can also use this commands under Linux:
gunzip openmptcprouter-*.img.gz
dd bs=4M if=openmptcprouter-*.img of=/dev/sdX conv=fsync
The Raspberry PI is then available at ip 192.168.100.1
The build is experimental. Need more testing...
WAN/Internet port is used as LAN port and LANs ports as WANs ports.
To flash the image go to Connectivity → Manual Update and select factory image [*.img]. Once flash completes, router will reboot.
More info on OpenWrt WRT3200ACM/WRT32X support here
The Linksys WRT3200ACM/WRT32X is then available at ip 192.168.100.1
The build is experimental. Current status: https://github.com/Ysurac/openmptcprouter/issues/180
WAN port is used as LAN port and LANs ports as WANs ports. EMMC image is not tested.
Download the image, then copy it to a sdcard.
You can use etcher graphical interface available for Windows, Linux and MacOS.
You can also use this commands under Linux:
gunzip openmptcprouter-*.img.gz
dd bs=4M if=openmptcprouter-*.img of=/dev/sdX conv=fsync
The Banana PI BPI-R2 is then available at ip 192.168.100.1
You don't need ethernet adapters, only a switch is enough. Modems doesn't need to be directly connected to NanoPI WAN port.
Download the image, then copy it to a sdcard.
You can use etcher graphical interface available for Windows, Linux and MacOS.
You can also use this commands under Linux:
gunzip openmptcprouter-*.img.gz
dd bs=4M if=openmptcprouter-*.img of=/dev/sdX conv=fsync
The NanoPI is then available at ip 192.168.100.1
Download the image, then copy it to a sdcard.
You can use etcher graphical interface available for Windows, Linux and MacOS.
You can also use this commands under Linux:
gunzip openmptcprouter-*.img.gz
dd bs=4M if=openmptcprouter-*.img of=/dev/sdX conv=fsync
The Espressobin is then available at ip 192.168.100.1
Set one interface as Server Intel PRO/1000 MT (82545EM) set to bridge with promiscous mode enabled.
You can find a way to use the VMware image here: https://github.com/Ysurac/openmptcprouter/issues/87
You can use this tutorial, by replacing OpenWrt image by OpenMPTCProuter image: https://www.jwtechtips.top/how-to-install-openwrt-in-proxmox/
Image can also be copied to a HD or an USB key.
You can use etcher graphical interface available for Windows, Linux and MacOS.
You can also use this commands under Linux:
gunzip openmptcprouter-*.img.gz
dd bs=4M if=openmptcprouter-*.img of=/dev/sdX conv=fsync
Download a minimal install image: https://github.com/stman/OpenWRT-19.07.2-factory-tar-file-for-Ubiquiti-EdgeRouter-x/blob/master/openwrt-ramips-mt7621-ubnt-erx-initramfs-factory.tar
# scp /path/to/openwrt-ramips-mt7621-ubnt-erx-initramfs-factory.tar ubnt@192.168.1.1:/tmp/
# ssh ubnt@192.168.1.1
ubnt@ubnt:/$ add system image /tmp/openwrt-ramips-mt7621-ubnt-erx-initramfs-factory.tar
Checking upgrade image...Done
Preparing to upgrade...Done
Copying upgrade image.../usr/bin/ubnt-upgrade: line 509: [: too many arguments
Done
Removing old image...Done
Checking upgrade image...Done
Copying config data...Done
Finishing upgrade...Done
Upgrade completed
ubnt@ubnt:/$ show system image
The system currently has the following image(s) installed:
ramips Bleeding Edge r7911 (default boot)
v1.7.1.4821926.151103.1114 (running image)
A reboot is needed to boot default image
ubnt@ubnt:/$ reboot
SSH is available on eth2 after reboot (or eth0?). Then download OpenMPTCProuter sysupgrade image and update the router:
# scp /path/to/openmptcprouter-v0.58-ramips-mt7621-ubnt_edgerouter-x-squashfs-sysupgrade.bin root@192.168.1.1:/tmp/
# ssh root@192.168.1.1
root@OpenWrt:/$ sysupgrade -F -n /tmp/openmptcprouter-v0.58-ramips-mt7621-ubnt_edgerouter-x-squashfs-sysupgrade.bin
Boot is quite long, and OpenMPTCProuter interface will be available on eth0.
Save the configuration System->Backup/Flash Firmware->Backup->Generate archive.
Then 2 choices:
- Write the latest image on the SD card, restore the configuration System->Backup/Flash Firmware->Backup->Restore backup
- Download the image (.img) then use System->Backup/Flash Firmware->Backup->Flash new firmware image (this can fail, you really should backup your configuration).
Don't update packages via the interfaces, current packages are from OpenWRT snapshot and this can break everything.