Unable to extract tar archive

I'm guessing you sent me the github link in error?

Otherwise I vaguely think you're trying to say youre using the TAR to make a boot CD?

Perhaps you might answer instead of a link?

Apologies... The link was to instructions about creating a mfslinux ISO based on OpenWrt.

why not grab the premade iso from https://mfsbsd.vx.sk/ ?

1 Like

I grabbed that and can boot from it but it doesn't have drivers for my NIC so I would need to build my own image with the approrpiate driver.

ah, back to square one then ... :slight_smile:

Is there any way to generate the list of actual packages with version number from their generic names?

Simply do a find, from a list of the packages, with full filenames, and perhaps paths/URLs.

Actually, I'm not exactly sure how mfslinux differs from OpenWrt....

It isn't really a FreeBSD problem, it's simply a problem of creating the correct build environment on FreeBSD which will build mfslinux, which appears (to me) as a simplified version of OpenWrt for the x86 platform.

If I require something like for instance zlib how to I locate the correct name as a package?

There probably aren't any differences, it's just creating an initramfs and adding / removing some packages.

Nothing that can't be done with regular openwrt, just automated, for your convenience.

I finally managed to build an ISO after locating a dozen outdated files.
What I'm missing now is how to add a driver for an Intel NIC on my ThinkPad.

Any suggestions about how to do that?

1 Like

Add the name of the package, to the file I had previously updated.

Do you mean:-

https://downloads.openwrt.org/releases/21.02.0/targets/x86/64/packages/kmod-e1000e_5.4.143-1_x86_64.ipk

?

If that's the package you need, then yes.

You should cut the URL down the same way the other files are listed.

How do I tell which driver I need?

My adapter is an Intel 82577LM Gigabit NIC.

Try: https://openwrt.org/packages/table/start?dataflt[Description_wiki*~]=8257

Someone asked in a thread the other day...(searching...)

2 Likes

Thnx @lleachii.

@balanga don't forget to add the dependencies.

1 Like

instead of using the stock image, DLed by the script from download.openwrt.org, you could create
a custom image, with the packages required, built via the online image builder, since it'd take care
of the dependencies.

2 Likes

I did try that once, but got intimidated by all the choices...

Maybe I'll give it another go. It will give my an opportunity to test my FreeBSD based OpenWrt image builder, which did get as far creating the build menu, but I wasn't sure about which options to select so never got as far as creating an image.

try the online/web based one, it removes most of the headaches.
you'll still need to do the actual conversion to ISO though, that part
you don't need to do with the offline version, since it'll let you build
an initramfs.

1 Like