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

Installation fails with the free antenna #24

Closed
jvaubourg opened this issue Sep 15, 2015 · 3 comments
Closed

Installation fails with the free antenna #24

jvaubourg opened this issue Sep 15, 2015 · 3 comments

Comments

@jvaubourg
Copy link
Member

We have a big issue with the free wifi antenna: the installation fails because no wifi interface is detected.

Hotspot installs the correct firmwares, but the USB dongle has to be unplug and replug... And because YunoHost is not able to correctly handle the installation errors, Hotspot is a in an unstable state and cannot be removed or reinstalled after the fail :(.

This huge bug was found by @opi .

@JocelynDelalande
Copy link

I can confirm it works, thanks @jvaubourg

@opi
Copy link

opi commented Sep 16, 2015

Thanks for the fix !

@jvaubourg
Copy link
Member Author

Some more explanations about my fix.

I didn't find a way to unplug/replug the USB dongle by software. I think there is no real solution for that, because even Debian firmware packets have no solution for that (e.g. firmware-atheros, the non-free firmware for the free antenna, does not up the wlan0 interface after the installation and we need to replug the USB dongle or reboot the system).

For now, with this commit, Hotspot does not fail if there is no wifi interface found during the installation. There is just a warning at the end of the installation and the service is disabled by default. When the user goes to the web admin, he sees a warning notifying him that he has to select a wifi interface. The warning also advises the user to unplug/replug its USB dongle in the case he uses one and if he does not see the corresponding wifi interface. Then, he just has to reload the page by clicking a link in the warning message, select the new wifi interface and enable the service.

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

3 participants