(02-27-2020, 01:23 PM)a-wai Wrote: Alright, and you can ping 8.8.8.8 with no losses ? Have you tried getting closer to your hotspot ? (I found my Pinephone has a quite limited wifi range)
What does "nslookup kernel.org" output? (package dnsutils, in case it's not installed)
Yes I can browse website by IP, ping by IP etc. Can't install dnsutils because of the apt resolve error. 'service ModemManager stop' didn't help (thinking maybe apt was trying to use mobile data instead of WiFi and I have no SIM installed). Still playing around, but at a loss and, sadly, no linux expert nor DNS expert.
Code:
debian@pinephone:/usr/lib/systemd$ resolvectl status
Global
LLMNR setting: yes
MulticastDNS setting: yes
DNSOverTLS setting: no
DNSSEC setting: allow-downgrade
DNSSEC supported: yes
Current DNS Server: 192.168.1.1
DNS Servers: 192.168.1.1
DNSSEC NTA: 10.in-addr.arpa
16.172.in-addr.arpa
168.192.in-addr.arpa
17.172.in-addr.arpa
18.172.in-addr.arpa
19.172.in-addr.arpa
20.172.in-addr.arpa
21.172.in-addr.arpa
22.172.in-addr.arpa
23.172.in-addr.arpa
24.172.in-addr.arpa
25.172.in-addr.arpa
26.172.in-addr.arpa
27.172.in-addr.arpa
28.172.in-addr.arpa
29.172.in-addr.arpa
30.172.in-addr.arpa
31.172.in-addr.arpa
corp
d.f.ip6.arpa
home
internal
intranet
lan
local
private
test
Link 3 (wwan0)
Current Scopes: none
DefaultRoute setting: no
LLMNR setting: yes
MulticastDNS setting: no
DNSOverTLS setting: no
DNSSEC setting: allow-downgrade
DNSSEC supported: yes
Link 2 (wlan0)
Current Scopes: DNS LLMNR/IPv4 LLMNR/IPv6
DefaultRoute setting: yes
LLMNR setting: yes
MulticastDNS setting: no
DNSOverTLS setting: no
DNSSEC setting: allow-downgrade
DNSSEC supported: yes
Current DNS Server: 192.168.1.1
DNS Servers: 192.168.1.1
DNS Domain: ~.
(02-27-2020, 02:19 PM)nas Wrote: ping 8.8.8.8 works but not ping google.com - there's a quick fix by reordering the hosts entry in /etc/nsswitch.conf - see first part of this solution.
BOOM! That worked. Thanks for the help! Here's what my nsswitch.conf looks like now.
Code:
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: files systemd
group: files systemd
shadow: files
gshadow: files
# hosts: files resolve [!UNAVAIL=return] dns
hosts: files mdns4_minimal [NOTFOUND=return] dns
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis