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

[tinycloud] Consider "accessible" when USB-ethernet is connected #277

Open
arthurlutz opened this issue Aug 11, 2019 · 1 comment
Open

Comments

@arthurlutz
Copy link
Contributor

When using the clockworkpi "offline" without a wifi connection, I think tinycloud could (should?) display instructions when the clockworkpi has been connected using USB ethernet.

Existing :

  • Keep clockworkpi not connected to wifi (airplaine mode or just don't configure wifi)
  • Open tinycloud
  • "Please connect to a wifi network" is displayed
  • USB-ethernet information is displayed with IP address
  • Connect it with usb cable
  • From computer tinycloud functionnality is usable (scp, ssh, smb, etc.)

Wished :

  • Keep clockworkpi not connected to wifi (airplaine mode or just don't configure wifi)
  • Open tinycloud
  • "Please connect to wifi or USB" is displayed (the IP for USB-ethernet is set but not useful so far, don't display it)
  • Connect USB cable
  • DHCP lease is detected on USB-ethernet
  • Display full information (except wifi address)
@arthurlutz
Copy link
Contributor Author

Taking a look at the code, I think the change required is

if is_wifi_connected_now():

I might do a contribution on this if this is approved.

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

1 participant