OpenRoberta / robertalab-ev3dev

roberta lab connector for ev3dev
Apache License 2.0
17 stars 14 forks source link

Unable to connect #47

Closed nesteruk closed 6 years ago

nesteruk commented 6 years ago

I have an EV3 device with an internet connection, I get the pairing code, type it in Roberta Lab and get the following:

image

How can I diagnose what's wrong?

ensonic commented 6 years ago

If your internet connection is slow, just press "OK" and retry the same code. Unfortunately the code is show on the EV3s screen and registered to the server at the same time.

When you say, the EV3 has an internet connection, how did you verify it? Can you ssh into the ev3? If so you might be able to get some clues from the logs - sudo journalctl -f -u robertalab. If you can share them (e.g. via https://gist.github.com/), I can take a look too.

nesteruk commented 6 years ago

Yes, I can SSH into ev3 just fine. I have also retried the code multiple times, it doesn't work.

On 10 September 2017 at 22:17, Stefan Sauer notifications@github.com wrote:

If your internet connection is slow, just press "OK" and retry the same code. Unfortunately the code is show on the EV3s screen and registered to the server at the same time.

When you say, the EV3 has an internet connection, how did you verify it? Can you ssh into the ev3?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/OpenRoberta/robertalab-ev3dev/issues/47#issuecomment-328365032, or mute the thread https://github.com/notifications/unsubscribe-auth/AAcoNoBWbAmEWyWZwBmD3qWdCR1c24kpks5shDW2gaJpZM4PSRLq .

-- Dmitri Nesteruk dmitrinesteruk@gmail.com skype: dmitri.nesteruk

ensonic commented 6 years ago

If you can ssh, can you check the logs (and post them)? Maybe also ping lab.open-roberta.org to verify that you can reach the server. This works for a lots of users, without more info I won't be able to help. Thanks!

nesteruk commented 6 years ago

Interesting. Internet is connected but it seems I don't have DNS, so ping fails. How do I set up DNS? I've tried to add a DNS address on the brick itself, but it just crashes. Any other options?

On 11 September 2017 at 21:20, Stefan Sauer notifications@github.com wrote:

If you can ssh, can you check the logs (and post them)? Maybe also ping lab.open-roberta.org to verify that you can reach the server. This works for a lots of users, without more info I won't be able to help. Thanks!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/OpenRoberta/robertalab-ev3dev/issues/47#issuecomment-328610005, or mute the thread https://github.com/notifications/unsubscribe-auth/AAcoNp4GotGrMoTQodqacrMcXKPsJ3V6ks5shXYFgaJpZM4PSRLq .

-- Dmitri Nesteruk dmitrinesteruk@gmail.com skype: dmitri.nesteruk

ensonic commented 6 years ago

When you setup internet, you should get the DNS server from your DHCP server. For the time being you could put 8.8.8.8 (the google one) into /etc/resolv.conf

nesteruk commented 6 years ago

After putting 8.8.8.8 into resolve.conf, the ping command simply hangs. Just hangs, doesn't do anything.

On 12 September 2017 at 19:25, Stefan Sauer notifications@github.com wrote:

When you setup internet, you should get the DNS server from your DHCP server. For the time being you could put 8.8.8.8 (the google one) into /etc/resolv.conf

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/OpenRoberta/robertalab-ev3dev/issues/47#issuecomment-328906814, or mute the thread https://github.com/notifications/unsubscribe-auth/AAcoNi055ZILWMJE9tFl_pFrloWzsg-tks5shrCEgaJpZM4PSRLq .

-- Dmitri Nesteruk dmitrinesteruk@gmail.com skype: dmitri.nesteruk

ensonic commented 6 years ago

I am sorry to hear that you still have network problems, but those are beyond the scope of the openroberta ev3 connector. Once your internet setup works, the robertalab should work as well.

Can you report which version of the ev3dev image you are using (jessie or stretch based) and what documentation you followed to connect to the internet? Are you using wifi or usb cable?

ensonic commented 6 years ago

Could you repair your network setup. I am not sure what else I can do to help?

ensonic commented 6 years ago

Please reopen if this is still blocking you.