Install Packages While Offline?

I have successfully flashed 19.07.3 on my TP-Link AC1750 v2. I can SSH into it and everything seems fine. Only thing is that it doesn't have an internet connection ATM. I want to add USB support. Is there any way of downloading the necessary packages on my laptop and installing them locally instead of with OPKG? I've been reading the forums and found some posts about Imagebuilder but that seems to require Linux which would require me to set up a VM, I guess, and then learn Linux. Is there any way to go about this using Windows?

You'll need internet access to get the packages, but once you have them you can just use putty to transfer them to your tp-link and install them, for example, kmod-fs-ext4 -

scp root@ kmod-fs-ext4.ipk :/tmp

Then ssh in, cd to /tmp and

opkg install kmod-fs-ext4.ipk


Use SCP to copy from laptop to device /tmp

Then use opkg to install the package from /tmp

Opkg documentation


Where do I get the .ipk files?
I've checked the github repositories linked from the Package Table page, but all I see is source code files.

Some are at the bottom of the images page.
The rest are here and you'll have to follow the link for your router. You can see it with uname -m

Thanks! I've been digging for that information for hours. How did you know where to find those pages?

Side note for anyone on the same quest: The Atheros QCA9558 SoC found in the Archer C7 / AC1750 v2 uses a MIPS 74KC processor.

Experience, mostly.

1 Like

You can find that out from your router. Here is example from my ath79 WNDR3700v2 currently running an 19.07 build

 OpenWrt 19.07-SNAPSHOT, r11104-e752fc1ff9

root@router2:~# cat /etc/opkg/distfeeds.conf
src/gz openwrt_core
src/gz openwrt_base
src/gz openwrt_luci
src/gz openwrt_packages
src/gz openwrt_routing
src/gz openwrt_telephony

It shows the package site links pretty clearly.
And once you now that the package dirs exist there, it is pretty easy to navigate to them.

The releases download top dir provides the easiest starting place:

(that dir is usually skipped over when you start from downloads top, it then navigates directly to downloads/19.07.3 etc., and does not show this overview.

Ha, thanks, wiseguy :slight_smile:


That's exactly what I was looking for, thank you.

Out of curiousity, is there any way to read distfeeds.conf from within Luci?

You haven't looked for that? It is pretty easily found from the Software page:

Dialog with the links:


There it is!
I'm also the guy who can't find the mayonnaise in the fridge if it's behind the ketchup.