source: branches/backfire/target/linux/ar71xx/base-files/etc/defconfig/wndr3700/network @ 21924

Last change on this file since 21924 was 21924, checked in by juhosg, 6 years ago

backfire: ar71xx: don't use vlan 0 for devices with rtl8366s switch (backport of r21905)

File size: 1.8 KB
Line 
1config interface loopback
2        option ifname   lo
3        option proto    static
4        option ipaddr   127.0.0.1
5        option netmask  255.0.0.0
6
7config interface lan
8        option ifname   eth0
9        option type     bridge
10        option proto    static
11        option ipaddr   192.168.1.1
12        option netmask  255.255.255.0
13
14config interface wan
15        option ifname   eth1
16        option proto    dhcp
17
18config switch
19        option name     rtl8366s
20        option reset    1
21        option enable_vlan 1
22        # Blinkrate: 0=43ms; 1=84ms; 2=120ms; 3=170ms; 4=340ms; 5=670ms
23        option blinkrate        2
24
25config switch_vlan
26        option device   rtl8366s
27        option vlan     1
28        option ports    "0 1 2 3 5"
29
30config switch_port
31        # Port 1 controls the GREEN configuration of LEDs for
32        # the switch and the section does not correspond to a real
33        # switch port.
34        #
35        # 0=LED off; 1=Collision/FDX; 2=Link/activity; 3-1000MB/s
36        # 4=100 MB/s; 5=10 MB/s; 6=1000 MB/s+activity; 7=100 MB/s+activity
37        # 8=10 MB/s+activity; 9=10/100 Mb/s+activity; 10: Fiber;
38        # 11: Fault; 12: Link/activity(tx); 13: Link/activity(rx);
39        # 14: Link (master); 15: separate register
40       
41        option device           rtl8366s
42        option port             1
43        option led              9
44       
45config switch_port
46        # Port 2 controls the ORANGE configuration of LEDs for
47        # the switch and the section does not correspond to a real
48        # switch port.
49        #
50        # See the key above for switch port 1 for the meaning of the
51        # 'led' setting below.
52       
53        option device           rtl8366s
54        option port             2
55        option led              6
56
57
58config switch_port                                             
59        # Port 5 controls the configuration of the WAN LED and the
60        # section does not correspond to a real switch port.
61        #
62        # To toggle the use of green or orange LEDs for the WAN port,
63        # see the LED setting for wndr3700:green:wan in /etc/config/system.
64        #
65        # See the key above for switch port 1 for the meaning of the
66        # 'led' setting below.
67
68        option device           rtl8366s
69        option port             5
70        option led              6
71
Note: See TracBrowser for help on using the repository browser.