Openwrt – not even the firmware and the linux operating system for routers. Reasons for the fact that your router was running Openwrt a lot. Because in front of you, though stripped down, but the linux system, with the ability to install packages (applications). Remember, flashing the router in openwrt robs you of warranty. All actions that you perform with your router – you do at your own risk.
In the first narrative won’t go into many details. Consider how to flash the router and configure your network through a web interface on the example of TP-Link TL-wr740n receives v.5.
Installing and configuring Openwrt
Step 1. Preparation and stitching
So, first step: go to admin panel of the router, look at the model and version:
Then go to the OpenWrt website https://openwrt.org/toh/views/start selected Table of Hardware: Standard, all devices here you can view technical information about this router and any other supported:
Go to page of our device, look device version and download the firmware that has the word factory. Firmware Sysupgrade need to update an already installed system:
Downloaded, in the web interface of our device, click select file. Choose what is downloaded, and then click Update:
The router is.. After the firmware web interface is available at http://192.168.1.1
Step 2. Initial setup
Recommend to set a password and select the interface “lan” to connect via SSH:
Step 4. Configuring PPPOE
Now configure Internet connection. If your ISP distributes Internet via DHCP, then this step we skip. By default, the WAN is configured for DHCP client. If pppoe, go further:
Go to Network -> Interfaces -> Add new interface… Specify the interface name, Protocol (PPPoE). Cover the following interface choose the one with the wan. Actually, in my case the router is switch – eth0.1 and a separate ethernet adapter is eth1. In some cases, there is no adapter, there is only switch eth0 and it is divided by wlanapi – eth0.1 is wan and eth0.2 svich.
By clicking Submit, we get further, here you need to specify a username/password for PPPoE:
Without applying the settings, go to Firewall Settings and select zone WAN. Persistent used.
If done correctly, it is going to Network -> Interfaces , we see that our pppoe connected. Check the Internet should work.
Step 5. WiFi Setting
By default, Openwrt turn off WiFi, to enable, go to Network -> Wireless -> Edit:
Here you can select the channel on which to operate our Wi-Fi network, or leave auto, then the channel will be selected, depending on the workload.
- Operation mode (mode) – select the Access Point (access point), on the other modes, we will discuss in future articles.
- ESSID – the network name Wi-Fi.
Next go to the tab Wireless Security:
- Encryption – WPA2-PSK.
- Key – desired password Wi-Fi.
Not recommended to put the password just 8 digits, the password is very vulnerable!After all the settings click Enable.
That’s all for now. In future articles we will look at configuration files, logs, SSH access, reassign one of the LAN ports on the WAN, and so on.