Comments (24)
Thanks for checking this out. I've added the package to the comitup repository, and added a versioned dependency to comitup.
from comitup.
I just tried this with the shiny new v1.6-1. It worked fine on a Zero W, using the captive portal web page.
from comitup.
Where do I get the shiny new version? Is it available in your repo?
from comitup.
from comitup.
ohh, comitup-cli doesn't do anything anymore inthe shiny new 1.6-1.
from comitup.
Does the file /etc/NetworkManager/dnsmasq-shared.d/nm-dns-sabotage.conf exist? It should not anymore.
from comitup.
It does exist. I removed it, but that didn't solve the problem.
comitup-cli still exits without any error-message.
from comitup.
I can't replicate. Perhaps a purge and reinstall?
from comitup.
sudo comitup fails:
ERROR:dbus.connection:Unable to set arguments ({'ipv6': {'method': 'ignore'}, '802-11-wireless': {'mode': 'ap', 'band': 'bg', 'ssid': [dbus.Byte(99), dbus.Byte(111), dbus.Byte(109), dbus.Byte(105), dbus.Byte(116), dbus.Byte(117), dbus.Byte(112), dbus.Byte(45), dbus.Byte(55), dbus.Byte(49)]}, 'ipv4': {'method': 'manual', 'address-data': [{'prefix': 24, 'address': '10.42.0.1'}]}, 'connection': {'type': '802-11-wireless', 'id': 'comitup-71-0000', 'autoconnect': False, 'uuid': '04b6c41e-f159-4e59-b4bc-02e919a16e8a', 'interface-name': 'wlan0'}},) according to signature 'a{sa{sv}}': <class 'TypeError'>: an integer is required (got type str) Traceback (most recent call last): File "/usr/sbin/comitup", line 11, in <module> load_entry_point('comitup==1.6', 'console_scripts', 'comitup-cmd')() File "/usr/share/comitup/comitup/comitup.py", line 114, in main cdns.state_callback, File "/usr/share/comitup/comitup/statemgr.py", line 171, in init_state_mgr conf.ap_password File "/usr/share/comitup/comitup/states.py", line 344, in init_states assure_hotspot(hotspot_name, modemgr.get_ap_device(), hotspot_pw) File "/usr/share/comitup/comitup/states.py", line 313, in assure_hotspot nm.make_hotspot(ssid, device, password) File "/usr/share/comitup/comitup/nm.py", line 290, in make_hotspot nm.Settings.AddConnection(settings) File "<string>", line 4, in AddConnection File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 145, in __call__ **keywords) File "/usr/lib/python3/dist-packages/dbus/connection.py", line 641, in call_blocking message.append(signature=signature, *args) TypeError: an integer is required (got type str)
from comitup.
That doesn't make sense. Are you on stretch?
from comitup.
Yes.
Release 9.9
Kernel 4.19.57+
from comitup.
I've been using Buster. I'll try Stable this weekend.
from comitup.
Today I ran updates on Pi Zero W and it picked up the 1.6-1 release and noticed an error on the install about issue starting the service. I appear to have this same issue.
Honestly I am new to this project so don't have full understanding how it works.
The one strange thing I have noticed is that like @krebbi I did get a TypeError of str rather than int. But when I ran it again I get a TypeError: Expected a string or unicode object which contained my wifi psk.
The only thing I have specifically modified was disable ipv6 by blacklisting it in /etc/modprobe.d/ipv6.conf, but this caused no issues with 1.5-1 I started with your stretch lite img when building this Pi
I have stopped the service, as it was looping trying to start every 15 sec. node-red is already a hog, didnt need things fighting :)
from comitup.
My current theory is that there is a bug in python-networkmanager, version 2.0.1-4, which does not handle NetworkManager configurations using the newer address-data scheme. A quick test of this would be to load python-networkmanager version 2.1-1 from Buster.
It will be a few days before I will be able to try this.
from comitup.
To be clear, the workarounds are to revert to 1.5-1 or to download a new (Buster) image.
from comitup.
Thanks for looking into this.
What is the proper way to revert to 1.5-1? I am not seeing it using the PPA.
pi@pi0w:~ $ sudo apt-cache madison comitup
comitup | 1.6-1 | http://davesteele.github.io/comitup/repo comitup/main armhf Packages
comitup | 0.7-1 | http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages
from comitup.
The archive is here
from comitup.
thx. as we are packaging your comitup with our software it's even better to use the deb-files and not the repo.
from comitup.
Do you recommend going to python-networkmanager, version 2.0.1-3?
from comitup.
No.
from comitup.
Installing networkmanager 2.1-1 did the trick.
from comitup.
When I update the package from 1.4 to 1.6 the new networkmanager isn't installed automatically.
could you check within comitup to have networkmanager >=2.1* and if not, try to install it?
from comitup.
I just updated and its working now. Thanks
from comitup.
from comitup.
Related Issues (20)
- Web service won't start DBus exception HOT 5
- Question: Best way to execute python code after raspberry pi has connected to router? HOT 4
- comitup-cli x HOT 3
- Information, installation script. HOT 7
- Installation fails now in Raspbian GNU/Linux 11 (bullseye) HOT 6
- Default username and password change HOT 2
- Installing comitup when Motioneye has been installed prevents comitup-xxx.local login HOT 4
- Comitup service failed to start on Banana Pi HOT 6
- Can't connect to WiFi's containing ' HOT 1
- Installation problems HOT 5
- RPM Builds HOT 1
- Compatibility problem with Python 3.12 HOT 1
- [feature] Import existing networks from wpa_supplicant HOT 8
- 100% CPU Usage in Python 'commit up' Process HOT 2
- Comitup-Web no longer starts (after some updates?) HOT 2
- Can't connect to public wifi that contains a captive portal HOT 3
- Simulate internet connection HOT 2
- comitup with newest raspios Bookworm fails (Fix referenced) HOT 10
- Android No capitive logon comitup 38.1 HOT 2
- Login via ssh fails HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from comitup.