[SOLVED] Rasberry Pi Zero USB/Ethernet Doesn't Connect Under Linux
Linux - Embedded & Single-board computerThis forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Rasberry Pi Zero USB/Ethernet Doesn't Connect Under Linux
Hello
I'm tinkering with an updated RaspberryPi Zero, the one with the camera port but not the W model.
There's lots of tutorials on connecting to the pi via ssh over a usb ethernet. Everything goes fine, the device boots and the Ethernet shows up in my networking but for some reason it won't connect, it tries and retries but nothing. I've tried 3 different laptops running Mint 19.* and MX Linux. Finally booted to Windows 7 partition and it connected and I was able to ssh into the pi.
Any idea why Linux doesn't want to connect? Searching the web it seemed like it should "just work".
I can't ping either IP or hostname since the connection to usb0 interface is what fails. It shows up under dmesg, lsusb, and ifconfig but network manager tells me it's connecting for a long time before it gives up without an error message and turns the connection off, same result if I try again.
I'm guessing it's just some modules, drivers, or packages missing but I'm unable to find any leads as to what it might be, on the web.
EDIT: I got it connected. This link https://support.criticallink.com/red..._RNDIS_Support put me on the right track. I had to enable a static IP and turn off dhcp for the Ethernet connection on the laptop and it connected instantly.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.