You are not logged in.

#1 2019-06-25 16:06:33

Shrek
Member
Registered: 2019-06-24
Posts: 29

[SOLVED] ping: sendmsg: Network is unreachable

Hello,
I get this error randomly when pinging google.com
https://pastebin.com/Lz73F6Ht

FYI: I'm using network manager
Please help
Thanks

Last edited by Shrek (2019-06-25 20:14:32)

Offline

#2 2019-06-25 18:03:06

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] ping: sendmsg: Network is unreachable

Paste errors in English: https://wiki.archlinux.org/index.php/Co … s_and_code

And include more details about your network: card, driver, versions, etc.

Moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2019-06-25 18:09:12

Shrek
Member
Registered: 2019-06-24
Posts: 29

Re: [SOLVED] ping: sendmsg: Network is unreachable

jasonwryan wrote:

Paste errors in English: https://wiki.archlinux.org/index.php/Co … s_and_code

And include more details about your network: card, driver, versions, etc.

Moving to NC...

PING surviv.io (104.17.61.91) 56(84) bytes of data.
64 bytes from 104.17.61.91: icmp_seq=1 ttl=55 time=54.0 ms
64 bytes from 104.17.61.91: icmp_seq=2 ttl=55 time=52.7 ms
64 bytes from 104.17.61.91: icmp_seq=3 ttl=55 time=50.2 ms
64 bytes from 104.17.61.91: icmp_seq=4 ttl=55 time=50.10 ms
64 bytes from 104.17.61.91: icmp_seq=5 ttl=55 time=51.8 ms
64 bytes from 104.17.61.91: icmp_seq=6 ttl=55 time=51.1 ms
64 bytes from 104.17.61.91: icmp_seq=7 ttl=55 time=51.7 ms
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
64 bytes from 104.17.61.91: icmp_seq=14 ttl=55 time=50.8 ms
64 bytes from 104.17.61.91: icmp_seq=15 ttl=55 time=72.4 ms
64 bytes from 104.17.61.91: icmp_seq=16 ttl=55 time=58.8 ms
64 bytes from 104.17.61.91: icmp_seq=17 ttl=55 time=53.1 ms
64 bytes from 104.17.61.91: icmp_seq=18 ttl=55 time=126 ms
64 bytes from 104.17.61.91: icmp_seq=19 ttl=55 time=50.5 ms
64 bytes from 104.17.61.91: icmp_seq=20 ttl=55 time=52.6 ms

Here is the wireless card info:

01:00.0 Network controller: Intel Corporation Dual Band Wireless-AC 3168NGW [Stone Peak] (rev 10)
	DeviceName: Sandy Peak
	Subsystem: Intel Corporation Dual Band Wireless-AC 3168NGW [Stone Peak]
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi

Last edited by Shrek (2019-06-25 18:12:33)

Offline

#4 2019-06-25 18:25:22

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,823

Re: [SOLVED] ping: sendmsg: Network is unreachable

What is the output of find /etc/systemd/system   ?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#5 2019-06-25 18:27:13

Shrek
Member
Registered: 2019-06-24
Posts: 29

Re: [SOLVED] ping: sendmsg: Network is unreachable

ewaller wrote:

What is the output of find /etc/systemd/system   ?

Here:

/etc/systemd/system
/etc/systemd/system/sleep.target.wants
/etc/systemd/system/sleep.target.wants/tlp-sleep.service
/etc/systemd/system/display-manager.service
/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service
/etc/systemd/system/multi-user.target.wants
/etc/systemd/system/multi-user.target.wants/pamac-cleancache.timer
/etc/systemd/system/multi-user.target.wants/NetworkManager.service
/etc/systemd/system/multi-user.target.wants/remote-fs.target
/etc/systemd/system/multi-user.target.wants/libvirtd.service
/etc/systemd/system/multi-user.target.wants/netctl@wlo1\x2dTNCAP1622C2.service
/etc/systemd/system/multi-user.target.wants/tlp.service
/etc/systemd/system/sockets.target.wants
/etc/systemd/system/sockets.target.wants/virtlogd.socket
/etc/systemd/system/sockets.target.wants/virtlockd.socket
/etc/systemd/system/getty.target.wants
/etc/systemd/system/getty.target.wants/getty@tty1.service
/etc/systemd/system/netctl@wlo1\x2dTNCAP1622C2.service.d
/etc/systemd/system/netctl@wlo1\x2dTNCAP1622C2.service.d/profile.conf
/etc/systemd/system/network-online.target.wants
/etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service

Offline

#6 2019-06-25 18:29:00

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,823

Re: [SOLVED] ping: sendmsg: Network is unreachable

You are using both netctl and NetworkManager.  They are arm wrestling for control of your hardware.

Disable netctl@wlo1\x2dTNCAP1622C2.service


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#7 2019-06-25 18:34:03

Shrek
Member
Registered: 2019-06-24
Posts: 29

Re: [SOLVED] ping: sendmsg: Network is unreachable

ewaller wrote:

You are using both netctl and NetworkManager.  They are arm wrestling for control of your hardware.

Disable netctl@wlo1\x2dTNCAP1622C2.service

Look at this:

  sudo systemctl status netctl@wlo1\x2dTNCAP1622C2.service
netctl@wlo1x2dTNCAP1622C2.service - Networking for netctl profile wlo1x2dTNCAP1622C2
   Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static; vendor preset: disabled)
   Active: inactive (dead)

Do I need to just stop it or completly remove it ?

Offline

#8 2019-06-25 19:40:33

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,823

Re: [SOLVED] ping: sendmsg: Network is unreachable

What is the output of ls -l /etc/systemd/system/multi-user.target.wants/netctl@wlo1\x2dTNCAP1622C2.service   ?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#9 2019-06-25 20:14:08

Shrek
Member
Registered: 2019-06-24
Posts: 29

Re: [SOLVED] ping: sendmsg: Network is unreachable

ewaller wrote:

What is the output of ls -l /etc/systemd/system/multi-user.target.wants/netctl@wlo1\x2dTNCAP1622C2.service   ?

Nevermind I just remove this direcotory

 /usr/lib/systemd/system/netctl@.service

And obviously removed the service.
And now everything is fine thanks a lot !

Last edited by Shrek (2019-06-25 20:15:51)

Offline

Board footer

Powered by FluxBB