User avatar
Onira
Posts: 233
Joined: Tue Oct 02, 2012 6:24 pm
Location: Poland

ping raspberrypi - doesn't work

Wed Nov 21, 2012 5:50 pm

ping via name doesn't work, how to fix it?
Cogito ergo sum

pjc123
Posts: 922
Joined: Thu Mar 29, 2012 3:37 pm
Contact: Website

Re: ping raspberrypi - doesn't work

Wed Nov 21, 2012 6:36 pm

You need to set up a "hosts" file on the device you are pinging from.
My Raspberry Pi Project Page:

https://www.flaminghellmet.com/launch/

User avatar
Onira
Posts: 233
Joined: Tue Oct 02, 2012 6:24 pm
Location: Poland

Re: ping raspberrypi - doesn't work

Thu Nov 22, 2012 5:09 am

I tried to set it and still doesn't work.
How did you set yours?
Cogito ergo sum

User avatar
RaTTuS
Posts: 10559
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: ping raspberrypi - doesn't work

Thu Nov 22, 2012 7:36 am

I set it in my DHCP server...
what exactly have you tried
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

User avatar
Onira
Posts: 233
Joined: Tue Oct 02, 2012 6:24 pm
Location: Poland

Re: ping raspberrypi - doesn't work

Thu Nov 22, 2012 9:45 am

I changed the line
127.0.1.1 to my RPi's IP
Cogito ergo sum

User avatar
joan
Posts: 14935
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: ping raspberrypi - doesn't work

Thu Nov 22, 2012 10:02 am

In etc/hosts add a line of the form

192.168.1.24 pluto

with the IP address and name of your Pi. Do this on each machine you want to access your Pi from.

p.s. put the 127.0.0.1 line back as it originally was.

User avatar
Onira
Posts: 233
Joined: Tue Oct 02, 2012 6:24 pm
Location: Poland

Re: ping raspberrypi - doesn't work

Thu Nov 22, 2012 11:06 am

127.0.0.1 or 127.0.1.1 ?
I did same, set to my RPi IP (192.168.1.114) and it didtn't work
Cogito ergo sum

User avatar
Burngate
Posts: 6302
Joined: Thu Sep 29, 2011 4:34 pm
Location: Berkshire UK Tralfamadore
Contact: Website

Re: ping raspberrypi - doesn't work

Thu Nov 22, 2012 11:49 am

Code: Select all

# Do not alter the loopback entry
#
127.0.0.1	loopback localhost loghost

User avatar
Onira
Posts: 233
Joined: Tue Oct 02, 2012 6:24 pm
Location: Poland

Re: ping raspberrypi - doesn't work

Sat Nov 24, 2012 9:32 pm

  • 127.0.0.1 loopback localhost loghost
    #127.0.0.1 localhost
    ::1 localhost
    #::1 localhost ip6-localhost ip6-loopback
    #fe00::0 ip6-localnet
    #ff00::0 ip6-mcastprefix
    #ff02::1 ip6-allnodes
    #ff02::2 ip6-allrouters

    #127.0.1.1 raspberrypi
Cogito ergo sum

Return to “Troubleshooting”