1. 程式人生 > 實用技巧 >如何使用簡單的接入點擴充套件您的Wi-Fi網路

如何使用簡單的接入點擴充套件您的Wi-Fi網路

2012-01-31_135537

Last week we showed you how to extend your network without wires, this week we’re looking at how you can use use an existing hardwire network to easily and quickly extend your wireless network using simple access points.

上週,我們向您展示瞭如何在不使用電線的情況下擴充套件網路,本週,我們在研究如何使用現有的硬線網路通過簡單的接入點輕鬆快速地擴充套件無線網路。

After we published our guide

How To Extend Your Wireless network with Tomato-Powered Routers, we received a variety of reader questions regarding other tips and tricks one could use to extend a wireless network. Bill wrote in with the following question which echoes quite a few similar emails:

在我們釋出了指南《如何用番茄供電的路由器擴充套件無線網路》之後,我們收到了許多讀者對其他可以用來擴充套件無線網路的提示和技巧的問題。 比爾寫了以下問題,迴響了很多類似的電子郵件:

I read and followed your guide last Tuesday. Everything worked as promised, but I’ve noticed the secondary router seems a little flaky. Is there a more bare-bones way to go about this technique than setting up the Tomato routers via WDS as you have us do in the tutorial? My house is wired with Ethernet but, alas, very few of my devices actually use hard wire anymore. What can I do? All my routers are running current releases of TomatoUSB.

上週二,我閱讀並遵循了您的指南。 一切都按承諾進行,但我注意到輔助路由器似乎有些鬆動。 除了本教程中介紹的通過WDS設定Tomato路由器之外,還有沒有比這更簡單的方法了? 我的房子用乙太網連線,但可惜的是,我的裝置實際上很少使用硬線了。 我能做什麼? 我所有的路由器都在運行當前版本的TomatoUSB。

If Bill didn’t have the existing LAN in place, we’d have to tell him to try a different firmware (like DD-WRT) that allows for true Wi-Fi repeating. Since he has an existing hardwired Ethernet LAN, however, he’s in luck.

如果Bill沒有現成的LAN,我們必須告訴他嘗試使用其他韌體(例如DD-WRT)來實現真正的Wi-Fi中繼。 但是,由於他擁有現有的有線乙太網LAN,因此很幸運。

In a situation with no Ethernet network, you have to rely completely on wireless technology to link the access points together (as we did when we used WDS to link the two Tomato routers together last week). When you have a hardwired network, however, things get radically easier as you can use the Ethernet as a backbone for the network and convert the secondary routers to simple access points that require little effort to configure and deploy.

在沒有乙太網的情況下,您必須完全依靠無線技術將訪問點連結在一起(就像我們上週使用WDS將兩個Tomato路由器連結在一起時所做的那樣)。 但是,當您擁有有線網路時,事情就變得非常簡單,因為您可以將乙太網用作網路的骨幹網,並將輔助路由器轉換為簡單的訪問點,而無需進行任何配置和部署。

What specifically do you gain by using this technique over the previous technique? In our prior tutorial we showed you how to make a mesh of Wi-Fi routers. While that’s a great solution if you don’t have any hard wire to connect them, it does have its short comings as it requires a lot of configuration and a Wi-Fi mesh protocol that can introduce latency and reduced bandwidth. The technique we’re about to outline simply adds Wi-Fi access points to any open Ethernet connection on your hard-wired LAN—no fancy configuration or Wi-Fi Voodoo required.

通過使用該技術,您將比以前的技術有什麼特別的收穫? 在之前的教程中,我們向您展示瞭如何製作Wi-Fi路由器網格。 如果您沒有任何硬線連線它們是一個很好的解決方案,但它確實有其不足之處,因為它需要大量的配置和Wi-Fi網狀協議,可以引入延遲並減少頻寬。 我們將要概述的技術只是將Wi-Fi接入點新增到硬線LAN上的任何開放式乙太網連線中,而無需花哨的配置或Wi-Fi Voodoo。

你需要什麼 (What You’ll Need)

2012-01-31_145901

For this tutorial you need the following things:

對於本教程,您需要以下內容:

  • One primary router

    一臺主路由器
  • One or more secondary routers

    一臺或多臺輔助路由器
  • One physical port on the primary router and one direct Ethernet cable link for each secondary router

    主路由器上有一個物理埠,每個輔助路由器有一個直接的乙太網電纜鏈路

That’s all you need! You don’t even, technically, need any fancy after market firmware like Tomato or DD-WRT. That merits repeating. Although we’re going to be using Tomato-powered routers, you can use just about any stock Wi-Fi router around without flashing the firmware. Unlike other Wi-Fi tutorials we’ve shared that involve deep mucking around in the guts of a customized router, this tutorial simply requires that you are able to change the basic Wi-Fi access point settings on your secondary routers.

