Hi,
I am getting the error below, I able to ping downloads.openwrt.org via ssh from openwrt, but can't update. I am using my router as access point.
root@ap:~# vim /etc/config/network
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
config interface 'lan'
option type 'bridge'
option ifname 'eth1.1'
option proto 'static'
option netmask '255.255.255.0'
option gateway '192.168.40.1'
option ipaddr '192.168.40.2'
option broadcast '192.168.40.255'
option delegate '0'
option ipv6 '0'
list dns '192.168.40.1'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '6t 4 3 2 1'
option vid '1'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '0t 5'
option vid '2'
config switch_vlan
option device 'switch0'
option vlan '3'
option vid '39'
option ports '0t 4t'
config interface 'GuestOverVLAN'
option ifname 'eth0.39'
option proto 'static'
option gateway '192.168.39.1'
option ipaddr '192.168.39.2'
list dns '192.168.39.1'
option type 'bridge'
option delegate '0'
option broadcast '192.168.39.255'
option netmask '255.255.255.0'
config switch_vlan
option device 'switch0'
option vlan '4'
option ports '0t 4t'
option vid '13'
config interface 'IOT'
option ifname 'eth0.13'
option proto 'static'
option broadcast '192.168.13.254'
option ipaddr '192.168.13.2'
list dns '192.168.13.1'
option netmask '255.255.255.0'
option delegate '0'
option force_link '0'
option gateway '192.168.13.1'
option type 'bridge'
option device 'switch0'
option vlan '4'
option ports '0t 4t'
option vid '13'
config interface 'IOT'
option ifname 'eth0.13'
option proto 'static'
option broadcast '192.168.13.254'
option ipaddr '192.168.13.2'
list dns '192.168.13.1'
option netmask '255.255.255.0'
option delegate '0'
option force_link '0'
option gateway '192.168.13.1'
option type 'bridge'
Downloading http://downloads.openwrt.org/releases/19.07.7/targets/ipq806x/generic/packages/Packages.gz
*** Failed to download the package list from http://downloads.openwrt.org/releases/19.07.7/targets/ipq806x/generic/packages/Packages.gz
Downloading http://downloads.openwrt.org/releases/19.07.7/targets/ipq806x/generic/kmods/4.14.221-1-0894164cab0effc42201a29fec8ce33f/Packages.gz
*** Failed to download the package list from http://downloads.openwrt.org/releases/19.07.7/targets/ipq806x/generic/kmods/4.14.221-1-0894164cab0effc42201a29fec8ce33f/Packages.gz
Downloading http://downloads.openwrt.org/releases/19.07.7/packages/arm_cortex-a15_neon-vfpv4/base/Packages.gz
*** Failed to download the package list from http://downloads.openwrt.org/releases/19.07.7/packages/arm_cortex-a15_neon-vfpv4/base/Packages.gz
Downloading http://downloads.openwrt.org/releases/19.07.7/packages/arm_cortex-a15_neon-vfpv4/freifunk/Packages.gz
*** Failed to download the package list from http://downloads.openwrt.org/releases/19.07.7/packages/arm_cortex-a15_neon-vfpv4/freifunk/Packages.gz
Downloading http://downloads.openwrt.org/releases/19.07.7/packages/arm_cortex-a15_neon-vfpv4/luci/Packages.gz
*** Failed to download the package list from http://downloads.openwrt.org/releases/19.07.7/packages/arm_cortex-a15_neon-vfpv4/luci/Packages.gz
Downloading http://downloads.openwrt.org/releases/19.07.7/packages/arm_cortex-a15_neon-vfpv4/packages/Packages.gz
*** Failed to download the package list from http://downloads.openwrt.org/releases/19.07.7/packages/arm_cortex-a15_neon-vfpv4/packages/Packages.gz
Downloading http://downloads.openwrt.org/releases/19.07.7/packages/arm_cortex-a15_neon-vfpv4/routing/Packages.gz
*** Failed to download the package list from http://downloads.openwrt.org/releases/19.07.7/packages/arm_cortex-a15_neon-vfpv4/routing/Packages.gz
Downloading http://downloads.openwrt.org/releases/19.07.7/packages/arm_cortex-a15_neon-vfpv4/telephony/Packages.gz
*** Failed to download the package list from http://downloads.openwrt.org/releases/19.07.7/packages/arm_cortex-a15_neon-vfpv4/telephony/Packages.gz
Errors
Failed to send request: Operation not permitted
Failed to send request: Operation not permitted
Failed to send request: Operation not permitted
Failed to send request: Operation not permitted
Failed to send request: Operation not permitted
Failed to send request: Operation not permitted
Failed to send request: Operation not permitted
Failed to send request: Operation not permitted
Collected errors:
* opkg_download: Failed to download http://downloads.openwrt.org/releases/19.07.7/targets/ipq806x/generic/packages/Packages.gz, wget returned 4.
* opkg_download: Check your network settings and connectivity.
* opkg_download: Failed to download http://downloads.openwrt.org/releases/19.07.7/targets/ipq806x/generic/kmods/4.14.221-1-0894164cab0effc42201a29fec8ce33f/Packages.gz, wget returned 4.
* opkg_download: Check your network settings and connectivity.
* opkg_download: Failed to download http://downloads.openwrt.org/releases/19.07.7/packages/arm_cortex-a15_neon-vfpv4/base/Packages.gz, wget returned 4.
* opkg_download: Check your network settings and connectivity.
* opkg_download: Failed to download http://downloads.openwrt.org/releases/19.07.7/packages/arm_cortex-a15_neon-vfpv4/freifunk/Packages.gz, wget returned 4.
* opkg_download: Check your network settings and connectivity.
* opkg_download: Failed to download http://downloads.openwrt.org/releases/19.07.7/packages/arm_cortex-a15_neon-vfpv4/luci/Packages.gz, wget returned 4.
* opkg_download: Check your network settings and connectivity.
* opkg_download: Failed to download http://downloads.openwrt.org/releases/19.07.7/packages/arm_cortex-a15_neon-vfpv4/packages/Packages.gz, wget returned 4.
* opkg_download: Check your network settings and connectivity.
* opkg_download: Failed to download http://downloads.openwrt.org/releases/19.07.7/packages/arm_cortex-a15_neon-vfpv4/routing/Packages.gz, wget returned 4.
* opkg_download: Check your network settings and connectivity.
* opkg_download: Failed to download http://downloads.openwrt.org/releases/19.07.7/packages/arm_cortex-a15_neon-vfpv4/telephony/Packages.gz, wget returned 4.
* opkg_download: Check your network settings and connectivity.