HDA not serving IP addresses

User avatar
spaceman
Posts: 79
Joined: Sun May 31, 2009 10:08 am

HDA not serving IP addresses

Postby spaceman » Fri Oct 02, 2009 3:49 am

Had some weird power issues (cutting out) in my neighbourhood last night. I said "At this rate we'll be lucky if the server lasts until morning," after bringing it back up for the fourth time (yeah, yeah UPS FTW).

This morning my Windows PC was getting an autoconfig (169...) address and after going through the usual troubleshooting steps I gave it a static IP in the HDA range and VNC'ed on to my server. OK, the server works fine and can browse in web...so this is DHCP related.

Right, first things first:

Code: Select all

# service dhcpd stop # service dhcpd stop Starting dhcpd: [FAILED]
GAH. So second things second I checked /var/log/messages.

Wow, that's long and usually changes on the disk before it all loads. :mrgreen: Right down at the bottom it reported an error on line 20 of /etc/dhcpd.conf:

Code: Select all

... /etc/dhcpd.conf line 20: expecting a parameter or declaration #011max-lease-time ;
OK, when in doubt stick in a valid parameter where there is none and see if you're fixed. So I inserted 86400 (why not?) and this *appears* to have fixed the issue. I have DHCP served IPs anyway.

Wasn't sure where to post this advice, so it's here. Maybe someone will find it useful.
myHDA: TranquilPC BBS ~ Intel Atom D510 1.66 GHz ~ 4GB DDR2 RAM ~ 3TB Data Storage [RAID5]

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: HDA not serving IP addresses

Postby cpg » Fri Oct 02, 2009 11:39 am

hi, this should be fixed by itself after about an hour or two.

we had a major update last night and we briefly screwed it up, though, depending on the caching of yum, it may not fix itself in an hour or two.

most people did not notice: http://bugs.amahi.org/issues/show/322

apologies for this mishap! :oops:

the work-around is there in the bug, though you probably do not need it by now, because the subsequent update took care of things:

Code: Select all

yum clean metadata yum -y update hda-platform
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

User avatar
spaceman
Posts: 79
Joined: Sun May 31, 2009 10:08 am

Re: HDA not serving IP addresses

Postby spaceman » Sun Oct 04, 2009 9:54 am

Oh right, no problem. You guys have done such a great job with Amahi Server that it's a real pleasure to find something to do and I learned a couple of things, which I like. Please temporarily break stuff more often...er, OK maybe not. I'll have to break it myself. :mrgreen:
myHDA: TranquilPC BBS ~ Intel Atom D510 1.66 GHz ~ 4GB DDR2 RAM ~ 3TB Data Storage [RAID5]

Who is online

Users browsing this forum: No registered users and 22 guests