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

Network connection problem (USB) #1143

Open
xslendix opened this issue Aug 6, 2018 · 26 comments
Open

Network connection problem (USB) #1143

xslendix opened this issue Aug 6, 2018 · 26 comments
Labels
Getting Started support Technical support request (not a bug or enhancement)

Comments

@xslendix
Copy link

xslendix commented Aug 6, 2018

What are you trying to do?

I am trying to connect my EV3 to an internet connection using USB cable.

What did you expect to happen?

To be able to use commands such as git, wget, apt etc.

What actually happened?

I can connect to my EV3 using the local ip of its: 192.168.137.3 (Might change idk)

What hardware and software are you using (including version numbers)?

WIN10 Laptop

System info (from ev3dev-sysinfo)

Image file:         ev3dev-jessie-ev3-generic-2017-09-14
Kernel version:     4.4.87-22-ev3dev-ev3
Board:              LEGO MINDSTORMS EV3 Programmable Brick
Revision:           0006
Brickman:           0.8.1
ev3devKit:          0.4.3

network connections
wifi proprieties

@dlech
Copy link
Member

dlech commented Aug 6, 2018

It looks like you are trying to share your EV3 to your Wi-Fi rather than the other way around.

@xslendix
Copy link
Author

xslendix commented Aug 6, 2018

Oh, so, I was supposed to put WiFi on the ev3 and not ev3 on the wifi?

@dlech
Copy link
Member

dlech commented Aug 6, 2018

right

@xslendix
Copy link
Author

xslendix commented Aug 6, 2018

so, on WiFi, I set it back to Ethernet and on EV3, I set it to WiFi?

@xslendix
Copy link
Author

xslendix commented Aug 6, 2018

let me see if it works

@xslendix
Copy link
Author

xslendix commented Aug 6, 2018

Yeah, it does not work and no longer cann connect to SSH

@dlech
Copy link
Member

dlech commented Aug 6, 2018

Guess I was wrong. You should do whatever the tutorial says. What wasn't working exactly?

@xslendix
Copy link
Author

xslendix commented Aug 7, 2018

It simply does not have connection to internet

@dlech
Copy link
Member

dlech commented Aug 7, 2018

Does the wired network connection on the EV3 say "connected" or "online"?

@xslendix
Copy link
Author

xslendix commented Aug 7, 2018

Yes

@dlech
Copy link
Member

dlech commented Aug 7, 2018

That was an either-or question. It can't say both at the same time.

@xslendix
Copy link
Author

xslendix commented Aug 7, 2018

Oh. Connected

@xslendix
Copy link
Author

xslendix commented Aug 7, 2018

Sorry

@xslendix
Copy link
Author

xslendix commented Aug 7, 2018

Never had this problem before

@dlech
Copy link
Member

dlech commented Aug 7, 2018

And you followed the tutorial exactly and didn't do any extra steps like selecting "Windows defaults" on the EV3?

@xslendix
Copy link
Author

xslendix commented Aug 7, 2018

Yes. Also, I tried other selections on the EV3

@dlech
Copy link
Member

dlech commented Aug 7, 2018

Well, it looks like you were doing it right the first time. Usually if it stops working, unconfiguring Internet Connection Sharing and setting it back up is enough to get it working again.

@staadecker
Copy link

@dlech I have the same issue. Any suggestions?

@dlech
Copy link
Member

dlech commented Apr 20, 2019

What are the exact steps you performed? I just tested with a fresh install of the ev3dev-stretch-2019-03-03 image and Windows 10 1809 following this tutorial and it works.

Do you have any security software that might be interfering?

@staadecker
Copy link

Surprisingly it worked. I didn't change anything however this time it gave me the option to select which network connection to share the internet to. Thank you.

@dlech
Copy link
Member

dlech commented Apr 20, 2019

Usually, disabling Internet Connection Sharing on Windows and enabling it again will fix connection problems.

@dlech dlech added the support Technical support request (not a bug or enhancement) label May 26, 2019
@n33r4j
Copy link

n33r4j commented Jan 28, 2020

@xslendix Were you able to solve the issue?
I believe I'm stuck at the same point where it shows "connected" instead of "online" as in the tutorial, although I'm running a newer version (ev3dev-stretch-ev3-generic-2019-10-23).

@dlech
Copy link
Member

dlech commented Jan 28, 2020

Are you using Bluetooth and Windows?

@n33r4j
Copy link

n33r4j commented Jan 28, 2020

Windows 10 (1903), and the EV3 is connected via it's USB cable to my laptop( which in turn is connected via wifi).

@dlech
Copy link
Member

dlech commented Jan 28, 2020

That should work.

@n33r4j
Copy link

n33r4j commented Jan 28, 2020

Is it necessary that the 'state' on the EV3 should change to 'online' or is there a chance that it works even when it shows 'connected'?
What prompted me to check this is the inability to run commands such as 'sudo apt-get update' and cloning the 'ev3dev-c' repo.

UPDATE:
After playing around with the options on the EV3, I noticed that 'Gadget' under 'Wireless and Networks>Tethering' was toggled on. Toggling it off and rebooting the EV3 fixed everything and now it shows "Online".

What's slightly weird is that it still shows 'no network access' on the Windows Network and Sharing Center.
ev3dev_issue

@dlech Thanks. #1107 (comment) pointed me in the right direction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Getting Started support Technical support request (not a bug or enhancement)
Projects
None yet
Development

No branches or pull requests

4 participants