-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alfa AWUS036ACM and multi SSID access point with hostapd ? #3
Comments
I have concerns about your hostapd.conf but first, run and post the results of: $ iw dev |
Quote: "ht_capab=[RXLDPC][HT20][HT40+][HT40-][SHORT-GI-20][SHORT-GI-40][MAX-AMSDU-3839][DSSS_CCK-HT40]" Some recommendations: You are setting up to use 2.4 ghz which is band 1. Your ht_capab line needs to reflect that. The command to check capabilities is: $ iw list Problem: [DSSS_CCK-HT40] is not supported so adding it will cause hostapd to not come up. Problem: [RXLDPC] is not correct for ht_capab. It is correct for vht_capab. Problem: [MAX-AMSDU-3839] is the default so it is unnecessary. The below is a proper full capability line for band 1 use for the Alfa ACM: ht_capab=[LDPC][HT40+][HT40-][GF][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1] |
Here is:
I changed capabilities to
There is no wlan2 interface upped at boot time. The driver is from the box. |
It seems I solved the situation by adding bssid for each ssid and 1st octet of each other bssid is increased to 4, for example:
Is ithere blue or other color led on module as on awus036ac ? |
Quote: "Is there blue or other color led on module as on awus036ac ?" That is a good question. I started to investigate this issue myself a few months ago but I ended up busy on something else. Quote: "And is signal power tunnable on awus036acm ?" Yes, subject to the legal limitations. Example: $ sudo iw dev wlan set txpower fixed 1600 |
The following issue has some info about setting up guest (multi SSID): https://github.com/morrownr/USB-WiFi/issues It is Issue 3. You may have it figured out by now but I thought I would pass the info/ Regarding the LED, when I have some time in a few weeks, I think I am going to investigate the issue with the LED. For me, if the LED was flashing, I would be looking for a way to turn it off but it would be nice for it to be configurable. I was able to add that capability to the Realtek drivers I support. Are you a C coder? I am curious about the setup you have as I have a line on my todo list to write a guide for setting up an AP on Ubuntu. How did you handle the networking setup with Ubuntu server? |
Regarding LED, it do not light in my item. I think it is possible to set up AP with dnsmasq or Bind9/Isc-dhcp. At the time I have one point to need to be solved - assign IP for guest wlan interface. |
At the time I could assign an IP to guest virtual wlan interface, but there is no activity on the interface even I try to connect to unlike main wlan interface.
May be some activation of wlan2 is necessary, looks like:
|
I wish I could help but I have no visibility on the specifics of how your networking is setup. What I can do is work on adding the instructions for a guest setup to the Bridged Wireless Access Point document as I have time. |
I think that there is no network level, it is wi-fi level at itself. I found out, if bssid is not to specify manually in hostapd.conf with +2 for 1st octet for each bssid but change phywlan mac 1st octet to 02, new mac for other then 1st bssid will not generate at automatic mode.
|
Alfa support sent me https://docs.alfa.com.tw/Support/Linux/MT7612U/ |
Good find. Have you tried it? |
Yes. It works. |
Okay. That tells me the code for LED support is in the driver. What we need are good ole module parameters for each option as it would work with secure mode and be persistent. We should probably consider using "blink" mode as the default. The main box I am on right now is in secure mode as I need at least one system with secure mode for testing and what you are doing is locked out in secure mode... unless you do a temp unlock and that gets into something that is beyond user friendly. As I get time, I will take a good look and see about submitting a pull request to Linux Wireless. |
The one hing I can not win it is additional SSID has no any activity on interface connected with it. |
As a brief:
Now mac address of virtual interface of “guest” BSSID must be specified manually to +2 for the first octet and other octet doesn’ t matter. But I founded the solution !! That is: |
Good brief. Now I see what you are doing. There is an issue where the MULTI SSID support is discussed at: I have not had to time to try it yet but I plan on it. Maybe it contains some information that will be of use to you and maybe you can contact the author if need be. |
Ohh, if I saw it earlier I would save a lot of time but didn' t get a lot of my own experience. |
Would it be a problem to use fluxion and evil twin attack with it? |
Would it be a problem to use fluxion and evil twin attack with it? |
I recently got AWUS036ACM based on Mediatek MT7612U chip plugged to USB3 port of server where Ubunt 18.04 x64 LTS was installed.
At the time I can not get multi ssid working configuration with the module and hostapd.
I get:
Driver using within hostapd is nl80211.
My hostapd conf file:
The wlan mac first ocet is changed to 02.
What do I do wrong ?
The text was updated successfully, but these errors were encountered: