SOLVED: Impossible to complete Amahi installation - can access internet but no websites? DNS problem?

edecal
Posts: 9
Joined: Fri Feb 27, 2015 12:23 pm

SOLVED: Impossible to complete Amahi installation - can access internet but no websites? DNS problem?

Postby edecal » Fri Feb 27, 2015 12:32 pm

Hello,

I am trying to install Amahi 7 (Fedora 19) on a home server. The express disk seems to have run fine. I’m able to access /hda from a client on my network. However in the application section it says “there are no applications available at this time”. Also on https://www.amahi.org/users my status is still “waiting install”. The server managed to give a DHCP lease to one of my client pc, but with this new IP address the pc can’t browse the internet anymore.

Therefore it seems my server can’t access the outside world… So I ssh into my server and try to run some checks I read here https://wiki.amahi.org/index.php/Dnsmas ... leshooting. Ping router is OK, Dnsmasq service is running fine. I can ping the DNS server 208.67.222.222 (which is mentioned in /etc/dnsmasq.d/amahi-dns.conf). However whereas I can ping 46.228.47.114 I have no response from yahoo.com.

So it seems I can access the outside world but not based on DNS addresses? I tried switching from OpenDNS to Google Public DNS & rebooting the server but this makes no difference…

Is this a problem with my DNS server? Or is it related to the fact I’ve entered 192.168.1.10 as IP for the server during the Amahi install, whereas the current IP is still 192.168.1.4 (given by my router’s DHCP server)?

Thanks a lot for your help!!

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

Re: Impossible to complete Amahi installation - can access internet but no websites? DNS problem?

Postby bigfoot65 » Fri Feb 27, 2015 12:51 pm

Did you disable DHCP and DNS on your router? Amahi HDA provides the service.
ßîgƒσστ65
Applications Manager

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

edecal
Posts: 9
Joined: Fri Feb 27, 2015 12:23 pm

Re: Impossible to complete Amahi installation - can access internet but no websites? DNS problem?

Postby edecal » Sat Feb 28, 2015 10:50 am

On my router I have two “Network Interfaces”: LAN Bridge and WAN PPPoE
* On the LAN Bridge I switch off the DCHP and leave the Primary DNS Server and Secondary DNS Server fields to 0.0.0.0
* On the WAN PPPoE I leave the DNS Server to Obtain DNS Address Automatically. I tried switching it to Use following DNS Server Addresses and leaving the Primary DNS Server and Secondary DNS Server fields to 0.0.0.0 --> but when I do this the router starts rebooting every 30 seconds

I did solve my first problem of not being able to access URLs from the amahi server.
I added my preconfigured Amahi IP address by running: ip addr add 192.168.1.10 dev p2p1
Then I restarted hda-ctl because resolv.conf wasn’t looking right: systemctl restart hda-ctl.service

Now my clients can get an IP address from my Amahi DHCP and are able to access the internet (so the Amahi DNS is working).

However, on https://www.amahi.org/users my Status is still Waiting Install... and on /hda I still read There are no applications available at this time

Can this be due to the fact 192.168.1.10 is only a "secondary" IP address?

Code: Select all

ip addr show
gives the following:
inet 192.168.1.2/24 brd 192.168.1.255 scope global p2p1
inet 192.168.1.10/24 scope global secondary p2p1

Thanks ahead for your help!

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

Re: Impossible to complete Amahi installation - can access internet but no websites? DNS problem?

Postby bigfoot65 » Sat Feb 28, 2015 11:03 am

Ok so you are getting closer.

The status on amahi.org may be unrelated to your current issue. BTW, to access the HDA dashboard it's http://hda and should prompt you for a login.

Recommend you consult the network troubleshooting guidance.
ßîgƒσστ65
Applications Manager

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

edecal
Posts: 9
Joined: Fri Feb 27, 2015 12:23 pm

Re: Impossible to complete Amahi installation - can access internet but no websites? DNS problem?

Postby edecal » Sun Mar 01, 2015 10:45 am

I feel I'm taking one step ahead then one backwards... As explained in my previous post, my clients seemed to be running fine, but suddenly this morning none of the clients could access the network anymore! so I had to do a hard reset my router, so that the router DHCP would run again and I could start over trying to set up my Amahi server...

