This post concerns an issue very much like the one described at Can't Update the opkg update list - #2 by psherman. The main difference between what's described there and my setup is that the connection to the internet of my gateway/router/AP is through its WAN port that connects to a cable modem. Connectivity is working fine through the router for the most part and I can ping internet address by ip or name from the router itself as well as from most connected hosts. But somehow opkg will not update package lists, as the output below indicates (very much like the output posted in the linked thread):
Downloading https://downloads.openwrt.org/releases/24.10.0/packages/aarch64_cortex-a72/telephony/Packages.gz
Failed to send request: Operation not permitted
*** Failed to download the package list from https://downloads.openwrt.org/releases/24.10.0/packages/aarch64_cortex-a72/telephony/Packages.gz
Collected errors:
* opkg_download: Failed to download https://downloads.openwrt.org/releases/24.10.0/targets/bcm27xx/bcm2711/packages/Packages.gz, wget returned 4.
* opkg_download: Check your network settings and connectivity.
* opkg_download: Failed to download https://downloads.openwrt.org/releases/24.10.0/packages/aarch64_cortex-a72/base/Packages.gz, wget returned 4.
* opkg_download: Check your network settings and connectivity.
* opkg_download: Failed to download https://downloads.openwrt.org/releases/24.10.0/targets/bcm27xx/bcm2711/kmods/6.6.73-1-2577896cea679d46fe670142cc9703c1/Packages.gz, wget returned 4.
* opkg_download: Check your network settings and connectivity.
* opkg_download: Failed to download https://downloads.openwrt.org/releases/24.10.0/packages/aarch64_cortex-a72/luci/Packages.gz, wget returned 4.
* opkg_download: Check your network settings and connectivity.
* opkg_download: Failed to download https://downloads.openwrt.org/releases/24.10.0/packages/aarch64_cortex-a72/packages/Packages.gz, wget returned 4.
* opkg_download: Check your network settings and connectivity.
* opkg_download: Failed to download https://downloads.openwrt.org/releases/24.10.0/packages/aarch64_cortex-a72/routing/Packages.gz, wget returned 4.
* opkg_download: Check your network settings and connectivity.
* opkg_download: Failed to download https://downloads.openwrt.org/releases/24.10.0/packages/aarch64_cortex-a72/telephony/Packages.gz, wget returned 4.
* opkg_download: Check your network settings and connectivity.
I tried one of the solutions posted in the linked thread, which was to add an additional DNS line for a public DNS server (1.1.1.1) via Luci interface Network > Interfaces > Edit (lan) > Advanced Settings > Use Custom DNS servers. That is reflected in other output I will post. The address 192.168.1.1 was already included there btw. But I still cannot update packages lists, even after adding the additional DNS entry.
Here's output from a couple of the other commands suggested in the linked thread.
ubus call system board
{
"kernel": "6.6.73",
"hostname": "pi4",
"system": "ARMv8 Processor rev 3",
"model": "Raspberry Pi 4 Model B Rev 1.1",
"board_name": "raspberrypi,4-model-b",
"rootfs_type": "ext4",
"release": {
"distribution": "OpenWrt",
"version": "24.10.0",
"revision": "r28427-6df0e3d02a",
"target": "bcm27xx/bcm2711",
"description": "OpenWrt 24.10.0 r28427-6df0e3d02a",
"builddate": "1738624177"
}
}
and
cat /etc/config/network
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd84:8760:6d55::/48'
option packet_steering '1'
config device
option name 'br-lan'
option type 'bridge'
list ports 'eth0'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
list dns '192.168.1.1'
list dns '1.1.1.1'
config interface 'eth0'
option proto 'dhcp'
option device 'eth0'
config interface 'WAN'
option proto 'dhcp'
option device 'eth1'
config device
option name 'eth1'
I can post other such output if it will prove helpful in diagnosing this issue. Thanks