Differences

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

toh:widemac:sl-r7205 [2014/08/13 16:18]
rspliet Add warning about configuration problems of the Widemac image
toh:widemac:sl-r7205 [2014/08/14 15:32] (current)
rspliet Add configuration for VLAN
Line 56: Line 56:
choose 2, then answer the prompts. Note that option 1 does not work with the sysupgrade image; booting will fail on finding the root partition. choose 2, then answer the prompts. Note that option 1 does not work with the sysupgrade image; booting will fail on finding the root partition.
 +
 +After installation, copy-paste the following configuration into /etc/config/network
 +  config interface 'loopback'
 +        option ifname 'lo'
 +        option proto 'static'
 +        option ipaddr '127.0.0.1'
 +        option netmask '255.0.0.0'
 + 
 +  config globals 'globals'
 +        option ula_prefix 'fd37:bd9a:2b09::/48'
 + 
 +  config switch 'switch0'
 +        option enable '1'
 +        option enable_vlan '1'
 +        option reset '1'
 + 
 +  config switch_vlan
 +        option vlan '1'
 +        option device 'switch0'
 +        option ports '0 6t'
 + 
 +  config switch_vlan
 +        option vlan '2'
 +        option device 'switch0'
 +        option ports '1 2 3 4 6t'
 + 
 +  config switch_port                                       
 +        option port '0'
 +        option pvid '1'
 + 
 +  config interface 'lan'
 +        option force_link '1'
 +        option type 'bridge'
 +        option proto 'static'
 +        option ipaddr '192.168.1.1'
 +        option netmask '255.255.255.0'
 +        option ip6assign '60'
 +        option _orig_ifname 'eth0.2 wlan0'
 +        option _orig_bridge 'true'
 +        option ifname 'eth0.2'
 +        option nat '1'
 + 
 +  config interface 'wan'
 +        option proto 'dhcp'
 +        option _orig_ifname 'eth0.1'
 +        option _orig_bridge 'false'
 +        option ifname 'eth0.1'
 +        option broadcast '1'
 +
 +Reboot, and the network ports should be operational.
  WARNING: The current OpenWRT image does not contain a valid configuration for the various wired network ports   WARNING: The current OpenWRT image does not contain a valid configuration for the various wired network ports
-  on the device. As a result, wired networking is currently broken.+  on the device. As a result, wired networking broken until copy-pasting in the above configuration.
  - -> [[doc:howto:obtain.firmware]]   - -> [[doc:howto:obtain.firmware]]

Back to top

toh/widemac/sl-r7205.txt · Last modified: 2014/08/14 15:32 by rspliet