Question about Alfa AWUS036ACHM #69
Replies: 5 comments 2 replies
-
There is a lot to unpack here. Let me ask some questions so i can build a picture of the system you have: Computer = Raspberry Pi 4B ? Regards |
Beta Was this translation helpful? Give feedback.
-
Raspberry Pi 4 Model B Rev 1.4 cat /etc/os-release says:
|
Beta Was this translation helpful? Give feedback.
-
Thanks for getting back to me. I'm happy to confirm, that your instructions work perfectly 😁🥳 As I need the Raspi to work as a routed Access-point what steps are required to do so? I followed this instruction in the past with limited success: https://www.raspberrypi.com/documentation/computers/configuration.html#setting-up-a-routed-wireless-access-point Do you have any advice/experience what I need to get from your instruction to a routed Access-point with DHCP running? PS: following the instructions here I couldn't get the LED on the wifi-adapter to light up in any way 🤷♂️ Only a wifi-scan revealed it's working 😁 //EDIT: What I did was modified the /etc/dhcpcd.conf as follows:
The /etc/dnsmasq.conf is now with this:
The /etc/hostapd/hostapd-2g.conf is unchanged from after your tutorial where all worked. However when doing a sudo hostapd -dd /etc/hostapd/hostapd-2g.conf this is returned (and the hotspot is up and running):
and sudo systemctl status dnsmasq thows two warnings:
and ifconfig returns this:
So you can imagine that I have some questions and many more WTFs flying around in my mind because of the errors returned and things not working as intended. |
Beta Was this translation helpful? Give feedback.
-
Good. I'm am sorry for being slow to respond but it can take me some time to respond as I am busy. I'm glad the bridged guide installed and worked. I had asked you to do that partly for educational purposes and party to make sure your hardware is setup okay. I actually did not intend for you to modify that installation as the needed changes are many and can be somewhat confusing. What I actually recommend for people like you that want a routed setup is for you to use openWRT: https://openwrt.org/toh/raspberry_pi_foundation/raspberry_pi openWRT is just another Linux distro just like Raspberry Pi OS is a Linux distro. The big difference is that the Raspberry Pi OS is a general purpose OS whereas openWRT is a specific purpose OS... and it is very good and is designed to do exactly what you asking to do. openWRT has the driver for the mt7610u chipset that is used in the Alfa ACHM. It will not be installed in the iso that you install but it is simple to install. The package name is kmod-mt76x0u. I have used my ACHM with openWRT a lot and it works well. What you might do is use the internal wifi for one band and the ACHM for the other band so that you have a dual band router. Warning: There are many guides on the internet for setting up openWRT on a RasPi4B. Many of those guides are old so you should only use very recent guides that support installing openWRT 21.02. This can also be a learning experience so if you find something you do not understand, you can ask here or in the openWRT forums. Regards |
Beta Was this translation helpful? Give feedback.
-
Did you about it in the OpenWRT forums? |
Beta Was this translation helpful? Give feedback.
-
Hi,
I have a few problems with the Alfa AWUS036ACHM on my Raspi 4
Powered with a 4A power-brick the raspi and wifi start up fine. However I encounter two problems with this wifi-"stick" compared to the internal wifi.
I want to use the Raspi as a routed (stand-alone) access point using this instruction: https://www.raspberrypi.com/documentation/computers/configuration.html#setting-up-a-routed-wireless-access-point
For testing I set everything up with the onboard-wifi (wlan0) and all is fine. Then I deactivated it in the /boot/config.txt, plugged in the Alfa-Wifi via the supplied USB-cable and restarted. The wifi-stick is mapped as wlan0, so all access-point-settings should account for this device too.
However I have a problem, that when I want to connect a device, DHCP doesn't hand out any addresses.
sudo systemctl status dnsmasq
returns a nice "warning: interface wlan0 does not currently exist"
Setting static IPs works fine and allows devices to connect. However it is impossible to SSH the Raspi with any device that is in the wifi. And again, this all works fine with the onboard-wifi and doesn't with the Alfa AWUS036ACHM. I'm clueless what to try. Any ideas?
Cheers :)
Beta Was this translation helpful? Give feedback.
All reactions