Skip to content

Contents

操作记录

root@RK:~# ifconfig
docker0 Link encap:Ethernet HWaddr 02:42:e4:c6:1d:c1
inet addr:172.17.0.1 Bcast:172.17.255.255 Mask:255.255.0.0
UP BROADCAST 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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
ethu1 Link encap:Ethernet HWaddr 00:80:0f:95:00:00
inet addr:192.168.111.111 Bcast:192.168.111.255 Mask:255.255.255.0
inet6 addr: fe80::280:fff:fe95:0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:541112 errors:0 dropped:0 overruns:0 frame:0
TX packets:504782 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:32800828 (32.8 MB) TX bytes:43407663 (43.4 MB)
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:234495 errors:0 dropped:0 overruns:0 frame:0
TX packets:234495 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:15962072 (15.9 MB) TX bytes:15962072 (15.9 MB)
usb0 Link encap:Ethernet HWaddr ea:20:77:08:8d:3c
inet6 addr: fe80::e820:77ff:fe08:8d3c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:33 errors:0 dropped:0 overruns:0 frame:0
TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2868 (2.8 KB) TX bytes:3358 (3.3 KB)
root@RK:~# sh /etc/udev/rules.d/80-net-setup-link.rules
Added VLAN with VID == 2222 to IF -:usb0:-
root@RK:~# ifconfig
docker0 Link encap:Ethernet HWaddr 02:42:e4:c6:1d:c1
inet addr:172.17.0.1 Bcast:172.17.255.255 Mask:255.255.0.0
UP BROADCAST 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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
ethu1 Link encap:Ethernet HWaddr 00:80:0f:95:00:00
inet addr:192.168.111.111 Bcast:192.168.111.255 Mask:255.255.255.0
inet6 addr: fe80::280:fff:fe95:0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:541571 errors:0 dropped:0 overruns:0 frame:0
TX packets:505235 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:32828888 (32.8 MB) TX bytes:43449465 (43.4 MB)
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:234654 errors:0 dropped:0 overruns:0 frame:0
TX packets:234654 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:15970084 (15.9 MB) TX bytes:15970084 (15.9 MB)
usb0 Link encap:Ethernet HWaddr 5c:b1:5f:71:00:00
inet6 addr: fe80::5eb1:5fff:fe71:0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:46 errors:0 dropped:0 overruns:0 frame:0
TX packets:84 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3588 (3.5 KB) TX bytes:15154 (15.1 KB)
usb0.2222 Link encap:Ethernet HWaddr 5c:b1:5f:71:00:00
inet addr:188.168.1.253 Bcast:188.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::5eb1:5fff:fe71:0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:33 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:4380 (4.3 KB)
root@RK:~# sh nhxwifi.sh /root/nhxwifi
{"sid":"1","module":"wifi","api":"nhx_set","param":{"sta0":{"ssid":"bitswrt-ap-5g","disabled":"0","encryption":"mixed-psk","key":"asdfghjkl","shortgi":"0","wds":"1"},"radio0":{"channel":"auto","hwmode":"11axa","htmode":"auto","country":"CN"},"sta1":{"ssid":"1123","disabled":"0","encryption":"none","key":"1321435346","shortgi":"0","wds":"1"},"radio1":{"channel":"auto","hwmode":"11axg","htmode":"auto","country":"CN"},"debug0":{"ssid":"NHXAP-5g-debug","disabled":"0","encryption":"mixed-psk","key":"asdfghjkl"},"debug1":{"ssid":"1123","disabled":"0","encryption":"none","key":"1321435346"}}}
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 659 0 67 100 592 141 1248 --:--:-- --:--:-- --:--:-- 1246
0
root@RK:~#