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 & Tria 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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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 Requesting help with Eth0 issue on Raspbian Jessie
  • 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 Suggested Answer
  • Replies 17 replies
  • Answers 3 answers
  • Subscribers 676 subscribers
  • Views 5529 views
  • Users 0 members are here
  • internet
  • eth0
  • raspberry_pi_space
  • raspberry pi 3
  • raspbian jessie
Related

Requesting help with Eth0 issue on Raspbian Jessie

philbert213
philbert213 over 8 years ago

Good evening,

 

This has been an issue that has bothered me for quite a while now. I'm trying to set up my raspberry pi 3 to work via ethernet at my workplace, but it does not seem to work. However, on any windows machine that I have, I get issued an IP address and connect to the internet just fine. The other interesting fact is that if I connect to my work internet via wifi, it has no issue whatsoever. The problem with that is that I am not always within range of using the access point.

 

I tried to be as detailed as possible in getting all the information needed in order to help me resolve my issue:

 

cat /etc/issue

 

Raspbian GNU/Linux 8 \n \l

 

ifconfig

 

eth0      Link encap:Ethernet  HWaddr b8:27:eb:7c:21:2b 

          inet addr:192.168.5.147  Bcast:192.168.5.255  Mask:255.255.255.0

          inet6 addr: fe80::5456:bf59:aaa2:1ce6/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:696 errors:0 dropped:39 overruns:0 frame:0

          TX packets:70 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:56494 (55.1 KiB)  TX bytes:7748 (7.5 KiB)

 

 

lo        Link encap:Local Loopback 

          inet addr:127.0.0.1  Mask:255.0.0.0

          inet6 addr: ::1/128 Scope:Host

          UP LOOPBACK RUNNING  MTU:65536  Metric:1

          RX packets:216 errors:0 dropped:0 overruns:0 frame:0

          TX packets:216 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1

          RX bytes:18060 (17.6 KiB)  TX bytes:18060 (17.6 KiB)

 

iwconfig

 

wlan0     IEEE 802.11bgn  ESSID:off/any 

          Mode:Managed  Access Point: Not-Associated  

          Retry short limit:7   RTS thr:off   Fragment thr:off

          Power Management:on

         

lo        no wireless extensions.

 

 

eth0      no wireless extensions.

 

route -n

 

Kernel IP routing table

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface

0.0.0.0         192.168.5.1     0.0.0.0         UG    202    0        0 eth0

192.168.5.0     0.0.0.0         255.255.255.0   U     202    0        0 eth0

 

/etc/network/interfaces

 

auto lo

iface lo inet loopback

 

 

iface eth0 inet manual

 

 

allow-hotplug wlan0

iface wlan0 inet manual

    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

 

 

allow-hotplug wlan1

iface wlan1 inet manual

    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

 

/etc/resolv.conf

 

nameserver 192.168.5.2

 

 

 

I will be forever thankful if anyone can guide me in the right direction. Thanks!

  • Sign in to reply
  • Cancel
Parents
  • clem57
    0 clem57 over 8 years ago

    On a working windows machine at work go to the  command prompt window and issue

    ipconfig /all

    It will show the proper setup!

    Generally this

    iface eth0 inet manual

    indicates static setup which would prevent moving to other networks..

    Clem

     

    Edit: Corrected command above

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

    in /etc/network/interfaces I have made the change in this line:

     

     

    iface eth0 inet dhcp

     

     

    after a network service restart, it still does not allow me to connect out to the internet.

     

     

    I have checked the way that a separate windows 7 machine is configured and it shows me the following that I think is relevant...

     

     

    Ethernet adapter Local Area Connection:

     

     

       Connection-specific DNS Suffix : southwestern.local

       DCHP Enabled: Yes

       Autoconfiguration Enabled: Yes

       Link-local IPv6 Address: fe80::fc20:699f:a566:ce83%10(Preferred)

       IPv4 Address : 192.168.5.130

       Subnet Mask: 255.255.255.0

       Default Gateway: 192.168.5.1

       DHCP Server: 192.168.5.2

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • rachaelp
    0 rachaelp over 8 years ago in reply to philbert213

    Right so the IP address on eth0 in your original post does seem to be a valid IP in your company networks IP range....

     

    So what exactly isn't working? Can you ping your Pi on the IP address that eth0 shows it to be on?

     

    Best Regards,

     

    Rachael

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • rachaelp
    0 rachaelp over 8 years ago in reply to rachaelp

    Alternatively, can you ping from your Pi to your windows machine's IP address?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • rachaelp
    0 rachaelp over 8 years ago in reply to rachaelp

    Alternatively, can you ping from your Pi to your windows machine's IP address?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • philbert213
    0 philbert213 over 8 years ago in reply to rachaelp

    I've made the changes that you suggested and rebooted my pi. However, now I'm not capable of receiving an IP address.

     

    ifconfig now gives me

     

    eth0      Link encap:Ethernet  HWaddr b8:27:eb:7c:21:2b

              inet6 addr: fe80::ba27:ebff:fe7c:212b/64 Scope:Link

              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

              RX packets:289 errors:0 dropped:0 overruns:0 frame:0

              TX packets:19 errors:0 dropped:0 overruns:0 carrier:0

              collisions:0 txqueuelen:1000

              RX bytes:32601 (31.8 KiB)  TX bytes:3654 (3.5 KiB)

     

    Reverting back from those changes. This is what results from the pings

     

    From Pi to Windows

    ping 192.168.5.130 --- 192.168.5.30 ping statistics --- 12 packets transmitted, 0 received, 100% packet loss, time 11015ms

     

    From windows to Pi

    ping 192.168.5.147 ping statistics for 192.168.5.147 Packets: Sent = 4, Received = 4, Lost = 0 (0% loss)

     

    Which makes things interesting... the Pi can be seen by others in the network but the Pi itself can't see others.

     

     

    Thanks for taking time in helping btw!

    • Cancel
    • Vote Up +1 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