Hello, I'm trying to get OpenWrt x86 installed and replacing my pfSense router, but I've only managed to get ssh to it from my lan. I can't do anything more, when I try to do opkg update this is what I get:
root@OpenWrt:~# ping google.com
PING google.com (142.250.203.238): 56 data bytes
64 bytes from 142.250.203.238: seq=0 ttl=116 time=97.284 ms
64 bytes from 142.250.203.238: seq=1 ttl=116 time=97.374 ms
64 bytes from 142.250.203.238: seq=2 ttl=116 time=97.355 ms
64 bytes from 142.250.203.238: seq=3 ttl=116 time=97.314 ms
64 bytes from 142.250.203.238: seq=4 ttl=116 time=97.360 ms
^C
--- google.com ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 97.284/97.337/97.374 ms
root@OpenWrt:~# opkg update
Downloading https://downloads.openwrt.org/releases/22.03.0-rc4/targets/x86/64/packages/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/releases/22.03.0-rc4/targets/x86/64/packages/Packages.gz
Downloading https://downloads.openwrt.org/releases/22.03.0-rc4/packages/x86_64/base/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/releases/22.03.0-rc4/packages/x86_64/base/Packages.gz
Downloading https://downloads.openwrt.org/releases/22.03.0-rc4/packages/x86_64/luci/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/releases/22.03.0-rc4/packages/x86_64/luci/Packages.gz
Downloading https://downloads.openwrt.org/releases/22.03.0-rc4/packages/x86_64/packages/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/releases/22.03.0-rc4/packages/x86_64/packages/Packages.gz
Downloading https://downloads.openwrt.org/releases/22.03.0-rc4/packages/x86_64/routing/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/releases/22.03.0-rc4/packages/x86_64/routing/Packages.gz
Downloading https://downloads.openwrt.org/releases/22.03.0-rc4/packages/x86_64/telephony/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/releases/22.03.0-rc4/packages/x86_64/telephony/Packages.gz
Collected errors:
* xsystem: wget: Child killed by signal 4.
* opkg_download: Failed to download https://downloads.openwrt.org/releases/22.03.0-rc4/targets/x86/64/packages/Packages.gz, wget returned -1.
* xsystem: wget: Child killed by signal 4.
* opkg_download: Failed to download https://downloads.openwrt.org/releases/22.03.0-rc4/packages/x86_64/base/Packages.gz, wget returned -1.
* xsystem: wget: Child killed by signal 4.
* opkg_download: Failed to download https://downloads.openwrt.org/releases/22.03.0-rc4/packages/x86_64/luci/Packages.gz, wget returned -1.
* xsystem: wget: Child killed by signal 4.
* opkg_download: Failed to download https://downloads.openwrt.org/releases/22.03.0-rc4/packages/x86_64/packages/Packages.gz, wget returned -1.
* xsystem: wget: Child killed by signal 4.
* opkg_download: Failed to download https://downloads.openwrt.org/releases/22.03.0-rc4/packages/x86_64/routing/Packages.gz, wget returned -1.
* xsystem: wget: Child killed by signal 4.
* opkg_download: Failed to download https://downloads.openwrt.org/releases/22.03.0-rc4/packages/x86_64/telephony/Packages.gz, wget returned -1.
As you can see ping works, when I try wget to sites without the http I get âFailed to allocate uclient contextâ and when I add http/s to the site I get Illegal operation.
What am I missing? In one of my previous tries it worked out of the box, but the flash of the OS was not done correctly, and now it flashed correctly.