Accessing Amahi web-based services with DHCP turned off?

cyynic
Posts: 4
Joined: Sun Apr 18, 2010 7:49 pm

Accessing Amahi web-based services with DHCP turned off?

Postby cyynic » Sat Dec 01, 2012 6:19 am

I have been using Amahi for a few years now, and have run into a problem. I have disabled to DHCP services and instead point the home router to 192.168.1.10 as the primary DNS lookup (I set things up this way due to brown-outs, and when the server shut-down the entire network was crippled, leaving my wife without the internet a number of times until i could get things running again) Since moving to this new house my laptop (running ubuntu 12.04) has been connecting to the network wirelessly and this has caused an issue to crop up:

When the laptop sleeps/hibernates it disconnects from the network, upon wake up, if I attempt to load any web-pages for amahi services before the wireless connection is reestablished the first DNS lookup fails and the router tries the second choice OpenDNS. once this choice resolves I am locked out of my amahi services that use *.home.com. I can fix this by rebooting my laptop, but that seems like a frustrating solution when I can still connect to the server in other ways (192.168.1.10 still allows me to admin the server, I can still map drives, etc.).

Is there a way to change the server behaviour so I can access my services without using the *.home.com format? can I access services with the actual server address? 192.168.1.10/* for example? so DNS doesn't come into it? is there a config file i can edit without breaking everything? :)

Thank you in advance,

Cyynic

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

Re: Accessing Amahi web-based services with DHCP turned off?

Postby bigfoot65 » Sat Dec 01, 2012 7:47 am

Have you tried pointing your router to the HDA for DNS? Also a reboot should not be needed when this occurs. Maybe try release/renew the IP and see if that works.
ßîgƒσστ65
Applications Manager

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

cyynic
Posts: 4
Joined: Sun Apr 18, 2010 7:49 pm

Re: Accessing Amahi web-based services with DHCP turned off?

Postby cyynic » Sat Dec 01, 2012 1:51 pm

I have set up my router to point the the HDA as my first DNS lookup, but because of my open tabs and the laptop hibernating, when it wakes up there is a delay before laptop connects to the network, and it regularly misses the DNS lookup to the HDA and moves on to the second choice in the list (OpenDNS). This happens almost daily. But laptop can still see the HDA by IP, so I was wondering if it would be possible to access the web services by IP address, bypassing my DNS problem.

Cyynic

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

Re: Accessing Amahi web-based services with DHCP turned off?

Postby bigfoot65 » Sat Dec 01, 2012 3:50 pm

At this point I would say no. Amahi always uses the FQDN for apps, so there is no way to do 1.192.1.x/appname. In Amahi 7, we hope to have that feature implemented, but as of now it's gonna be tough.

The only thing I can think of is maybe adding custom URLs to OpenDNS profile that might allow it to still access the HDA without the IP. This is one of those conundrums that is not easily solved.

Having multiple DNS for the HDA can cause issues. You really should only have 1 and that may be part of why you are having issues. Have you tried that? My laptop sleeps and I never have problems accessing the HDA when it wakes.
ßîgƒσστ65
Applications Manager

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

cyynic
Posts: 4
Joined: Sun Apr 18, 2010 7:49 pm

Re: Accessing Amahi web-based services with DHCP turned off?

Postby cyynic » Sat Dec 08, 2012 11:34 am

ok, i'll pull my second DNS entry from my router and see if that fixes things. where in the HDA do I go to tell it where to look out on the internet for DNS?

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

Re: Accessing Amahi web-based services with DHCP turned off?

Postby bigfoot65 » Sat Dec 08, 2012 11:58 am

ßî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 14 guests