element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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
  • About Us
  • 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
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
MicroZed Hardware Design Ethernet problems
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 7 replies
  • Subscribers 332 subscribers
  • Views 1009 views
  • Users 0 members are here
Related

Ethernet problems

ghines
ghines over 6 years ago

Hi all,

 

I've had a MicroZed in the cupboard for a few years and it has not been used, so I downloaded an image and placed it on the SD Card.

 

It boots up OK, but there's no Ethernet connection to my PC, in fact the PC is telling me the cable is unplugged.  Also the Ethernet LEDs on the MicroZed are OFF when the cable is connected, which is odd.  Cable has been tested elsewhere and works fine.

 

I can connect via the micro-USB from my PC and that looks fine.  See here:

https://pastebin.com/embed_js/57P2Zvfv

 

Any ideas why the Ethernet is not working would be appreciated.

 

TIA

 

Greg

  • Sign in to reply
  • Cancel
Parents
  • clem57
    clem57 over 6 years ago

    The interface to the Ethernet initialized fine:

     

    1. device=eth0, hwaddr=00:0a:35:00:01:22, ipaddr=192.168.1.10, mask=255.255.255.0, gw=255.255.255.255
    2.      host=192.168.1.10, domain=, nis-domain=(none)
    3.      bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=mmcblk0: mmc0:e624 SL16G 14.8 GiB
    4. mmcblk0: p1

    You should plug into the router and not the PC. Is 192.168.1.10 valid for your router? Assuming DHCP, this should work.

    ghines hope this helps.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • ghines
    ghines over 6 years ago in reply to clem57

    Hi,

     

    I was just following the instructions in the Getting Started Guide, connecting it directly to the PC.  See:

     

    image

     

    It that incorrect?

     

    Edit:  Here is the output from a few commands that does not look very good for eth0.

     

    zynq> ip a s eth0 | grep state

    zynq> cat /sys/class/net/eth0/carrier

    0

    zynq> cat /sys/class/net/eth0/operstate

    down

    zynq> ip a s eth0

    2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000

        link/ether 00:0a:35:00:01:22 brd ff:ff:ff:ff:ff:ff

        inet 192.168.1.10/24 brd 192.168.1.255 scope global eth0

    zynq>

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • clem57
    clem57 over 6 years ago in reply to ghines

    The instruction are not in front of me, but I can see a way for them o work. Would you kindly show them here. Looking at the commands and responses, you appear to have a hardware issue.

    ghines  wrote:

     

     

     

    Edit:  Here is the output from a few commands that does not look very good for eth0.

     

    zynq> ip a s eth0 | grep state

    zynq> cat /sys/class/net/eth0/carrier

    0

    zynq> cat /sys/class/net/eth0/operstate

    down

    zynq> ip a s eth0

    2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000

        link/ether 00:0a:35:00:01:22 brd ff:ff:ff:ff:ff:ff

        inet 192.168.1.10/24 brd 192.168.1.255 scope global eth0

    zynq>

    NO-CARRIER means that the network jack detects no signal on the line. This is usually because the network cable is unplugged or broken. In rare cases it can also be hardware failure or a driver bug. Have you checked the cables and rebooted the system?

     

    Please do this command:

    uname -a

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • ghines
    ghines over 6 years ago in reply to clem57

    The network cable is plugged in and has been tested in another location and works just fine.  I think the LED's on the NIC Socket  being OFF, also points to a hardware failure too.

     

     

    zynq> uname -a

    Linux 192.168.1.10 3.8.0-xilinx #2 SMP PREEMPT Thu Jun 13 10:25:52 PDT 2013 armv7l GNU/Linux

    zynq>

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • clem57
    clem57 over 6 years ago in reply to ghines

    ghines  wrote:

     

    The network cable is plugged in and has been tested in another location and works just fine.  I think the LED's on the NIC Socket  being OFF, also points to a hardware failure too.

     

     

    zynq> uname -a

    Linux 192.168.1.10 3.8.0-xilinx #2 SMP PREEMPT Thu Jun 13 10:25:52 PDT 2013 armv7l GNU/Linux

    zynq>

    Wow. This kernel is reallllly old. I found a possible explanation. It came from 2014, but explains this as a driver issue(bug). Let me know this works by marking this entry correct. I feel you fit the situation.

     

    Clem

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • ghines
    ghines over 6 years ago in reply to clem57

    clem57  wrote:

     

    ghines   wrote:

     

    The network cable is plugged in and has been tested in another location and works just fine.  I think the LED's on the NIC Socket  being OFF, also points to a hardware failure too.

     

     

    zynq> uname -a

    Linux 192.168.1.10 3.8.0-xilinx #2 SMP PREEMPT Thu Jun 13 10:25:52 PDT 2013 armv7l GNU/Linux

    zynq>

    Wow. This kernel is reallllly old. I found a possible explanation. It came from 2014, but explains this as a driver issue(bug). Let me know this works by marking this entry correct. I feel you fit the situation.

     

    Clem

    Thanks, will give that a try tomorrow and let you know.

     

    Many thanks.

     

    Greg

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • ghines
    ghines over 6 years ago in reply to ghines

    Unfortunately this "fix" did not resolve the issue. image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • ghines
    ghines over 6 years ago in reply to ghines

    Unfortunately this "fix" did not resolve the issue. image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
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