100% 丢包banana pi m2 为零,使用armbian 版本

100% 丢包banana pi m2 为零,使用armbian 版本

我已经为此绞尽脑汁有一段时间了。我无法通过 ssh 连接到我的 Banana pi m2 0(我没有迷你 USB 线,我是第一次尝试无线启动)。每次尝试 ping 时都会出现 100% 丢包情况。我知道它已连接到 wifi。我正在使用这个 armbian 版本: https://www.armbian.com/banana-pi-m2-plus/

这是我所做的:

  1. 我在/boot中创建了一个空白的ssh文件
  2. 在 sshd_config 文件中,我将 PermitRootLogin 和 PasswordAuthentication 设置为 yes
  3. 我在 etc/ufw/ 中添加了一个 before.rules 文件,里面有:
# Allow all incoming traffic
-A ufw-before-input -j ACCEPT

# Allow all outgoing traffic
-A ufw-before-output -j ACCEPT

# Allow all forwarded traffic
-A ufw-before-forward -j ACCEPT

# Allow SSH connections
-A ufw-before-input -p tcp --dport 22 -j ACCEPT

COMMIT
  1. 我确保没有其他机器正在使用端口 22
  2. sudo systemctl 启动 ssh
  3. 当我执行 nmap 时,我得到:
Starting Nmap 7.80 ( https://nmap.org ) at 2023-01-03 19:25 EST
Note: Host seems down. If it is really up, but blocking our ping probes, try -Pn
Nmap done: 1 IP address (0 hosts up) scanned in 5.03 seconds

PS:我一直在用 Linux 虚拟机编辑操作系统,我记得昨天我能够 ping 通它,没有丢包(我认为),但无法 ssh 到它。我不记得我做了什么来打破它:P 我列出的是我目前对

相关内容