Pages - Menu

2017年8月9日 星期三

dd-wrt Repeater Bridge 設定

這是Netgear R6300 V2 的 Repeater Bridge設定

刷韌體的部分,等哪天想到再說。

首先要先刷完韌體(廢話)

再來從設定開始

某史萊姆參考了以下這些文章,

mobile01

壹讀

但都很不幸的失敗了,最後是參考原廠的文件,才成功。

原廠的文件基本上前面設定都一樣,

1.到無線網路->基本設定

       a.Physical無線實體介面wl0

            無線介面有很多種,可以參考上面的壹讀連結,裡面有介紹你需要的是哪種。

先說明一下這的網路環境,二樓有一台小烏龜(中華電信的光世代),

同時肩負著無線基地台的功能,而我在三樓,通常是使用無線網卡與二樓的小烏龜連線對外。

              目前的需求是需要R6300 當無線中繼,然後接上USB硬碟當成是DLNA分享影片給PS4 看。

如果有需要時,也能用電腦接後面的網路孔,直接連線上網。

於是選擇了,Repeater Bridge。

設定的方式,直接使用原文的說明,關鍵的地方在用中文補充。

首先修改電腦的IP變成 192.168.1.X,別跟其他的設備衝到。

 

  1. Factory Defaults on Secondary (DD-WRT) Router
    • Optional but suggested if you run into issues: Do a proper HARD 30-30-30 Reset on the router.
  2. Hook up to the secondary router with an ethernet cable or as a wireless client. The dd-wrt default wireless SSID is "dd-wrt"
  3. Open the address http://192.168.1.1 in your web browser.
  4. Open the Wireless -> Basic Settings tab

StepShot_23_40_39

    • Physical Interface Section (實體介面)
      • Wireless Mode : Repeater Bridge (這就是我要的功能)
      • Wireless Network Mode : Match Primary Router (Default MIXED) (選擇你主基地台的無線模式,不知道的話就用預設吧,我的設定在下方)
      • Wireless Network Name SSID : Must Match Primary Router EXACTLY including case. (主基地台無線的SSID,如果怕打錯,可先按儲存,然後到機器狀態->無線網路->無線節點的最下面有一個 選址(Site Survey)的按鈕,可透過這個按鈕去取得你的基地台名稱)
      • Wireless Channel : Usually leave at Auto, DD-WRT will figure out the channel
      • Wireless SSID Broadcast : Enable (Default)
      • Network Configuration : Bridged (Default)
      • Save (not apply)
    • Virtual Interfaces Section (虛擬介面)
      • Add (按下新增)
      • Wireless Network Name(SSID) : Same as Primary SSID. If you have problems, try a different one. (一開始建議使用不同的SSID方便測試)
      • Wireless SSID Broadcast : Enable (Default)
      • AP Isolation : Disable (Default)
      • Network Configuration : Bridged (Default)
      • Save (not Apply!)

5. Open the Wireless -> Wireless Security tab (再來設定連線的密碼)

StepShot_23_40_44

 

  • Physical Interface Section
    • Security Mode : Must Match Primary Router. Suggest WPA2-AES ONLY (連線的模式要跟主基地台一樣,CHT的小烏龜通常是 WPA2-PSK,但這裡面沒有此選項,不要怕WPA2-PSK又稱WPA2-Personal,WIKI說明)
    • WPA Algorithms : Must Match Primary Router (WPA加密的方式,這邊比較麻煩,如果使用user登入的話是找不到此設定,需要用管理員模式進去中華電信的小烏龜裡面找,
    • 1.北區 => 帳號:cht/密碼:chtnvdsl
      2.中區 => 帳號:cht/密碼:chtcvdsl
      3.南區 => 帳號:cht/密碼:chtsvdsl

    進去後到Wireless—Security 找到加密的方式,通常是AES拉

  • WPA Shared Key : Must Match Primary Router (就是連線主基地台的密碼)
  • Key Renewal Interval (in seconds) : Leave default

   Virtual Interfaces Section

    • Security Mode : Must Match Physical Interface (同上)
    • WPA Algorithms : Must Match Physical Interface (同上)
    • WPA Shared Key : Must Match Physical Interface (密碼可不一樣也可一樣,上面的有偏參考文件說不能一樣,我試是可以一樣)
    • Key Renewal Interval (in seconds) : Leave default
    • Save (Not App
    • ly!)

6. Open the Security -> Firewall tab (關閉防火牆)

  • Uncheck all boxes...except Filter Multicast
  • Disable SPI firewall (YMMV)

7. Open the Setup -> Basic Setup tab 重點在此,我猜我應該是這邊沒設定好,上面的步驟,連結上都有)

StepShot_23_40_47

  • Connection Type will be: Disabled
  • Set STP for Disabled (Default)
  • IP Address : 192.168.1.2 (Assuming Primary Router IP is 192.168.1.1) (請記得改設定192.168.1.2,如果你的小烏龜跟我一樣都是192.168.1.1的話)
  • Mask : 255.255.255.0
  • Gateway: 192.168.1.1 (again assuming Primary Router IP is 192.168.1.1) (主基地台的ip是192.168.1.1的話,閘道記得改成這個)
  • DHCP Server: Disable (Should already be disabled at this point)
  • Local DNS: 192.168.1.1 (if IP of Primary Router is 192.168.1.1) (DNS也記得加)
  • Assign WAN Port to Switch : Optionally enable this to use the WAN port as another LAN port.
  • APPLY Settings(儲存重啟不是儲存設定)

8.  Reboot the router. (重開機器,這邊要從系統管理->(拉到最底下)重新啟動路由器)

9. Log back into the router at its new IP address of http://192.168.1.2.

    1. Check internet connectivity. See if you can ping the second router from a client plugged into the ethernet port, then see if you can ping the primary router, then t
    he internet.
  • 記得把手動設定的IP改成自動取得,改完後應該就能直接對外了。

    沒有留言:

    張貼留言