DNS not working on new Samsung Chromebook install

This forum is for discussion about general software issues.

DNS not working on new Samsung Chromebook install

Postby erothoff » Sat Jan 25, 2020 7:50 am

So, I tried a MMC install on a Samsung Chromebook. I can connect with menu-wifi and I can ping but no DNS resolution. Sounds like it is the problem with the two network controllers. ("https://archlinuxarm.org/forum/viewtopic.php?f=15&t=14188") but I don't know how to turn one off.

But here is the results from the three commands:
First: networkctl status
$this->bbcode_second_pass_code('', '
networkctl status
* State: routable
Address: 192.168.254.39 on mlan0
fe80::2202:afff:feef:ed6 on mlan0
Gateway: 192.168.254.254 (ARRIS Group, Inc.) on mlan0
')
Second: resolvectl status
$this->bbcode_second_pass_code('', '
resolvectl status
Global
LLMNR setting: yes
MulticastDNS setting: yes
DNSOverTLS setting: no
DNSSEC setting: allow-downgrade
DNSSEC supported: yes
Current DNS Server: 9.9.9.10
Fallback DNS Servers: 1.1.1.1
9.9.9.10
8.8.8.8
2606:4700:4700::1111
2620:fe::10
2001:4860:4860::8888
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 2 (mlan0)
Current Scopes: LLMNR/IPv4 LLMNR/IPv6
DefaultRoute setting: no
LLMNR setting: yes
MulticastDNS setting: no
DNSOverTLS setting: no
DNSSEC setting: allow-downgrade
DNSSEC supported: yes
')
And Third: systemctl --all list-units | egrep "net|resol"
$this->bbcode_second_pass_code('', '
systemctl --all list-units | egrep "net|resol"

sys-devices-platform-soc-12230000.mmc-mmc_host-mmc2-mmc2:0001-mmc2:0001:1-net-mlan0.device loaded active plugged /sys/devices/platform/soc/12230000.mmc/mmc_host/mmc2/mmc2:0001/mmc2:0001:1/net/mlan0
sys-subsystem-net-devices-mlan0.device loaded active plugged /sys/subsystem/net/devices/mlan0
netctl.service loaded inactive dead (Re)store the netctl profile state
netctl@mlan0\x2dRothoff\x2dBasement_5G.service loaded active exited Networking for netctl profile mlan0-Rothoff-Basement_5G
systemd-networkd.service loaded active running Network Service
systemd-resolved.service loaded active running Network Name Resolution
system-netctl.slice loaded active active system-netctl.slice
systemd-networkd.socket loaded active running Network Service Netlink Socket
network-pre.target loaded inactive dead Network (Pre)
network.target loaded active active Network
')

Any help would be greatly appreciated. I have not had to use the command line in a long time. Thanks in advance.
erothoff
 
Posts: 2
Joined: Sat Jan 25, 2020 7:33 am

Re: DNS not working on new Samsung Chromebook install

Postby summers » Sat Jan 25, 2020 2:05 pm

Well two network managers, just makes it a tad more confusing, and difficult to fix.

But my guess is, as you have brought up the network fine, its just a DNS problem. So notice you have DNSSEC in the allow-downgrade setting. This is suspected to cause problems when your clock isn't synchronized, as it means all DNS looks fail - which seems to be your problem.

So check that first, and if time isn't synchronized, then fix that problem.

That hopefully gives enough to make a start on the problem.
summers
 
Posts: 995
Joined: Sat Sep 06, 2014 12:56 pm

Re: DNS not working on new Samsung Chromebook install

Postby erothoff » Sat Jan 25, 2020 4:42 pm

Thanks, by setting the hardware clock, ("hwclock -w") I got where ping will now work. Unfortunately, I see that it gets reset sometimes back to the year 2000.

I tried getting the time/date to sync using:
$this->bbcode_second_pass_quote('', 't')imedatectl set-ntp true


but timedatectl still shows that
$this->bbcode_second_pass_quote('', '
')Local time: Sat 2020-01-25 10:40:09 UTC
Universal time: Sat 2020-01-25 10:40:09 UTC
RTC time: Sat 2020-01-25 10:40:09 UTC
Time zone: UTC (UTC, +0000)
System clock synchronized:no
NTP service: active
RTC in local TZ: no


I actually changed the Time zone, but it didn't help. I got the update to work, but my SD card was too small so I have to reinstall again. :cry:
erothoff
 
Posts: 2
Joined: Sat Jan 25, 2020 7:33 am

Re: DNS not working on new Samsung Chromebook install

Postby summers » Sat Jan 25, 2020 5:32 pm

That the clock won't synchronize may well explain that DNS is failing due to DNSSEC timing errors. So try following the instructions in this post:

https://archlinuxarm.org/forum/viewtopic.php?f=15&t=14188#p62818

As to how to add a default ntp host, and have the ip of that ntp host in your /etc/hosts file. This should mean that you can synchronize time, even if DNS isn't working, and that *may* be enough to get DNS to work.

If this does give a solution, can you post here - so we know it has worked.

Oh yes - don't worry about time zone - that is your choice and I don't expect it affect anything.
summers
 
Posts: 995
Joined: Sat Sep 06, 2014 12:56 pm


Return to General

Who is online

Users browsing this forum: No registered users and 31 guests