Jump to content

ijustneedcoffee

Validating
  • Posts

    1
  • Joined

  • Last visited

  1. Hi everyone, I've been beating my head against my keyboard for a few days and several hours now regarding this issue with wireless connectivity on my newly acquired Orange Pi 3 LTS. Thank you to everyone here for inputting things to try! I'm working to get OctoPrint running on Armbian, so I did use the Armbian build provided on https://www.obico.io/, so that may play into this fix I found that worked for me. I'm running Armbian 23.02.2 Bullseye with Linux 5.15.93-sunxi64. Here is everything I did and I'm hoping I can help others! From the start, I plugged directly into my router via LAN so that I could get updated and stuff. I will bullet everything I did below (habit from working in helpdesk and ticketing systems for years): I installed the distro as normal; flashing the SD and installing and all that. Once installed I updated and upgraded everything via apt-get update and apt-get upgrade. Ran armbian-config and updated all firmware from the system configuration area. I then performed the following commands (thanks to u/satanner1s on Reddit): sudo apt-get install -y iw wpasupplicant This isn't incredibly necessary, however, I just wanted to make sure I had everything I needed. sudo iw dev To confirm the wireless hardware is being detected at all, and it was. sudo nano /etc/wpa_supplicant/wpa_supplicant.conf Modify this file with the following info: network={ ssid="SSID" psk="PASSWORD" key_mgmt=WPA-PSK } I tabbed before SSID, psk, and key_mgmt, however, not sure if it makes a difference. SSID will be your wireless ssid and password is your wireless password. Once entered, hit control+x and y to save the file. Start wpa_supplicant using: sudo wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf Then get an IP with: sudo dhclient wlan0 I set a static IP on my router for the mac of my Orange Pi Once all of that is done, you can run ip address to confirm you have an IP for both you LAN and WLAN adapters. If you confirm WLAN has an IP you can disconnect LAN. Now, the key is to have this run each time you start your Pi so we'll need to do the following: sudo nano /etc/rc.local You need to add the following lines to this file: sudo wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf sudo dhclient wlan0 Ctrl+x to save the file. This will run every time you boot your pi, which will connect to wifi and get your IP from your router. You can reboot to test this now. I really hope this helps someone else out there because this has been quite the frustrating (but fun) experience!
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines