Start#
Applicable to the entire CatWrt series and LEDE, not applicable to OpenWrt mainline LuCI 18.06+, I think this method is relatively standard.
This tutorial is a relatively standard network guide blog, which also includes wireless router series Wireless. Users can skip this part if they wish.
Cattools supports quick network guidance within the CatWrt terminal. If you are interested, please refer to 👇
Flashing Mode UBOOT/Breed (wireless)#
Hardware router steps only
The Redmi AX6000 router can enter UBOOT by plugging in and holding for 15 seconds at http://192.168.31.1.
The TP-Link XDR 4288/6086/6088 routers can enter UBOOT by plugging in and holding for 5 seconds at http://192.168.1.1.
The Xiaomi/Redmi AC2100/Newifi-d2 can enter Breed by plugging in and holding until it flashes quickly at http://192.168.1.1.
Preview the file and select the image Update
, the method for setting Xiaomi mt7621 Breed corresponds to the released blog!
Change Network Segment (x86)#
Software router steps only
If the CatWrt's 192.168.1.4/24 network segment differs from your network architecture, you need to change it; generally, it is unnecessary to change.
Since it is not initialized now, we will operate in the terminal, enter nano /etc/config/network
to edit.
Find the config interface 'lan' with option ipaddr '192.168.1.4' and change the IP address in ''—remember not to delete punctuation!
After editing, [ctrl]+[O] will show File Name to Write: /etc/config/network, just press Enter to save, then [ctrl]+[X] to exit the nano editor.
Enter reboot
to restart and make the configuration changes effective.
Initialization#
In the following operations, the default quick link is set to 192.168.1.4. If you have modified the network segment, please enter manually.
Change Password#
The default system password is password
. If your gateway needs to connect to the internet and you have public network conditions (IPv4/v6), it can easily expose you to the public network, leading to backdoor implantation and becoming part of a botnet. Therefore, we need to change our password.
Log in to the backend System - Management Rights, find the host password, enter your password, confirm the password, and save.
Lan - DHCP#
Here, taking a four-port industrial computer as an example, by default, there are only eth0 (lan) and eth1 (wan, wan6). You can directly see the following configuration.
If it is a virtual machine or a dual-port industrial computer, you don't need to worry about it; just use the default, and you can swap ports if needed.
- General Configuration Basic Settings
Protocol Name: Static Address
IPv4 Address: 192.168.1.4
IPv4 Subnet Mask: 255.255.255.0
IPv4 Gateway: 192.168.1.4
IPv4 Broadcast: 192.168.1.0
Use Custom DNS Servers: 223.6.6.6
119.29.29.99
IPv6 Allocation Length: 60
- DHCP Server Basic Settings
Start: 20
Number of Clients: 150
Lease Time: 12h
- DHCP Server Advanced Settings
Force (If you bypass the gateway, please turn it off; if you are using a router in AP mode, it is recommended to turn it on)
- DHCP Server IPv6 Settings
Router Advertisement Service: Server Mode
DHCPv6 Service: Server Mode
DHCPv6 Mode: Stateless + Stateful
Advertised DNS Server: 240C::6666
Save
without applying, continue to the next step.
Multiple Ports (x86)#
Software router steps only; if you have more than two ports, you need to manually bind them!
- LAN General Configuration Physical Settings Interface:
Bridge Interface
Ethernet Adapter: "eth0" Ethernet Adapter: "eth0" (wan, wan6)
Ethernet Adapter: "eth1" Ethernet Adapter: "eth1" (lan)
Ethernet Adapter: "eth2" Ethernet Adapter: "eth2" (lan)
Ethernet Adapter: "eth3" Ethernet Adapter: "eth3" (lan)
Ethernet Adapter: "eth0" Ethernet Adapter: "eth0" (wan, wan6)
……
Save
without applying, continue to the next step.
PPPoE#
By default, it uses DHCP to connect to the internet. If you need to dial up to connect to the internet, click on Protocol Name to find PPPoE, confirm the switch protocol, and enter your broadband account password. You can contact your ISP customer service or ISP installer for details.
Save
without applying, continue to the next step.
TurboACC#
Software Traffic Offload (x86: Do not enable sfe unless necessary)
DNS Cache (mt7621 - wireless: Do not enable due to small memory)
DNS Resolution Method: Use PDNSD for resolution
Upstream DNS Servers: 223.5.5.5,223.6.6.6,119.29.29.99,119.28.28.28
Save
without applying, continue to the next step.
UPNP#
It is recommended to enable UPNP to improve P2P efficiency, but using UPNP may cause streaming media software and domestic downloaders (Thunder, Baidu Cloud) to use your broadband for commercial purposes.
- Services-UPNP MiniUPnP Settings General Settings
Enable UPnP and NAT-PMP Services
Enable UPnP Functionality
Save
without applying, continue to the next step.
WLAN (Wi-Fi)#
Hardware router steps only
Since the wireless series is divided into mt7621 and mt798x, please choose accordingly.
x86 and arm users please directly Save and Apply
.
- Network - Wireless
ra0/radio0 is your 2.4G wireless Modify; rai0/radio1 is your 5G wireless Modify.
- Interface Configuration - Basic Configuration
ESSID/SSID is your wireless name, enter it yourself.
- Interface Configuration - Wireless Security
Encryption WPAPSKWPA2PSK/WPA-PSK/WPA2-PSK Mixed Mode
Password is your wireless password, enter it yourself.
Save and Apply
, then wait for about ten seconds without worrying about the spinning circle. You can directly unplug and replug to restart the system to complete the initialization. After this, your network will run smoothly as the main router.
Make sure to restart the router after completion!
This article is synchronized and updated to xLog by Mix Space. The original link is https://www.miaoer.net/posts/network/quickstart-catwrt