-
Notifications
You must be signed in to change notification settings - Fork 56
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
[list] lan connection not found #650
Comments
This is happening for me as well on OS X. I suspect it being my wifi. Of course I was running |
@finnp so you are able to ping |
@johnnyman727 I am able to ping both. It's just that |
Same as @finnp. I'm able to |
Running |
I was digging into this a bit. It seems like the Here are some logs:
Tessel had the ip address 192.168.1.125.
|
@finnp thanks so much for looking into this. You may want to check out some comments from the |
So I So I disabled mDNSResponder with
But that didn't help. |
Was same here on Ubuntu 14.04. t2 list had showed USB but not LAN. I disabled the firewall, then it works. The docs must mention about ports. (Also, I opened 5353 but had not worked.) |
While digging into this issue, my Tessel showed up on LAN in the beginning but stopped showing up at some point. However, when I lookup the
That
It's all quite odd. I'm going to read through the |
@HipsterBrown do you still have this issue even after resetting |
@HipsterBrown Running |
@finnp This is fantastic! Nice work! @HipsterBrown, I think the best way to 'resolve' this is to get up better documentation on how to fix this on OSX (using these wonderful tips) and Linux and then link to that doc on the start experience. |
@finnp out of curiosity, what version of OSX are you running? |
@johnnyman727 Yosemite 10.10.5. The firewall was turned off by default by the way, I enabled it at some point. |
Good to know, thanks! I wasn't sure if I just happened to have turned mine off at some point and assumed it was off by default for everyone. |
I also thought about how to test if a firewall is used. Here's a rough idea. If trying to send a message to itself is not working, it's likely that there is a firewall issue (or some other interference): var dgram = require('dgram')
var socket = dgram.createSocket('udp4')
socket.on('message', function (message, remote) {
console.log('received', remote.address + ':' + remote.port + ' - ' + message)
})
socket.on('listening', function () {
var address = socket.address()
console.log('UDP Client listening on ' + address.address + ':' + address.port)
socket.setBroadcast(true)
socket.setMulticastLoopback(true)
socket.setMulticastTTL(128)
socket.addMembership('224.1.1.1')
var message = new Buffer('test')
socket.send(message, 0, message.length, address.port, '224.1.1.1')
console.log('Sent test.')
})
socket.bind(function () {}) |
@finnp this would be a great addition to the CLI. We could run it asynchronously with the mDNS discovery and print a warning if an error is thrown. Have you confirmed this test works? |
Can't we use firewall while developing ? |
Yes, but you won't be able to use mDNS discovery. We have an open issue to add an --ip flag you can specify that actual address of your Tessel but it's not implemented yet |
Whoah, we are not seriously going to suggest turning off the firewall? Why The --ip flag would be a great edition, but I am sure we can work out how Matt. On Fri, Apr 15, 2016 at 10:33 PM, Jon notifications@github.com wrote:
|
Ubuntu filrewall workaround:
|
Simple and good workaround, if the Tessel always has the same IP-Address. If you have more than one Tessel, you have to add that entry as well, using ufw. For a more "general" approach, one could simply allow all traffic from the local subnet, like this: sudo ufw allow from 192.168.177.0/24 |
In my case, disabling the firewall did NOT cause the tessel to show up (os x) |
Have you connected the Tessel via LAN or WLAN? Does it show up on your router with an assigned IP-Address? |
WLAN, yes I see it in the DHCP lease list |
A short list that helps me most of the time when dealing with IoT devices:
|
I can ping, I can ssh directly (although
|
It looks very similar to this issue, maybe it is an IPV6 problem as well: I have configured my router not to use IPV6 at all. Had no further issues so far. |
Nice :) Glad it finally worked out for you. |
I'm going to close this issue as there doesn't seem to be anything we can do with the CLI to resolve it - it seems stem for network configurations. However, if you do experience this problem and have data points to add, please continue to comment with your information. |
I've run t2 wifi {credentials} and got a response of WIFI enabled. WIFI {connection info}, but when I run t2 update it can not find the lan connection.
The text was updated successfully, but these errors were encountered: