Purchase Linux CDs / DVDs / Flash Drives at OSDisc.com

Welcome to Our Community

While Linux.org has been around for a while, we recently changed management and had to purge most of the content (including users). If you signed up before April 23rd, 2017 please sign up again. Thanks!

  1. Follow us on twitter - we shoot all of our new original content out as well as random messages. https://twitter.com/linuxdotorg
    Dismiss Notice

Ping no longer works

Discussion in 'Ubuntu' started by fixit7, Mar 15, 2019.

  1. fixit7

    fixit7 New Member

    Joined:
    Mar 4, 2019
    Messages:
    29
    Likes Received:
    14
    This used to work. It pings my internet provider.

    ping 47.182.239.232 -c 1
    PING 47.182.239.232 (47.182.239.232) 56(84) bytes of data.

    --- 47.182.239.232 ping statistics ---
    1 packets transmitted, 0 received, 100% packet loss, time 0ms

    UFW is turned off.

    I tried this as well followed by a reboot.

    Add the following to the /etc/ufw/before.rules file:

    # allow outbound icmp
    -A ufw-before-output -p icmp -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT
    -A ufw-before-output -p icmp -m state --state ESTABLISHED,RELATED -j ACCEPT

    After editing the file, run the command:
    sudo ufw reload


    (Log in to hide this advertisement)

     
  2. wizardfromoz

    wizardfromoz Super Moderator
    Staff Member Gold Supporter

    Joined:
    Apr 30, 2017
    Messages:
    2,534
    Likes Received:
    2,124
    That 100% packet loss looks a bit dodgy, doesn't it?

    Try the following (hash precedes comments by me, not commands):

    Code:
    sudo apt install traceroute
    
    #And then
    
    traceroute 47.182.239.232
    
    #and
    
    traceroute 8.8.8.8
    and report back the output.

    Wizard
     
    CptCharis and VP9KS like this.
  3. fixit7

    fixit7 New Member

    Joined:
    Mar 4, 2019
    Messages:
    29
    Likes Received:
    14
    You are very right. Very strange.

    (I am also wondering if it is related to my not being able to get mail in Thunderbird.)

    traceroute 47.182.239.232
    traceroute to 47.182.239.232 (47.182.239.232), 30 hops max, 60 byte packets
    1 dslrouter.netgear.com (192.168.254.254) 0.855 ms 1.026 ms 1.236 ms
    2 * * *
    3 * * *
    4 * * *
    5 * * *
    6 * * *
    7 * * *
    8 * * *
    9 * * *
    10 * * *
    11 * * *
    12 * * *
    13 * * *
    14 * * *
    15 * * *
    16 * * *
    17 * * *
    18 * * *
    19 * * *
    20 * * *
    21 * * *
    22 * * *
    23 * * *
    24 * * *
    25 * * *
    26 * * *
    27 * * *
    28 * * *
    29 * * *
    30 * * *

    traceroute 8.8.8.8
    traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 60 byte packets
    1 dslrouter.netgear.com (192.168.254.254) 0.744 ms 0.951 ms 1.153 ms
    2 * * *
    3 * * *
    4 * * *
    5 * * *
    6 * * *
    7 * * *
    8 * * *
    9 * * *
    10 * * *
    11 * * *
    12 * * *
    13 * * *
    14 * * *
    15 * * *
    16 * * *
    17 * * *
    18 * * *
    19 * * *
    20 * * *
    21 * * *
    22 * * *
    23 * * *
    24 * * *
    25 * * *
    26 * * *
    27 * * *
    28 * * *
    29 * * *
    30 * * *
     
  4. fixit7

    fixit7 New Member

    Joined:
    Mar 4, 2019
    Messages:
    29
    Likes Received:
    14
    I found the problemo.

    I did a factory reset of my router by holding a recessed button down for 20 seconds.

    As a result,
    1. Ping works again
    2. Now Thunderbird can retrieve my mail
     
    wizardfromoz likes this.
  5. wizardfromoz

    wizardfromoz Super Moderator
    Staff Member Gold Supporter

    Joined:
    Apr 30, 2017
    Messages:
    2,534
    Likes Received:
    2,124
    Yeah, I think I saw something about routers in my travels :)

    Have you run the 8.8.8.8 command again? Hopefully it should output with no entries having the asterisks.

    Wizard
     
  6. fixit7

    fixit7 New Member

    Joined:
    Mar 4, 2019
    Messages:
    29
    Likes Received:
    14
    traceroute 8.8.8.8
    traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 60 byte packets
    1 dslrouter.netgear.com (192.168.254.254) 0.797 ms 1.014 ms 1.251 ms
    2 47.182.238.1 (47.182.238.1) 9.260 ms 9.335 ms 10.067 ms
    3 ge-5-3-2---0.arr01.nsby.tx.frontiernet.net (172.102.53.172) 10.588 ms 11.324 ms 11.966 ms
    4 ae3---0.scr02.dlls.tx.frontiernet.net (74.40.1.81) 20.797 ms 21.311 ms 22.076 ms
    5 ae1---0.cbr01.dlls.tx.frontiernet.net (74.40.1.82) 22.943 ms 23.607 ms 24.379 ms
    6 74.40.26.234 (74.40.26.234) 25.390 ms 18.328 ms 19.035 ms
    7 108.170.252.129 (108.170.252.129) 19.769 ms 108.170.252.161 (108.170.252.161) 16.186 ms 108.170.240.193 (108.170.240.193) 16.100 ms
    8 209.85.248.109 (209.85.248.109) 15.835 ms 72.14.238.45 (72.14.238.45) 15.805 ms 216.239.57.55 (216.239.57.55) 17.270 ms
    9 google-public-dns-a.google.com (8.8.8.8) 17.209 ms 17.352 ms 18.186 ms
     
    wizardfromoz likes this.
  7. wizardfromoz

    wizardfromoz Super Moderator
    Staff Member Gold Supporter

    Joined:
    Apr 30, 2017
    Messages:
    2,534
    Likes Received:
    2,124
    That's looking good :)

    Wiz
     
  8. fixit7

    fixit7 New Member

    Joined:
    Mar 4, 2019
    Messages:
    29
    Likes Received:
    14
    Thanks. Fixing to make a post about some efax problems.
     
    wizardfromoz likes this.

Share This Page