Luci (openwrt) wifi bridge client - how to configure? [closed]

╄→гoц情女王★ 提交于 2019-12-03 05:44:21

问题


i need to configure a wireless bridge (something like a wireless switch).

I have TP-LINK TL-WR740N v4.22 with OPENWRT installed and other TP-LINK router with default firmware. I need to do this setup:

Router A (connected to the Internet via WAN port) have IP: 192.168.12.1 and is running DHCP Server

Router B (OPENWRT) is connecting to ROUTER A via WiFi - how to configure interfaces here ?

PC A - Connected by wire to Router B - should obtain IP from Router's A DHCP server.

How to configure it?


回答1:


To achieve this, you need to first set your LAN interface to static on Router B. Then in the physical settings for LAN, bridge it between eth1 and your master WIFI.

Then head to Network-> Wifi-> Scan and Join Router A as a client and assign network to wwan.

Finally create an AP and link it to the lan interface. (Network-> Wifi-> Add)

Reference




回答2:


a quote from OpenWRT Wiki:

"In the default configuration, OpenWrt bridges the wireless network to the LAN of the device. Most wireless drivers do not support bridging in client mode (see Bridged Client Mode Issues), therfore the traffic between LAN and the wireless client must be routed. The relayd package helps to implement a bridge-like behaviour with DHCP and Broadcast relaying comparable to the proprietary Broadcom WET mode."

I was able to implement the required topology using the "relayd" package following the instructions described in this link: https://wiki.openwrt.org/doc/recipes/relayclient



来源:https://stackoverflow.com/questions/29555697/luci-openwrt-wifi-bridge-client-how-to-configure

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!