Skip to content
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

wificontrol.wificommon.WiFiControlError: WiFiControl: subprocess call error Return code: 1 #20

Open
agnoam opened this issue Jun 24, 2019 · 0 comments

Comments

@agnoam
Copy link

agnoam commented Jun 24, 2019

Hey, I'm just trying to start on my raspberry pi an access point.
So I write this code:

import wificontrol

wifi = wificontrol.WiFiControl()
wifi.start_host_mode()

But when I run this code, its returns an exception:

Traceback (most recent call last):
  File "raspAP.py", line 4, in <module>
    wifi.start_host_mode()
  File "build/bdist.linux-armv7l/egg/wificontrol/wificontrol.py", line 60, in start_host_mode
  File "build/bdist.linux-armv7l/egg/wificontrol/hostapd.py", line 57, in start
  File "build/bdist.linux-armv7l/egg/wificontrol/wificommon.py", line 98, in execute_command
wificontrol.wificommon.WiFiControlError: WiFiControl: subprocess call error
Return code: 1
Command: systemctl start hostapd.service && sleep 2

So what this exception even mean ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant