Nmcli "Qualcomm Atheros AR242x / AR542x"

Hello,

when i call “nmcli device wifi list“ in a shell then i have in the wlp20s0 device:

wifi (ath5k), 00:22:5F:2C:E3:84, plugin missing, hw, mtu 1500

what plugin is missing? and what can I call in bash to scan available wireless networks close by?

and in “nmcli device” is the wlp20s0 device listed as STATE “unmanaged“

You can use:

iw dev wlp20s0 scan

that works not

$ sudo iw dev wlp20s0 scan

command failed: Network is down (-100)

and without sudo i (the user) have no permission [ Operation not permitted (-1) ].

What permissions are needed?

So you need to use sudo or run it as root user. It works on my system. But if your network is down, would suggest your wireless card isn’t working.

Could be you need ath5k module installing: Atheros support - #5 by toracat you can install it from elrepo. That example is for Rocky 8, but there is elrepo for EL9 and EL10 too.

i have installed actual kmod-ath5k. how can i scan for wireless networks? should “sudo iw dev wlp20s0 scan“ works?

The command “nmcli device wifi list ifname wlp20s0” reports

Error: Device 'wlp20s0' was not recognized as a Wi-Fi device, check NetworkManager Wi-Fi plugin.

“sudo lspci -s 14:00.0 -vv“ puts

14:00.0 Ethernet controller: Qualcomm Atheros AR242x / AR542x Wireless Network Adapter (PCI-Express) (rev 04)
	Subsystem: Qualcomm Atheros AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 19
	Region 0: Memory at fe200000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: [40] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit-
		Address: 00000000  Data: 0000
	Capabilities: [60] Express (v1) Legacy Endpoint, MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0, Latency L0s <512ns, L1 <64us
			ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
		DevCtl:	CorrErr- NonFatalErr- FatalErr- UnsupReq-
			RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
			MaxPayload 128 bytes, MaxReadReq 512 bytes
		DevSta:	CorrErr- NonFatalErr+ FatalErr- UnsupReq+ AuxPwr- TransPend-
		LnkCap:	Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <512ns, L1 <64us
			ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp-
		LnkCtl:	ASPM Disabled; RCB 128 bytes Disabled- CommClk+
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 2.5GT/s (ok), Width x1 (ok)
			TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
	Capabilities: [90] MSI-X: Enable- Count=1 Masked-
		Vector table: BAR=0 offset=00000000
		PBA: BAR=0 offset=00000000
	Capabilities: [100 v1] Advanced Error Reporting
		UESta:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq+ ACSViol-
		UEMsk:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
		UESvrt:	DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
		CESta:	RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr-
		CEMsk:	RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr-
		AERCap:	First Error Pointer: 14, ECRCGenCap+ ECRCGenEn- ECRCChkCap+ ECRCChkEn-
			MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
		HeaderLog: 04000001 0000170f 02010100 00000000
	Capabilities: [140 v1] Virtual Channel
		Caps:	LPEVC=0 RefClk=100ns PATEntryBits=1
		Arb:	Fixed- WRR32- WRR64- WRR128-
		Ctrl:	ArbSelect=Fixed
		Status:	InProgress-
		VC0:	Caps:	PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
			Arb:	Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
			Ctrl:	Enable+ ID=0 ArbSelect=Fixed TC/VC=01
			Status:	NegoPending- InProgress-
	Kernel driver in use: ath5k
	Kernel modules: ath5k

out.

and “sudo iwlist wlp20s0 scanning“ outputs “wlp20s0 Interface doesn’t support scanning : Network is down“(on nonexistent devices the output is only “wlp20s0 Interface doesn’t support scanning.“)

Has the wireless driver support for “Qualcomm Atheros AR242x / AR542x“? probably new version of the driver is the problem.

I have a ICH8M Chipset and a Core 2 Duo CPU.

It is old hardware (from year 2007).

Hmpf ok, in 6.15.8-1.el8.elrepo.x86_64 works it like a charm since installing kmod-ath5k package.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.