I Went inside the xiaomi 4c firmware and am trying to download the openwrt file through the link:
wget https://mirror03.infra.openwrt.org/releases/24.10.0/targets/ramips/mt76x8/openwrt-24.10.0-ramips-mt76x8-xiaomi_mi-router-4c-initramfs-kernel.bin
But I get an error - wget: not an http or ftp url:https://mirror03.infra.openwrt.org/releases/24.10.0/targets/ramips/mt76x8/openwrt-24.10.0-ramips-mt76x8-xiaomi_mi-router-4c-initramfs-kernel.bin
Does anyone have a http link for downloading?
Use uclient-fetch
instead
remove the S from the httpS ?
doesn't work
it does, if you replace mirror03.infra.openwrt.org with downloads.openwrt.org
wget: bad address 'downloads.openwrt.org'
then you router doesn't have internet and/or DNS access... ?
if you're using Linux, you can always launch a web server on your client, in Python, by following https://realpython.com/python-http-server/.
serve and wget the file from there.
You can also just download the files from your computer and copy them to your router.
I already tried it, but when I upload a file, (mobXterm) it starts an infinite file download
Perhaps you can explain what you're trying to do then, as the issue might be elsewhere, and we avoid the XY problem.
how did you get as far as you did ?
did you DL a win binary of OpenWRTInvasion ?
I used Docker, then connected using mobXterm via ssh
so you're probably on Linux ?
if that's the case, why not simply fire up the python web server ?
I connected my main router's cable to this router so that it could have internet, I didn't touch the Dns, I just need a http link so I can download the openwrt file for the firmware.
using 4c's WAN port ?
you already received one, in a DIY format though.
I'm use windows
What did you use Docker for and how is ssh
related to that? What is your router running right now?
ubus call system board
And, again, what are you trying to do? Why are you trying to download initramfs
?
what file should I have downloaded? There was only initgrams and sysupgrade on the website
what guide did you follow ?
not https://openwrt.org/toh/xiaomi/xiaomi_mi_router_4c#installation, it would seem.
You need to tell us what you're trying to do. I'm guessing based on my gut feeling you're trying to flash OpenWrt to Xiaomi Mi Router 4C for the first time. But you not answering is not helping clear things up.