You are not logged in.

#1 2020-08-16 01:30:12

cpcp800
Member
Registered: 2016-08-31
Posts: 15

Can't ping local services

I just installed Arch on my desktop, and set up the standard packages + UFW with
minimal rules. 
However, i can't ping my NAS or other local network devices. Not even
192.168.1.1. 

I can ping 1.1.1.1, i can ping "google.com", but "ping 192.168.1.1" doesn't
respond and "traceroute 192.168.1.1" gives nothing but asterisks. My firewall
is set to "allow (from/to) 192.168.1.0/24" and i have rebooted after these
changes.

How do i troubleshoot these weird local connectivity issues, and how do i
connect to my nas at .1.138?

Offline

#2 2020-08-16 05:58:25

seth
Member
Registered: 2012-09-03
Posts: 51,215

Re: Can't ping local services

Output of

ip a
ip r
sudo ufw status

Edit, OP actually said which firewall he uses …

Last edited by seth (2020-08-16 06:00:55)

Offline

#3 2020-08-16 11:19:42

cpcp800
Member
Registered: 2016-08-31
Posts: 15

Re: Can't ping local services

Here's the output
https://pastebin.com/7Kdbx12H
It looks normal, but I'm not an expert.

UFW reports To anywhere from 192.168.1.0/24 and From ...1.0/24 to anywhere, but the problem persists even with it disabled

Offline

#4 2020-08-16 11:53:22

seth
Member
Registered: 2012-09-03
Posts: 51,215

Re: Can't ping local services

Why does wlan0 have two IP addresses?
How do you set up your network?
Output of

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f

?

Offline

#5 2020-08-16 15:28:03

cpcp800
Member
Registered: 2016-08-31
Posts: 15

Re: Can't ping local services

Output:

dbus-org.freedesktop.nm-dispatcher.service | system
dirmngr.socket                           | sockets.target.wants
display-manager.service                  | system
getty@tty1.service                       | getty.target.wants
gpg-agent-browser.socket                 | sockets.target.wants
gpg-agent-extra.socket                   | sockets.target.wants
gpg-agent.socket                         | sockets.target.wants
gpg-agent-ssh.socket                     | sockets.target.wants
NetworkManager.service                   | multi-user.target.wants
NetworkManager-wait-online.service       | network-online.target.wants
p11-kit-server.socket                    | sockets.target.wants
pulseaudio.socket                        | sockets.target.wants
remote-fs.target                         | multi-user.target.wants
ufw.service                              | multi-user.target.wants

I do not know why it records two ip adresses. No static dhcp going on with either router or computer. I use NetworkManager and nm-applet to connect to wifi

Offline

#6 2020-08-16 17:40:58

seth
Member
Registered: 2012-09-03
Posts: 51,215

Re: Can't ping local services

Stop and disable NM, try to connect w/ wifi-menu (part of netctl)
See whether you still have a secondary IP and whether the original issue remains w/o.

Offline

Board footer

Powered by FluxBB