RPi3 因不活动而进入睡眠模式后,无法连接到 SSH

RPi3 因不活动而进入睡眠模式后,无法连接到 SSH

当我买了我的 Raspberry Pi3 时,我回家设置了 SSH 和静态 IP 192.168.8.8。我使用 Putty 连接到它,它工作正常,直到它在一段时间不活动后进入睡眠模式,之后我还没有再次连接到它,我重新刷新了 Rasbian两次它再次工作,但再次进入睡眠模式后,我无法再连接它,当连接它时,我得到的是:

网络错误:连接超时

ip linkip route和的输出ip address

ip link

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enxb827ebdec400: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
    link/ether b8:27:eb:de:c4:00 brd ff:ff:ff:ff:ff:ff
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DORMANT group default qlen 1000
    link/ether b8:27:eb:8b:91:55 brd ff:ff:ff:ff:ff:ff

ip route

<empty, nothing at all>

ip address

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
        valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
        valid_lft forever preferred_lft forever
2: enxb827ebdec400: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
    link/ether b8:27:eb:de:c4:00 brd ff:ff:ff:ff:ff:ff
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DORMANT group default qlen 1000
    link/ether b8:27:eb:8b:91:55 brd ff:ff:ff:ff:ff:ff

相关内容