I'm trying to configure OpenWrt on a GL-MT6000 router. I replaced the modified fork of OpenWrt that came with the router with the sysupgrade image provided by the Firmware Selector. I went through the installation guide, setting up basics, like passwords, enabling WiFi and so on.
However, when I try to opkg update, either through SSH or through the LuCI web interface, I get an error:
The opkg update command failed with code
7.
Here is the entire Error message:
Error
SSL error: NET - Sending information through the socket failed
SSL error: NET - Sending information through the socket failed
SSL error: NET - Sending information through the socket failed
SSL error: NET - Sending information through the socket failed
SSL error: NET - Sending information through the socket failed
SSL error: NET - Sending information through the socket failed
SSL error: NET - Sending information through the socket failed
Collected errors:
* opkg_download: Failed to download https://downloads.openwrt.org/releases/24.10.4/targets/mediatek/filogic/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.4/packages/aarch64_cortex-a53/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.4/targets/mediatek/filogic/kmods/6.6.110-1-6a9e125268c43e0bae8cecb014c8ab03/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.4/packages/aarch64_cortex-a53/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.4/packages/aarch64_cortex-a53/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.4/packages/aarch64_cortex-a53/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.4/packages/aarch64_cortex-a53/telephony/Packages.gz, wget returned 4.
* opkg_download: Check your network settings and connectivity.
I am not sure why am I receiving this error, particularly as my connectivity seems to be fine. I can ping anything I want, my devices that connect to the router have full access to the internet and so on.
I googled around, and I have tried out the following suggestions:
- Checking that the system time is correct
- Making my LAN interface use a custom DNS server (I've been using 8.8.8.8)
None of these solved the problem. However, when I then tried out the suggestion of disabling my wan6 interface (I have 3 interfaces currently: lan, wan, and wan6), then opkg update runs without any errors.
Could someone explain to me why opkg update requires me disabling the wan6 interface? This is basically a completely new router, a fresh OpenWrt install with nothing but just the basic configurations, and I expected it to work pretty much out of the box, but something seems to be wrong, unless wan6 is meant to interfere with opkg.