作者小头像 Lv.1
48 成长值

个人介绍

这个人很懒,什么都没有留下

感兴趣或擅长的领域

暂无数据
个人勋章
TA还没获得勋章~
成长雷达
30
18
0
0
0

个人资料

个人介绍

这个人很懒,什么都没有留下

感兴趣或擅长的领域

暂无数据

达成规则

发布时间 2021/12/08 19:37:39 最后回复 breeze_1357 2021/12/09 12:34:36 版块 EC-IoT
4213 5 0
发布时间 2021/11/30 16:43:38 最后回复 breeze_1357 2021/12/09 12:37:34 版块 EC-IoT
4032 4 0
他的回复:
[hnsd@huawei ~]$ wwan dialer -s -i LTE0[hnsd@huawei ~]$ nft add rule dnat1 postrouting ip saddr 192.168.100.0/24 oifname LTE0 masqueradeError: Could not process rule: No such file or directoryadd rule  dnat1 postrouting ip saddr 192.168.100.0/24 oifname LTE0 masquerade^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^invalid command, try "nft -h"[hnsd@huawei ~]$ nft add table dnat1The table name already exists.invalid command, try "nft -h"[hnsd@huawei ~]$ wwan dialer -s -i LTE0[hnsd@huawei ~]$ nft add table dnat1The table name already exists.invalid command, try "nft -h"[hnsd@huawei ~]$ nft add chain dnat1 postrouting { type nat hook postrouting priority 0 \; }[hnsd@huawei ~]$ nft add rule dnat1 postrouting ip saddr 192.168.100.0/24 oifname LTE0 masquerade[hnsd@huawei ~]$ ip addr show dev LTE0.Error: argument "LTE0." is wrong: "dev" value is invalid, cannot find the device[hnsd@huawei ~]$ ip addr show dev LTE01030: LTE0: mtu 1500 qdisc pfifo_fast state up mode default qlen 1000        link/LTE 64:2c:ac:c3:a2:94 brd ff:ff:ff:ff:ff:ff    inet 10.16.244.12/8 brd 10.255.255.255 scope global LTE0       valid_lft forever       preferred_lft forever    inet6 fe80::662c:acff:fec3:a294/64 scope link       valid_lft forever       preferred_lft forever[hnsd@huawei ~]$ ping 8.8.8.8PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.64 bytes from 8.8.8.8: icmp_seq=1 ttl=114 time=3576 ms64 bytes from 8.8.8.8: icmp_seq=2 ttl=114 time=4543 ms重新插紧sim卡,有数据了,就是比较慢
发布时间 2021/11/30 16:43:38 最后回复 breeze_1357 2021/12/09 12:37:34 版块 EC-IoT
4032 4 0
他的回复:
hnsdPassword:[hnsd@huawei ~]$ wwan dialer -s -i LTE0[hnsd@huawei ~]$ nft add rule dnat1 postrouting ip saddr 192.168.100.0/24 oifname LTE0 masqueradeError: Could not process rule: No such file or directoryadd rule  dnat1 postrouting ip saddr 192.168.100.0/24 oifname LTE0 masquerade^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^invalid command, try "nft -h"[hnsd@huawei ~]$ timed out waiting forecos LinuxKernel 4.4.197 on an aarch64 (ttyAMA0)huawei login: hnsdPassword:Login incorrecthuawei login: hnsdPassword:Last login: Tue Nov 30 16:56:48 CST 2021 on ttyAMA0[hnsd@huawei ~]$ nft add table dnat1[hnsd@huawei ~]$ nft add chain dnat1 postrouting { type nat hook postrouting priority 0 \; }[hnsd@huawei ~]$ wwan dialer -s -i LTE0[hnsd@huawei ~]$ nft add rule dnat1 postrouting ip saddr 192.168.100.0/24 oifname LTE0 masquerade[hnsd@huawei ~]$ ip addr show dev LTE01030: LTE0: mtu 1500 qdisc pfifo_fast state down mode default qlen 1000        link/LTE 64:2c:ac:c3:a2:94 brd ff:ff:ff:ff:ff:ff    inet6 fe80::662c:acff:fec3:a294/64 scope link       valid_lft forever       preferred_lft forever[hnsd@huawei ~]$[hnsd@huawei ~]$ wwan dialer -s -i LTE0[hnsd@huawei ~]$ nft add table dnat1The table name already exists.invalid command, try "nft -h"[hnsd@huawei ~]$ nft add chain dnat1 postrouting { type nat hook postrouting priority 0 \; }[hnsd@huawei ~]$ nft add rule dnat1 postrouting ip saddr 192.168.100.0/24 oifname LTE0 masquerade[hnsd@huawei ~]$ ip addr show dev LTE01030: LTE0: mtu 1500 qdisc pfifo_fast state down mode default qlen 1000        link/LTE 64:2c:ac:c3:a2:94 brd ff:ff:ff:ff:ff:ff    inet6 fe80::662c:acff:fec3:a294/64 scope link       valid_lft forever       preferred_lft forever[hnsd@huawei ~]$ ping 8.8.8.8connect: Network is unreachable[hnsd@huawei ~]$还是没有成功