public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Getting WiFi to work
@ 2024-04-09 13:23 Peter Humphrey
  2024-04-09 13:44 ` Paul Sopka
                   ` (2 more replies)
  0 siblings, 3 replies; 21+ messages in thread
From: Peter Humphrey @ 2024-04-09 13:23 UTC (permalink / raw
  To: gentoo-user

Hello list,

I want to move my Intel i5 NUC box to a place where Ethernet is not available, 
nor like to become so. That means I have to get WiFi working, but I've had no 
success so far. The wiki pages are many, confusing and contradictory, so I'd 
like the panel's advice on the way to proceed.

The first thing I tried was the traditional wpa_supplicant, which seemed to go 
well - except that I couldn't get the link out of the DOWN state.

Then I tried NetworkManager, and failed with that too.

This is the hardware:
# lspci -v -s 00:14.3 
00:14.3 Network controller: Intel Corporation Raptor Lake PCH CNVi WiFi (rev 
01)
--->8
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi

And this is dmesg:

$ dmesg | grep -i wifi
[    1.622343] Intel(R) Wireless WiFi driver for Linux
[    1.622432] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
[    1.625069] iwlwifi 0000:00:14.3: Detected crf-id 0x400410, cnv-id 0x80400 
wfpm id 0x80000020
[    1.625121] iwlwifi 0000:00:14.3: PCI dev 51f1/0094, rev=0x370, 
rfid=0x2010d000
[    1.625313] Loading firmware: iwlwifi-so-a0-gf-a0-86.ucode
[    1.626644] iwlwifi 0000:00:14.3: TLV_FW_FSEQ_VERSION: FSEQ Version: 
0.0.2.41
[    1.626902] iwlwifi 0000:00:14.3: loaded firmware version 86.fb5c9aeb.0 so-
a0-gf-a0-86.ucode op_mode iwlmvm
[    1.643426] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6E AX211 160MHz, 
REV=0x370
[    1.651382] iwlwifi 0000:00:14.3: WRT: Invalid buffer destination
[    1.809375] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x20
[    1.809385] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[    1.809394] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x90
[    1.809401] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x0
[    1.809403] Loading firmware: iwlwifi-so-a0-gf-a0.pnvm
[    1.810724] iwlwifi 0000:00:14.3: loaded PNVM version e28bb9d7
[    1.810817] iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 4
[    1.825831] iwlwifi 0000:00:14.3: Detected RF GF, rfid=0x2010d000
[    1.897387] iwlwifi 0000:00:14.3: base HW address: f4:6d:3f:2a:33:3e

Would net-wireless/iwd get me a bit further?

Meanwhile, I'll keep on exploring with the results of sys-apps/hw-probe.

-- 
Regards,
Peter.





^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] Getting WiFi to work
  2024-04-09 13:23 [gentoo-user] Getting WiFi to work Peter Humphrey
@ 2024-04-09 13:44 ` Paul Sopka
  2024-04-11 12:49   ` Peter Humphrey
  2024-04-09 14:56 ` Wojciech Kuzyszyn
  2024-04-19 16:02 ` SOLVED: " Peter Humphrey
  2 siblings, 1 reply; 21+ messages in thread
From: Paul Sopka @ 2024-04-09 13:44 UTC (permalink / raw
  To: gentoo-user

On 09.04.24 15:23, Peter Humphrey wrote:
> Hello list,
>
> I want to move my Intel i5 NUC box to a place where Ethernet is not available,
> nor like to become so. That means I have to get WiFi working, but I've had no
> success so far. The wiki pages are many, confusing and contradictory, so I'd
> like the panel's advice on the way to proceed.
>
> The first thing I tried was the traditional wpa_supplicant, which seemed to go
> well - except that I couldn't get the link out of the DOWN state.
>
> Then I tried NetworkManager, and failed with that too.
>
> This is the hardware:
> # lspci -v -s 00:14.3
> 00:14.3 Network controller: Intel Corporation Raptor Lake PCH CNVi WiFi (rev
> 01)
> --->8
>          Kernel driver in use: iwlwifi
>          Kernel modules: iwlwifi
>
> And this is dmesg:
>
> $ dmesg | grep -i wifi
> [    1.622343] Intel(R) Wireless WiFi driver for Linux
> [    1.622432] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
> [    1.625069] iwlwifi 0000:00:14.3: Detected crf-id 0x400410, cnv-id 0x80400
> wfpm id 0x80000020
> [    1.625121] iwlwifi 0000:00:14.3: PCI dev 51f1/0094, rev=0x370,
> rfid=0x2010d000
> [    1.625313] Loading firmware: iwlwifi-so-a0-gf-a0-86.ucode
> [    1.626644] iwlwifi 0000:00:14.3: TLV_FW_FSEQ_VERSION: FSEQ Version:
> 0.0.2.41
> [    1.626902] iwlwifi 0000:00:14.3: loaded firmware version 86.fb5c9aeb.0 so-
> a0-gf-a0-86.ucode op_mode iwlmvm
> [    1.643426] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6E AX211 160MHz,
> REV=0x370
> [    1.651382] iwlwifi 0000:00:14.3: WRT: Invalid buffer destination
> [    1.809375] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x20
> [    1.809385] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
> [    1.809394] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x90
> [    1.809401] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x0
> [    1.809403] Loading firmware: iwlwifi-so-a0-gf-a0.pnvm
> [    1.810724] iwlwifi 0000:00:14.3: loaded PNVM version e28bb9d7
> [    1.810817] iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 4
> [    1.825831] iwlwifi 0000:00:14.3: Detected RF GF, rfid=0x2010d000
> [    1.897387] iwlwifi 0000:00:14.3: base HW address: f4:6d:3f:2a:33:3e
>
> Would net-wireless/iwd get me a bit further?
>
> Meanwhile, I'll keep on exploring with the results of sys-apps/hw-probe.
>
Hey Peter

This might be the wrong firmware being loaded.

Are you building your the iwlwifi driver not as a module but directly 
into the kernel?

Are you including your firmware into the kernel?

If you do the above, try loading the driver as a module. Also enable 
both DVM and MVM Firmware support.

Then emerge  sys-kernel/linux-firmware without USE=savedconfig.

Finally reboot and check wther it works. If it works, check which 
firmware is loaded in your dmesg.



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] Getting WiFi to work
  2024-04-09 13:23 [gentoo-user] Getting WiFi to work Peter Humphrey
  2024-04-09 13:44 ` Paul Sopka
@ 2024-04-09 14:56 ` Wojciech Kuzyszyn
  2024-04-11 15:16   ` Peter Humphrey
  2024-04-12 12:51   ` Peter Humphrey
  2024-04-19 16:02 ` SOLVED: " Peter Humphrey
  2 siblings, 2 replies; 21+ messages in thread
From: Wojciech Kuzyszyn @ 2024-04-09 14:56 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2554 bytes --]

On Tue, 09 Apr 2024 14:23:31 +0100
Peter Humphrey <peter@prh.myzen.co.uk> wrote:

> Hello list,
> 
> I want to move my Intel i5 NUC box to a place where Ethernet is not
> available, nor like to become so. That means I have to get WiFi
> working, but I've had no success so far. The wiki pages are many,
> confusing and contradictory, so I'd like the panel's advice on the
> way to proceed.
> 
> The first thing I tried was the traditional wpa_supplicant, which
> seemed to go well - except that I couldn't get the link out of the
> DOWN state.
> 
> Then I tried NetworkManager, and failed with that too.
> 
> This is the hardware:
> # lspci -v -s 00:14.3 
> 00:14.3 Network controller: Intel Corporation Raptor Lake PCH CNVi
> WiFi (rev 01)
> --->8  
>         Kernel driver in use: iwlwifi
>         Kernel modules: iwlwifi
> 
> And this is dmesg:
> 
> $ dmesg | grep -i wifi
> [    1.622343] Intel(R) Wireless WiFi driver for Linux
> [    1.622432] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
> [    1.625069] iwlwifi 0000:00:14.3: Detected crf-id 0x400410, cnv-id
> 0x80400 wfpm id 0x80000020
> [    1.625121] iwlwifi 0000:00:14.3: PCI dev 51f1/0094, rev=0x370, 
> rfid=0x2010d000
> [    1.625313] Loading firmware: iwlwifi-so-a0-gf-a0-86.ucode
> [    1.626644] iwlwifi 0000:00:14.3: TLV_FW_FSEQ_VERSION: FSEQ
> Version: 0.0.2.41
> [    1.626902] iwlwifi 0000:00:14.3: loaded firmware version
> 86.fb5c9aeb.0 so- a0-gf-a0-86.ucode op_mode iwlmvm
> [    1.643426] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6E AX211
> 160MHz, REV=0x370
> [    1.651382] iwlwifi 0000:00:14.3: WRT: Invalid buffer destination
> [    1.809375] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x20
> [    1.809385] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
> [    1.809394] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x90
> [    1.809401] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x0
> [    1.809403] Loading firmware: iwlwifi-so-a0-gf-a0.pnvm
> [    1.810724] iwlwifi 0000:00:14.3: loaded PNVM version e28bb9d7
> [    1.810817] iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 4
> [    1.825831] iwlwifi 0000:00:14.3: Detected RF GF, rfid=0x2010d000
> [    1.897387] iwlwifi 0000:00:14.3: base HW address:
> f4:6d:3f:2a:33:3e
> 
> Would net-wireless/iwd get me a bit further?
> 
> Meanwhile, I'll keep on exploring with the results of
> sys-apps/hw-probe.
> 


Hello!

I have never managed to get WiFi working with iwlwifi, but iwd works
great for me. Give it a try!

-- 
xWK

[-- Attachment #2: Podpis cyfrowy OpenPGP --]
[-- Type: application/pgp-signature, Size: 244 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] Getting WiFi to work
  2024-04-09 13:44 ` Paul Sopka
@ 2024-04-11 12:49   ` Peter Humphrey
  2024-04-11 15:08     ` Michael
  0 siblings, 1 reply; 21+ messages in thread
