Skip to content

Router install

Ycarus (Yannick Chabanois) edited this page May 25, 2020 · 49 revisions

Install from precompiled images

You can download precompiled images from https://www.openmptcprouter.com/

For Raspberry PI 2/3/4

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

For Linksys WRT3200ACM

The build is experimental. Need more testing...

WAN port is used as LAN port and LANs ports as WANs ports.

To flash the image go to ConnectivityManual Update and select factory image [*.img]. Once flash completes, router will reboot.

More info on OpenWrt WRT3200ACM support here

The Linksys WRT3200ACM is then available at ip 192.168.100.1

For Banana PI BPI-R2

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

For Virtualbox

Set one interface as Server Intel PRO/1000 MT (82545EM) set to bridge with promiscous mode enabled.

For ESXI

You can find a way to use the VMware image here: https://github.com/Ysurac/openmptcprouter/issues/87

For x86 and x86_64

Image can also be copied to an HD.

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

Update

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 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.