Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision Next revisionBoth sides next revision | ||
| zh:docs:guide-user:network:wifi:dumbap [2021/07/01 07:52] – created biaji | zh:docs:guide-user:network:wifi:dumbap [2022/04/12 01:57] – keep up to the last version biaji | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| FIXME **This page is not fully translated, yet. Please help completing the translation.**\\ //(remove this paragraph once the translation is finished)// | FIXME **This page is not fully translated, yet. Please help completing the translation.**\\ //(remove this paragraph once the translation is finished)// | ||
| - | ====== 无线接入点 / 哑接入点 | + | ====== 无线接入点 / 哑接入点 ====== |
| + | |||
| + | {{section> | ||
| <WRAP box> | <WRAP box> | ||
| <color # | <color # | ||
| - | **Summary:** This document describes how to create a Dumb Access Point (Dumb AP) | + | **摘要:** 本文记录了如何为一个已有“主路由”的网络创建扩展哑接入点(哑AP) 。之所以称它为“哑接入点”,是因为它既不提供路由,也不提供DHCP或DNS服务,这些功能是由其接入的主路由提供。 |
| - | that extends a network that already has a "main router" | + | |
| - | It's called a "Dumb Access Point" because it does not provide routing or DHCP. | + | |
| - | Here are the basics of setting up any router (not just OpenWrt) to be a Dumb AP: | + | |
| - | * Connect the Dumb AP **LAN** port to the main router' | + | 一般情况下,这样做是为已有网络扩展无线覆盖范围:覆盖另一个楼层或消除无线死点。也可以用无线AP达成同样的目的。您可以把这种拓扑结构想成“菊花链”的实现。 |
| - | * Configure the Dumb AP's **LAN** port to have a static address on the main router' | + | |
| - | * Set the DNS server and gateway to the main router' | + | |
| - | * Turn off the firewall and DHCP& | + | |
| - | * Configure the wireless SSID, password, etc. on the Dumb AP as desired | + | |
| - | * Reboot the Dumb AP | + | |
| - | The result is a bridged | + | 这种部署的结果是成为一个无内部子网的桥接LAN。接入任一路由的设备之间都是互相可见的,并经由主路由接入因特网。这种设置在小型办公场所或家庭网络中可以很好的工作。但大一点的网络中,最好使用更加细致的部署方式。 |
| - | People can connect to the Dumb AP over Ethernet or Wi-Fi (using the configured SSID/ | + | |
| </ | </ | ||
| - | ===== Configuration via OpenWrt Web Interface | + | ===== 使用OpenWrt的Web界面LUCI进行配置 |
| - | Of course you can achieve this with using the web interface:\\ | + | 您当然可以用web界面来达成目的:\\ |
| - | Once you have configured your wireless network with LUCI you can start configuring your dumb AP.\\ | + | 只要您可以用LUCI来配置无线网络,您就可以配置您的哑AP了。\\ |
| - | - Disconnect the (soon-to-be) Dumb AP from your network, and connect your computer to it with an Ethernet cable. | + | - 从网络中断开您的哑AP(即将成为),用网线把您的电脑连上。\\ |
| - | - Use the web interface to go to Network | + | - 打开web界面,至网络->接口,并选择LAN接口。\\ |
| - | - Enter an IP address "next to" your main router on the field "IPv4 address" | + | - 在“IPv4地址”输入框中输入一个您的主路由IP的下一个IP。(如果您的主路由IP是192.168.1.1,输入192.168.1.2)。将DNS和网关指向您的主路由以为哑AP自己开启因特网访问。\\ |
| - | - Then switch to "DHCP Server" | + | - 然后切换至“DHCP服务器”标签页(如果使用的是18.06或更老的Luci版本,则要下滚页面),钩上"忽略接口:在此接口禁用DHCP"的检查框\\ |
| - | - Click "IPv6 Settings" | + | - 点击“IPv6设置”标签页并禁用所有项目。\\ |
| - | - Under " | + | - 在“物理设置”标签页,确保钩上了“桥接接口”,并确保两个接口(eth0, wlan0)都是选中状态,以允许无线到有线连接的数据传输。\\ |
| - | - In the top menu go to System | + | - 在顶菜单上导航至系统-> 启动,在启动脚本中禁用防火墙、dnsmasq和odhcpd。\\ |
| - | - Click the Save and Apply button. Hard-Restart your router if you're not able to connect anymore.\\ | + | - 点击保存并应用按钮。如果连接断了,则需要硬重启您的路由。\\ |
| - | - Go to http:// | + | - 访问http:// |
| - | - Use an Ethernet to connect one of the LAN ports on your main router to one of the LAN/switch ports of your " | + | - 用网线连您主路由的LAN端口和您“新”哑AP的LAN/交换机端口。(毋需连接哑AP的WAN端口) |
| - | - You are done.\\ | + | - 大功告成\\ |
| Line 173: | Line 166: | ||
| </ | </ | ||
| - | ===== Multicast Forwarding | + | ===== 组播转发 |
| DLNA and UPnP clients and printer or SMB discovery protocols on LANs tend to work by using multicast packets. For example PS3, xbox, TVs and stereos use DLNA to detect, communicate with and stream audio/video over the network. By default on bridged interfaces on OpenWrt (at least tested in 18.x series) multicast snooping is turned off. This means all network interfaces connected to a bridge (such as a WiFi SSID and ethernet VLAN) will receive multicast packets as if they were broadcast packets. | DLNA and UPnP clients and printer or SMB discovery protocols on LANs tend to work by using multicast packets. For example PS3, xbox, TVs and stereos use DLNA to detect, communicate with and stream audio/video over the network. By default on bridged interfaces on OpenWrt (at least tested in 18.x series) multicast snooping is turned off. This means all network interfaces connected to a bridge (such as a WiFi SSID and ethernet VLAN) will receive multicast packets as if they were broadcast packets. | ||