From: Peter Humphrey @ 2024-04-11 12:49 UTC (permalink / raw
  To: gentoo-user

On Tuesday, 9 April 2024 14:44:05 BST Paul Sopka wrote:
> On 09.04.24 15:23, Peter Humphrey wrote:
> > Hello list,
> > 
> > I want to move my Intel i5 NUC box to a place where Ethernet is not
> > available, nor like to become so. That means I have to get WiFi working,
> > but I've had no success so far. The wiki pages are many, confusing and
> > contradictory, so I'd like the panel's advice on the way to proceed.
> > 
> > The first thing I tried was the traditional wpa_supplicant, which seemed
> > to go well - except that I couldn't get the link out of the DOWN state.
> > 
> > Then I tried NetworkManager, and failed with that too.
> > 
> > This is the hardware:
> > # lspci -v -s 00:14.3
> > 00:14.3 Network controller: Intel Corporation Raptor Lake PCH CNVi WiFi
> > (rev 01)
> > --->8
> > 
> >          Kernel driver in use: iwlwifi
> >          Kernel modules: iwlwifi
> > 
> > And this is dmesg:
> > 
> > $ dmesg | grep -i wifi
> > [    1.622343] Intel(R) Wireless WiFi driver for Linux
> > [    1.622432] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
> > [    1.625069] iwlwifi 0000:00:14.3: Detected crf-id 0x400410, cnv-id
> > 0x80400 wfpm id 0x80000020
> > [    1.625121] iwlwifi 0000:00:14.3: PCI dev 51f1/0094, rev=0x370,
> > rfid=0x2010d000
> > [    1.625313] Loading firmware: iwlwifi-so-a0-gf-a0-86.ucode
> > [    1.626644] iwlwifi 0000:00:14.3: TLV_FW_FSEQ_VERSION: FSEQ Version:
> > 0.0.2.41
> > [    1.626902] iwlwifi 0000:00:14.3: loaded firmware version 86.fb5c9aeb.0
> > so- a0-gf-a0-86.ucode op_mode iwlmvm
> > [    1.643426] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6E AX211
> > 160MHz, REV=0x370
> > [    1.651382] iwlwifi 0000:00:14.3: WRT: Invalid buffer destination
> > [    1.809375] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x20
> > [    1.809385] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
> > [    1.809394] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x90
> > [    1.809401] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x0
> > [    1.809403] Loading firmware: iwlwifi-so-a0-gf-a0.pnvm
> > [    1.810724] iwlwifi 0000:00:14.3: loaded PNVM version e28bb9d7
> > [    1.810817] iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 4
> > [    1.825831] iwlwifi 0000:00:14.3: Detected RF GF, rfid=0x2010d000
> > [    1.897387] iwlwifi 0000:00:14.3: base HW address: f4:6d:3f:2a:33:3e
> > 
> > Would net-wireless/iwd get me a bit further?
> > 
> > Meanwhile, I'll keep on exploring with the results of sys-apps/hw-probe.
> 
> Hey Peter
> 
> This might be the wrong firmware being loaded.
> 
> Are you building your the iwlwifi driver not as a module but directly
> into the kernel?
> 
> Are you including your firmware into the kernel?
> 
> If you do the above, try loading the driver as a module. Also enable
> both DVM and MVM Firmware support.
> 
> Then emerge  sys-kernel/linux-firmware without USE=savedconfig.
> 
> Finally reboot and check wther it works. If it works, check which
> firmware is loaded in your dmesg.

I decided to establish a firm, clean system to fall back to after messing about 
with the various wifi packages, so I built a fresh system building on the 
merged-usr stage-3. I was surprised to find that kde-plasma/powerdevil now 
insists on installing Network Manager unless I set USE=-wireless against it.

Why has this happened? Can't the poor power devil cope with any other way of 
running WiFi?

-- 
Regards,
Peter.





^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] Getting WiFi to work
  2024-04-11 12:49   ` Peter Humphrey
@ 2024-04-11 15:08     ` Michael
  2024-04-11 15:15       ` Peter Humphrey
  0 siblings, 1 reply; 21+ messages in thread
From: Michael @ 2024-04-11 15:08 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 3909 bytes --]

On Thursday, 11 April 2024 13:49:18 BST Peter Humphrey wrote:
> On Tuesday, 9 April 2024 14:44:05 BST Paul Sopka wrote:
> > On 09.04.24 15:23, Peter Humphrey wrote:
> > > Hello list,
> > > 
> > > I want to move my Intel i5 NUC box to a place where Ethernet is not
> > > available, nor like to become so. That means I have to get WiFi working,
> > > but I've had no success so far. The wiki pages are many, confusing and
> > > contradictory, so I'd like the panel's advice on the way to proceed.
> > > 
> > > The first thing I tried was the traditional wpa_supplicant, which seemed
> > > to go well - except that I couldn't get the link out of the DOWN state.
> > > 
> > > Then I tried NetworkManager, and failed with that too.
> > > 
> > > This is the hardware:
> > > # lspci -v -s 00:14.3
> > > 00:14.3 Network controller: Intel Corporation Raptor Lake PCH CNVi WiFi
> > > (rev 01)
> > > --->8
> > > 
> > >          Kernel driver in use: iwlwifi
> > >          Kernel modules: iwlwifi
> > > 
> > > And this is dmesg:
> > > 
> > > $ dmesg | grep -i wifi
> > > [    1.622343] Intel(R) Wireless WiFi driver for Linux
> > > [    1.622432] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
> > > [    1.625069] iwlwifi 0000:00:14.3: Detected crf-id 0x400410, cnv-id
> > > 0x80400 wfpm id 0x80000020
> > > [    1.625121] iwlwifi 0000:00:14.3: PCI dev 51f1/0094, rev=0x370,
> > > rfid=0x2010d000
> > > [    1.625313] Loading firmware: iwlwifi-so-a0-gf-a0-86.ucode
> > > [    1.626644] iwlwifi 0000:00:14.3: TLV_FW_FSEQ_VERSION: FSEQ Version:
> > > 0.0.2.41
> > > [    1.626902] iwlwifi 0000:00:14.3: loaded firmware version
> > > 86.fb5c9aeb.0
> > > so- a0-gf-a0-86.ucode op_mode iwlmvm
> > > [    1.643426] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6E AX211
> > > 160MHz, REV=0x370
> > > [    1.651382] iwlwifi 0000:00:14.3: WRT: Invalid buffer destination
> > > [    1.809375] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x20
> > > [    1.809385] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
> > > [    1.809394] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x90
> > > [    1.809401] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x0
> > > [    1.809403] Loading firmware: iwlwifi-so-a0-gf-a0.pnvm
> > > [    1.810724] iwlwifi 0000:00:14.3: loaded PNVM version e28bb9d7
> > > [    1.810817] iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 4
> > > [    1.825831] iwlwifi 0000:00:14.3: Detected RF GF, rfid=0x2010d000
> > > [    1.897387] iwlwifi 0000:00:14.3: base HW address: f4:6d:3f:2a:33:3e
> > > 
> > > Would net-wireless/iwd get me a bit further?
> > > 
> > > Meanwhile, I'll keep on exploring with the results of sys-apps/hw-probe.
> > 
> > Hey Peter
> > 
> > This might be the wrong firmware being loaded.
> > 
> > Are you building your the iwlwifi driver not as a module but directly
> > into the kernel?
> > 
> > Are you including your firmware into the kernel?
> > 
> > If you do the above, try loading the driver as a module. Also enable
> > both DVM and MVM Firmware support.
> > 
> > Then emerge  sys-kernel/linux-firmware without USE=savedconfig.
> > 
> > Finally reboot and check wther it works. If it works, check which
> > firmware is loaded in your dmesg.
> 
> I decided to establish a firm, clean system to fall back to after messing
> about with the various wifi packages, so I built a fresh system building on
> the merged-usr stage-3. I was surprised to find that kde-plasma/powerdevil
> now insists on installing Network Manager unless I set USE=-wireless
> against it.
> 
> Why has this happened? Can't the poor power devil cope with any other way of
> running WiFi?

The USE="wireless" flag on powerdevil is needed to save energy when the 
bluetooth/wireless chip is idle.  This function could be useful with laptops 
running on battery.

If you set USE="-networkmanager" in make.conf and USE="-wireless" for the 
powerdevil package you won't be bothered by this again.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] Getting WiFi to work
  2024-04-11 15:08     ` Michael
