Rehan
Hello,
I was working with VintageNet to configure the wlan. We can configure the wifi network using VintageNetWiFi.quick_configure() or VintageNet.configure(). I’m able to configure using both.
I checked that when i use quick_configure(), key_mgmt is set to :wpa_psk.
When i use configure() i have set the key_mgmt if i don’t set it to :wpa_psk or any other key management, I observed it defaults to :none.
Now my requirement is to be able connect to any network WPA2, WPA3, or transitional WPA2/WPA3, without specifying the key_mgmt type.
Regards
Trending in Questions
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
Hello,
I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
I’m seeing that a list inside a Kino.DataTable will be interpreted as a charlist, even if the Kino.configure() is set to charlists: :as_l...
New
So my question is quite simple and i have found no conclusive answer on forum, google or AI.
Should we use :erlang.float for Integer to ...
New
Documentation
While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New
Hi, I’ve just set up an application with ash_authentication. There is only magic link strategy for now, so there is no confirmation add o...
New
If a change or preparation module uses Ash.Changeset.get_argument/2 or Ash.Query.get_argument/2 (or any of the other get_argument functio...
New
Other Trending Topics
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself.
My main conc...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixirconf-us
- #ai
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #hex
- #security
- #metaprogramming










Showing Posts 1 to 10- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
fhunleth
WPA3 can be made to work with VintageNetWiFi, but we don’t have a read-to-go configuration. The main reason has been, amazingly, lack of interest. I think that it stems from WPA3 not being supported on the Raspberry Pi 3. (Every time I type this, I can’t believe it could still be the case, so if you know that it works now, please correct me.)
One thing to keep in mind with VintageNetWiFi is that it “just” converts configurations expressed as Elixir terms to
wpa_supplicantconfigurations. That means that anything doable withwpa_supplicantcan be done with VintageNetWiFi. Sometimes we need to update VintageNetWiFi to properly expose a feature, but the process is primarily one of converting data structures rather than actually implementing a WiFi feature.If you look midway down at README — vintage_net_wifi v0.12.9, you can see the configurations for WPA3 and transitional WPA2/WPA3. I don’t know of an all-in-one configuration for the
wpa_supplicantto do everything with one configuration. If you find one, it could be adapted to VintageNetWiFi and I’d be very interested in doing that.The workarounds that I can think of:
Scan for networks, find the AP you want, check it’s parameters and save the config accordingly. I don’t like this since it won’t handle hidden networks and if someone changes the AP’s settings, you’ll have to reconfigure. I know this will work, though.
Send down three configurations for the same SSID in the
:networkskey. One is the WPA3 config, the next is the transitional config and the last is the WPA2 config. This should makewpa_supplicanttry each one and stick with the one that works.If option 2 works and doesn’t break with hardware that doesn’t support WPA3, I’d interested in updating
VintageNetWiFi.quick_configureto do that.fhunleth
My previous response isn’t right.
The way to do this is to list all of the key_mgmt types that are ok. The current
VintageNetWiFirelease doesn’t support that. I started a PR with support at Support creating WPA2/WPA3 configurations by fhunleth · Pull Request #217 · nerves-networking/vintage_net_wifi · GitHub.Another issue is that I don’t think any of the officially supported Nerves hardware have WiFi modules that support WPA3. I just confirmed that we can’t test WPA3 on any of the Raspberry Pis. This blog post had good links on the work being done.
Do you have a WiFi module that supports WPA3? I’ve tested the PR with a WiFi module that supports WPA3, so the PR seems to work. Confirming that it works with whatever hardware you have would be nice to know if that’s possible.
Rehan
Thank you @fhunleth
Your response is very helpful for me to proceed further.
I haven’t really tested with WAP3 for now, I have raspberry pi with me. however from your comment it looks it doesn’t support WPA3,
Does beagle bone green support WAP3?
Regards.
fhunleth
The BeagleBone Green Wireless uses the WL1835MOD WiFi module. It lists WPA3 on its features.
Rehan
Hello @fhunleth
I’m using vintage_net_wifi version
0.12.1which should have the changes you had mentioned in the above comment.I’m trying to configure my device using the same method, however it is failing to connect to the network. Attaching logs for your reference
With same version if use below command it gets connected to the network
fhunleth
Could you try the same configuration except with
ieee80211w: 1?If that doesn’t work, could you let me know what access point you’re using, what device (I assume BeagleBone Green Wireless?), and what version of
nerves_system_bbbthat you’re using.Rehan
I made
ieee80211w: 1And saw it is connected to the network
It got Ip assigned as well
After this for my experiment i changed my network to WPA2/WPA3 and tried to connect again this time it failed
I’m using TP Link AC750 Router and device is beaglebone green
When using WPA supplicant directly, even if we don’t specify the key_mgmt config in the WPA supplicant configuration, it should work for any security type. When no key management type is specified WPA supplicant or the lower level layers will do a scan and figure out the security type.
For debug purposes Is there a way to look at the actual WPA Supplicant config when using Vintage Net? Does Vintage Net create a supplicant config file and pass that on to the supplicant?
Thanks and regards
fhunleth
To see the configuration it creates, run this:
Looking at
wpa_supplicant’s example configuration, these sections look interesting:and
I don’t see any examples at the end of the file that apply to a WPA2, WPA2/3 transitional, and WPA3 configuration. Maybe someone posted one to a mailing list or it can be scraped out of a Linux desktop config.
fhunleth
@Rehan Did you find out anything more with supporting WPA2/WPA3 transitional mode? The reason I ask is that
vintage_net_wifinow usesieee80211w: 1for the generic configuration based on feedback from others. Your case is now the only one that I’m aware of that doesn’t work.Rehan
@fhunleth Yes we figured out the problem, the reason we’re unable to connect to WPA3 network is because of the wifi chip firmware, I haven’t yet tried updating it, after updating the firmware i’ll check it.