On Mon, 6 Dec 2021 20:50:52 +0000 (UTC)
Long Wind <longwi...@yahoo.com> wrote:

> allow-hotplug wlx12345
> iface wlx12345 inet dhcp
>         wpa-ssid mice
>         wpa-key-mgmt NONE

I take it this is in /etc/network/interface or in a file below
/etc/network/interfaces.d

> 
> but after installer exit and first boot, i run ifup wlx12345:
> 
> run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return
> code 1 ifup: failed to bring up wlx12345

I suspect a lack of firmware. What is the interface hardware? Run lspci
to determine which device is your network interface, something like:

root@iorich:~# lspci
...
03:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN 
[Kedron] Network Connection (rev 61)
...
root@iorich:~#

Use the identifier at the left to get more information on the hardware:

root@iorich:~# lspci -v -s 03:00
03:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN 
[Kedron] Network Connection (rev 61)
        Subsystem: Intel Corporation Lenovo ThinkPad T51
        Physical Slot: 3
        Flags: bus master, fast devsel, latency 0, IRQ 32
        Memory at df3fe000 (64-bit, non-prefetchable) [size=8K]
        Capabilities: [c8] Power Management version 3
        Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [e0] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Device Serial Number 00-1d-e0-ff-ff-99-75-25
        Kernel driver in use: iwl4965
        Kernel modules: iwl4965

root@iorich:~# 

Notice the kernel driver in use, in this case iwl4965.

Now see if it has been loaded.

root@iorich:~# lsmod | grep -i iwl4965
iwl4965               110592  0
iwlegacy               90112  1 iwl4965
mac80211              983040  2 iwl4965,iwlegacy
cfg80211              970752  3 iwl4965,iwlegacy,mac80211
root@iorich:~# 

Did the firmware get loaded? Search /var/log/syslog on the name of the
driver (iwl4965 in this case). Shortly after boot, you should see a
message indicating success or failure of loading the firmware.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/

Reply via email to