Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

No wifi on debian 12 fresh install (HP laptop 440 14" G10)

1,122 views
Skip to first unread message

Itay

unread,
Oct 4, 2023, 8:10:07 AM10/4/23
to
Hi

I recently purchased an HP ProBook 440 14" G10 laptop.
This configuration is certified by Ubuntu[1].
The specs, as advertised by HP, can be found here[2].

The installation (debian 12 'bookworm') went as expected (using DVD and wired
connection). However, after reboot, I discovered that wifi was not working.
Bluetooth, on the other hand, is working.

After three days of search on the internet[3]-[9] I am really at a loss.
I have been a long-time debian *user* -- but am not an expert.
I am aware of the possibility to download drivers and compile them from
source[10]-[12], but hesitate to do that without an expert guide.

System and device information, as gathered by wireless-info script[13], will
follow the references.

Please advise
Thanks in advance.
Itay


########## references

[1] https://ubuntu.com/certified/202301-31130/22.04%20LTS
[2] https://h20195.www2.hp.com/v2/GetDocument.aspx?docname=c08480164
[3] https://forums.debian.net/viewtopic.php?t=151340
[4] https://askubuntu.com/questions/1475717/network-controller-driver-of-rtl8852ce-does-not-work-on-20-04
[5] https://askubuntu.com/questions/1215532/realtek-8822ce-wifi-not-working-but-bluetooth-working
[6] https://askubuntu.com/questions/1336379/network-driver-for-realtek-8852-20-10
[7] https://naushadbhat.medium.com/ubuntu-wifi-not-working-in-new-hp-laptops-solution-533e68613b7b
[8] https://forums.linuxmint.com/viewtopic.php?t=397536
[9] http://linux-wless.passys.nl/
[10] https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software
[11] https://github.com/airium/Realtek-PCIe-GBE-NIC-Driver
[12] https://github.com/lwfinger
[13] https://github.com/UbuntuForums/wireless-info


########## wireless info START ##########

Report from: 04 Oct 2023 11:45 IDT +0300

Booted last: 04 Oct 2023 00:00 IDT +0300

Script from: 25 Jan 2020 03:34 UTC +0000

##### release ###########################

Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm

##### kernel ############################

Linux 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.38-1 (2023-07-14) x86_64 unknown unknown GNU/Linux

Parameters: ro, quiet

##### desktop ###########################

sed: can't read /root/.dmrc: No such file or directory

Could not be determined.

##### lspci #############################

03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:c852] (rev 01)
Subsystem: Hewlett-Packard Company Device [103c:88e5]

04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
Subsystem: Hewlett-Packard Company RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [103c:8b78]
Kernel driver in use: r8169

##### lsusb #############################

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 005: ID 04f3:0c7e Elan Microelectronics Corp. ELAN:ARM-M4
Bus 003 Device 004: ID 0bda:c85c Realtek Semiconductor Corp. Bluetooth Radio
Bus 003 Device 002: ID 0408:5483 Quanta Computer, Inc. HP HD Camera
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

##### PCMCIA card info ##################

##### rfkill ############################

13: hci0: Bluetooth
Soft blocked: no
Hard blocked: no

##### secure boot #######################

SecureBoot disabled

##### lsmod #############################

wmi_bmof 16384 0
wmi 36864 2 video,wmi_bmof

##### interfaces ########################

[/etc/network/interfaces]

source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback

##### ifconfig ##########################

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback <MAC address> brd <MAC address>
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host noprefixroute
valid_lft forever preferred_lft forever
2: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether <MAC 'enp4s0' [IF1]> brd <MAC address>
inet 10.0.0.17/24 brd 10.0.0.255 scope global dynamic noprefixroute enp4s0
valid_lft 3358sec preferred_lft 3358sec
inet6 2a10:8010:680d:0:baa1:56c:141b:ca7/64 scope global temporary dynamic
valid_lft 86122sec preferred_lft 84235sec
inet6 2a10:8010:680d:0:<IP6 'enp4s0' [IF1]>/64 scope global dynamic mngtmpaddr noprefixroute
valid_lft 86122sec preferred_lft 86122sec
inet6 fe80::<IP6 'enp4s0' [IF1]>/64 scope link noprefixroute
valid_lft forever preferred_lft forever

