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

[WiFi part 3] network connection recovery #43

Open
bplimley opened this issue Jun 3, 2016 · 1 comment
Open

[WiFi part 3] network connection recovery #43

bplimley opened this issue Jun 3, 2016 · 1 comment

Comments

@bplimley
Copy link
Contributor

bplimley commented Jun 3, 2016

I've observed on my desk at LBL that occasionally the pi will lose the wifi connection, even though lbnl-visitor is still good.

A simple solution is to restart the network connection using:

sudo ifdown wlan1
sudo ifup wlan1

These can be run from NetworkStatus with a subprocess.call or .check_output (link).

But there should also be some checking on whether the pi is actually using wifi, e.g. do a quick check on /etc/network/interfaces.

@bplimley
Copy link
Contributor Author

bplimley commented Jul 1, 2016

See issue #52. This may recover the network but it might also crash the subprocesses.

@bplimley bplimley added this to the WiFi readiness milestone Oct 14, 2016
@alihanks alihanks assigned alihanks and unassigned bplimley May 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants