as the WLAN using the Argon One case is very poor, I want to use a USB WLAN dongle. What do I have to do, that I can use the WLAN dongle for connecting to local wlan and also running as accesspoint instead of the build in wlan of the raspi 4
vy 73 de Klaus, DC2JR
|
There are mods out there to add an external antenna on the Pi to be utilized instead of the internal one.? It involves some pretty careful soldering and SMD work.? I've done the install on one of my spares but haven't get tested it thoroughly.? Try
mike KO4BCN
toggle quoted message
Show quoted text
On 3/3/2022 3:45 AM, dc2jr via groups.io wrote: as the WLAN using the Argon One case is very poor, I want to use a USB WLAN dongle. What do I have to do, that I can use the WLAN dongle for connecting to local wlan and also running as accesspoint instead of the build in wlan of the raspi 4
vy 73 de Klaus, DC2JR
|
I use any of a number of USB dongles for my Rpi4-8GB and Argone One V2 case. Most are EDIMax, or RaLink ET series, and work well at the 802.11a,b,g & n levels. I've only found one that runs well at 802.11ac with built in kernel driver, an ASUSTeK USB-AC55 Dual Band AC1300. When in AP mode, everything I have that can connect in AC mode (5GHz) does (laptops, tablets, other Pi4s, etc), and I don't have to worry about adding or modifying drivers to use it.
|
Principal no problem, but as it is the only raspi4 I have and the prices of a raspi4 actually is more than double the price as one year ago, I do not want to make a risk to damage ?
|
I have some edimax from older raspies, which I want to use, the question, how to deactivate the build in wlan and to activate the external edimax, also to use Jason¡®s mechanism to automatically switch to hotspot mode, if there is no connection to the local wlan.
|
Create /etc/modprobe.d/brcm-blacklist.conf with the following content:
blacklist brcmfmac
blacklist brcmutil
Reboot, and WiFi should be disabled. You may find errors in the system log depending on what method you are using to configure the network.
Another option: add: dtoverlay=disable-wifi
to /boot/config.txt to disable wifi. I have tested it with a Raspberry Pi 4B. It is also valid for Pi4.
Kevin -- KD9EFV
|
Hi Kevin,
The one thing is,I want to disable internal wlan adapter, the 2nd, I want to use my usb wlan dongle also with Jason¡¯s automatic switching to hotspot, if there is no wlan available? Von meinem iPhone gesendet
toggle quoted message
Show quoted text
Am 03.03.2022 um 22:25 schrieb Kevin <kd9efv@...>:
?
Create /etc/modprobe.d/brcm-blacklist.conf with the following content:
blacklist brcmfmac
blacklist brcmutil
Reboot, and WiFi should be disabled. You may find errors in the system log depending on what method you are using to configure the network.
Another option: add: dtoverlay=disable-wifi
to /boot/config.txt to disable wifi. I have tested it with a Raspberry Pi 4B. It is also valid for Pi4.
?
|
Both options will disable the on-board Wifi. The Hotspot will use the dongle if it is available, as to hotspot auto-starting if there isn't a local wifi network, I haven't tested, but it does work manually.
Kevin -- KD9EFV
|
Hi Kevin, Thanks a lot, I will try out this weekend and come back with a feedback
Klaus, DC2JR? Von meinem iPhone gesendet
toggle quoted message
Show quoted text
Am 04.03.2022 um 12:57 schrieb Kevin <kd9efv@...>:
?Both options will disable the on-board Wifi. The Hotspot will use the dongle if it is available, as to hotspot auto-starting if there isn't a local wifi network, I haven't tested, but it does work manually.
Kevin -- KD9EFV
|
Hi Kevin
I tried both variants, you mentioned.?
1 copying?dtoverlay=disable-wifi to config.txt -> no change internal wlan still is running 2 blacklist.conf -> internal wlan seems to be disabled, hotspot is running, no possibility to configure the external wlan adapter to connect to home network with hotspot tool or raspberry pi configuration
klaus
dc2jr
|
Clean install of RaspberryPiOS Bullseye on Pi4-8GB Add wpa_supplicant.conf to /boot boot latest updates run command ip a see wifi is present as wlan0 add dtoverlay=disable-wifi to /boot/config.txt reboot run command ip a wifi is now gone insert USB WiFi dongle confirm it is recognized with command lsusb run command ip a USB Wifi should show as wlan0
|
Hi Kevin
I tried out, as you described with a fresh install. I added?dtoverlay=disable-wifi as last line to config and rebooted. After reboot I typed ip a and wlan0 was still present. So I shut down the raspi and started new. Now pi a showed no wlan interface. I connected the dongle. ip a now showed again wlan0, I rebooted again, the raspi connected to my network, I typed again ip a and the list showed wlan0 and wlan1 again. So actually I do not know, which adapter is used
klaus, DC2JR?
|
I just tested again, Both 32 bit Buster and 32 bit Bullseye dated Jan 2022 from RaspberryPi.com I added ssh.txt and wpa_supplicant.conf to the boot partition prior to putting in my RPi4-8GB (with Argone One V2 case) It booted up normally in both cases. I then did the sudo apt update && sudo apt upgrade -y in both Buster and Bullseye setups (in case either replace the existing /boot/config.txt during updates) I modified /boot/config.txt, adding dtoverlay=disable-wifi as the last line, in both situations, and rebooted multiple times. The WLAN0 is not listed in any reboot. I then inserted the Wifi dongle. It shows up as WLAN0, shows in command lsusb I then rebooted and tested again, multiple times, and only WLAN0 (the dongle) shows up. This was tested on both the Buster and Bullseye, multiple times. I also tested with a Pi3B+, same setups, same modified /boot/config.txt, same results. It's weird that yours brings back the on board WiFi, as I cannot reproduce it.
Kevin -- KD9EFV
|
Maybe that is the issue I've been having with my PI 4. I setup WPA plus I have ethernet cable plug in. I see both IP addresses for Lan and Wifi. I do the build a Pi. Reboot. Nothing. No IP on my desktop ISP GUI or Wifi shows up in my Angry Birds IP program. I do have a monitor and keyboard/mouse and in restarting. Doing a power pull. I see a black screen. A Raspberry Pi logo and then nothing. I have reflashed the SD card several times and even though I added WPA from Pi-Star Builder and ssh before starting the program. Here I thought my Wifi and Ethernet on the PI 4 died.
73
Don Poaps New Westminster, BC
VA7DGP DATA VA7QU ? VOICE Winlink: va7qu@... Subject://wl2k ? ? ? ? ? ALLSTAR ?530780 Hamshack Hotline 5971 Mid-Island Phone Mesh 2210 2232 ? ? ? ? ? ? ? ? ? ?
toggle quoted message
Show quoted text
On Sun, Mar 6, 2022 at 2:48 PM Kevin < kd9efv@...> wrote: [Edited Message Follows]
I just tested again, Both 32 bit Buster and 32 bit Bullseye dated Jan 2022 from RaspberryPi.com I added ssh.txt and wpa_supplicant.conf to the boot partition prior to putting in my RPi4-8GB (with Argone One V2 case) It booted up normally in both cases. I then did the sudo apt update && sudo apt upgrade -y in both Buster and Bullseye setups (in case either replace the existing /boot/config.txt during updates) I modified /boot/config.txt, adding dtoverlay=disable-wifi as the last line, in both situations, and rebooted multiple times. The WLAN0 is not listed in any reboot. I then inserted the Wifi dongle. It shows up as WLAN0, shows in command lsusb I then rebooted and tested again, multiple times, and only WLAN0 (the dongle) shows up. This was tested on both the Buster and Bullseye, multiple times. I also tested with a Pi3B+, same setups, same modified /boot/config.txt, same results. It's weird that yours brings back the on board WiFi, as I cannot reproduce it.
Kevin -- KD9EFV
|
BTW, I've used both ethernet and wifi during testing, and no ethernet, and it doesn't matter in my testing... Most of my Pis are headless ( too expensive to have 15-20 monitors, or even KVM switched <grin> ). Most of my regular use Pis are set with static IPs from the router/dhcp server on both the Ethernet and WiFi macs, so I don't need to use things like AngryIP Scanner. They are all on their own subnet, on their own VLAN for the most part, but that is beyond the skill set of most users...
Kevin -- KD9EFV
|