##### iwconfig ##########################

lo no wireless extensions.

enp4s0 no wireless extensions.

##### route #############################

default via 10.0.0.138 dev enp4s0 proto dhcp src 10.0.0.17 metric 100
10.0.0.0/24 dev enp4s0 proto kernel scope link src 10.0.0.17 metric 100

##### resolv.conf #######################

[644 root '/etc/resolv.conf']
search Home
nameserver 10.0.0.138
nameserver 2a10:8010:680d::1

##### network managers ##################

Installed:

NetworkManager

Running:

root 796 1 0 Oct02 ? 00:00:02 /usr/sbin/NetworkManager --no-daemon

##### NetworkManager info ###############

GENERAL.DEVICE: enp4s0
GENERAL.TYPE: ethernet
GENERAL.NM-TYPE: NMDeviceEthernet
GENERAL.DBUS-PATH: /org/freedesktop/NetworkManager/Devices/2
GENERAL.VENDOR: Realtek Semiconductor Co., Ltd.
GENERAL.PRODUCT: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
GENERAL.DRIVER: r8169
GENERAL.DRIVER-VERSION: 6.1.0-10-amd64
GENERAL.FIRMWARE-VERSION: --
GENERAL.HWADDR: <MAC 'enp4s0' [IF1]>
GENERAL.MTU: 1500
GENERAL.STATE: 100 (connected)
GENERAL.REASON: 0 (No reason given)
GENERAL.IP4-CONNECTIVITY: 4 (full)
GENERAL.IP6-CONNECTIVITY: 4 (full)
GENERAL.UDI: /sys/devices/pci0000:00/0000:00:1c.7/0000:04:00.0/net/enp4s0
GENERAL.PATH: pci-0000:04:00.0
GENERAL.IP-IFACE: enp4s0
GENERAL.IS-SOFTWARE: no
GENERAL.NM-MANAGED: yes
GENERAL.AUTOCONNECT: yes
GENERAL.FIRMWARE-MISSING: no
GENERAL.NM-PLUGIN-MISSING: no
GENERAL.PHYS-PORT-ID: --
GENERAL.CONNECTION: Wired connection 1
GENERAL.CON-UUID: 6632f681-2bcf-4e42-8b89-08a46da61edd
GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/11
GENERAL.METERED: no (guessed)
CAPABILITIES.CARRIER-DETECT: yes
CAPABILITIES.SPEED: 1000 Mb/s
CAPABILITIES.IS-SOFTWARE: no
CAPABILITIES.SRIOV: no
INTERFACE-FLAGS.UP: yes
INTERFACE-FLAGS.LOWER-UP: yes
INTERFACE-FLAGS.CARRIER: yes
INTERFACE-FLAGS.PROMISC: no
WIRED-PROPERTIES.CARRIER: on
IP4.ADDRESS[1]: 10.0.0.17/24
IP4.GATEWAY: 10.0.0.138
IP4.ROUTE[1]: dst = 10.0.0.0/24, nh = 0.0.0.0, mt = 100
IP4.ROUTE[2]: dst = 0.0.0.0/0, nh = 10.0.0.138, mt = 100
IP4.DNS[1]: 10.0.0.138
IP4.DOMAIN[1]: Home
DHCP4.OPTION[1]: dhcp_client_identifier = 01:<MAC 'enp4s0' [IF1]>
DHCP4.OPTION[2]: dhcp_lease_time = 3600
DHCP4.OPTION[3]: dhcp_server_identifier = 10.0.0.138
DHCP4.OPTION[4]: domain_name = Home
DHCP4.OPTION[5]: domain_name_servers = 10.0.0.138
DHCP4.OPTION[6]: expiry = 1696412504
DHCP4.OPTION[7]: ip_address = 10.0.0.17
DHCP4.OPTION[8]: requested_broadcast_address = 1
DHCP4.OPTION[9]: requested_domain_name = 1
DHCP4.OPTION[10]: requested_domain_name_servers = 1
DHCP4.OPTION[11]: requested_domain_search = 1
DHCP4.OPTION[12]: requested_host_name = 1
DHCP4.OPTION[13]: requested_interface_mtu = 1
DHCP4.OPTION[14]: requested_ms_classless_static_routes = 1
DHCP4.OPTION[15]: requested_nis_domain = 1
DHCP4.OPTION[16]: requested_nis_servers = 1
DHCP4.OPTION[17]: requested_ntp_servers = 1
DHCP4.OPTION[18]: requested_rfc3442_classless_static_routes = 1
DHCP4.OPTION[19]: requested_root_path = 1
DHCP4.OPTION[20]: requested_routers = 1
DHCP4.OPTION[21]: requested_static_routes = 1
DHCP4.OPTION[22]: requested_subnet_mask = 1
DHCP4.OPTION[23]: requested_time_offset = 1
DHCP4.OPTION[24]: requested_wpad = 1
DHCP4.OPTION[25]: routers = 10.0.0.138
DHCP4.OPTION[26]: subnet_mask = 255.255.255.0
IP6.ADDRESS[1]: 2a10:8010:680d:0:baa1:56c:141b:ca7/64
IP6.ADDRESS[2]: 2a10:8010:680d:0:<IP6 'enp4s0' [IF1]>/64
IP6.ADDRESS[3]: fe80::<IP6 'enp4s0' [IF1]>/64
IP6.GATEWAY: fe80::2b8:c2ff:fe69:7b18
IP6.ROUTE[1]: dst = fe80::/64, nh = ::, mt = 1024
IP6.ROUTE[2]: dst = 2a10:8010:680d::/64, nh = ::, mt = 100
IP6.ROUTE[3]: dst = 2a10:8010:680d::/48, nh = fe80::2b8:c2ff:fe69:7b18, mt = 100
IP6.ROUTE[4]: dst = ::/0, nh = fe80::2b8:c2ff:fe69:7b18, mt = 100
IP6.DNS[1]: 2a10:8010:680d::1
DHCP6.OPTION[1]: dhcp6_client_id = 00:04:55:39:3d:19:19:9a:29:0e:c4:3f:ad:06:41:ae:c1:c0
DHCP6.OPTION[2]: dhcp6_name_servers = 2a10:8010:680d::1
DHCP6.OPTION[3]: iaid = 0d:96:8f:69
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings/1
CONNECTIONS.AVAILABLE-CONNECTIONS[1]: 6632f681-2bcf-4e42-8b89-08a46da61edd | Wired connection 1

