ar71xx: fix ethernet LEDs on the WHR-{G301N,HP-G300N,HP-GN} boards
[openwrt.git] / target / linux / ar71xx / base-files / etc / defconfig / wndr3700 / network
1 config 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
7 config interface lan
8 option ifname eth0.1
9 option type bridge
10 option proto static
11 option ipaddr 192.168.1.1
12 option netmask 255.255.255.0
13
14 config interface wan
15 option ifname eth1
16 option proto dhcp
17
18 config 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
25 config switch_vlan
26 option device rtl8366s
27 option vlan 1
28 option ports "0 1 2 3 5t"
29
30 config 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=1000 Mb/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 6
44
45 config 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 9
56
57 config switch_port
58 # Port 5 controls the configuration of the WAN LED and the
59 # section does not correspond to a real switch port.
60 #
61 # To toggle the use of green or orange LEDs for the WAN port,
62 # see the LED setting for wndr3700:green:wan in /etc/config/system.
63 #
64 # See the key above for switch port 1 for the meaning of the
65 # 'led' setting below.
66
67 option device rtl8366s
68 option port 5
69 option led 2
This page took 0.044423 seconds and 5 git commands to generate.