Skip to content
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.

crash if no wifi dongle is plugged in #5

Open
hungerpirat opened this issue Jun 12, 2015 · 0 comments
Open

crash if no wifi dongle is plugged in #5

hungerpirat opened this issue Jun 12, 2015 · 0 comments

Comments

@hungerpirat
Copy link

from the logs:

2015-06-12 10:02:25,698 - netconnectd.server - INFO - Waiting for connection on socket...
2015-06-12 10:02:30,704 - netconnectd.server - INFO - Recv: '{"status":{}}\x00'
2015-06-12 10:02:30,802 - netconnectd.server - ERROR - Got an error while processing message from client, aborting
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/netconnectd-0.1.0_dev_39_g881e76b-py2.7.egg/netconnectd/server.py", line 164, in _socket_monitor
    ret, result = callbacks[message.cmd](message)
  File "/usr/local/lib/python2.7/dist-packages/netconnectd-0.1.0_dev_39_g881e76b-py2.7.egg/netconnectd/server.py", line 426, in on_status_message
    current_ssid, current_address = self.current_wifi
  File "/usr/local/lib/python2.7/dist-packages/netconnectd-0.1.0_dev_39_g881e76b-py2.7.egg/netconnectd/server.py", line 485, in current_wifi
    iwconfig_output = subprocess.check_output(["/sbin/iwconfig", self.wifi_if])
  File "/usr/lib/python2.7/subprocess.py", line 544, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
CalledProcessError: Command '['/sbin/iwconfig', 'wlan0']' returned non-zero exit status 237
2015-06-12 10:02:30,812 - netconnectd.server - INFO - Waiting for connection on socket...

the output of the command itself on the commandline is:

pi@mrbeam ~ $ /sbin/iwconfig wlan0
wlan0     No such device
foosel added a commit that referenced this issue Jun 13, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant