--- title: Quick Starting Guide ref: quick_starting_guide lang: en fontawesome_icon: fa-rocket --- == Compatible Hardware It is recommended that the router has at least 8 MB of flash memory and 64 MB of RAM. For routers with 4 MB flash memory or 32 MB of RAM, use the special firmware named +-mini+ or link:../development.html[compile one yourself] excluding some heavy packages (e.g. +opkg+ or the LuCI and lime-app web interfaces). Not all the OpenWrt supported routers work with LibreMesh (at least, not with its default configuration), for a list of the tested hardware, see our link:hardware/index.html[hardware] page. == Get the Firmware === Choose a source for your firmware * For the latest stable release with default configuration (e.g. wireless AP name +LibreMesh.org+) you can use our https://downloads.libremesh.org/current/[downloads] site (recommended); * For using the latest LibreMesh code, you can compile the firmware on your GNU/Linux computer (or virtual machine) using OpenWrt buildroot as described in the link:../development.html[Development] page (advanced); For more options check the link:../getit.html[Get It] page. === Download the correct firmware image Find the download for your router by name or model. You can find more detailed router model instructions https://openwrt.org/toh/start[here]. If you are installing for the first time (a router with stock firmware), choose the link ending with `-factory.bin`. If there's no `-factory.bin` image or you are upgrading an existing install of LibreMesh or OpenWrt, choose the link ending with `-sysupgrade.bin`. == Installation Procedure === Open your router web interface Using an ethernet cable connect to a LAN port on your router. Make sure that the ethernet cable is the only active network interface on your computer (e.g. disable the wireless interface). _If the router is running stock firmware_, follow manufacturer instructions to connect to the router. Its IP should be written on the original box or under the router. Usually just opening +192.168.0.1+ or +192.168.1.1+ in a web browser lets you reach the router web interface. If you can't connect to the router because you can't find its IP, you can try the IP address of your gateway. For getting it go to the terminal and use `netstat -rn` (mac), or `ip route show default` (Linux). More details on finding your router's IP can be found http://www.howtogeek.com/233952/how-to-find-your-routers-ip-address-on-any-computer-smartphone-or-tablet/[here] and http://www.computerworld.com/article/2474776/wireless-networking/network-security-find-the-ip-address-of-your-home-router.html[here]. _If the router is running OpenWrt_ the instructions in the previous paragraph should apply. _If the router is running LibreMesh_ just opening http://thisnode.info should get you to the web interface. Then you can log in as admin (if unchanged, the username and password will be on the router's box, on OpenWrt by default it's an empty password). For more connection options see link:en_connecting_nodes.html[How to connect to nodes] page. If you suspect you can't connect to your router because of a damaged configuration, follow the link:en_troubleshooting.html[Troubleshooting] guide. === Flashing [IMPORTANT] ================== For Ubiquiti AirMax serie routers, flashing on top of AirOS versions 5.6.x will brick your device (the https://web.archive.org/web/20160805173552/bloodhound.aredn.org/products/AREDN/wiki/HowTo/Unbrick[recovery procedure] requires opening the router chassis and connecting directly to its serial port). If your router has AirOS 5.6.x, you will have to download an AirOS 5.5.x version (for XM hardware https://dl.ubnt.com/firmwares/XN-fw/v5.5.11/XM.v5.5.11.28002.150723.1344.bin[here], for XW hardware https://dl.ubnt.com/firmwares/XW-fw/v5.5.10/XW.v5.5.10-u2.28005.150723.1358.bin[here] and for TI hardware https://dl.ubnt.com/firmwares/XN-fw/v5.5.11/TI.v5.5.11.28002.150723.1518.bin[here]) and use it to downgrade your router. ================== Once you've logged in as root or admin in your router, reach the firmware upgrade page. [IMPORTANT] ================== If there's a `Keep Settings` option, take care to UNCHECK it. It is checked by default on OpenWrt. ================== Upload the firmware image file you've downloaded and click `Flash Image`. Wait a couple of minutes for the process to complete. Reconnect to the ethernet interface (for getting the new IP) and open http://thisnode.info. Congratulations, you have a working LibreMesh router! == Connect to Your LibreMesh Router Just connect to the router via its wireless AP interface or via ethernet cable on its LAN port and open http://thisnode.info in the web browser. [IMPORTANT] ============ If is the first time you connect to the router, you will have to set an admin/root password. Leaving a LibreMesh router with no admin password is a huge security risk. ============ For more connection options see link:en_connecting_nodes.html[How to connect to nodes] page. If you suspect you can't connect to your router because of a damaged configuration, follow the link:en_troubleshooting.html[Troubleshooting] guide. == Share the Internet Connection with the LibreMesh Network LibreMesh is automatically sharing with the rest of the mesh network any internet connection is connected to the router WAN port. There's no problem if more than one internet gateway is connected to the LibreMesh network, likely the one closest to the client will be used. If the LibreMesh router has no WAN port (just LAN ports, or just one ethernet port), one of the ethernet ports has to be configured as WAN port in order to share the internet connection. Refer to next section for configuration. == Configuration Refer to the link:en_config.html[LibreMesh config file] page and to https://github.com/libremesh/lime-packages/blob/master/packages/lime-docs/files/www/docs/lime-example.txt[/docs/lime-example.txt] file for detailed information.