WDS wireless network expansion using OpenWrt on WHR-G300N V2
Click OpenWrt
The hardware of Buffalo WHR-G300N V2 is the same as that of the WHR-G301, so you can use the firmware for it directly. If you haven't flushed OpenWrt in Buffalo WHR-G300N V2 or updated to 15.05, you can follow the procedure below:
- Go to OpenWrt official website to download WHR-G301 firmware: update from official firmware or from OpenWrt
- Make sure you connect to the vro in wired mode, or because OpenWrt does not enable the wireless network by default ......
- Go to the official firmware
Admin
Or OpenWrt firmwareReflash
Update.
- After the red DIAG light on WHR-G300N V2 is off, you can go through
192.168.1.1
Access the Web Management Interface
- Repeat this step to update both WHR-G300N V2 to OpenWrt 15.05
WDS wireless network expansion
WDS is a non-standard IEEE 802.11 wireless network extension that allows two routers to connect wirelessly to form an Intranet environment, the host connected to vroa A can transparently access the host connected to vrob B.
Because of the non-standard solution, the implementation mechanisms of various manufacturers are different, so in the official firmware, only the same brand or even the same model of the product can be formed to form a WDS network, and there are still a number of restrictions, for example, the official firmware of WHR-G300N V2 only allows two identical models. Thanks to OpenWrt, as long as the chips used are the same, different brands can also form a WDS network, which breaks the unnecessary quantity limit.
Select one of the routers that fl OpenWrt as the primary access point. The WAN Interface of this access point needs to connect to ADSL/Fiber cat or a higher-level network. Other routers are called secondary access points. These routers expand the coverage of primary access points according to WDS.
Master Access Point configuration
- Connect the host and the Master Access Point in wired mode.
192.168.1.1
On the Web management pageInterface
To complete WAN-related configuration, PPPoE or DHCP (Client) or something.
- Make sure that you can access the Internet or the upper-level network through this router.
- Go
Wifi
Set and enable the wireless network. Note:Access Type
SelectAccess Point(WDS)
And then specify the SSID, encryption method, and access key.
- Disconnect the connection between the host and the primary access point to make sure that you can access the Internet through the wireless node of this router.
Master Access Point configured
Secondary Access Point configuration
- Connect the host and the secondary access point in wired mode.
192.168.1.1
On the Web management pageInterface
The DHCP Service is Disabled in the LAN, because it is clear that only the DHCP service at the primary access point can be changed to a static address. This address must be in the same subnet as the primary access point, but is out of the allocation range of its DHCP address pool. In OpenWrt, this address is generally within 100. For example:192.168.1.2
.
- Unplugging the connection between the host and the secondary access point and connecting the two LANS of the primary access point and the secondary access point. The host should be able to open the Web configuration interface of the secondary access point through the newly specified IP address.
- Go
Wifi
Set and enable the wireless network. Note:Access Type
SelectClient(WDS)
And then specify the SSID, encryption method, and access key of the Master Access Point. Important
- Wait a moment. It takes about 1 minute to establish a WDS connection. Then, disable the wireless network of the host temporarily and use the wired method to connect to the secondary access point again. At this time, you should be able to access the Internet normally.
- If there is no problem in the previous step, go
Wifi
Page, click on the wireless network device pageAdd
Button to add a virtual Access Node (VAP), which will be used for wireless connection times.
- Click the newly created VAP to start configuration. You can find that the network system and channel cannot be adjusted. After all, you can share an antenna. The following
Access Type
SelectAccess Point
, Similar to the specified SSID and encryption method. The SSID here is not particularly required to be the same as the primary SSID and can be different. In my personal experience, different SSID makes it easy to manually select the node with the best current signal, because some devices (PS Vita) are too stupid to select WiFi signals ......
- Disconnect the wired connection between the host and the secondary access point and re-enable the wireless network. At this time, the nodes at the secondary access point can access the Internet normally.
Access Point configuration completed
If you have more routers, you can add them to the WDS network by referring to the preceding method.
References
OpenWrt Wiki: Atheros and MAC80211 WDS to implement a wireless network bridge (wireless repeater)
OpenWrt Wiki: Buffalo WHR-G300N V2
DD-WRT Wiki: WDS Linked router network
OpenWRT Environment Construction
MT7620a OpenWrt barrier_breaker after compilation, the wan port dhcp cannot obtain the address
This article permanently updates the link address: