Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
zh:docs:guide-user:network:wifi:dumbap [2021/07/01 07:52] – created biajizh: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)//
  
-====== 无线接入点 / 哑接入点 / 哑AP ======+====== 无线接入点 / 哑接入点 ====== 
 + 
 +{{section>meta:infobox:howto_links#config-network-device&noheader&nofooter&noeditbutton}}
  
 <WRAP box> <WRAP box>
 <color #ed1c24>**请注意**</color> <color #ff7f27>"哑接入点"这个说法源自树莓派的世界。由一个普通网络工程师看来,确切的词汇应该是“无线接入点”。如linksys.com所述 - "接入点用以太网线[或别的类似介质]连接至有线路由、交换机或集线器,并为指定区域提供无线信号。而具有无线接口的路由器应当称为“无线路由”。</color> <color #ed1c24>**请注意**</color> <color #ff7f27>"哑接入点"这个说法源自树莓派的世界。由一个普通网络工程师看来,确切的词汇应该是“无线接入点”。如linksys.com所述 - "接入点用以太网线[或别的类似介质]连接至有线路由、交换机或集线器,并为指定区域提供无线信号。而具有无线接口的路由器应当称为“无线路由”。</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's **LAN** port via Ethernet. (Yes - **LAN-to-LAN** - the WAN port of the Dumb AP will not be used.) +一般情况下,这样做是为已有网络扩展无线覆盖范围:覆盖另一个楼层或消除无线死点。也可以用无线AP达成同样的目的。您可以把这种拓扑结构想成“菊花链”的实现。
-  * Configure the Dumb AP's **LAN** port to have a static address on the main router's LAN address range. For example, if the main router LAN is 192.168.1.1, set the Dumb AP's LAN port to be 192.168.1.2 +
-  * Set the DNS server and gateway to the main router's address (192.168.1.1 in this example) +
-  * Turn off the firewall and DHCP&DNS server (dnsmasq) in the Dumb AP.  +
-  * Configure the wireless SSID, password, etc. on the Dumb AP as desired +
-  * Reboot the Dumb AP+
  
-The result is a bridged LAN (no internal subnets) that will work fine for home and small networks.  +这种部署的结果是成为一个无内部子网的桥接LAN。接入任一路由的设备之间都是互相可见的,并经由主路由接入因特网。这种设置在小型办公场所或家庭网络中可以很好的工作。但大一点的网络中,最好使用更加细致的部署方式。
-People can connect to the Dumb AP over Ethernet or Wi-Fi (using the configured SSID/password) and use to the existing network. +
 </WRAP> </WRAP>
  
-===== Configuration via OpenWrt Web Interface LUCI =====+===== 使用OpenWrtWeb界面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-beDumb AP from your network, and connect your computer to it with an Ethernet cable. \\ +  - 从网络中断开您的哑AP(即将成为),用网线把您的电脑连上。\\ 
-  - Use the web interface to go to Network -> Interfaces and select the LAN interface.\\ +  - 打开web界面,至网络->接口,并选择LAN接口。\\ 
-  - Enter an IP address "next to" your main router on the field "IPv4 address". (If your main router has IP 192.168.1.1, enter 192.168.1.2). Set DNS and gateway to point into your main router to enable internet access for the dumb AP itself \\ +  - 在“IPv4地址”输入框中输入一个您的主路由IP的下一个IP。(如果您的主路由IP192.168.1.1,输入192.168.1.2)。将DNS和网关指向您的主路由以为哑AP自己开启因特网访问。\\ 
-  - Then switch to "DHCP Server" tab (or scroll down in older versions, 18.06 and earlier, of Luci) and select the checkbox "Ignore interface: Disable DHCP for this interface."\\ +  - 然后切换至“DHCP服务器”标签页(如果使用的是18.06或更老的Luci版本,则要下滚页面),钩上"忽略接口:在此接口禁用DHCP"的检查框\\ 
-  - Click "IPv6 Settings" tab and set everything to "disabled".\\ +  - 点击“IPv6设置”标签页并禁用所有项目。\\ 
-  - Under "Physical Settings" tab, ensure "Bridge interfaces" is ticked, and ensure BOTH of your interfaces (eth0, wlan0) are selected, in order to allow traffic between wireless and wired connections.\\ +  - 在“物理设置”标签页,确保钩上了“桥接接口”,并确保两个接口(eth0, wlan0)都是选中状态,以允许无线到有线连接的数据传输。\\ 
-  - In the top menu go to System -> Startup, and disable firewall, dnsmasq and odhcpd in the list of startup scripts.\\  +  - 在顶菜单上导航至系统-> 启动,在启动脚本中禁用防火墙、dnsmasqodhcpd\\  
-  - Click the Save and Apply button. Hard-Restart your router if you're not able to connect anymore.\\ +  - 点击保存并应用按钮。如果连接断了,则需要硬重启您的路由。\\ 
-  - Go to http://192.168.1.2 (or whatever address you specifiedand check if the settings for the LAN interface are the same.\\ +  - 访问http://192.168.1.2 (或者您指定的别的地址)。检查LAN接口的设置是不是一样的。\\ 
-  - Use an Ethernet to connect one of the LAN ports on your main router to one of the LAN/switch ports of your "new" dumb AP. (There's no need to connect the WAN port of the Dumb AP.+  - 用网线连您主路由的LAN端口和您“新”哑AP的LAN/交换机端口。(毋需连接哑APWAN端口
-  - You are done.\\+  - 大功告成\\
  
  
Line 173: Line 166:
 </code> </code>
  
-===== 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.
  • Last modified: 2022/04/12 06:33
  • by biaji