M
M
MURZELLO2020-06-20 11:06:36
linux
MURZELLO, 2020-06-20 11:06:36

How to install packages without internet after installing OpenWRT?

I took a router with me to the dacha, with the desire to demolish this "Asusian miracle" for the weekend and install OpenWRT .
I downloaded the latest (at the moment) version 19.07.3 and flashed the router. But as it turned out, radio modules are disabled by default in the firmware, and, accordingly, WiFi is not available:

like the tab in the admin panel (screenshot)
5eedbc77186b8777234265.png

It is not clear for what purpose this was done, out of security or a desire to save space for IPv6.
And how to update the packages now and do anything in general is not clear ...

On this PC, the Internet is only via WiFi (whistle in the attic) .
If you connect to the router via CMDER (website) : ssh [email protected] and run opkg update, then naturally:

some errors (log)
Downloading http://downloads.openwrt.org/rele...
Failed to establish connection
*** Failed to download the package list from....
Collected errors:
 * opkg_download: Failed to download http://downloads.openwrt.org/re...
 * opkg_download: Check your network settings and connectivity.

I tried in the properties of the wireless connection (on the Access tab) to set the permission " other network users use this computer's Internet connection " - it did not help. Installed HSF (website) and threw the necessary package there - the same thing.

Of course, you can take the router and take it to where there is a "wired" Internet and update / install / configure everything. But now how to be??? (( The site says how to enable the configuration file for the radio module and all its settings, but this will not work, since there are no packages installed for it.

In general, some kind of nonsense ... For some reason, it reminded me of Microsoft's nonsense, when when you turn on the PC and the keyboard is turned off at that moment, it says "Keyboard not found. Press F1 to continue." It’s not clear what people are smoking there, they’ve made a fool of themselves ...

Maybe there is some way to download these packages locally, well, I don’t know, maybe from a USB flash drive or how else to slip it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
poisons, 2020-06-20
@poisons

It is not clear for what purpose this was done.

For the purpose that for some routers there are several implementations of radio module support, ala free where 802.11n does not work, and not free. Or similar.
"Other network users use this computer's Internet connection"

Read how to distribute a wireless connection through a wire from a computer to a router. wagon instructions.
For some reason, this reminded me of the nonsense of Microsoft, when, when you turn on the PC

This inscription is displayed not at all by Microsoft code.
There are exactly 2 ways, or still distribute the Internet from a computer through a wire, which is relatively simple, you just need not to score more and configure the router for this.
Or work for the package manager with handles, see what packages you need to install and drag them to the router.
Pervyt way IMHO faster and easier.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question