User Tools

Site Tools


doc:recipes:dumbap

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
doc:recipes:dumbap [2013/04/20 06:49]
gatak
doc:recipes:dumbap [2014/05/15 22:19] (current)
jamy015
Line 1: Line 1:
-====== Dumb AP ======+====== Dumb AP / Access Point Only ======
  
-This document describes how to create an Access Point that's really just that, no routing, no DHCP, no nothing. This AP allows users to connect ​to the AP over wireless or ethernet. ​I needed ​this setup because access control ​is already in place here through '​static DHCP' ​and I didn't want another access control mechanism.+This document describes how to create an Access Point (AP) only. This AP allows users to connect over wireless or ethernet ​to the AP and an existing networkThat mean this AP is not routing, provides no DHCP and no other function. 
 +This setup is needed when in your network ​is already ​a router, access control and dhcp in place and you like to use this.
  
 From a user point of view it works like this: From a user point of view it works like this:
Line 20: Line 21:
 Edit ''/​etc/​config/​network''​ and change the ''​[[doc:​uci:​network#​interfaces|interface]]''​ section: Edit ''/​etc/​config/​network''​ and change the ''​[[doc:​uci:​network#​interfaces|interface]]''​ section:
  
-=== For switch-less devices, e.g. Alix Board ===+=== For switch-less devices, e.g. Alix Board, wr1043nd v2 ===
  
 On switchless devices, simply bridge all ethernet interfaces together, remove the existing WAN interface - if any. On switchless devices, simply bridge all ethernet interfaces together, remove the existing WAN interface - if any.
Line 29: Line 30:
         option proto    '​dhcp' ​       # Change as appropriate''​ |         option proto    '​dhcp' ​       # Change as appropriate''​ |
  
-=== For devices with switch and dedicated WAN, e.g. WNDR3700 ===+=== For devices with switch and dedicated WAN, e.g. WNDR3700, WR1043ND v1, WR741ND v2.4 ===
  
 On devices with a separate WAN interface, bridge the LAN VLAN together with the WAN interface, remove the existing WAN interface - if any. On devices with a separate WAN interface, bridge the LAN VLAN together with the WAN interface, remove the existing WAN interface - if any.
Line 37: Line 38:
         option ifname ​  '​**eth0.1 eth1**' ​ # Bridges vlan 1 and wan         option ifname ​  '​**eth0.1 eth1**' ​ # Bridges vlan 1 and wan
         option proto    '​dhcp' ​        # Change as appropriat''​ |         option proto    '​dhcp' ​        # Change as appropriat''​ |
 +
 +Switch configuration on WR1043ND (barrier breaker):
 +
 +| ''​config switch_vlan
 +        option device '​switch0'​
 +        option vlan '​1'​
 +        option ports '**0** 1 2 3 4 5t' ​ # 1. add 0 in here
 +
 +#config switch_vlan ​              # 2. comment out or delete the whole vlan 2 section
 +#       ​option device '​switch0'​
 +#       ​option vlan '​2'​
 +#       ​option ports '0 5t'''​ |
  
 === For devices with switch only, e.g. WRT54GL === === For devices with switch only, e.g. WRT54GL ===
Line 43: Line 56:
 remove the existing WAN interface and its related VLAN - if any. remove the existing WAN interface and its related VLAN - if any.
  
-| ''​config switch_vlan ​eth0_0 +| ''​config switch_vlan ​eth0_1 
-        option vlan     '​0'+        option vlan     '​1'
         option ports    '**0 1 2 3 4 5t**' # Might vary depending on the device         option ports    '**0 1 2 3 4 5t**' # Might vary depending on the device
  
 config interface lan config interface lan
         option type     '​bridge'​         option type     '​bridge'​
-        option ifname ​  '​**eth0.0**' ​      # Might vary depending on the device+        option ifname ​  '​**eth0.1**' ​     
         option proto    '​dhcp' ​        # Change as appropriate''​ |         option proto    '​dhcp' ​        # Change as appropriate''​ |
  
doc/recipes/dumbap.1366433391.txt.bz2 · Last modified: 2013/04/20 06:49 by gatak