Firefly开源社区

标题: rk3399网络不通 [打印本页]

作者: Jello    时间: 2023-9-12 17:30
标题: rk3399网络不通
我网络都配置好了,网线也查到别的板子试过了可以通信,网口也在闪烁,就是ping不通,ping 自己的地址是通的
下面是我的截图:
windows的网络配置:

以太网适配器 以太网:

   连接特定的 DNS 后缀 . . . . . . . :
   本地链接 IPv6 地址. . . . . . . . : fe80::4de2:c306:c102:a3b4%14
   IPv4 地址 . . . . . . . . . . . . : 192.168.1.241
   子网掩码  . . . . . . . . . . . . : 255.255.255.0
   IPv4 地址 . . . . . . . . . . . . : 192.168.52.11
   子网掩码  . . . . . . . . . . . . : 255.255.255.0
   IPv4 地址 . . . . . . . . . . . . : 192.168.100.241
   子网掩码  . . . . . . . . . . . . : 255.255.255.0
   IPv4 地址 . . . . . . . . . . . . : 192.168.100.243
   子网掩码  . . . . . . . . . . . . : 255.255.255.0
   默认网关. . . . . . . . . . . . . : 192.168.100.254

firefly开发板的网络配置:
root@firefly:/# cat etc/netplan/config.yaml
# Let NetworkManager manage all devices on this system
network:
  version: 2
  renderer: NetworkManager
  ethernets:
    eth0:
      addresses:
        - 192.168.100.58/24
      nameservers:
        addresses: [8.8.8.8]
      routes:
        - to: 0.0.0.0/0
          via: 192.168.100.254
root@firefly:/# netplan  apply

ifconfig的详情:
root@firefly:/# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.100.58  netmask 255.255.255.0  broadcast 192.168.100.255
        inet6 fe80::d861:17ff:feda:15ad  prefixlen 64  scopeid 0x20<link>
        ether da:61:17:da:15:ad  txqueuelen 1000  (Ethernet)
        RX packets 951  bytes 57355 (57.3 KB)
        RX errors 462  dropped 50  overruns 0  frame 462
        TX packets 113  bytes 16984 (16.9 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 24

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Local Loopback)
        RX packets 730  bytes 54856 (54.8 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 730  bytes 54856 (54.8 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether c0:84:7d:95:d6:c6  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

路由表信息:
root@firefly:/# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.100.254 0.0.0.0         UG    100    0        0 eth0
192.168.100.0   0.0.0.0         255.255.255.0   U     100    0        0 eth0

防火墙信息:
root@firefly:/# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

ping 不通IP的结果
root@firefly:/# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 192.168.100.58 icmp_seq=6 Destination Host Unreachable
From 192.168.100.58 icmp_seq=7 Destination Host Unreachable
From 192.168.100.58 icmp_seq=8 Destination Host Unreachable
From 192.168.100.58 icmp_seq=9 Destination Host Unreachable
^C
--- 8.8.8.8 ping statistics ---
11 packets transmitted, 0 received, +4 errors, 100% packet loss, time 10001ms
pipe 4


root@firefly:/# ping baidu.com
ping: baidu.com: Temporary failure in name resolution

ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.077 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.128 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.130 ms

希望大佬能帮一下,不甚感激


tchip_askquestions

firefly开机日志.zip

1.36 KB, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1






欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1