User Tools

Site Tools


doc:recipes:dumbap
This wiki is read only and for archival purposes only. >>>>>>>>>> Please use the new OpenWrt wiki at https://openwrt.org/ <<<<<<<<<<

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
doc:recipes:dumbap [2017/09/13 18:51]
tmomas Link changed from external to internal (internal ones are automatically adjusted when pages are moved, external ones are not)
doc:recipes:dumbap [2017/12/21 13:07] (current)
tmomas Formatting (**....**) removed from <code> blocks
Line 42: Line 42:
 config interface lan config interface lan
         option type     '​bridge'​         option type     '​bridge'​
-        option ifname ​  '​**eth0 eth1**' ​  # Bridges lan and wan+        option ifname ​  '​eth0 eth1' ​  # Bridges lan and wan
         option proto    '​dhcp' ​       # Change as appropriate         option proto    '​dhcp' ​       # Change as appropriate
 </​code>​ </​code>​
Line 53: Line 53:
 config interface lan config interface lan
         option type     '​bridge'​         option type     '​bridge'​
-        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
 </​code>​ </​code>​
Line 63: Line 63:
         option device '​switch0'​         option device '​switch0'​
         option vlan '​1'​         option vlan '​1'​
-        option ports '**0** 1 2 3 4 5t' ​ # 1. add 0 in here+        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 #config switch_vlan ​              # 2. comment out or delete the whole vlan 2 section
Line 79: Line 79:
 config switch_vlan eth0_1 config switch_vlan eth0_1
         option vlan     '​1'​         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.1**' ​     ​+        option ifname ​  '​eth0.1' ​     ​
         option proto    '​dhcp' ​        # Change as appropriate         option proto    '​dhcp' ​        # Change as appropriate
 </​code>​ </​code>​
Line 105: Line 105:
 config '​wifi-iface'​ config '​wifi-iface'​
         option device ​ '​radio0'​         option device ​ '​radio0'​
-        option network '**lan**' ​ # Set to the name of the bridged interface+        option network '​lan' ​ # Set to the name of the bridged interface
         option mode    '​ap'​         option mode    '​ap'​
         option ssid    '​ap_myaccesspoint'​         option ssid    '​ap_myaccesspoint'​
-        option encryption '**psk2**' ​ # Change as appropriate +        option encryption '​psk2' ​ # Change as appropriate 
-        ​**option key     '​ap_password'​**+        option key     '​ap_password'​
 </​code>​ </​code>​
  
doc/recipes/dumbap.txt · Last modified: 2017/12/21 13:07 by tmomas