Re: ifconfig: exec_matches: No such file or directory
"David H. Gutteridge" <[email protected]>
| Newsgroups | gmane.os.netbsd.general |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 09 May 2026 at 13:08:05 +0000, Edan Osborne wrote: > I recently installed NetBSD/amd64 10.1 on my ThinkPad T400, but I am > having > issues with WiFi. > > My WiFi card is supported by the iwn(4) driver, and it worked just > fine in the > installer; but when when booting, I get this error in my dmesg: > > [ 170.004879] iwn0: autoconfiguration error: could not get > firmware handle > iwlwifi-5000-2.ucode > [ 170.004879] iwn0: autoconfiguration error: could not read > firmware > [ 762.464956] iwn0: autoconfiguration error: could not get > firmware handle > iwlwifi-5000-2.ucode > [ 762.464956] iwn0: autoconfiguration error: could not read > firmware > > When I try to start networking manually, I get this: > > amethyst# sh /etc/rc.d/network start > Starting network. > Hostname: amethyst.fritz.box > IPv6 mode: host > Configuring network interfaces: iwn0ifconfig: exec_matches: No such > file or > directory > . > Adding interface aliases:. > Waiting for duplicate address detection to finish... > > And I can confirm that the file does exist in the correct location: > > amethyst# file /libdata/firmware/if_iwn/iwlwifi-5000-2.ucode > lhs/off overflow 4270589976 0 > /libdata/firmware/if_iwn/iwlwifi-5000-2.ucode: data > > Does anyone have any idea how to fix this? > Given it worked for you in the installer, and that the file(1) command is giving an "lhs/off overflow" error message, my suspicion would be that either the file in question is corrupted or something else is amiss with the disk it's on. Have you compared its size and integrity with what's supplied in an install set? Here's what I see for 10.1/amd64: $ file iwlwifi-5000-2.ucode iwlwifi-5000-2.ucode: data $ ls -l iwlwifi-5000-2.ucode -r--r--r-- 1 test wheel 353240 Dec 16 2024 iwlwifi-5000-2.ucode $ sha512 iwlwifi-5000-2.ucode SHA512 (iwlwifi-5000-2.ucode) = 3c8d3694f99909c13ff27610d1c362cb9c4c6d2db52471f700d00caf542e274ec89f9293481ac5323c6edb39b3440cc26845c1f5a40497b52e1376cb94b5d0f8 Regards, Dave