Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

WiFi adapter AR9271 not scanning with Khadas vim3 running Armbian 24.2.1

Off-Topic discussions about science, technology, and non Debian specific topics.
Post Reply
Message
Author
AnG-M
Posts: 3
Joined: 2024-04-24 05:21

WiFi adapter AR9271 not scanning with Khadas vim3 running Armbian 24.2.1

#1 Post by AnG-M »

Hi everyone, I am at my wits end and need help before I lost my eyesight:

I have a Khadas vim3 running Armbian 24.2.1 "bookworm". and i'm attempting to use a Ar9271 wifi adapter to run a hotspot, which partially works as it fails to scan for networks and needs me to specify the channel for it to run.

When running:

Code: Select all

sudo iwlist wlan1 scan
, i get and error stating that the interface does not support scanning

Testing the same adapter on an ubuntu machine proves the opposite as the adapter supports scanning and works out of the box without any issues

both machines are loading the correct 1.4.0 firmware but using different drivers as the Ubuntu machine is running a 5.14 kernel while the Khadas is running 6.6.16

i'm losing my mind trying to get this to work and the fact that the ubuntu machine ran everything out of the box is making me lose whatever hair i have left.

Please let me know what info i can provide to help diagnose this and get to the bottom of it.

Appreciate all the help i can get.

Aki
Global Moderator
Global Moderator
Posts: 3080
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 76 times
Been thanked: 417 times

Re: AR9271 not scanning with Armbian 24.2.1 "bookworm".

#2 Post by Aki »

Hello,

Please, modify the subject of the first post to make it more understandable to other forum users and readers; i.e. :
WiFi adapter AR9271 not scanning with Khadas vim3 running Armbian 24.2.1
Moved to "Off-Topic" sub-forum, since it is not about Debian.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

AnG-M
Posts: 3
Joined: 2024-04-24 05:21

Re: AR9271 not scanning with Armbian 24.2.1 "bookworm".

#3 Post by AnG-M »

Aki wrote: 2024-04-24 06:06 Hello,

Please, modify the subject of the first post to make it more understandable to other forum users and readers; i.e. :
WiFi adapter AR9271 not scanning with Khadas vim3 running Armbian 24.2.1
Moved to "Off-Topic" sub-forum, since it is not about Debian.
Correct me if i'm wrong but isn't the armbian in discussion Debian based ?. that's the basis to why I posted it in this forum

Aki
Global Moderator
Global Moderator
Posts: 3080
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 76 times
Been thanked: 417 times

Re: AR9271 not scanning with Armbian 24.2.1 "bookworm".

#4 Post by Aki »

Hello,
AnG-M wrote: 2024-04-24 07:12 Correct me if i'm wrong but isn't the armbian in discussion Debian based ?
Yes, Armbian is a so-called "derivative" of other distributions. According to [1]:
Armbian comes in two distinct versions, one Debian based, the other is based on a lightweight Ubuntu version.[4]
and according to [2]:
A Debian derivative is a distribution that is based on the work done in Debian but has its own identity, goals and audience and is created by an entity that is independent from Debian.
For example, Debian derivatives:
  • can modify Debian source code and create/add their own binaries
  • do not necessarily use packages from Debian repositories, nor are Debian packages necessarily compatible with those of the derivative
  • may behave differently from Debian at runtime to some extent (e.g. to support specific hardware)
Therefore, derivatives are not necessarily compatible with the native distribution (i.e. Debian).

In this forum they are usually discussed in the off-topic subforum, as they might not behave strictly as a Debian.

Of course, the people who make derivatives know better how to support their users in their forums.
AnG-M wrote: 2024-04-24 05:36 I have a Khadas vim3 running Armbian 24.2.1 "bookworm". and i'm attempting to use a Ar9271 wifi adapter to run a hotspot, which partially works as it fails to scan for networks and needs me to specify the channel for it to run.
When running:

Code: Select all

