joshvillbrandt / wireless

A dead simple, cross-platform Python library to connect to wireless networks.
https://pypi.org/project/wireless/
Apache License 2.0
83 stars 42 forks source link

Raspberry Pi wlan0 disabled after using wireless package #34

Open gitSG opened 5 years ago

gitSG commented 5 years ago

Hello. I was very glad to get this wonderful and useful package- "wireless" that I intended to use in my Raspberry Pi [ running with latest Raspbian Stretch Full version]. I tried to connect my pi to a network through a python script which was successful at the very first attempt. But immediately after the Pi got connected to the network, I could see the wireless adapter (the wireless icon that shows up in the toolbar menu) got disabled and showed "network down". However the internet was still connected. I guess your package has overridden the default configuration or wlan0 drivers. whatver might be - I need to know before working further. P.S: 1. In raspi-config -> wireless setup section it showed no wlan0 is there.

  1. During booting up there was one error message - "FAILED to start dhcpd on all interfaces".

Please help.

qeude commented 5 years ago

Hi,

I am facing the same issue, did you manage to fix it ? I would like to use wireless for my wlan1 interface and create a hostpot on the wlan0 one.

Thanks.

audas commented 4 years ago

Any solution to this ? It basically "broke" my pi !

JoshM1994 commented 4 years ago

I encountered this issue a couple of times but found that this was just caused by the downtime between switching networks.

i.e. After running the script to change network, ping returned connect: Network is unreachable for about 10 seconds and then connectivity was restored.

If you find yourself in a "broken" state, try running sudo ifconfig wlan0 up