Skip to content

Instantly share code, notes, and snippets.

@indeedhat
Created July 18, 2023 11:17
Show Gist options
  • Save indeedhat/68c62e721f00ea0f29b87bcc81d747d4 to your computer and use it in GitHub Desktop.
Save indeedhat/68c62e721f00ea0f29b87bcc81d747d4 to your computer and use it in GitHub Desktop.
Install atheros ar9271 driver ubuntu 22.04 (jammy)
# Add this line in /etc/apt/sources.list
# deb http://httpredir.debian.org/debian/ bullseye main contrib non-free
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 648ACFD622F3D138
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0E98404D386FA1D9
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 605C66F00D6C9793
sudo apt-get update --allow-unauthenticated
# this will produce an error... go with it
sudo apt-get install firmware-atheros
sudo dpkg -i --force-overwrite /var/cache/apt/archives/firmware-atheros_20210315-3_all.deb
sudo apt -f install
@JDuB0687
Copy link

AWESOME! This helped me install the driver and stop pulling my hair out LOL!!! Also - "sudo apt -f install" didn't work for me. I had to "sudo apt update && sudo apt upgrade -y" followed by rebooting the computer. I hope this helps anyone that is stuck. Also this was a successful install on OrangePi Zero 3 1GB.

@JDuB0687
Copy link

JDuB0687 commented Aug 16, 2024

This is what worked for me -

Add this line in /etc/apt/sources.list - (choose your text editor ... nano, vim, etc) - I like nano

deb http://httpredir.debian.org/debian/ bullseye main contrib non-free
#deb-src deb http://httpredir.debian.org/debian/ bullseye main contrib non-free

(nano exit and save) - CTRL x
y
y

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 648ACFD622F3D138
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0E98404D386FA1D9
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 605C66F00D6C9793
sudo apt-get update --allow-unauthenticated
sudo apt-get install firmware-atheros
sudo dpkg -i --force-overwrite /var/cache/apt/archives/firmware-atheros_20210315-3_all.deb
sudo apt update && sudo apt upgrade -y

Reboot PC

to check if driver is installed type in terminal - "inxi -N" without quotations

@atheros77
Copy link

please help me toturial install atheros ar9271 with video

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment