DNS does not work for me.

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

DNS does not work for me.

Postby alexei2012 » Sun May 03, 2015 2:58 pm

I am trying to install Arch Linux on my CubieTruck ARM machine.
to make things short - I managed to IPL the machine.
I connect to my router via ethernet.
I also managed to do ping to 8.8.8.8

$this->bbcode_second_pass_code('', '
[root@alarm ~]# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=57 time=12.5 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=57 time=13.2 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=57 time=14.4 ms

--- 8.8.8.8 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 12.532/13.408/14.403/0.779 ms
[root@alarm ~]#
')

but I can not ping say google.com
I did

$this->bbcode_second_pass_code('', '
[root@alarm ~]# drill google.com
;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 1947
;; flags: qr rd ra ; QUERY: 1, ANSWER: 11, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;; google.com. IN A

;; ANSWER SECTION:
google.com. 299 IN A 173.194.122.233
google.com. 299 IN A 173.194.122.231
google.com. 299 IN A 173.194.122.232
google.com. 299 IN A 173.194.122.230
google.com. 299 IN A 173.194.122.229
google.com. 299 IN A 173.194.122.224
google.com. 299 IN A 173.194.122.228
google.com. 299 IN A 173.194.122.225
google.com. 299 IN A 173.194.122.238
google.com. 299 IN A 173.194.122.226
google.com. 299 IN A 173.194.122.227

;; AUTHORITY SECTION:

;; ADDITIONAL SECTION:

;; Query time: 34 msec
;; SERVER: 8.8.8.8
;; WHEN: Wed Dec 10 22:20:53 2014
;; MSG SIZE rcvd: 204
[root@alarm ~]#

[root@alarm ~]# cat /etc/resolv.conf
# Generated by resolvconf
nameserver 8.8.8.8
nameserver 8.8.4.4
[root@alarm ~]#

')

I also see in log:

$this->bbcode_second_pass_code('', '
Stopping Network Name Resolution...
[ OK ] Stopped Network Name Resolution.
Starting Network Name Resolution...
[FAILED] Failed to start Network Name Resolution.
See "systemctl status systemd-resolved.service" for details.

[root@alarm ~]# systemctl -l status systemd-resolved.service
* systemd-resolved.service - Network Name Resolution
Loaded: loaded (/usr/lib/systemd/system/systemd-resolved.service; enabled; vendor preset: enabled)
Active: failed (Result: start-limit) since Wed 2014-12-10 22:16:59 UTC; 6min ago
Docs: man:systemd-resolved.service(8)
Process: 129 ExecStart=/usr/lib/systemd/systemd-resolved (code=exited, status=1/FAILURE)
Main PID: 129 (code=exited, status=1/FAILURE)

Dec 10 22:16:59 alarm systemd[1]: Failed to start Network Name Resolution.
Dec 10 22:16:59 alarm systemd[1]: Unit systemd-resolved.service entered failed state.
Dec 10 22:16:59 alarm systemd[1]: systemd-resolved.service failed.
Dec 10 22:16:59 alarm systemd[1]: systemd-resolved.service has no holdoff time, scheduling restart.
Dec 10 22:16:59 alarm systemd[1]: Stopping Network Name Resolution...
Dec 10 22:16:59 alarm systemd[1]: Starting Network Name Resolution...
Dec 10 22:16:59 alarm systemd[1]: start request repeated too quickly for systemd-resolved.service
Dec 10 22:16:59 alarm systemd[1]: Failed to start Network Name Resolution.
Dec 10 22:16:59 alarm systemd[1]: Unit systemd-resolved.service entered failed state.
Dec 10 22:16:59 alarm systemd[1]: systemd-resolved.service failed.
[root@alarm ~]#

[root@alarm ~]# ping google.com
ping: unknown host google.com
[root@alarm ~]#

')

As I understand Network Name Resolution does not work, but I do not know what to do to repair it.

Help!

Alexei
alexei2012
 
Posts: 2
Joined: Sun May 03, 2015 2:46 pm

Re: DNS does not work for me.

Postby alexei2012 » Sun May 03, 2015 3:26 pm

Hello, again.

Sorry for the buzz. I used wrong instructions.
Now I got info from
http://archlinuxarm.org/platforms/armv7 ... cubietruck
and everything works OK now.

Thanks for a great job!

Alexei
alexei2012
 
Posts: 2
Joined: Sun May 03, 2015 2:46 pm


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 18 guests