-
Notifications
You must be signed in to change notification settings - Fork 55
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
Question - Ubuntu 20.04/22.04 support/systemd.resolved disabling #209
Comments
I haven't tried it, and haven't used netplan, but, according to this, it should work. NetworkManager needs to be in control of networking. |
I tried a bit around with the latest ubuntu 22.04, but it does not work. I activated NetworkManager and disabled networked. But anyway netplan is the recommended way to go for ubuntu 20.04+. So is there any chance there will be an update to netplan networked? Thanks! |
I will not address this anytime soon. Though, as always, I promise to promptly review patches. |
I was able to get it working on 22.04 except for ssid scanning
I keep seeing
In the service logs, manually entering ssid works. Any idea why this is happening? I have confirmed my device is able to scan for ssid by running |
I can see networkmanager scanning SSIDs when I connect to comitup hotspot |
I would expect a Traceback in one of the logs from that error. That output would be useful. Or, stop the service and run "comitup" as root from the command line, to see error infomation on the console. It may help to change INFO to DEBUG in /usr/share/comitup/comitup/comitup.py. The output you posted has a reference to seveas/python-networkmanager#93. That issue can be a problem for comitup (the app crashes if one of the connections doesn't have DNS defined). I added a patched (python3-)NetworkManager to the Comitup repository to correct the problem. |
Seeing this after enabling debug. Thank you for looking into this. I also am already using your network manager patched package as well. |
Just seeing this over and over when connecting to captive portal, manually entering SSID works |
Running iwscan directly outputs command not supported
I added some manual print statements, I see SSIDS in the scan returning they just do not get passed to the web interface somehow.
|
We can see 0 points are being passed to web service
Dbus logs
|
Your logs suggest you may be running a pretty old version of Comitup - the one included in Ubuntu 22.04. Current is 1.37-1. Consider the repo. Note that I incorrectly referred to python3-networkmanager as NetworkManager in my comment above. Try "sudo python3 iwscan.py wlan0" (^d to terminate the stdin read). |
Now running on updated version as well as version 2 of patched python-networkmanager. Behavior appears to be the same
when comitup is not in hotspot mode
hotspot mode:
I am not sure if this is intended behavior Any idea why the data is dropping when being passed to the web service? Manually entering SSID works on latest version. Interesting note, I would say bout 1/20 times I run comitup-cli the access point list presents itself, could the service be crashing and restarting somehow causing these inconsistencies?
|
If the service crashes/restarts, the comitup-cli connection is lost, and has to be restarted. It's not intended behavior, but I don't know what is going on right now. |
@davesteele Any insights on where I should look? Or any ideas etc? I am willing to try to possibly fix this, I just figure anything that pops into your head could potentially save me a lot of time. If it means anything, the device I am trying to get this to work on is an Intel NUC |
Start by finding any tracebacks in e.g. daemon.log, or run in the terminal, with possibly debug-level logs. |
The wifi driver for the Intel NUC does not support scanning for access points while already in AP mode. Comitup logic is to scan for access points while also being an access point itself so this would not work at all for my wifi driver. https://github.com/davesteele/comitup/blob/main/comitup/statemgr.py#L71 I was able to work around this problem by modifying statemgr to scan for APs at startup and storing that in a global variable before it entered Access point mode, thus populating the SSIDs correctly when loading the web portal. The drawback to this is it will not continue to scan for new SSIDs, you may need to restart the service to pick up new SSIDS if they were set up after the commitup service had started. |
... or add another USB WiFi adapter. Comitup will make use of it to do the scan. Be sure to set enable_appliance_mode according to your wishes. |
Yes unfortunately that was not an option for me |
Greetings I tried to get comitup working for the OpenMower project I found a hint at the pi-hole install instructions After this small hint I got it working like that:
🤗 |
Now I tried to install it following the github wiki guide and
the apt sources.d listing:
and apt mentions:
@davesteele do you an idea what is wrong here? |
I had not included arm64 in the repository. Try it again, and tell me how it works. |
@davesteele 👍 It works now - Thanks Did you also read my previous post regarding |
I haven't looked into that yet. |
I added a link in the Installing Wiki page to this method. |
Hey,
does this work with newer versions of ubuntu which changed to netplan? Is there anything special to consider?
Thanks and regards!
The text was updated successfully, but these errors were encountered: