![]() |
|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]()
I have an old Dell Latitude D420 laptop that I'm trying to get a wireless card working on. I couldn't get an ethernet cord to work either, so just using one temporarily with fw_update isn't an option. After putting the file on a SD card and mounting/changing directory, using pkg_add renders the following:
Code:
# pkg_add wpi-firmware-3.2p1.tgz Fatal error: Ustar [file:./wpi-firmware-3.2p1.tgz] [?]: Not an ustar archive header at /usr/libdata/per15/OpenBSD/Ustar.pm line 89. It might also be worth noting that the byte size for the file in the 5.6 folder on the OpenBSD firmware site is 65935, but in the old folder it's 65976 (41 bytes larger). I got the same error message with both versions, however. |
|
|||
![]()
The man page of fw_update(1) says:
The files are in the format required by pkg_add(1), but direct use of pkg_add is discouraged. -p path Use the firmware found at path, being either a local directory or a URL, instead of the default location. Do you get an error when listing the content of the archive? Code:
# tar tvzf wpi-firmware-3.2p1.tgz |
|
|||
![]()
1. For pkg_add, I was using it locally. If I was able to get ethernet working, I would have just used fw_update like the man page says.
2. The tar tvzf code reported the following: Code:
# tar tvzf wpi-firmware-3.2p1.tgz tar: Cannot identify format. Searching... tar: Cpio file name length 48031 is out of range tar: Invalid header, starting valid header search. tar: End of archive volume 1 reached |
|
||||
![]()
Hello, and welcome.
What checksum tests have you run against http://firmware.openbsd.org/5.6/wpi-firmware-3.2p1.tgz to confirm you have obtained the file without error? My quick test of this file: MD5: 5D1A2FD85A8AB4624CDB2E174538E159 SHA1: 036164CA39A379A7B0732CBBB6D14F97C7ED380C SHA256: F37146C1247F58FB20CD414850195C9C36D0F98B0931B40945 DDE3EC6571FE09 |
|
|||
![]() Quote:
But obviously the file you downloaded is not correct. |
|
||||
![]()
That was my guess; hence my recommendation to checksum. Either the file is not being obtained without errors, or the wrong file is being obtained. The Project's packaged firmware files should all be acquired from http://firmware.openbsd.org.
|
|
|||
![]()
Thanks jggimi. I noticed that the MD5 on the last file was wrong, so I downloaded it again and got the correct MD5, SHA1 and SHA256 hashes. However, I got another error as follows:
Code:
# pkg_add wpi-firmware-3.2p1.tgz Package signed by untrusted party openbsd-56-fw Fatal error: wpi-firmware-3.2p1 is corrupted at usr/libdata/per15/OpenBSD/PkgAdd.pm line 696. |
|
||||
![]()
Don't use pkg_add(1). With the advent of signed systems, there are three different sets of signatures used: base system, packages, and firmware.
Use fw_update(1) with the -p option, as previously advised. |
|
|||
![]()
I tried the following:
Code:
# mount -t msdos /dev/sd0i /mnt/flashmem # fw_update -p /mnt/flashmem/wpi-firmware-3.2p1.tgz Code:
wpi0: error, 2, could not read firmware wpi-3945abg wpi0: could not read firmware wpi0: no link ........... sleeping |
|
|||
![]()
Okay, that fixed it. Thanks again for all your help.
|
![]() |
Tags |
firmware, fw_update, openbsd firmware |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to upgrade firmware? | tls | OpenBSD Installation and Upgrading | 9 | 30th April 2012 10:50 PM |
How to build upgt firmware | AnilG | FreeBSD Installation and Upgrading | 2 | 20th March 2012 12:06 PM |
It's necesary to use firmware configuring rum or zyd? | ximo | FreeBSD General | 7 | 8th July 2009 10:05 AM |
wpi firmware Intel eula | plouk | NetBSD General | 7 | 4th July 2009 04:14 AM |
location for wpi-firmware-.tgz | bsdnewbie999 | OpenBSD General | 1 | 18th June 2008 04:20 AM |