OpenWRT - flash your GL.Inet with Lede (OpenWRT)

From Linux - Help
Revision as of 16:16, 7 February 2018 by Oswin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Openwrt-logo.png
LEDE Logo.svg.png

Flash your GL.Inet with Lede (OpenWRT)

Goal: get your splendid new USB150 micro router and try to install OpenWRT. You should first read complety the document before trying on your system.

What is USB150 microrouter?

GL.Inet is a chinese company that's designing routers (ethernet, wifi, and mobile) hardware that ships with a custom OpenWRT program installed. Of course we want install or own OpenWRT so later can we make it a little vpn stick to connect to our home network. The shupped OS is really nice and you defintely should give a try.

Find here and example of the web GUI of GL.Inet:

framless

Find here some information about USB150:

Technical:

 https://wikidevi.com/wiki/GL.iNet_GL-USB150
 http://www.gl-inet.com/firmware/ 
 https://downloads.lede-project.org/snapshots/targets/ar71xx/generic/
 https://www.router-reset.com/reset-manuals/GLiNet/GL-USB150

Vendor website:

 https://www.gl-inet.com/usb150/

Installing OpenWRT

The installing process is starighforward. You just need to download the firmware from the website lede, you need for this device choose AR71xxx, snapshot. Follow this link to dl from the Lede website.

You need to connect in your USB stick, open a browser and type: http://192.168.8.1 and upload the new downloaded firmaware file.

After the reboot of the device, you can connect again with ssh:

 $ ssh root@192.168.1.1

Congrats you have now a splendid new OS installed on your stick.

Configuring the wireless to connect to the Internet

After the installation is finshed and that you can connect to your new OpenWRT image, you can begin to connect the device on to the internet. To do so, type in a terminal:

 $ ssh root@192.168.1.1
 $ passwd root # important step, first login is with no password and you really want to create one. 

You need oto edit two files /etc/config/wireless and /etc/config/network:

 $ vim /etc/config/wireless
 $ vim /etc/config/network

After you change the files, you can reload the network service with command:

 $ /etc/init.d/network restart
 $ wifi down; wifi up

Everything is done, you can check your IP on WLAN device with command:

 $ ip a s

And start to update your OpenWRT image with command:

 $ opkg update

That's it your have now a complete functional OpenWRT image installed and configured.

Installing a web GUI (who's need that anyway)

After you are connected to the internet, you can install a web GUI, this is really nice to begin with OpenWRT:

 $ opkg install luci-ssl # enable https in Luci 

When the installation is done you can connect via your webrowser with: http://192.168.1.1