Network Troubleshooting Step 7 failing [SOLVED]

SebaD
Posts: 34
Joined: Fri May 20, 2011 2:44 am

Network Troubleshooting Step 7 failing [SOLVED]

Postby SebaD » Tue Jun 28, 2011 10:03 pm

Hello.
I'm trying to install Amahi.
Initially I disabled DNS and DHCP servers, and since it was not working I tried to reinable them and not they are still not working.
Using the recommended troubleshooter I get the below:

Step 1: Your HDA IP address is 192.168.1.1
Step 2: Your HDA domain name is SebaD.yourhda.com
Step 3: Your router IP address is 192.168.1.1
Step 4: Your HDA DNS server is working fine for local hostnames.
Step 5: Your router is accessible from your HDA server.
Step 6: You can access the internet (ping test successful).
Step 7: Your HDA DNS server is NOT working fine for external hostnames.

[root@SebaHDA ~]# ping -c 1 amahi.org
ping: unknown host amahi.org
[root@SebaHDA ~]# service named status
version: 9.7.2-P2-RedHat-9.7.2-2.P2.fc14
CPUs found: 2
worker threads: 2
number of zones: 3
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is OFF
recursive clients: 0/0/1000
tcp clients: 0/100
server is up and running
named (pid 1976) is running...
[root@SebaHDA ~]# cat /etc/named.conf
# automatically generated file by hdactl
options {
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
forward only;
forwarders { 192.168.1.15; 192.168.1.1; };
listen-on port 53 { 192.168.1.15; 127.0.0.1; };
allow-query { trusted; };
};
acl "trusted" {
localhost;
10.8.0.0/24;
192.168.1.0/24;
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
key "ddnskey" {
algorithm hmac-md5;
secret "8zaPJsiw9tOh2JFv4xiArw==";
};

view "internal" {
match-clients { trusted; };
match-destinations { trusted; };

zone "dragonlair" IN {
type master;
notify no;
file "dynamic/hda-n2a.conf";
allow-update { key ddnskey; };
check-names ignore;
};

zone "1.168.192.in-addr.arpa" IN {
type master;
notify no;
file "dynamic/hda-a2n.conf";
allow-update { key ddnskey; };
check-names ignore;
};



# NOTE, you can create a file /etc/named.conf.local and it will be automatically included here!
# WARNING - you better not break the format though!
};

[root@SebaHDA ~]# nslookup amahi.org
;; Got SERVFAIL reply from 192.168.1.15, trying next server
Server: 192.168.1.15
Address: 192.168.1.15#53

*** Can't find amahi.org: No answer

[root@SebaHDA ~]# nslookup amahi.org 208.67.222.222
Server: 208.67.222.222
Address: 208.67.222.222#53

Non-authoritative answer:
Name: amahi.org
Address: 72.249.190.156

[root@SebaHDA ~]# traceroute -q 1 208.67.222.222
traceroute to 208.67.222.222 (208.67.222.222), 30 hops max, 60 byte packets
1 dragonlair (192.168.1.1) 0.112 ms
2 192.168.0.1 (192.168.0.1) 1.808 ms
3 195.186.54.126 (195.186.54.126) 19.253 ms
4 195.186.54.210 (195.186.54.210) 23.385 ms
5 195.186.20.157 (195.186.20.157) 23.506 ms
6 213.3.246.141 (213.3.246.141) 24.517 ms
7 213.3.246.141 (213.3.246.141) 24.677 ms
8 213.3.246.17 (213.3.246.17) 25.029 ms
9 195.186.0.202 (195.186.0.202) 24.824 ms
10 138.187.130.253 (138.187.130.253) 29.158 ms
11 138.187.129.110 (138.187.129.110) 45.790 ms
12 195.66.224.138 (195.66.224.138) 44.627 ms
13 129.250.5.234 (129.250.5.234) 45.544 ms
14 83.231.146.198 (83.231.146.198) 46.288 ms
15 *
16 *
17 *
18 *
19 *
20 *
21 *
22 *
23 *
24 *
25 *
26 *
27 *
28 *
29 *
30 *
Last edited by SebaD on Thu Jun 30, 2011 12:58 am, edited 1 time in total.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Network Troubleshooting Step 7 failing

Postby bigfoot65 » Wed Jun 29, 2011 4:41 am

Hello,

To obtain maximum functionality of Amahi, it's best to have the DHCP and DNS enabled.

Based on your issue, a reboot of the HDA may be required. Also keep in mind that any client will either need to be rebooted or have the DHCP lease renewed in order to pick up the HDA provided DHCP lease.

Can you provide any info from the install log? Ensure the HDA IP and gateway you entered on amahi.org are the same as your network.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

SebaD
Posts: 34
Joined: Fri May 20, 2011 2:44 am

Re: Network Troubleshooting Step 7 failing

Postby SebaD » Wed Jun 29, 2011 4:58 am

Hi,
I can buy the reasons for the DNS server but the DHCP is doing fine with my router.
According to the documentation I can do that (DNS on, DHCP off). Is this correct?

How and from where can I find the installation log?

Cheers
Seba

User avatar
radioz
Posts: 406
Joined: Tue Nov 24, 2009 1:07 pm

Re: Network Troubleshooting Step 7 failing

Postby radioz » Wed Jun 29, 2011 11:50 am

I don't know if this is your problem, but:
Step 1: Your HDA IP address is 192.168.1.1
...
Step 3: Your router IP address is 192.168.1.1
looks like a problem. Your hda IP address should be different from the router.
I would suggest changing it to something like 192.168.1.10 and try it again.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Network Troubleshooting Step 7 failing

Postby bigfoot65 » Wed Jun 29, 2011 7:36 pm

Good catch radioz. That is a problem. Router and HDA cannot be the same IP. Amahi will work with DHCP off and DNS on providing you turn DNS off on the router or point it to the HDA for DNS.

The install log is typically in root home dir. Open terminal window and become root user. It should be there.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

SebaD
Posts: 34
Joined: Fri May 20, 2011 2:44 am

Re: Network Troubleshooting Step 7 failing

Postby SebaD » Thu Jun 30, 2011 12:58 am

Thank you guys.
After a new clean installation works fine.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Network Troubleshooting Step 7 failing [SOLVED]

Postby bigfoot65 » Thu Jun 30, 2011 4:56 am

Awesome. Was the IP addresses the problem?
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

SebaD
Posts: 34
Joined: Fri May 20, 2011 2:44 am

Re: Network Troubleshooting Step 7 failing [SOLVED]

Postby SebaD » Thu Jun 30, 2011 5:05 am

I don't know. Re-installed from scratch...
Sometimes it is not worth the time...

Who is online

Users browsing this forum: No registered users and 23 guests