You are not logged in.
Have installed Arch for multiple years, no idea what went wrong this time:
$ ping google.com
ping: google.com: System error
$ sudo pacman -Sy
:: Synchronizing package databases...
error: failed retrieving file 'core.db' from mirror.rol.ru : Could not resolve host: mirror.rol.ru
error: failed retrieving file 'core.db' from mirror.yandex.ru : Could not resolve host: mirror.yandex.ru
error: failed to update core (download library error)
...
$ host goodle.com
goodle.com has address 103.224.182.209
Browser works, ping ip address works.
$ cat /etc/resolv.conf
# Generated by resolvconf
nameserver 192.168.1.254
nameserver 8.8.8.8
nameserver 8.8.4.4
$ cat /etc/resolvconf.conf
resolv_conf=/etc/resolv.conf
$ ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.155 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::8e89:a5ff:fe02:be31 prefixlen 64 scopeid 0x20<link>
ether 8c:89:a5:02:be:31 txqueuelen 1000 (Ethernet)
RX packets 93999 bytes 105023804 (100.1 MiB)
RX errors 0 dropped 5 overruns 0 frame 0
TX packets 57468 bytes 8201102 (7.8 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1 (Local Loopback)
RX packets 110033 bytes 5503333 (5.2 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 110033 bytes 5503333 (5.2 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Please, help.
Last edited by dimath (2016-11-12 19:43:45)
Offline
Have installed Arch for multiple years, no idea what went wrong this time:
$ ping google.com ping: google.com: System error
,,,
$ host goodle.com goodle.com has address 103.224.182.209
You wrote 'host gooDle.com'.
What are outputs of those:
dig google.com
grep hosts /etc/nsswitch.conf
And check if this thread can help you.
Regards
Offline
If you have "wins" in nsswitch.conf, make sure winbindd is running.
Offline
If you have "wins" in nsswitch.conf, make sure winbindd is running.
Thanks, was there an update that introduced this change in config file?
Offline
No updated added "wins", that's a samba thing. The latest samba update now makes that change require winbindd running, though.
Offline
Thanks!!
Removing "wins" from "hots" in /etc/nsswitch.conf quickly solved it!
PS: Winbind seems to be running
$ sudo systemctl status winbindd.service
● winbindd.service - Samba Winbind daemon
Loaded: loaded (/usr/lib/systemd/system/winbindd.service; enabled; vendor preset: disabled)
Active: active (running) since Sat 2016-11-12 22:37:06 MSK; 9min ago
Process: 579 ExecStart=/usr/bin/winbindd -D (code=exited, status=0/SUCCESS)
Main PID: 625 (winbindd)
Tasks: 2 (limit: 4915)
CGroup: /system.slice/winbindd.service
├─625 /usr/bin/winbindd -D
└─635 /usr/bin/winbindd -D
Nov 12 22:37:02 guess systemd[1]: Starting Samba Winbind daemon...
Nov 12 22:37:06 guess systemd[1]: Started Samba Winbind daemon.
Nov 12 22:37:06 guess winbindd[625]: [2016/11/12 22:37:06.826646, 0] ../source3/winbindd/winbindd_cache.c:3244(initialize_winbindd_cache)
Nov 12 22:37:06 guess winbindd[625]: initialize_winbindd_cache: clearing cache and re-creating with version number 2
Nov 12 22:37:09 guess winbindd[625]: [2016/11/12 22:37:09.337995, 0] ../lib/util/become_daemon.c:124(daemon_ready)
Nov 12 22:37:09 guess winbindd[625]: STATUS=daemon 'winbindd' finished starting up and ready to serve connections
Offline