這就是您所需要的! 從技術上講,您甚至不需要市場韌體如Tomato或DD-WRT。 值得重複。 儘管我們將使用番茄供電的路由器,但您幾乎可以使用任何庫存的Wi-Fi路由器,而無需重新整理韌體。 與我們共享的其他Wi-Fi教程不同,後者涉及對自定義路由器的深入瞭解,本教程僅要求您能夠更改輔助路由器上的基本Wi-Fi接入點設定。

入門:重置輔助路由器 (Getting Started: Resetting The Secondary Router)

For the purposes of clarity, we’re going to refer to the primary router as the “Primary Router” and the secondary router as the “Secondary Router”. Simple, yes, but it ensures we’re all on the same page and not applying the settings to the wrong device.

為了清楚起見,我們將主要路由器稱為“主要路由器”,將輔助路由器稱為“輔助路由器”。 可以,很簡單,但是可以確保我們都在同一頁面上,並且不會將設定應用到錯誤的裝置上。

Again, although we’re using TomatoUSB these instructions can be applied to nearly every router on the market. Read over the whole guide and then apply the steps, slightly adapted for different menu structures, to your router.

同樣,儘管我們正在使用TomatoUSB,但這些指令幾乎可以應用於市場上的每個路由器。 閱讀整個指南,然後將略微適合不同選單結構的步驟應用於路由器。

The first thing you want to do is reset your Secondary Router (not your Primary Router) so you can work with a clean slate. Plug your Secondary Router directly into a desktop or laptop machine via the Ethernet port. Navigate to Administration –> Configuration –> Restore Default Configuration and select “Erase all data in NVRAM memory (thorough)”. Click OK.

您要做的第一件事是重置輔助路由器(而不是主路由器),這樣您就可以處理乾淨了。 通過乙太網埠將輔助路由器直接插入桌上型電腦或行動式計算機。 導航到管理–>配置–>恢復預設配置,然後選擇“(徹底)擦除NVRAM記憶體中的所有資料”。 單擊確定。

The default login/password after a clean wipe in Tomato is admin/admin. You should change the password immediately by navigating to Administration -> Admin Access. While we’re in the Admin Access menu we can change two things. First, change the color scheme of Tomato to easily distinguish between default Tomato installation and secondary access points.

徹底清除Tomato中的預設登入名/密碼是admin / admin。 您應該通過導航到管理->管理員訪問來立即更改密碼。 在“管理員訪問權”選單中時,我們可以更改兩件事。 首先,更改Tomato的配色方案,以輕鬆地區分預設的Tomato安裝和輔助訪問點。

2012-01-29-15-15-24

The color setting is found near the top of the Admin Access page under Web Admin -> Color Scheme. We selected blue. To change the password scroll down to the bottom and plug in a new password in the Password section. Makes sure to click Save at the bottom or your changes will not be applied. Tomato will, immediately after you click Save, prompt you to login again. Use login: admin and password: whatever new password you just created.

顏色設定位於Web管理員->配色方案下的“管理員訪問”頁面頂部附近。 我們選擇了藍色。 要更改密碼,請向下滾動至底部,然後在“密碼”部分插入新密碼。 確保單擊底部的“儲存”,否則您的更改將不會應用。 單擊“儲存”後,Tomato將立即提示您再次登入。 使用登入名:admin和密碼:您剛剛建立的新密碼。

配置輔助路由器 (Configuring The Secondary Router)

Once you’ve reset the Secondary Router and assigned a new password it’s time to configure it. We only need to make a handful of changes to the Secondary Router, and (in TomatoUSB at least) they can all be made on a single page.

重置輔助路由器並分配了新密碼後,就可以對其進行配置了。 我們只需要對輔助路由器進行一些更改,並且(至少在TomatoUSB中)它們都可以在單個頁面上進行。

wi-fi-hardlan1

Navigate to Basic –> Network within the GUI of the Secondary Router. We need to make a few minor changes here. First you need to toggle WAN / Internet to Static. There’s no need to change anything else in this sub-section.

導航到輔助路由器的GUI中的“基本”->“網路”。 我們需要在此處進行一些小的更改。 首先,您需要將WAN / Internet切換為靜態。 在此小節中無需更改任何其他內容。

wi-fi-hardlan2

Next you need to change the Router IP Address. This can be any number that isn’t 1) the same as your Primary Router or 2) in the slate of assignable addresses used by your Primary Router’s DHCP server, such as 198.168.1.100-149. We simply switched ours to 192.168.1.2 to indicate it was the first of the secondary routers attached to our network.

