# 背景
使用路由器刷了 openwrt的固件。然后尝试破解wpa等wifi的密码
# 配置好网络之后,使用ssh连接路由器。
测试连通性
0 ping downloads.openwrt.org
root@OpenWrt:~# ping downloads.openwrt.org
PING downloads.openwrt.org (168.119.138.211): 56 data bytes
64 bytes from 168.119.138.211: seq=0 ttl=50 time=238.224 ms
64 bytes from 168.119.138.211: seq=1 ttl=50 time=234.064 ms
64 bytes from 168.119.138.211: seq=3 ttl=50 time=237.744 ms
root@OpenWrt:/# opkg update
Downloading https://downloads.openwrt.org/releases/21.02.1/targets/ramips/mt7620/packages/
Failed to send request: Operation not permitted
*** Failed to download the package list from https://downloads.openwrt.org/releases/21.02.
Downloading https://downloads.openwrt.org/releases/21.02.1/packages/mipsel_24kc/base/Packa
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading https://downloads.openwrt.org/releases/21.02.1/packages/mipsel_24kc/luci/Packa
Failed to send request: Operation not permitted
*** Failed to download the package list from https://downloads.openwrt.org/releases/21.02.
Downloading https://downloads.openwrt.org/releases/21.02.1/packages/mipsel_24kc/packages/P
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading https://downloads.openwrt.org/releases/21.02.1/packages/mipsel_24kc/routing/Pa
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading https://downloads.openwrt.org/releases/21.02.1/packages/mipsel_24kc/telephony/
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Collected errors:
* opkg_download: Failed to download https://downloads.openwrt.org/releases/21.02.1/target
* opkg_download: Check your network settings and connectivity.
* opkg_download: Failed to download https://downloads.openwrt.org/releases/21.02.1/packag
* opkg_download: Check your network settings and connectivity.
------------------------
修改配置/etc/opkg.conf 之前是报下面的错。
Failed