sudo iwlist wlan1 scan
, i get and error stating that the interface does not support scanning. Testing the same adapter on an ubuntu machine proves the opposite as the adapter supports scanning and works out of the box without any issues

both machines are loading the correct 1.4.0 firmware but using different drivers as the Ubuntu machine is running a 5.14 kernel while the Khadas is running 6.6.16
The home site for the "Kadas VIM3" reports for following binary images: What is the image you used ?

--
[1] https://en.wikipedia.org/wiki/Armbian
[2] https://www.debian.org/derivatives/index.en.html
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

AnG-M
Posts: 3
Joined: 2024-04-24 05:21

Re: AR9271 not scanning with Armbian 24.2.1 "bookworm".

#5 Post by AnG-M »

Aki wrote: 2024-04-24 19:10 Hello,
AnG-M wrote: 2024-04-24 07:12 Correct me if i'm wrong but isn't the armbian in discussion Debian based ?
Yes, Armbian is a so-called "derivative" of other distributions. According to [1]:
Armbian comes in two distinct versions, one Debian based, the other is based on a lightweight Ubuntu version.[4]
and according to [2]:
A Debian derivative is a distribution that is based on the work done in Debian but has its own identity, goals and audience and is created by an entity that is independent from Debian.
For example, Debian derivatives:
  • can modify Debian source code and create/add their own binaries
  • do not necessarily use packages from Debian repositories, nor are Debian packages necessarily compatible with those of the derivative
  • may behave differently from Debian at runtime to some extent (e.g. to support specific hardware)
Therefore, derivatives are not necessarily compatible with the native distribution (i.e. Debian).

In this forum they are usually discussed in the off-topic subforum, as they might not behave strictly as a Debian.

Of course, the people who make derivatives know better how to support their users in their forums.
AnG-M wrote: 2024-04-24 05:36 I have a Khadas vim3 running Armbian 24.2.1 "bookworm". and i'm attempting to use a Ar9271 wifi adapter to run a hotspot, which partially works as it fails to scan for networks and needs me to specify the channel for it to run.
When running:

Code: Select all

sudo iwlist wlan1 scan
, i get and error stating that the interface does not support scanning. Testing the same adapter on an ubuntu machine proves the opposite as the adapter supports scanning and works out of the box without any issues

both machines are loading the correct 1.4.0 firmware but using different drivers as the Ubuntu machine is running a 5.14 kernel while the Khadas is running 6.6.16
The home site for the "Kadas VIM3" reports for following binary images: What is the image you used ?

--
[1] https://en.wikipedia.org/wiki/Armbian
[2] https://www.debian.org/derivatives/index.en.html
You are absolutely correct and I apologize for my naivety. and to answer your question, I used the Armbian image, which then used the DietPi script to modify it further "just to add more complications to my situation of course :roll: "

So far, all indications point that this is a DietPi specific issue, as I have tested two additional devices, one running Raspbian Bookworm and DietPi Bookworm, the Raspbian had no issues working out of the box just like the Ubuntu machine, while the other raspberry pi running DietPi exhibited the same behavior as the Khadas Vim 3.

I'm still gonna test with two pure Armbian installations in hopes to isolate the behavior further.

Aki
Global Moderator
Global Moderator
Posts: 3080
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 76 times
Been thanked: 417 times

Re: AR9271 not scanning with Armbian 24.2.1 "bookworm".

#6 Post by Aki »

Hello,
AnG-M wrote: 2024-04-27 04:33 So far, all indications point that this is a DietPi specific issue, as I have tested two additional devices, one running Raspbian Bookworm and DietPi Bookworm, the Raspbian had no issues working out of the box just like the Ubuntu machine, while the other raspberry pi running DietPi exhibited the same behavior as the Khadas Vim 3.

I'm still gonna test with two pure Armbian installations in hopes to isolate the behavior further.
Thanks for reporting back.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

Post Reply