You are not logged in.
I have an old laptop with a working arch installation and my wifi HP printer (OfficeJet) is working there. As I got a new laptop, I installed arch fresh, made a list of installed packages on the old one and installed them on the new one. Copied config files and stuff (nothing from /etc), almost everything is working on the new one now. When I tried to setup my printer, it wasn't working with the script I wrote for the old laptop and I started troubleshooting.Now I reached a point where I found out that I am not able to even ping the printer from the new laptop, but from the old and all other devices I can ping the printer.
I am using Pi-hole in my network with dnsmasq as DNS / DHCP Server and this works on all other devices. All the devices have static dhcp leases configured in pi-hole and dynamic on the devices itself.
What I checked so far:
- checked /etc/hosts -> is identical
- checked /etc/nsswitch.conf -> is identical
- checked /etc/resolv.conf -> is identical
- checked /etc/systemd/resolved.conf -> is identical
- pinged other devices -> working
- arp -a -> is identical
- route -n -> is identical
- /etc/hosts -> is identical
I masked the hostnames and IP addresses below. LAPTOP2 is the new one, HPF65422 is the printer.
IPv6 ping:
ping -6 HPF65422
PING HPF65422(HPF65422.rob (CORRECTIPV6ADDR)) 56 data bytes
From LAPTOP2 (CORRECTIPV6ADDR) icmp_seq=1 Destination unreachable: Address unreachable
From LAPTOP2 (CORRECTIPV6ADDR) icmp_seq=2 Destination unreachable: Address unreachable
From LAPTOP2 (CORRECTIPV6ADDR) icmp_seq=3 Destination unreachable: Address unreachable
--- HPF65422 ping statistics --- 6 packets transmitted, 0 received, +3 errors, 100% packet loss, time 5061ms
IPv4 ping:
ping -4 -c 3 HPF65422
PING HPF65422.rob (192.168.178.193) 56(84) bytes of data.
--- HPF65422.rob ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2036ms
Tracepath (not leaving the maschine):
tracepath 192.168.178.193
1?: [LOCALHOST] pmtu 1500
1: no reply
2: no reply
3: no reply
4: no reply
5: no reply
6: no reply
arp (correct route):
arp -a
HPF65422.rob (192.168.178.193) at MACADDRESS [ether] on ens1u2u4
route:
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.178.1 0.0.0.0 UG 100 0 0 ens1u2u4
192.168.178.0 0.0.0.0 255.255.255.0 U 100 0 0 ens1u2u4
/etc/nsswitch.conf:
# Name Service Switch configuration file.
# See nsswitch.conf(5) for details.
passwd: files mymachines systemd
group: files mymachines systemd
shadow: files
publickey: files
hosts: files mymachines myhostname resolve [!UNAVAIL=return] dns
networks: files
protocols: files
services: files
ethers: files
rpc: files
netgroup: files
/etc/resolv.conf (correct values):
# Generated by NetworkManager
search rob
nameserver 192.168.178.73
nameserver IPV6OFNAMESERVER1
nameserver IPV6OFNAMESERVER2
# NOTE: the libc resolver may not support more than 3 nameservers.
# The nameservers listed below may not be recognized.
nameserver IPV6OFNAMESERVER1
/etc/hosts:
# Static table lookup for hostnames.
# See hosts(5) for details.
127.0.0.1 localhost
::1 localhost
127.0.0.1 LAPTOP2.my.domain LAPTOP2
/etc/systemd/resolved.conf:
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
#
# See resolved.conf(5) for details
[Resolve]
#DNS=
#FallbackDNS=1.1.1.1 9.9.9.10 8.8.8.8 2606:4700:4700::1111 2620:fe::10 2001:4860:4860::8888
#Domains=
#LLMNR=yes
#MulticastDNS=yes
#DNSSEC=allow-downgrade
#DNSOverTLS=no
#Cache=yes
#DNSStubListener=yes
#ReadEtcHosts=yes
What am I missing?
What really bothers me is that I just can't reach my printer from this maschine but from any other.
Offline