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] --list fails if not connected to wifi #620

Closed
johnnyman727 opened this issue Mar 7, 2016 · 0 comments
Closed

[wifi] --list fails if not connected to wifi #620

johnnyman727 opened this issue Mar 7, 2016 · 0 comments

Comments

@johnnyman727
Copy link
Contributor

If a Tessel is not actively connected to a network, it will fail to list available networks. This is really a problem because many people like to ensure their Tessel can detect their network before attempting to connect. Originally reported in #619.

Steps to reproduce:

t2 wifi --off
t2 wifi --list

Expected Output:

➜  v2-firmware git:(master) ✗ t2 wifi --list
INFO Looking for your Tessel...
INFO Connected to Tessel-02A36F738EAE.
INFO Scanning for available networks...
INFO Currently visible networks (9):
INFO     Fried Chicken Sandwich (70/70)
INFO     technicallyHome (51/70)
INFO     NETGEAR61 (43/70)
INFO     xfinitywifi (39/70)
INFO     Friendship Pizza (35/70)
INFO     NETGEAR11 (31/70)
INFO     SETUP (27/70)
INFO     HOME-F652 (27/70)
INFO     HOME-D338 (23/70)

Actual Output:

➜  v2-firmware git:(master) ✗ t2 wifi --list
INFO Looking for your Tessel...
INFO Connected to Tessel-02A36F738EAE.
INFO Scanning for available networks...
ERR! Error: No such wireless device: wlan0
boneskull added a commit to boneskull/t2-cli that referenced this issue Apr 10, 2016
boneskull added a commit to boneskull/t2-cli that referenced this issue Apr 11, 2016
boneskull added a commit to boneskull/t2-cli that referenced this issue Apr 17, 2016
@johnnyman727 johnnyman727 changed the title t2 wifi --list fails if not connected to wifi [wifi] --list fails if not connected to wifi Apr 20, 2016
johnnyman727 added a commit that referenced this issue Apr 30, 2016
ensure WiFi is enabled before scanning; closes #620
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