接下來,您需要更改路由器IP地址。 它可以是與1)與您的主路由器相同或2)在主路由器的DHCP伺服器使用的可分配地址列表中的任何數字,例如198.168.1.100-149。 我們只是簡單地將其切換為192.168.1.2,以表明它是連線到我們網路的第一個輔助路由器。

Plug in the address of your Primary Router for the first Static DNS slot. Toggle off DHCP Server. The Secondary Router (and another other routers you may add in as future access points) need to refer to the Primary Router for their DNS settings and DHCP assignments in order to keep the setup simple and allow all network changes to be made easily from the Primary Router.

為第一個靜態DNS插槽插入主路由器的地址。 切換DHCP伺服器。 輔助路由器(以及您可能會新增為將來的接入點的其他其他路由器)需要參考主要路由器的DNS設定和DHCP分配,以保持設定簡單並允許從主要路由器輕鬆進行所有網路更改路由器。

2012-01-31_142507

Next, you have the Wireless section. Within the Wireless section you need to make a few changes. First, ensure “Enable Wireless” is checked. Second, set Wireless Mode to “Access Point”. You can leave the Wireless Network Mode on Auto or enforce a specific mode (like G Only).

接下來,您有無線部分。 在“無線”部分中,您需要進行一些更改。 首先,確保選中“啟用無線”。 其次,將無線模式設定為“接入點”。 您可以將“無線網路模式”保留為“自動”或強制執行特定模式(如“僅G”)。

The SSID should be the same as your other Wi-Fi access points (like the Primary Router). The security type, encryption type, and shared key should also be the same. Note: If you’re having trouble with the setup, it’s often useful to change the Secondary Router’s SSID to something like “wireless2” to distinguish it from “wireless” (the name of the Primary Router) and make signal testing and troubleshooting easier.

SSID應該與其他Wi-Fi接入點(例如主路由器)相同。 安全型別,加密型別和共享金鑰也應該相同。 注意:如果您在設定時遇到麻煩,通常將輔助路由器的SSID更改為“ wireless2”,以將其與“無線”(主要路由器的名稱)區分開來,使訊號測試和故障排除更加容易,這通常很有用。

That said, the only place where the Wireless setup should differ from the Primary Router is the Channel selection. You want to select a channel for your access points that does not conflict with channels used by the Primary Router. Refer to this chart to select an appropriate channel:

也就是說,無線設定應與主路由器不同的唯一地方是通道選擇。 您要為接入點選擇一個與主路由器使用的通道不衝突的通道。 請參考此圖表選擇適當的渠道:

2012-01-31_143854

Let’s say that your Primary Router is using Channel 1. For your Secondary Router you can select Channel 6 or Channel 11 as a clear channel to minimize interference. For quick reference here are are some combinations you can use to keep the communication channels clear and leave space for a future access point:

假設您的主路由器正在使用通道1。對於次路由器,您可以選擇通道6或通道11作為空閒通道,以最大程度地減少干擾。 為了快速參考,以下是一些組合,您可以使用它們來保持通訊通道暢通併為將來的接入點留出空間:

  • 1, 6, 11

    1 6 1
  • 2, 7, 12

    2、7、12
  • 3, 8, 13

    3、8、13

Once you’ve finished selecting an open channel, click Save to commit all your changes to the Secondary Router. Once the changes are saved, unplug the Secondary Router from the computer you’ve been using to configure it and take it to the Ethernet jack you intend to plug it into. Run an Ethernet cable from the wall jack to one of the LAN ports on the Secondary Router (not the WAN port). Plug in the power cord to boot it up. Your secondary access point should now be online and accessible to the Wi-Fi devices nearby. As an added bonus you can also use the Secondary Router as a basic network switch—any nearby Ethernet dependent devices, such as a game console or desktop computer, can be plugged right into the remaining LAN ports on the Secondary Router.

完成選擇開放頻道後,單擊“儲存”將所有更改提交到“輔助路由器”。 儲存更改後,從用於配置的輔助計算機上拔出輔助路由器,然後將其插入要插入的乙太網插Kong。 將乙太網電纜從牆壁插Kong連線到輔助路由器上的LAN埠之一(而不是WAN埠)。 插入電源線以啟動它。 現在,您的輔助訪問點應該線上並且可以被附近的Wi-Fi裝置訪問。 另外,您還可以將輔助路由器用作基本網路交換機,可以將附近的任何與乙太網相關的裝置(例如遊戲機或臺式計算機)直接插入輔助路由器上的其餘LAN埠。

You can repeat this entire process with additional routers—just pay attention to the channel you select for each router to try and keep the interference to a minimum.

您可以使用其他路由器重複整個過程,只需注意為每個路由器選擇的通道,以儘量減少干擾。

翻譯自: https://www.howtogeek.com/104469/how-to-extend-your-wi-fi-network-with-simple-access-points/