LibreCMC Free Software Wireless-N Broadband Router for GNU / Linux

Firmware & Source Code

Link to binary of latest LEGACY image on www.librecmc.org (see www.librecmc.org for all future releases). Please be aware that this release does contain a graphical web management interface, but does not contain support for SSL to the web interface nor package management support (not that you need it on this as there was never enough flash to install anything). The core version does not have the web interface and you could add back SSL support and package management if you are technical and know what you are doing. We don't support this, but you might be able to get answers if you ask for help on the libreCMC IRC channel or mailing list.

Guide to your new router

0) Plug ethernet cable from Cable Modem / DSL Modem to the WAN port (Blue).

1) Plug computer or computers into the lan ports (yellow)

2) Plug router in and make sure that the On / Off button is toggled on

(will see green lights on the front if it is on)

3) To administer your router, go to : 192.168.10.1

The default login is root with no password

4) To connect to the default wireless network use the following settings:

wireless network name: libreCMC
password: librecmc

Setting a password for your Wireless Network

1. To change wifi password, enter 192.168.10.1 into a web browser of a computer attached to the network

2. Then go to : Network -> Wifi

3. Click the "edit" button on the right side of "libreCMC"

4. Click "Wireless Security"

5. Enter new password in the "Key" text box.

6. Then click "Save & Apply" at the bottom of the page.

Browse the web and enjoy! If all of your machines use "DHCP" for thier network, everything should just work. Please refer to your modem 's user guide or the libreCMC wiki for help.

Use an Alternative Public DNS

By default LibreCMC uses the DNS servers supplied by the connected ISP. With LibreCMC its easy to change the DNS service that you use to an alternative option. To do this follow the directions here:

1. Select 'Network' -> 'DHCP and DNS'
2. Locate 'DNS forwardings'
3. Enter 'x.x.x.x' (Two examples include Google DNS servers: 8.8.8.8 and 8.8.4.4 OpenDNS servers: 208.67.220.220 and 208.67.222.222)
4. Press '+' button to enable a second entry
5. Enter 'x.x.x.x'
6. Select 'Save & Apply'

Upgrading libreCMC to a newer version

0) Go to 192.168.1.1 or 192.168.10.1 (if on newer version)

1) Log in to the web panel as root with the password set

2) Go to: System -> Backup / Flash Firmware.

3) For TPE-NWIFIROUTER2 Under :"Flash New Firmware", click the "Browse" button and select

bin/ar71xx/librecmc-ar71xx-luci-tl-wr841n-v8-squashfs-factory.bin

Or to upgrade the TPE-NWIFIROUTER2 to 1.4.1 download this image (newer versions of LibreCMC may be available; but this was the latest version as of this documentation update, check librecmc.org or contact support for more info):

https://librecmc.org/librecmc/downloads/snapshots/v1.4.1-legacy/ar71xx/g...

Make SURE TO UNCHECK "Keep Settings", then click "Flash Image"

Wait 1 - 2 min

After flashing firmware:

0) Go to 192.168.10.1

1) Log in to the web panel as root with the password set

2) Under : "Backup / Restore", click the "Browse" button next to "Restore
Backup"

3) Select the librecmc-default.tar.gz file

4) Click upload archive

To upgrade without a user interface (ie like from a legacy image, though this will work either way):

1) Download the correct image[2]

https://librecmc.org/librecmc/downloads/snapshots/v1.x.x-legacy/ar71xx/g...

2) Verify the image against [1]:

sha256usm $IMG_FILE

https://librecmc.org/librecmc/downloads/snapshots/v1.x.x-legacy/ar71xx/g...

3) If the sha256sum matches:

scp $IMG_FILE root@192.168.10.1:/tmp/

4) ssh root@192.168.10.1

5) cd /tmp

6) sha256sum $IMG_FILE

7) sysupgrade -c $IMG_FILE

Resetting a libreCMC Router to Default Configuration Method A (easy way as long as you have access to the web user interface)

1) Access the web user interface

Depending on the release the default IP is https://192.168.1.1/ https://192.168.10.1/ https://192.168.3.1/

2) Login

3) Go to System > Backup / Flash Firmware

4) Under Reset to defaults: click Perform Reset button

5) From the router web interface, go to System > Backup / Flash Firmware

6) Insert the libreCMC source code CD that was included with the router

7) You will see text 1/3rd of the way down the page that says “Restore backup” and “Browse” next to it.

    7a) Hit the “browse” button

    7b) Select the backup-libreCMC-2015-01-01.tar.gz file from the libreCMC source code CD

    7c) Hit “open” button

8) Click the “Upload Archive” button. The router should restart when the settings have finished uploading (you will see a “changes applied” text, power off the router and back on after you see this)

Resetting a libreCMC Router Method B (if you can't get to the router's web user interface use this method to 'unbrick' router)

1) Power off router

2) Power on router and wait for sys light on the front to start blinking (about 10 seconds); once you see the sys light blinking, immediately hold down the front WPS/Reset button for a few seconds until the sys light starts blinking faster.

3) Connect an ethernet cable from your computer to the router. On the router end, the ethernet cable needs to be connected to one of the yellow lan ports.

4) The router is now in failsafe mode.

    4a) To telnet in, you will need to set the IP for the ethernet connection (wired connection) to manual and enter an IP address such as 192.168.1.189, Netmask 255.255.255.0, and Gateway 0.0.0.0 (go to your distribution's network manager, which is the wifi signal icon for wireless, but will look different for a wired connection)

    4b) Don't forget to save the changes

5) You will also need a telnet client installed on the computer that the ethernet cable is connected to.

6) Open a terminal (ctrl+alt+t on most distributions or it can be found in the start menu) on the computer and type “telnet 192.168.1.1”

    6a) Hit the enter key.

7) Once connected to the router via telnet type “firstboot”

    7a) Hit enter

    7b) Depending on the version you may or may not be prompted if you really want to reset all the settings. Press y to confirm if prompted.

8) The router will then reset and bring you back to a prompt (if not prompted, type “ctrl+c” after one minute).

    8a) Power off router

9) In the network manager on your computer, set the ethernet interface (wired connection) to use dhcp (dynamic host control protocol). Then power on the router.

10) Open a web browser on your computer

11) Type “192.168.1.1 into the address/URL bar

12) From the router web interface, go to System > Backup / Flash Firmware

13) Insert the libreCMC source code CD that was included with the router

14) You will see text 1/3rd of the way down the page that says “Restore backup” and “Browse” next to it.

    14a) Hit the “browse” button

    14b) Select the backup-libreCMC-2015-01-01.tar.gz file from the libreCMC source code CD you inserted in step 12.

    14c) Hit “open” button

15) Click the “Upload Archive” button. The router should restart when the settings have finished uploading (you will see a “changes applied” text, power off the router and back on after you see this)

16) Unplug the ethernet cable and plug it back in to get a new ip address. The web user interface can now be accessed via 192.168.10.1.

17) Follow the original setup instructions to configure your router.

Using the Serial Cable

Detailed documentation is included in the u-boot_reflash file on the root of the source code CD. For more introductory information we've created a handy pictorial introduction guide.