@ 2024-04-11 15:15       ` Peter Humphrey
  2024-04-11 15:18         ` Michael
  0 siblings, 1 reply; 21+ messages in thread
From: Peter Humphrey @ 2024-04-11 15:15 UTC (permalink / raw
  To: gentoo-user

On Thursday, 11 April 2024 16:08:35 BST Michael wrote:
> On Thursday, 11 April 2024 13:49:18 BST Peter Humphrey wrote:
--->8
> > I decided to establish a firm, clean system to fall back to after messing
> > about with the various wifi packages, so I built a fresh system building
> > on the merged-usr stage-3. I was surprised to find that kde-plasma/
> > powerdevil now insists on installing Network Manager unless I set USE=-
> > wireless against it.
> > 
> > Why has this happened? Can't the poor power devil cope with any other way
> > of running WiFi?
> 
> The USE="wireless" flag on powerdevil is needed to save energy when the
> bluetooth/wireless chip is idle.  This function could be useful with laptops
> running on battery.
> 
> If you set USE="-networkmanager" in make.conf and USE="-wireless" for the
> powerdevil package you won't be bothered by this again.

I already had USE="-networkmanager" in make.conf.

This is not a laptop and it has no battery. Nowhere on the system is there any 
hint to the contrary, so I still think this has not been thought through. The 
logic should have included alternatives to Network Manager.

-- 
Regards,
Peter.





^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] Getting WiFi to work
  2024-04-09 14:56 ` Wojciech Kuzyszyn
@ 2024-04-11 15:16   ` Peter Humphrey
  2024-04-12 12:51   ` Peter Humphrey
  1 sibling, 0 replies; 21+ messages in thread
From: Peter Humphrey @ 2024-04-11 15:16 UTC (permalink / raw
  To: gentoo-user

On Tuesday, 9 April 2024 15:56:28 BST Wojciech Kuzyszyn wrote:

> I have never managed to get WiFi working with iwlwifi, but iwd works
> great for me. Give it a try!

I will - thanks!

-- 
Regards,
Peter.





^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] Getting WiFi to work
  2024-04-11 15:15       ` Peter Humphrey
@ 2024-04-11 15:18         ` Michael
  2024-04-11 15:24           ` Peter Humphrey
  0 siblings, 1 reply; 21+ messages in thread
From: Michael @ 2024-04-11 15:18 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1400 bytes --]

On Thursday, 11 April 2024 16:15:52 BST Peter Humphrey wrote:
> On Thursday, 11 April 2024 16:08:35 BST Michael wrote:
> > On Thursday, 11 April 2024 13:49:18 BST Peter Humphrey wrote:
> --->8
> 
> > > I decided to establish a firm, clean system to fall back to after
> > > messing
> > > about with the various wifi packages, so I built a fresh system building
> > > on the merged-usr stage-3. I was surprised to find that kde-plasma/
> > > powerdevil now insists on installing Network Manager unless I set USE=-
> > > wireless against it.
> > > 
> > > Why has this happened? Can't the poor power devil cope with any other
> > > way
> > > of running WiFi?
> > 
> > The USE="wireless" flag on powerdevil is needed to save energy when the
> > bluetooth/wireless chip is idle.  This function could be useful with
> > laptops running on battery.
> > 
> > If you set USE="-networkmanager" in make.conf and USE="-wireless" for the
> > powerdevil package you won't be bothered by this again.
> 
> I already had USE="-networkmanager" in make.conf.
> 
> This is not a laptop and it has no battery. Nowhere on the system is there
> any hint to the contrary, so I still think this has not been thought
> through. The logic should have included alternatives to Network Manager.

Yes, I agree wholeheartedly.  However, these decisions are taken upstream, 
where there is a tendency of convergence to monoculture.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] Getting WiFi to work
  2024-04-11 15:18         ` Michael
@ 2024-04-11 15:24           ` Peter Humphrey
  0 siblings, 0 replies; 21+ messages in thread
From: Peter Humphrey @ 2024-04-11 15:24 UTC (permalink / raw
  To: gentoo-user

On Thursday, 11 April 2024 16:18:51 BST Michael wrote:
> On Thursday, 11 April 2024 16:15:52 BST Peter Humphrey wrote:
> > On Thursday, 11 April 2024 16:08:35 BST Michael wrote:
> > > On Thursday, 11 April 2024 13:49:18 BST Peter Humphrey wrote:
> > --->8
> > 
> > > > I decided to establish a firm, clean system to fall back to after
> > > > messing
> > > > about with the various wifi packages, so I built a fresh system
> > > > building
> > > > on the merged-usr stage-3. I was surprised to find that kde-plasma/
> > > > powerdevil now insists on installing Network Manager unless I set
> > > > USE=-
> > > > wireless against it.
> > > > 
> > > > Why has this happened? Can't the poor power devil cope with any other
> > > > way
> > > > of running WiFi?
> > > 
> > > The USE="wireless" flag on powerdevil is needed to save energy when the
> > > bluetooth/wireless chip is idle.  This function could be useful with
> > > laptops running on battery.
> > > 
> > > If you set USE="-networkmanager" in make.conf and USE="-wireless" for
> > > the
> > > powerdevil package you won't be bothered by this again.
> > 
> > I already had USE="-networkmanager" in make.conf.
> > 
> > This is not a laptop and it has no battery. Nowhere on the system is there
> > any hint to the contrary, so I still think this has not been thought
> > through. The logic should have included alternatives to Network Manager.
> 
> Yes, I agree wholeheartedly.  However, these decisions are taken upstream,
> where there is a tendency of convergence to monoculture.

Sorry, but I disagree with that last. The ebuild could have contained suitable 
logic, and it still could.

-- 
Regards,
Peter.





^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] Getting WiFi to work
  2024-04-09 14:56 ` Wojciech Kuzyszyn
  2024-04-11 15:16   ` Peter Humphrey
