Build Status

Developement takes place at

Install OpenWRT on Linksys WRT1200AC

Join wireless network

First, we need to reset de router, he will then create a network with an SSID which can be found at the bottom of the router. So we need to connect to the routeur with the IDs found at his bottom. Or simply connect to in by plugging a network cable into it.

The router me have an internet connection for the next step, so we connect his wan interface to a switch or something like thind wich provide dhcp lease and internet connection.

Connect to web interface

Configure OpenWRT

Configure the SmartRouter settings

For the next step, an USB stick formated on ext4(sudo mkfs.ext4 /dev/diskName) must be plugged into the smart-router and the routeur needs to have an internet connection

Format the usb for the OpenWRT config from a debian VM

alt textalt textalt textalt textalt text

USB format

In linux VM (or something else that has gparted) use gparted to create a msdos partion table then next create an ext4 partion of the full size of the USB. Once USB formated and plugged into the router, run :

opkg update 
opkg install ca-bundle ca-certificates curl
sh -c "$(curl -fsSL"

Once done, reboot the router

You can check the correct previous configuration by doing : alt text

Smart-router setup script

sh -c "$(curl -fsSL"

Check all output because the script does not ecit if there is an error!

If there is no errors during the script, the smart-routeur is ready !

You can now see alerts @

Wireless setup script

In case you want a default wireless setting with SSID like the router's hostname and pseudorandom password :

sh -c "$(curl -fsSL"


Use this script at your own risks

In case you want to uninstall all things installed, run :

sh -c "$(curl -fsSL"

If the script fails, run it a second time, must do the job.

Check this project on GitLab