homeworkc / lazycast

A Simple Wireless Display Receiver
GNU General Public License v3.0
709 stars 90 forks source link

Use hostname as device name. #36

Closed tuxfoo closed 5 years ago

tuxfoo commented 5 years ago

Use hostname as device name, useful when setting up multiple receivers.

homeworkc commented 5 years ago

I created the inner and the outer loops because sometimes the Pi's wifi firmware creates the interface, breaks the inner loop and then it removes the interface. The two loops check the condition twice to avoid this from happening as much as possible.

tuxfoo commented 5 years ago

I created the inner and the outer loops because sometimes the Pi's wifi firmware creates the interface, breaks the inner loop and then it removes the interface. The two loops check the condition twice to avoid this from happening as much as possible.

Yeah, after a bit more testing I have noticed that happening on some pi's. I might have a play and see if I can figure out why it is happening and if I can find a solution.