@ 2024-04-12 12:51   ` Peter Humphrey
  2024-04-12 13:35     ` Michael
  1 sibling, 1 reply; 21+ messages in thread
From: Peter Humphrey @ 2024-04-12 12:51 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2915 bytes --]

On Tuesday, 9 April 2024 15:56:28 BST Wojciech Kuzyszyn wrote:
> On Tue, 09 Apr 2024 14:23:31 +0100
> 
> Peter Humphrey <peter@prh.myzen.co.uk> wrote:
> > Hello list,
> > 
> > I want to move my Intel i5 NUC box to a place where Ethernet is not
> > available, nor like to become so. That means I have to get WiFi
> > working, but I've had no success so far. The wiki pages are many,
> > confusing and contradictory, so I'd like the panel's advice on the
> > way to proceed.
> > 
> > The first thing I tried was the traditional wpa_supplicant, which
> > seemed to go well - except that I couldn't get the link out of the
> > DOWN state.
> > 
> > Then I tried NetworkManager, and failed with that too.
> > 
> > This is the hardware:
> > # lspci -v -s 00:14.3
> > 00:14.3 Network controller: Intel Corporation Raptor Lake PCH CNVi
> > WiFi (rev 01)
> > --->8
> > 
> >         Kernel driver in use: iwlwifi
> >         Kernel modules: iwlwifi
> > 
> > And this is dmesg:
> > 
> > $ dmesg | grep -i wifi
> > [    1.622343] Intel(R) Wireless WiFi driver for Linux
> > [    1.622432] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
> > [    1.625069] iwlwifi 0000:00:14.3: Detected crf-id 0x400410, cnv-id
> > 0x80400 wfpm id 0x80000020
> > [    1.625121] iwlwifi 0000:00:14.3: PCI dev 51f1/0094, rev=0x370,
> > rfid=0x2010d000
> > [    1.625313] Loading firmware: iwlwifi-so-a0-gf-a0-86.ucode
> > [    1.626644] iwlwifi 0000:00:14.3: TLV_FW_FSEQ_VERSION: FSEQ
> > Version: 0.0.2.41
> > [    1.626902] iwlwifi 0000:00:14.3: loaded firmware version
> > 86.fb5c9aeb.0 so- a0-gf-a0-86.ucode op_mode iwlmvm
> > [    1.643426] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6E AX211
> > 160MHz, REV=0x370
> > [    1.651382] iwlwifi 0000:00:14.3: WRT: Invalid buffer destination
> > [    1.809375] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x20
> > [    1.809385] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
> > [    1.809394] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x90
> > [    1.809401] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x0
> > [    1.809403] Loading firmware: iwlwifi-so-a0-gf-a0.pnvm
> > [    1.810724] iwlwifi 0000:00:14.3: loaded PNVM version e28bb9d7
> > [    1.810817] iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 4
> > [    1.825831] iwlwifi 0000:00:14.3: Detected RF GF, rfid=0x2010d000
> > [    1.897387] iwlwifi 0000:00:14.3: base HW address:
> > f4:6d:3f:2a:33:3e
> > 
> > Would net-wireless/iwd get me a bit further?
> > 
> > Meanwhile, I'll keep on exploring with the results of
> > sys-apps/hw-probe.
> 
> Hello!
> 
> I have never managed to get WiFi working with iwlwifi, but iwd works
> great for me. Give it a try!

According to https://wiki.gentoo.org/wiki/Handbook:AMD64/Networking/Wireless,
"the net-wireless/iw software...cannot connect to WPA-only Access Points."

I think my Fritz!Box 7530 router has that limitation, but It's hard to know.

-- 
Regards,
Peter.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] Getting WiFi to work
  2024-04-12 12:51   ` Peter Humphrey
@ 2024-04-12 13:35     ` Michael
  2024-04-12 15:05       ` Peter Humphrey
  0 siblings, 1 reply; 21+ messages in thread
From: Michael @ 2024-04-12 13:35 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 4186 bytes --]

On Friday, 12 April 2024 13:51:37 BST Peter Humphrey wrote:
> On Tuesday, 9 April 2024 15:56:28 BST Wojciech Kuzyszyn wrote:
> > On Tue, 09 Apr 2024 14:23:31 +0100
> > 
> > Peter Humphrey <peter@prh.myzen.co.uk> wrote:
> > > Hello list,
> > > 
> > > I want to move my Intel i5 NUC box to a place where Ethernet is not
> > > available, nor like to become so. That means I have to get WiFi
> > > working, but I've had no success so far. The wiki pages are many,
> > > confusing and contradictory, so I'd like the panel's advice on the
> > > way to proceed.
> > > 
> > > The first thing I tried was the traditional wpa_supplicant, which
> > > seemed to go well - except that I couldn't get the link out of the
> > > DOWN state.
> > > 
> > > Then I tried NetworkManager, and failed with that too.
> > > 
> > > This is the hardware:
> > > # lspci -v -s 00:14.3
> > > 00:14.3 Network controller: Intel Corporation Raptor Lake PCH CNVi
> > > WiFi (rev 01)
> > > --->8
> > > 
> > >         Kernel driver in use: iwlwifi
> > >         Kernel modules: iwlwifi
> > > 
> > > And this is dmesg:
> > > 
> > > $ dmesg | grep -i wifi
> > > [    1.622343] Intel(R) Wireless WiFi driver for Linux
> > > [    1.622432] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
> > > [    1.625069] iwlwifi 0000:00:14.3: Detected crf-id 0x400410, cnv-id
> > > 0x80400 wfpm id 0x80000020
> > > [    1.625121] iwlwifi 0000:00:14.3: PCI dev 51f1/0094, rev=0x370,
> > > rfid=0x2010d000
> > > [    1.625313] Loading firmware: iwlwifi-so-a0-gf-a0-86.ucode
> > > [    1.626644] iwlwifi 0000:00:14.3: TLV_FW_FSEQ_VERSION: FSEQ
> > > Version: 0.0.2.41
> > > [    1.626902] iwlwifi 0000:00:14.3: loaded firmware version
> > > 86.fb5c9aeb.0 so- a0-gf-a0-86.ucode op_mode iwlmvm
> > > [    1.643426] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6E AX211
> > > 160MHz, REV=0x370
> > > [    1.651382] iwlwifi 0000:00:14.3: WRT: Invalid buffer destination
> > > [    1.809375] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x20
> > > [    1.809385] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
> > > [    1.809394] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x90
> > > [    1.809401] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x0
> > > [    1.809403] Loading firmware: iwlwifi-so-a0-gf-a0.pnvm
> > > [    1.810724] iwlwifi 0000:00:14.3: loaded PNVM version e28bb9d7
> > > [    1.810817] iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 4
> > > [    1.825831] iwlwifi 0000:00:14.3: Detected RF GF, rfid=0x2010d000
> > > [    1.897387] iwlwifi 0000:00:14.3: base HW address:
> > > f4:6d:3f:2a:33:3e
> > > 
> > > Would net-wireless/iwd get me a bit further?
> > > 
> > > Meanwhile, I'll keep on exploring with the results of
> > > sys-apps/hw-probe.
> > 
> > Hello!
> > 
> > I have never managed to get WiFi working with iwlwifi, but iwd works
> > great for me. Give it a try!
> 
> According to
> https://wiki.gentoo.org/wiki/Handbook:AMD64/Networking/Wireless, "the
> net-wireless/iw software...cannot connect to WPA-only Access Points."
> 
> I think my Fritz!Box 7530 router has that limitation, but It's hard to know.

For clarity:

The iwlwifi is a kernel driver for Intel wireless chips.

The net-wireless/iw software can be used to manage the wireless association 
with an AP if the latter has been configured to offer connections with the 
deprecated and insecure WEP, or no encryption.

The net-wireless/wpa_supplicant software can be used to manage the negotiation 
for a wireless connection with an AP when this has encryption enabled (WPA, 
WPA-2, WPA-3).

The net-wireless/iwd is a more modern software developed by Intel to replace 
wpa_supplicant.  In addition it will also create wireless interfaces as it 
needs to and manage these, as opposed to leaving this function to udev.  
Essentially iwd takes over the management of wireless interfaces and their 
encrypted communication with an AP in a standalone fashion.  I haven't tried 
this yet to find out how it behaves, but it is rumoured to be more polished 
than wpa_supplicant and can work without netifrc scripts or dhcpcd.

There are GUI front-ends for the above to suit various desktop and user 
preferences, some more polished than others.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] Getting WiFi to work
  2024-04-12 13:35     ` Michael
@ 2024-04-12 15:05       ` Peter Humphrey
  2024-04-12 15:39         ` Michael
  0 siblings, 1 reply; 21+ messages in thread
From: Peter Humphrey @ 2024-04-12 15:05 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1326 bytes --]

On Friday, 12 April 2024 14:35:02 BST Michael wrote:

> For clarity:
> 
> The iwlwifi is a kernel driver for Intel wireless chips.
> 
> The net-wireless/iw software can be used to manage the wireless association
> with an AP if the latter has been configured to offer connections with the
> deprecated and insecure WEP, or no encryption.
> 
> The net-wireless/wpa_supplicant software can be used to manage the
> negotiation for a wireless connection with an AP when this has encryption
> enabled (WPA, WPA-2, WPA-3).

Yes, I was aware of those.

> The net-wireless/iwd is a more modern software developed by Intel to replace
> wpa_supplicant.  In addition it will also create wireless interfaces as it
> needs to and manage these, as opposed to leaving this function to udev.
> Essentially iwd takes over the management of wireless interfaces and their
> encrypted communication with an AP in a standalone fashion.  I haven't
> tried this yet to find out how it behaves, but it is rumoured to be more
> polished than wpa_supplicant and can work without netifrc scripts or
> dhcpcd.

That's a better explanation than I've seen before - thanks!

> There are GUI front-ends for the above to suit various desktop and user
> preferences, some more polished than others.

Hm. I haven't found one for iwd yet...

-- 
Regards,
Peter.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] Getting WiFi to work
  2024-04-12 15:05       ` Peter Humphrey
@ 2024-04-12 15:39         ` Michael
  2024-04-13 14:49           ` Peter Humphrey
  0 siblings, 1 reply; 21+ messages in thread
From: Michael @ 2024-04-12 15:39 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 445 bytes --]

On Friday, 12 April 2024 16:05:46 BST Peter Humphrey wrote:
> On Friday, 12 April 2024 14:35:02 BST Michael wrote:

> > There are GUI front-ends for the above to suit various desktop and user
> > preferences, some more polished than others.
> 
> Hm. I haven't found one for iwd yet...

There is net-wireless/iwgtk in portage.  Other GUI applications exist (idwgui, 
dmenu-iwd-gui), plus the general GUI front ends of networkmanager and connman.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] Getting WiFi to work
  2024-04-12 15:39         ` Michael
@ 2024-04-13 14:49           ` Peter Humphrey
  2024-04-13 17:28             ` Michael
  0 siblings, 1 reply; 21+ messages in thread
