Flashing Devices<WORK IN PROGRESS>

As example, we are going to flash a Tp-Link tl-wdr3600

DISABLE Network-Manager

If you are using Network-Manager and want avoid problems that may brick our device disable it, so:

1.- Look for the Ethernet interface (usually eth0) mac address

ip link show

Let's hypothesize it is 00:16:aa:cd:bc:dd

2.- We are going to edit Network-Manager configuration using vim or your preferred text editor

vim /etc/NetworkManager/NetworkManager.conf

3.- Go to the main section of the file and add introduce

no-auto-default=00:16:aa:cd:bc:dd

4.- Then save and exit from the editor

5.- To finish, we restart Network-Manager

service network-manager restart

done! but now we have to configure the Ethernet interface manually.

SWITCH ON THE ETHERNET INTERFACE

ip link set up dev eth0

Note: if you desire to switch it off for any reason:

ip link set down dev eth0

FIND YOUR ROUTER IP

It is usually reported on the box, in our case it is 192.168.0.1, if you mis this information you can try to figure it out sniffing on the interface with the help of wireshark .

CONFIGURE YOUR ETHERNET INTERFACE

To calculate a proper IP address for your interface you can use ipcalc, in our case

ipcalc 192.168.0.1/24

Note: 192.168.0.1/24 is the IP of our router

Choose an IP between HostMin and HostMax, we choosen 192.168.0.2/24

sudo ip address add 192.168.0.2/24 dev eth0

ENTER ADMINISTRATIVE INTERFACE OF YOUR ROUTER

Open the page http://your_touter_ip with your browser in our case the url is http://192.168.0.1

FLASHING LIBRE-MESH

<WORK IN PROGRESS>

It may be useful as reference https://wiki.eigenlab.org/index.php/Flashing