After reboot, nothing was working on my hda (couldn't ping hda, nor internet). I solved this issue by restarting hda-ctl so that resolv.conf would look fine and then adding manually my preconfigured hda IP addres (192.168.1.10)

Code: Select all

ip addr add 192.168.1.10 dev p2p1 systemctl restart hda-ctl.service
After doing this, I was able to execute every step on: https://wiki.amahi.org/index.php/Networ ... leshooting
I also tried http://www.amahi.net/amahi7interactive.html -> the only part not looking right is the "Name" below, repeating twice ehome
[root@new-host ~]# nslookup hda.ehome
Server: 192.168.1.10
Address: 192.168.1.10#53

Non-authoritative answer:
Name: hda.ehome.ehome.com
Address: 69.195.198.25


Could this be the cause for my persisting problems:
* on http://hda.ehome.com/tab/apps it still says no applications available and on https://www.amahi.org/users I'm still in status Waiting Install
* I'm not confident with my preconfigured hda IP being added manually by myself... should'nt this be set automatically? maybe that's why this morning suddenly no clients could access the network anymore?
?

Thans ahead for your help!

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

Re: Impossible to complete Amahi installation - can access internet but no websites? DNS problem?

Postby bigfoot65 » Sun Mar 01, 2015 11:34 am

Yes the HDA IpP should be set automatically. If you set it anywhere manually, that might cause issues.

With the lack of connectivity for apps, makes me think the install was not successful.

Check the log file located in /root directory for errors.
ßîgƒσστ65
Applications Manager

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

edecal
Posts: 9
Joined: Fri Feb 27, 2015 12:23 pm

Re: Impossible to complete Amahi installation - can access internet but no websites? DNS problem?

Postby edecal » Wed Mar 04, 2015 1:15 pm

I've pasted my full "hda-install-150208-165507.log" here -> http://pastebin.ubuntu.com/10530468/

Although it gets through to "Amahi installed successfully! Please reboot it!", there do seem to be some errors:
------
Failed to issue method call: Unit yum-updatesd.service not loaded.
sh: killall: command not found
sh: killall: command not found
------
Failed to issue method call: No such file or directory
Failed to issue method call: Unit gpm.service not loaded.
Failed to issue method call: No such file or directory
Failed to issue method call: Unit hplip.service not loaded.
Failed to issue method call: No such file or directory
Failed to issue method call: Unit isdn.service not loaded.
Failed to issue method call: No such file or directory
Failed to issue method call: Unit kudzu.service not loaded.
rm '/etc/systemd/system/multi-user.target.wants/sendmail.service'
rm '/etc/systemd/system/multi-user.target.wants/sm-client.service'
Failed to issue method call: No such file or directory
Failed to issue method call: Unit yum-updatesd.service not loaded.
Failed to issue method call: No such file or directory
Failed to issue method call: Unit dhcrelay.service not loaded.
Failed to issue method call: No such file or directory
Failed to issue method call: Unit ldap.service not loaded.
------

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

Re: Impossible to complete Amahi installation - can access internet but no websites? DNS problem?

Postby bigfoot65 » Wed Mar 04, 2015 2:56 pm

Yea almost looks like there was a connectivity problem which would prevent some packages from getting installed. I am afraid the only simple solution is to start over with install.

There are so many variables with failed installs. Recommend you carefully follow the instructions on http://docs.amahi.org. Also ensure ONLY one network card is enabled. If you have two, verify one is disabled.
ßîgƒσστ65
Applications Manager

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

edecal
Posts: 9
Joined: Fri Feb 27, 2015 12:23 pm

Re: Impossible to complete Amahi installation - can access internet but no websites? DNS problem?

Postby edecal » Thu Mar 05, 2015 2:19 pm

Mhh.. I could install again but that would be my third attempt already

I tried to check your "more than one NIC" question and had in fact not noticed I have two ethernet ports on the back of my server (it's an HP Proliant G7 N54L). The second one lights up when I plug in an ethernet cable, but doesn't allow me to access the internet...

I went into my BIOS hoping to switch off a "network interface" as you recommend, but I only see the following two options:
“Embedded NIC port 1 control = [Enabled/Disable]”
“Wake-on LAN = [Enable/Disable]”

Any ideas?

Thanks a lot!!

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

Re: Impossible to complete Amahi installation - can access internet but no websites? DNS problem?

Postby bigfoot65 » Thu Mar 05, 2015 5:26 pm

Did you try disabling in BIOS and see if that helps? If not easy enough to enable.
ßîgƒσστ65
Applications Manager

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

Who is online

Users browsing this forum: No registered users and 31 guests