From: Peter Humphrey @ 2024-04-13 14:49 UTC (permalink / raw
  To: gentoo-user

On Friday, 12 April 2024 16:39:12 BST Michael wrote:
> On Friday, 12 April 2024 16:05:46 BST Peter Humphrey wrote:
> > On Friday, 12 April 2024 14:35:02 BST Michael wrote:
> > > There are GUI front-ends for the above to suit various desktop and user
> > > preferences, some more polished than others.
> > 
> > Hm. I haven't found one for iwd yet...
> 
> There is net-wireless/iwgtk in portage.  Other GUI applications exist
> (idwgui, dmenu-iwd-gui), plus the general GUI front ends of networkmanager
> and connman.

Of course, I found iwgtk a minute after sending that last. Network Manager is 
what I'm trying to avoid, mostly because it makes a mess of my existing wired 
LAN with its static addresses. I may have to revisit that whole setup.

-- 
Regards,
Peter.





^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] Getting WiFi to work
  2024-04-13 14:49           ` Peter Humphrey
@ 2024-04-13 17:28             ` Michael
  0 siblings, 0 replies; 21+ messages in thread
From: Michael @ 2024-04-13 17:28 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1511 bytes --]

On Saturday, 13 April 2024 15:49:27 BST Peter Humphrey wrote:
> On Friday, 12 April 2024 16:39:12 BST Michael wrote:
> > On Friday, 12 April 2024 16:05:46 BST Peter Humphrey wrote:
> > > On Friday, 12 April 2024 14:35:02 BST Michael wrote:
> > > > There are GUI front-ends for the above to suit various desktop and
> > > > user
> > > > preferences, some more polished than others.
> > > 
> > > Hm. I haven't found one for iwd yet...
> > 
> > There is net-wireless/iwgtk in portage.  Other GUI applications exist
> > (idwgui, dmenu-iwd-gui), plus the general GUI front ends of networkmanager
> > and connman.
> 
> Of course, I found iwgtk a minute after sending that last. Network Manager
> is what I'm trying to avoid, mostly because it makes a mess of my existing
> wired LAN with its static addresses. I may have to revisit that whole
> setup.

If you are using the netifrc script for your wired ethernet, you can add to 
your /etc/conf.d/net the wireless part and call upon wpa_supplicant or iwd to 
manage association and authentication with your AP.

For a laptop, when using different APs, you can use wpa_supplicant or iwd with 
dhcpcd without using netifrc. Then use wpa_gui or iwgtk to select preferred 
APs and to enter your credentials.

There are a number of combinations and permutations with the above tools to 
try out and see what suits.  I have never used networkmanager unless it comes 
as the default software with a binary distro.  Thankfully Gentoo offers a lot 
of choice and flexibility.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* SOLVED: Re: [gentoo-user] Getting WiFi to work
  2024-04-09 13:23 [gentoo-user] Getting WiFi to work Peter Humphrey
  2024-04-09 13:44 ` Paul Sopka
  2024-04-09 14:56 ` Wojciech Kuzyszyn
@ 2024-04-19 16:02 ` Peter Humphrey
  2024-04-21 22:30   ` Wol
  2 siblings, 1 reply; 21+ messages in thread
