I am currently trying to make some configurations to my etc/config/network file, this is the addition:
auto bond0
iface bond0 inet static
address 192.168.1.100
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
dns-nameservers 8.8.8.8
bond-mode 802.3ad
bond-miimon 100
bond-slaves eth0 eth1
I also tried:
config interface bond0
option proto ‘static’
option ipaddr ‘192.168.1.100’
option netmask ‘255.255.255.0’
option network ‘192.168.1.0’
option broadcast ‘192.168.1.255’
option gateway ‘192.168.1.1’
option dns-nameservers ‘8.8.8.8’
option bond-mode ‘802.3ad’
option bond-miimon ‘100’
option bond-slaves ‘eth0 eth1’
when I do this and save, I loose internet connection and the WebUI looses all interface data besides mob1s1a1 and mob2s1a1. Though when I run ifconfig I get:
bond0 Link encap:Ethernet HWaddr 00:1E:42:53:D7:F3
inet6 addr: fe80::21e:42ff:fe53:d7f3/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:2978 (2.9 KiB)
br-lan Link encap:Ethernet HWaddr 00:1E:42:53:D7:F3
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fd7d:c28a:2e6::1/60 Scope:Global
inet6 addr: fe80::21e:42ff:fe53:d7f3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:14082 errors:0 dropped:0 overruns:0 frame:0
TX packets:16224 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3582526 (3.4 MiB) TX bytes:7594809 (7.2 MiB)
eth0 Link encap:Ethernet HWaddr 00:1E:42:53:D7:F3
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:385 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:44164 (43.1 KiB)
eth1 Link encap:Ethernet HWaddr 00:1E:42:53:D7:F3
UP BROADCAST SLAVE MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:62 errors:0 dropped:0 overruns:0 frame:0
TX packets:62 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6075 (5.9 KiB) TX bytes:6075 (5.9 KiB)
qmimux0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:100.126.112.52 P-t-P:100.126.112.52 Mask:255.255.255.255
inet6 addr: fe80::ba6a:f449:71dd:8c21/64 Scope:Link
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:11483 errors:0 dropped:0 overruns:0 frame:0
TX packets:8962 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5573956 (5.3 MiB) TX bytes:2840735 (2.7 MiB)
wlan0 Link encap:Ethernet HWaddr 00:1E:42:53:D7:F5
inet6 addr: fe80::21e:42ff:fe53:d7f5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:14086 errors:0 dropped:0 overruns:0 frame:0
TX packets:17426 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3780301 (3.6 MiB) TX bytes:7680227 (7.3 MiB)
wlan1 Link encap:Ethernet HWaddr 00:1E:42:53:D7:F6
inet6 addr: fe80::21e:42ff:fe53:d7f6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:872 (872.0 B)
wwan1 Link encap:Ethernet HWaddr BA:25:B6:BB:A7:CD
inet6 addr: fe80::b825:b6ff:febb:a7cd/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:16384 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:8425 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:2877409 (2.7 MiB)
Is there anything wrong maybe syntax wise or option name wise in the addition to etc/config/network thats obvious?