element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Raspberry Pi Zero Ethernet Problem
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 32 replies
  • Answers 5 answers
  • Subscribers 666 subscribers
  • Views 5430 views
  • Users 0 members are here
  • ethernet
  • raspberry pi
Related

Raspberry Pi Zero Ethernet Problem

Former Member
Former Member over 9 years ago

I'm having trouble connecting my Raspberry Pi zero to ethernet.

 

I have a Raspberry Pi 3 and four Raspberry Pi zeros. I'm a grad student in mathematics and I do a whole lot of parallel computing. I'm trying to set these up as a cluster to test my distributed code before I send it up to the university's very expensive computing cluster. I bought a handful of uxcell ethernet to micro USB adapters that you can find here: Amazon.com: uxcell Micro USB to RJ45 Network Card Adapter Converter for Windows 98SE Me: Computers & Accessories

 

When I plug ethernet into the Pi zero using this cable, the Pi zero is not being assigned an IP address. Is this adapter incorrect? I was hoping to use these cheap adapters as the grad student stipend isn't exactly CEO pay image.  As an additional note, plugging the ethernet directly into the Pi 3 works fine. The Pi 3 instantly recognizes the ethernet and has no problem connecting to the network.

 

I have tried using ip link and dhcpcd to get the network going on the Pi Zeros, but i'm stuck as I can't get them to recognize the LAN. I'm also positive that it isn't an issue with the router as I have used multiple routers (at home and at the university) and neither has worked. Thank you in advance for your replies.

  • Sign in to reply
  • Cancel
  • clem57
    0 clem57 over 9 years ago

    See this https://www.element14.com/community/blogs/testcam/2016/03/03/finally-got-a-real-5-computer#comment-80366 Mine showed up fine.

    Please show the results of

    lsusb

    ifconfig

    ip addr show

     

    These will help me

    thanks,

    Clem

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • clem57
    0 clem57 over 9 years ago

    Just a quick check is the otg  plugged to a powered hub with enough current? Mine was not because I needed more than 100 mA which was not provided as my picture setup showed.

    Clem

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago in reply to clem57

    Actually I am having a lot of trouble with my USB hub, and I'll be purchasing another one. However when I plug the ethernet into one of the Pi zero's ports and the power into the other, it still doesn't show up on the network. To be clear I plugged the ethernet straight from my router to the Pi zero and used the other port to power on the zero. With this setup I probed the network from my laptop and found no IP for the Raspberry Pi.

     

    That being said I wrote a little shell script to sleep 2m, then run the commands that you suggested I post the output of. Since I'm having trouble with the USB hub, I photographed the output of the three commands you suggested I try. They are as follows:

     

    imageimageimage

     

    A little unorthodox, I know, but it's the best I can think to do without the functional USB hub. Hopefully I'll have that new hub tomorrow or Monday.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • shabaz
    0 shabaz over 9 years ago in reply to Former Member

    It looks like you've got a (most likely static) IP - 10.0.0.30.

    What is your /etc/network/interfaces file contents?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • clem57
    0 clem57 over 9 years ago in reply to Former Member

    I have the same chipset  as you do. Mine did not work until I had enough power(amps) > 100 mA. I used the inside micro for Ethernet and not the outside one(it is power only).

    Clem

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • clem57
    0 clem57 over 9 years ago

    I may have an alternate way to connect your zero to the Pi 3 with less cost and more reliability. Give me a few days to try.

    Clem

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago in reply to shabaz

    Okay I see what you mean about the ip address, however when I try to ssh into 10.0.0.30 from my laptop the connection times out, and when I probe the network to see all active IP addresses 10.0.0.30 doesn't appear. Here is my /etc/network/interfaces file:

     

    image

     

    I have tried running dhcpcd eth0 but that hasn't solved the problem.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago in reply to clem57

    The power source shouldn't matter if I have the ethernet plugged straight into the Pi's inner usb port, correct? Thanks for trying the alternate method.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • clem57
    0 clem57 over 9 years ago in reply to Former Member

    Yes that is true, unless the power supply to the Raspberry Pi zero is nominal in current. Can you get the actual voltage/amperage in front of zero?

    Thanks,

    Clem

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago in reply to clem57

    Yeah my power source is five volts and two amps.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube