Raspberry Pi IP Address and Ethernet Connection not WorkingTrouble with static IP address in direct ethernet...

Is it legal for company to use my work email to pretend I still work there?

is it possible to make sharp wind that can cut stuff from afar?

Is it possible to do 50 km distance without any previous training?

I’m planning on buying a laser printer but concerned about the life cycle of toner in the machine

Japan - Plan around max visa duration

Prevent a directory in /tmp from being deleted

What would happen to a modern skyscraper if it rains micro blackholes?

Smoothness of finite-dimensional functional calculus

Shell script not opening as desktop application

Service Entrance Breakers Rain Shield

What is the offset in a seaplane's hull?

Dragon forelimb placement

Theorems that impeded progress

GPS Rollover on Android Smartphones

Is it tax fraud for an individual to declare non-taxable revenue as taxable income? (US tax laws)

Is it unprofessional to ask if a job posting on GlassDoor is real?

Why don't electron-positron collisions release infinite energy?

Show that if two triangles built on parallel lines, with equal bases have the same perimeter only if they are congruent.

Can a Warlock become Neutral Good?

Is the language {<p,n> | p and n are natural numbers and there's no prime number in [p,p+n]} belongs to NP class?

How do I create uniquely male characters?

The magic money tree problem

Relation between Frobenius, spectral norm and sum of maxima

Can an x86 CPU running in real mode be considered to be basically an 8086 CPU?



Raspberry Pi IP Address and Ethernet Connection not Working


Trouble with static IP address in direct ethernet connection w/ raspberry piHow to Create a network connection between host and guest using static ip in Oracle Virtual BoxTrouble with static IP address in direct ethernet connection w/ raspberry piSSH on Raspberry Pi (OpenELEC) not workingNo route between clients until pinged from one of them (and not from another)What is causing PuTTy to not connect to Raspberry Pi?Raspberry pi has both static and dhcp ip addressRaspberry-pi remote connection using putty, GUI not workingraspberry pi 3 static ip not working for direct ethernet-hardware connectionCannot connect to Raspberry Pi using en0 IP addressInternet connectivity issue when setting up static ip address in raspberry pi






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







1















I just configured my Raspberry Pi with Raspbian. I want to SSH into it with my laptop, so I connected my laptop and the pi with an Ethernet cable. Then, I went to the raspberry pi command line to get the IP address using ifconfig. There was no IP address (similar to the problem here). So, I tried the solution offered on that post and ran:



sudo ip addr add 192.168.x.x/24 dev eth0


I ran ifconfig again and saw the IP was set, so I went to my laptop and tried to ping the IP address I set for the pi. The following happened:



Pinging (Pi IP address) with 32 bytes of data:
Reply from (Computer IP address) Destination host unreachable.
Ping Statistics for (Pi Ip Address):
Packets: Sent = 4, Received = 4, Lost = 0 (0% Loss).


I tried Putty to see if I could get the SSH to work (even though ping didn't...I thought it might be worth trying), and I get this error:



Network Error: Connection Timed Out 


Is there something I am doing wrong to SSH into the Pi? Or could this be a hardware problem like explained here?



I found other ways to set static IPs, but from my understanding, you have to have a working dhcp address. I don't have that.










share|improve this question
















bumped to the homepage by Community yesterday


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • Is your laptop on same 192.168.x.x/24 network as the RPi?

    – raspi
    Jun 14 '15 at 18:45











  • Yes, my laptop is 192.168.y.a and the pi is 192.168.y.b

    – JustBlossom
    Jun 14 '15 at 18:50











  • Are you just connecting the two directly with a cable?

    – Jeremy French
    Jun 14 '15 at 20:24











  • @Jeremy French yes...the laptop and the pi are connected with an Ethernet cable

    – JustBlossom
    Jun 14 '15 at 22:31











  • @JustBlossom A crossover ethernet cable, I hope? or a normal one?

    – Jarmund
    Jun 14 '15 at 23:11


















1















I just configured my Raspberry Pi with Raspbian. I want to SSH into it with my laptop, so I connected my laptop and the pi with an Ethernet cable. Then, I went to the raspberry pi command line to get the IP address using ifconfig. There was no IP address (similar to the problem here). So, I tried the solution offered on that post and ran:



sudo ip addr add 192.168.x.x/24 dev eth0


I ran ifconfig again and saw the IP was set, so I went to my laptop and tried to ping the IP address I set for the pi. The following happened:



Pinging (Pi IP address) with 32 bytes of data:
Reply from (Computer IP address) Destination host unreachable.
Ping Statistics for (Pi Ip Address):
Packets: Sent = 4, Received = 4, Lost = 0 (0% Loss).


I tried Putty to see if I could get the SSH to work (even though ping didn't...I thought it might be worth trying), and I get this error:



Network Error: Connection Timed Out 


Is there something I am doing wrong to SSH into the Pi? Or could this be a hardware problem like explained here?



I found other ways to set static IPs, but from my understanding, you have to have a working dhcp address. I don't have that.










share|improve this question
















bumped to the homepage by Community yesterday


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • Is your laptop on same 192.168.x.x/24 network as the RPi?

    – raspi
    Jun 14 '15 at 18:45











  • Yes, my laptop is 192.168.y.a and the pi is 192.168.y.b

    – JustBlossom
    Jun 14 '15 at 18:50











  • Are you just connecting the two directly with a cable?

    – Jeremy French
    Jun 14 '15 at 20:24











  • @Jeremy French yes...the laptop and the pi are connected with an Ethernet cable

    – JustBlossom
    Jun 14 '15 at 22:31











  • @JustBlossom A crossover ethernet cable, I hope? or a normal one?

    – Jarmund
    Jun 14 '15 at 23:11














1












1








1








I just configured my Raspberry Pi with Raspbian. I want to SSH into it with my laptop, so I connected my laptop and the pi with an Ethernet cable. Then, I went to the raspberry pi command line to get the IP address using ifconfig. There was no IP address (similar to the problem here). So, I tried the solution offered on that post and ran:



sudo ip addr add 192.168.x.x/24 dev eth0


I ran ifconfig again and saw the IP was set, so I went to my laptop and tried to ping the IP address I set for the pi. The following happened:



Pinging (Pi IP address) with 32 bytes of data:
Reply from (Computer IP address) Destination host unreachable.
Ping Statistics for (Pi Ip Address):
Packets: Sent = 4, Received = 4, Lost = 0 (0% Loss).


I tried Putty to see if I could get the SSH to work (even though ping didn't...I thought it might be worth trying), and I get this error:



Network Error: Connection Timed Out 


Is there something I am doing wrong to SSH into the Pi? Or could this be a hardware problem like explained here?



I found other ways to set static IPs, but from my understanding, you have to have a working dhcp address. I don't have that.










share|improve this question
















I just configured my Raspberry Pi with Raspbian. I want to SSH into it with my laptop, so I connected my laptop and the pi with an Ethernet cable. Then, I went to the raspberry pi command line to get the IP address using ifconfig. There was no IP address (similar to the problem here). So, I tried the solution offered on that post and ran:



sudo ip addr add 192.168.x.x/24 dev eth0


I ran ifconfig again and saw the IP was set, so I went to my laptop and tried to ping the IP address I set for the pi. The following happened:



Pinging (Pi IP address) with 32 bytes of data:
Reply from (Computer IP address) Destination host unreachable.
Ping Statistics for (Pi Ip Address):
Packets: Sent = 4, Received = 4, Lost = 0 (0% Loss).


I tried Putty to see if I could get the SSH to work (even though ping didn't...I thought it might be worth trying), and I get this error:



Network Error: Connection Timed Out 


Is there something I am doing wrong to SSH into the Pi? Or could this be a hardware problem like explained here?



I found other ways to set static IPs, but from my understanding, you have to have a working dhcp address. I don't have that.







linux networking ssh putty raspberry-pi






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited May 23 '17 at 11:33









Community

1




1










asked Jun 14 '15 at 18:42









JustBlossomJustBlossom

111116




111116





bumped to the homepage by Community yesterday


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community yesterday


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • Is your laptop on same 192.168.x.x/24 network as the RPi?

    – raspi
    Jun 14 '15 at 18:45











  • Yes, my laptop is 192.168.y.a and the pi is 192.168.y.b

    – JustBlossom
    Jun 14 '15 at 18:50











  • Are you just connecting the two directly with a cable?

    – Jeremy French
    Jun 14 '15 at 20:24











  • @Jeremy French yes...the laptop and the pi are connected with an Ethernet cable

    – JustBlossom
    Jun 14 '15 at 22:31











  • @JustBlossom A crossover ethernet cable, I hope? or a normal one?

    – Jarmund
    Jun 14 '15 at 23:11



















  • Is your laptop on same 192.168.x.x/24 network as the RPi?

    – raspi
    Jun 14 '15 at 18:45











  • Yes, my laptop is 192.168.y.a and the pi is 192.168.y.b

    – JustBlossom
    Jun 14 '15 at 18:50











  • Are you just connecting the two directly with a cable?

    – Jeremy French
    Jun 14 '15 at 20:24











  • @Jeremy French yes...the laptop and the pi are connected with an Ethernet cable

    – JustBlossom
    Jun 14 '15 at 22:31











  • @JustBlossom A crossover ethernet cable, I hope? or a normal one?

    – Jarmund
    Jun 14 '15 at 23:11

















Is your laptop on same 192.168.x.x/24 network as the RPi?

– raspi
Jun 14 '15 at 18:45





Is your laptop on same 192.168.x.x/24 network as the RPi?

– raspi
Jun 14 '15 at 18:45













Yes, my laptop is 192.168.y.a and the pi is 192.168.y.b

– JustBlossom
Jun 14 '15 at 18:50





Yes, my laptop is 192.168.y.a and the pi is 192.168.y.b

– JustBlossom
Jun 14 '15 at 18:50













Are you just connecting the two directly with a cable?

– Jeremy French
Jun 14 '15 at 20:24





Are you just connecting the two directly with a cable?

– Jeremy French
Jun 14 '15 at 20:24













@Jeremy French yes...the laptop and the pi are connected with an Ethernet cable

– JustBlossom
Jun 14 '15 at 22:31





@Jeremy French yes...the laptop and the pi are connected with an Ethernet cable

– JustBlossom
Jun 14 '15 at 22:31













@JustBlossom A crossover ethernet cable, I hope? or a normal one?

– Jarmund
Jun 14 '15 at 23:11





@JustBlossom A crossover ethernet cable, I hope? or a normal one?

– Jarmund
Jun 14 '15 at 23:11










2 Answers
2






active

oldest

votes


















0














Try to connect your rpi directly to your AP/router and turn your rpi on. The router should give you an IP automatically. Then from your laptop you could enter to your router GUI and search for the DHCP list where you will find your rpi IP address.



If you don't have any router available you should configure your laptop to work as a DHCP server. There is many tutorials such this one.



Finally, it might sound very basic but you could try it with another Ethernet cable if you have one available



Hope it helps






share|improve this answer

































    0














    SSH daemon is disabled in Raspbian by default. You need to use raspi-config to enable it first.



    As for the IP, as far as I remember, Raspbian comes with avahi-daemon preinstalled, so you should be able to use your_pi's_hostname.local domain name to access it from your laptop, provided said laptop has avahi/Bonjour installed.






    share|improve this answer
























      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "3"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f927845%2fraspberry-pi-ip-address-and-ethernet-connection-not-working%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      0














      Try to connect your rpi directly to your AP/router and turn your rpi on. The router should give you an IP automatically. Then from your laptop you could enter to your router GUI and search for the DHCP list where you will find your rpi IP address.



      If you don't have any router available you should configure your laptop to work as a DHCP server. There is many tutorials such this one.



      Finally, it might sound very basic but you could try it with another Ethernet cable if you have one available



      Hope it helps






      share|improve this answer






























        0














        Try to connect your rpi directly to your AP/router and turn your rpi on. The router should give you an IP automatically. Then from your laptop you could enter to your router GUI and search for the DHCP list where you will find your rpi IP address.



        If you don't have any router available you should configure your laptop to work as a DHCP server. There is many tutorials such this one.



        Finally, it might sound very basic but you could try it with another Ethernet cable if you have one available



        Hope it helps






        share|improve this answer




























          0












          0








          0







          Try to connect your rpi directly to your AP/router and turn your rpi on. The router should give you an IP automatically. Then from your laptop you could enter to your router GUI and search for the DHCP list where you will find your rpi IP address.



          If you don't have any router available you should configure your laptop to work as a DHCP server. There is many tutorials such this one.



          Finally, it might sound very basic but you could try it with another Ethernet cable if you have one available



          Hope it helps






          share|improve this answer















          Try to connect your rpi directly to your AP/router and turn your rpi on. The router should give you an IP automatically. Then from your laptop you could enter to your router GUI and search for the DHCP list where you will find your rpi IP address.



          If you don't have any router available you should configure your laptop to work as a DHCP server. There is many tutorials such this one.



          Finally, it might sound very basic but you could try it with another Ethernet cable if you have one available



          Hope it helps







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jun 14 '15 at 22:55

























          answered Jun 14 '15 at 22:42









          agonza1agonza1

          314




          314

























              0














              SSH daemon is disabled in Raspbian by default. You need to use raspi-config to enable it first.



              As for the IP, as far as I remember, Raspbian comes with avahi-daemon preinstalled, so you should be able to use your_pi's_hostname.local domain name to access it from your laptop, provided said laptop has avahi/Bonjour installed.






              share|improve this answer




























                0














                SSH daemon is disabled in Raspbian by default. You need to use raspi-config to enable it first.



                As for the IP, as far as I remember, Raspbian comes with avahi-daemon preinstalled, so you should be able to use your_pi's_hostname.local domain name to access it from your laptop, provided said laptop has avahi/Bonjour installed.






                share|improve this answer


























                  0












                  0








                  0







                  SSH daemon is disabled in Raspbian by default. You need to use raspi-config to enable it first.



                  As for the IP, as far as I remember, Raspbian comes with avahi-daemon preinstalled, so you should be able to use your_pi's_hostname.local domain name to access it from your laptop, provided said laptop has avahi/Bonjour installed.






                  share|improve this answer













                  SSH daemon is disabled in Raspbian by default. You need to use raspi-config to enable it first.



                  As for the IP, as far as I remember, Raspbian comes with avahi-daemon preinstalled, so you should be able to use your_pi's_hostname.local domain name to access it from your laptop, provided said laptop has avahi/Bonjour installed.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Mar 5 at 15:06









                  Konrad BotorKonrad Botor

                  2947




                  2947






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Super User!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f927845%2fraspberry-pi-ip-address-and-ethernet-connection-not-working%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Cannot install PyQt5 The Next CEO of Stack OverflowCannot install tcpreplay 3.4.4cannot...

                      Kapp-Putsch Acontecimentos | Outros artigos | Menu de navegação

                      Why did early computer designers eschew integers? The Next CEO of Stack OverflowWhat register...