##### NetworkManager.state ##############

[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true

##### NetworkManager config #############

[[/etc/NetworkManager/NetworkManager.conf]]
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false

[[/usr/lib/NetworkManager/conf.d/no-mac-addr-change.conf]]
[device-31-mac-addr-change]
match-device=driver:eagle_sdio,driver:wl
wifi.scan-rand-mac-address=no

##### NetworkManager profiles ###########

##### Netplan config ####################

##### iw reg get ########################

Region: Asia/Jerusalem (based on set time zone)

global
country 00: DFS-UNSET
(755 - 928 @ 2), (N/A, 20), (N/A), PASSIVE-SCAN
(2402 - 2472 @ 40), (N/A, 20), (N/A)
(2457 - 2482 @ 20), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, PASSIVE-SCAN
(5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN
(5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, PASSIVE-SCAN
(5735 - 5835 @ 80), (N/A, 20), (N/A), PASSIVE-SCAN
(57240 - 63720 @ 2160), (N/A, 0), (N/A)

##### iwlist channels ###################

lo no frequency information.

enp4s0 no frequency information.

##### iwlist scan #######################

lo Interface doesn't support scanning.

enp4s0 Interface doesn't support scanning.

##### module infos ######################

##### module parameters #################

##### /etc/modules ######################

##### modprobe options ##################

##### rc.local ##########################

grep: /etc/rc.local: No such file or directory

##### pm-utils ##########################

find: '/etc/pm/*.d': No such file or directory

##### udev rules ########################

##### dmesg #############################

[131502.210871] i915 0000:00:02.0: [drm] GuC firmware i915/adlp_guc_70.bin version 70.5.1
[131502.210895] i915 0000:00:02.0: [drm] HuC firmware i915/tgl_huc.bin version 7.9.3
[131502.910927] Bluetooth: hci0: RTL: loading rtl_bt/rtl8852cu_fw.bin
[131502.911175] bluetooth hci0: firmware: direct-loading firmware rtl_bt/rtl8852cu_fw.bin
[131502.911248] Bluetooth: hci0: RTL: loading rtl_bt/rtl8852cu_config.bin
[131502.911282] bluetooth hci0: firmware: direct-loading firmware rtl_bt/rtl8852cu_config.bin
[131503.230386] r8169 0000:04:00.0 enp4s0: Link is Down
[132087.291862] r8169 0000:04:00.0 enp4s0: Link is Up - 1Gbps/Full - flow control off
[132087.291904] IPv6: ADDRCONF(NETDEV_CHANGE): enp4s0: link becomes ready
[133796.862459] r8169 0000:04:00.0 enp4s0: Link is Down
[133796.945214] (NULL device *): firmware: direct-loading firmware i915/adlp_dmc_ver2_16.bin
[133796.945356] (NULL device *): firmware: direct-loading firmware intel/sof-tplg/sof-hda-generic-2ch.tplg
[133796.945379] (NULL device *): firmware: direct-loading firmware rtl_bt/rtl8852cu_config.bin
[133796.945398] (NULL device *): firmware: direct-loading firmware rtl_bt/rtl8852cu_fw.bin
[133796.945400] (NULL device *): firmware: direct-loading firmware i915/adlp_guc_70.bin
[133796.945511] (NULL device *): firmware: direct-loading firmware i915/tgl_huc.bin
[135982.209574] i915 0000:00:02.0: [drm] GuC firmware i915/adlp_guc_70.bin version 70.5.1
[135982.209578] i915 0000:00:02.0: [drm] HuC firmware i915/tgl_huc.bin version 7.9.3
[135982.709908] Bluetooth: hci0: RTL: loading rtl_bt/rtl8852cu_fw.bin
[135982.709980] Bluetooth: hci0: RTL: loading rtl_bt/rtl8852cu_config.bin
[135983.013139] r8169 0000:04:00.0 enp4s0: Link is Down
[135987.202362] r8169 0000:04:00.0 enp4s0: Link is Up - 1Gbps/Full - flow control off
[135987.202415] IPv6: ADDRCONF(NETDEV_CHANGE): enp4s0: link becomes ready
[138034.514302] platform regulatory.0: firmware: direct-loading firmware regulatory.db
[138034.514420] platform regulatory.0: firmware: direct-loading firmware regulatory.db.p7s

########## wireless info END ############

Michael Kjörling

unread,
Oct 4, 2023, 8:40:07 AM10/4/23
to
On 4 Oct 2023 15:08 +0300, from deb...@itayf.fastmail.fm (Itay):
> The installation (debian 12 'bookworm') went as expected (using DVD and wired
> connection). However, after reboot, I discovered that wifi was not working.
> Bluetooth, on the other hand, is working.

Looks like your wireless NIC is a Realtek 10ec:c852 which on 6.1 needs
an out-of-tree kernel module?

See https://forums.debian.net/viewtopic.php?t=155976

Which in https://forums.debian.net/viewtopic.php?p=782189#p782189 in
turn points to https://github.com/lwfinger/rtw89/tree/main

Or you can try installing the kernel from bookworm-backports which is
currently on the 6.4 series, since 6.4 apparently includes that driver.
https://packages.debian.org/bookworm-backports/linux-image-amd64

--
Michael Kjörling 🔗 https://michael.kjorling.se
“Remember when, on the Internet, nobody cared that you were a dog?”

Alexander V. Makartsev

unread,
Oct 4, 2023, 8:50:06 AM10/4/23
to
On 04.10.2023 17:08, Itay wrote:
Hi

I recently purchased an HP ProBook 440 14" G10 laptop.
This configuration is certified by Ubuntu[1].
The specs, as advertised by HP, can be found here[2].

The installation (debian 12 'bookworm') went as expected (using DVD and wired
connection).  However, after reboot, I discovered that wifi was not working.
Bluetooth, on the other hand, is working.

After three days of search on the internet[3]-[9] I am really at a loss.
I have been a long-time debian *user* -- but am not an expert.
I am aware of the possibility to download drivers and compile them from
source[10]-[12], but hesitate to do that without an expert guide.

System and device information, as gathered by wireless-info script[13], will
follow the references.

Please advise
Thanks in advance.
Itay


...
##### kernel ############################

Linux 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.38-1 (2023-07-14) x86_64 unknown unknown GNU/Linux
...
##### lspci #############################

03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:c852] (rev 01)
Subsystem: Hewlett-Packard Company Device [103c:88e5]
...
https://forums.debian.net/viewtopic.php?t=155976

You need [1] to compile a kernel module for your wifi adapter. There is no other way.
Just follow build instructions [2] closely and you should be fine.


[1] https://forums.debian.net/viewtopic.php?t=155976
[2] https://github.com/lwfinger/rtw89#dkms-packaging-for-debian-and-its-derivatives

--
With kindest regards, Alexander.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀

Itay

unread,
Oct 4, 2023, 9:20:05 AM10/4/23
to
Thank you for the quick reply.

On Wed, 4 Oct 2023, at 15:32, Michael Kjörling wrote:
> On 4 Oct 2023 15:08 +0300, from deb...@itayf.fastmail.fm (Itay):
>> The installation (debian 12 'bookworm') went as expected (using DVD and wired
>> connection). However, after reboot, I discovered that wifi was not working.
>> Bluetooth, on the other hand, is working.
>
> Looks like your wireless NIC is a Realtek 10ec:c852 which on 6.1 needs
> an out-of-tree kernel module?
>
> See https://forums.debian.net/viewtopic.php?t=155976
>
> Which in https://forums.debian.net/viewtopic.php?p=782189#p782189 in
> turn points to https://github.com/lwfinger/rtw89/tree/main
>
> Or you can try installing the kernel from bookworm-backports which is
> currently on the 6.4 series, since 6.4 apparently includes that driver.
> https://packages.debian.org/bookworm-backports/linux-image-amd64

Am I right to assume that the second method implies a bigger change from the standard installation (and therefore might be less preferable)?

Itay

unread,
Oct 4, 2023, 9:20:05 AM10/4/23
to
Thank you for the quick reply.
I will follow yous and Michale's advice.

Itay

Itay

unread,
Oct 5, 2023, 10:40:05 AM10/5/23
to
On Wed, 4 Oct 2023, at 16:18, Itay wrote:
> On Wed, 4 Oct 2023, at 15:41, Alexander V. Makartsev wrote:
>> On 04.10.2023 17:08, Itay wrote:
>>> Hi
>>>
>>> I recently purchased an HP ProBook 440 14" G10 laptop.
>>> [snip]
>>>
>>> ...
>>> ##### kernel ############################
>>>
>>> Linux 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.38-1 (2023-07-14) x86_64 unknown unknown GNU/Linux
>>> ...
>>> ##### lspci #############################
>>>
>>> 03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:c852] (rev 01)
>>> Subsystem: Hewlett-Packard Company Device [103c:88e5]
>>> ...
>>>
>> https://forums.debian.net/viewtopic.php?t=155976
>>
>> You need [1] to compile a kernel module for your wifi adapter. There is no other way.
>> Just follow build instructions [2] closely and you should be fine.
>>
>>
>> [1] https://forums.debian.net/viewtopic.php?t=155976
>> [2] https://github.com/lwfinger/rtw89#dkms-packaging-for-debian-and-its-derivatives
>>
>> --
>> With kindest regards, Alexander.
>>
>> ⢀⣴⠾⠻⢶⣦⠀
>> ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
>> ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
>> ⠈⠳⣄⠀⠀⠀⠀

Followed the instructions in https://github.com/lwfinger/rtw89.
Wifi works like a charm.
I did *not* try, yet, to automate the process as described here:
https://github.com/lwfinger/rtw89#dkms-packaging-for-debian-and-its-derivatives

Thanks again to the responders.
Cheers
0 new messages