From: Peter Humphrey @ 2024-04-19 16:02 UTC (permalink / raw
  To: gentoo-user

On Tuesday, 9 April 2024 14:23:31 BST I wrote:

> I want to move my Intel i5 NUC box to a place where Ethernet is not
> available, nor like to become so. That means I have to get WiFi working,
> but I've had no success so far. The wiki pages are many, confusing and
> contradictory, so I'd like the panel's advice on the way to proceed.

Just reporting back.

I built a new system - using NetworkManager (after all I've said about it!) - 
now that it's so much quicker using binpkgs.

It all went fairly smoothly, taking one step at a time through changing 
several USE flags, installing various tools, and finally, adding the new wlan0 
interface to shorewall.

The machine can now boot with either wired or wireless network, or both.

Thank you, all who helped.

-- 
Regards,
Peter.





^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: SOLVED: Re: [gentoo-user] Getting WiFi to work
  2024-04-19 16:02 ` SOLVED: " Peter Humphrey
@ 2024-04-21 22:30   ` Wol
  2024-04-21 22:58     ` Peter Humphrey
  0 siblings, 1 reply; 21+ messages in thread
From: Wol @ 2024-04-21 22:30 UTC (permalink / raw
  To: gentoo-user

On 19/04/2024 17:02, Peter Humphrey wrote:
> On Tuesday, 9 April 2024 14:23:31 BST I wrote:

> 
> Just reporting back.
> 
> I built a new system - using NetworkManager (after all I've said about it!) -
> now that it's so much quicker using binpkgs.
> 
> It all went fairly smoothly, taking one step at a time through changing
> several USE flags, installing various tools, and finally, adding the new wlan0
> interface to shorewall.
> 
> The machine can now boot with either wired or wireless network, or both.
> 
> Thank you, all who helped.
> 
Any chance you can document those steps? I'm struggling to get wireless 
working on my laptop - the statement in the handbook

 > Wireless networking on Linux is usually pretty straightforward. There 
are three ways of configuring wifi: graphical clients, text-mode 
interfaces, and command-line interfaces.

just seems to be complete rubbish :-(

As far as I can tell, my kernel is bringing up the hardware fine - dmesg 
tells me my wireless interface has come up fine with iwlwifi, and has 
been renamed from wlan0 to wlo1. Network manager detects the ethernet 
connection but can't even see the wireless connection.

Ummm ... of course, sod has just struck, I've rebooted, started Network 
Manager (which I thought I'd uninstalled) and wonder of wonders I have 
internet!

But some documentation would certainly be appreciated.

Cheers,
Wol


^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: SOLVED: Re: [gentoo-user] Getting WiFi to work
  2024-04-21 22:30   ` Wol
@ 2024-04-21 22:58     ` Peter Humphrey
  2024-05-28 14:08       ` Peter Humphrey
  0 siblings, 1 reply; 21+ messages in thread
From: Peter Humphrey @ 2024-04-21 22:58 UTC (permalink / raw
  To: gentoo-user

On Sunday, 21 April 2024 23:30:54 BST Wol wrote:
> On 19/04/2024 17:02, Peter Humphrey wrote:
> > 
> > Just reporting back.
> > 
> > I built a new system - using NetworkManager (after all I've said about
> > it!) - now that it's so much quicker using binpkgs.
> > 
> > It all went fairly smoothly, taking one step at a time through changing
> > several USE flags, installing various tools, and finally, adding the new
> > wlan0 interface to shorewall.
> > 
> > The machine can now boot with either wired or wireless network, or both.
> > 
> > Thank you, all who helped.
> 
> Any chance you can document those steps?

Yes, I ought to do that. I just need to remember...   ;-)

> I'm struggling to get wireless working on my laptop - the statement in the
> handbook Wireless networking on Linux is usually pretty straightforward.
> There are three ways of configuring wifi: graphical clients, text-mode
> interfaces, and command-line interfaces.
> 
> just seems to be complete rubbish :-(

It does seem that way, indeed. It was certainly no use to me.

> As far as I can tell, my kernel is bringing up the hardware fine - dmesg
> tells me my wireless interface has come up fine with iwlwifi, and has
> been renamed from wlan0 to wlo1. Network manager detects the ethernet
> connection but can't even see the wireless connection.
> 
> Ummm ... of course, sod has just struck, I've rebooted, started Network
> Manager (which I thought I'd uninstalled) and wonder of wonders I have
> internet!
> 
> But some documentation would certainly be appreciated.

I'll see what I can do in the next day or two.

-- 
Regards,
Peter.





^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: SOLVED: Re: [gentoo-user] Getting WiFi to work
  2024-04-21 22:58     ` Peter Humphrey
@ 2024-05-28 14:08       ` Peter Humphrey
  2024-05-28 14:52         ` Dale
  0 siblings, 1 reply; 21+ messages in thread
From: Peter Humphrey @ 2024-05-28 14:08 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 403 bytes --]

On Sunday, 21 April 2024 23:58:04 BST Peter Humphrey wrote:
> On Sunday, 21 April 2024 23:30:54 BST Wol wrote:

> > Any chance you can document those steps?
> 
> Yes, I ought to do that. I just need to remember...   ;-)

I think there's only one thing for me to say: whatever web site I used said to 
"chattr +i /etc/resolv.conf". It seems to be a dreadful hack, but it does 
work.

-- 
Regards,
Peter.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: SOLVED: Re: [gentoo-user] Getting WiFi to work
  2024-05-28 14:08       ` Peter Humphrey
@ 2024-05-28 14:52         ` Dale
  2024-05-28 15:58           ` Peter Humphrey
  0 siblings, 1 reply; 21+ messages in thread
From: Dale @ 2024-05-28 14:52 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 900 bytes --]

Peter Humphrey wrote:
> On Sunday, 21 April 2024 23:58:04 BST Peter Humphrey wrote:
>> On Sunday, 21 April 2024 23:30:54 BST Wol wrote:
>>> Any chance you can document those steps?
>> Yes, I ought to do that. I just need to remember...   ;-)
> I think there's only one thing for me to say: whatever web site I used said to 
> "chattr +i /etc/resolv.conf". It seems to be a dreadful hack, but it does 
> work.
>
> -- Regards, Peter.


I don't have wifi on my rig so this might not apply.  When I started
using a VPN, I had trouble with resolv.conf not getting the right
settings when openvpn started.  I used resolv.conf.head and
resolve.conf.tail to fix it.  That way resolve.conf could have changes
to things that needed to be changed but my setting would over rule them
if needed. 

Just something you might want to ponder on.  It might, just might,
provide a better fix. 

Dale

:-)  :-) 

[-- Attachment #2: Type: text/html, Size: 2024 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: SOLVED: Re: [gentoo-user] Getting WiFi to work
  2024-05-28 14:52         ` Dale
@ 2024-05-28 15:58           ` Peter Humphrey
  0 siblings, 0 replies; 21+ messages in thread
From: Peter Humphrey @ 2024-05-28 15:58 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1036 bytes --]

On Tuesday, 28 May 2024 15:52:35 BST Dale wrote:
> Peter Humphrey wrote:
> > On Sunday, 21 April 2024 23:58:04 BST Peter Humphrey wrote:
> >> On Sunday, 21 April 2024 23:30:54 BST Wol wrote:
> >>> Any chance you can document those steps?
> >> 
> >> Yes, I ought to do that. I just need to remember...   ;-)
> > 
> > I think there's only one thing for me to say: whatever web site I used
> > said to "chattr +i /etc/resolv.conf". It seems to be a dreadful hack, but
> > it does work.
> > 
> > -- Regards, Peter.
> 
> I don't have wifi on my rig so this might not apply.  When I started
> using a VPN, I had trouble with resolv.conf not getting the right
> settings when openvpn started.  I used resolv.conf.head and
> resolve.conf.tail to fix it.  That way resolve.conf could have changes
> to things that needed to be changed but my setting would over rule them
> if needed. 
> 
> Just something you might want to ponder on.  It might, just might,
> provide a better fix. 

Right. I'll look into that. Thanks Dale.

-- 
Regards,
Peter.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2024-05-28 15:58 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-09 13:23 [gentoo-user] Getting WiFi to work Peter Humphrey
2024-04-09 13:44 ` Paul Sopka
2024-04-11 12:49   ` Peter Humphrey
2024-04-11 15:08     ` Michael
2024-04-11 15:15       ` Peter Humphrey
2024-04-11 15:18         ` Michael
2024-04-11 15:24           ` Peter Humphrey
2024-04-09 14:56 ` Wojciech Kuzyszyn
2024-04-11 15:16   ` Peter Humphrey
2024-04-12 12:51   ` Peter Humphrey
2024-04-12 13:35     ` Michael
2024-04-12 15:05       ` Peter Humphrey
2024-04-12 15:39         ` Michael
2024-04-13 14:49           ` Peter Humphrey
2024-04-13 17:28             ` Michael
2024-04-19 16:02 ` SOLVED: " Peter Humphrey
2024-04-21 22:30   ` Wol
2024-04-21 22:58     ` Peter Humphrey
2024-05-28 14:08       ` Peter Humphrey
2024-05-28 14:52         ` Dale
2024-05-28 15:58           ` Peter Humphrey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox