|
6#
楼主 |
发表于 2019-9-20 17:33:41
|
只看该作者
我再试了一次桥接模式.重复下流程.
首先配置配置usb0地址为192.168.1.180, 通过web 页面配置为master模式,提示重启.
重启后再改为桥接模式.
下面是输出:
sq@sq-XPS-13-9360:~/rknn_software$ sudo ./bridge-setup.sh wlp58s0 enp0s20f0u1
Connection 'br0' (c0f61d82-8218-4ed5-97d1-fb443770ced1) successfully deleted.
Connection 'enp0s20f0u1' (f3df8e5f-3152-4098-9085-a74c9f9f8ab9) successfully deleted.
Connection 'wlp58s0' (83d337f9-5904-4324-ad1b-5fd0fec58dbe) successfully deleted.
Connection 'br0' (18609924-b92b-41d6-a409-ea8c37731efb) successfully added.
Connection 'wlp58s0' (4c1ec0ff-6fa2-492d-a8cf-843e0b1afa0d) successfully added.
Connection 'enp0s20f0u1' (73914d6d-c1c3-4247-aae8-735bfe3e833b) successfully added.
Connection successfully activated (master waiting for slaves) (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/49)
我的理解是桥接成功了.然后查看,多个br0
br0 Link encap:Ethernet HWaddr f2:f3:36:c5:f9:42
inet addr:192.168.180.1 Bcast:0.0.0.0 Mask:255.255.255.0
inet6 addr: fe80::753d:ef99:1145:1e48/64 Scopeink
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7 errors:0 dropped:0 overruns:0 frame:0
TX packets:72 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:432 (432.0 B) TX bytes:11735 (11.7 KB)
这里 可以ssh 192.168.180.8. 不过过几秒钟就提示网络disconnected,ssh被登出(重复多次都是这样情况)
|
|