Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Jim Danvers on November 01, 2003, 10:15:21 PM

Title: DHCP clients / 6.0 / pc-XXX naming
Post by: Jim Danvers on November 01, 2003, 10:15:21 PM
Folks...

Question:  Anyone know if / how to get 6.0 boxes to assign client machines on the lan interface to use thier ~hostname~ vs. what appears to be an SME/dhcp server generated (generic) pc-001 style name??

I did a little searching in here first (I know the rules!  ;) ) and came up with a few threads - these two in particular:

http://forums.contribs.org/index.php?topic=18271.msg71709#msg71709
http://forums.contribs.org/index.php?topic=18271.msg71709#msg71709

...   Shad Lords contrib (dhcp v3) seems to be the way to go for this w/5.6 - anyone know if it'll work w/6.0?  Or is it not supposed to be an issue w/6.0?  I'm running a real basic setup in here - sme 6.0 box as server/gateway, standard 192.168.x.x addressing, and handing out addresses to internal side machines via dhcp.  The pc-xxx thing is most noticable when ssh'ing into one of my servers...  it always tells me that I was last logged on from pc-xxx....   ;(  If I want to do some cursory log checking of who else may have been logged on using 'last' for instance...  I also get this style listing of names.  I would like to be able to see the real host names of machines.  ;)

Thanks...

-=- jd -=-

(  I'll mosey on over to Shad's place to see if there is any note / update about it working w/6.0 or not...   )  (( but will look for followups here too!! ))
Title: Re: DHCP clients / 6.0 / pc-XXX naming
Post by: Jim Danvers on November 01, 2003, 10:48:56 PM
( ...talking to myself....   )

'K - I just went to Shad's house at http://lordsfam.net/search.php?query=dhcp&type=all&mode=search and grabbed to e-smith rpm and just closed my eyes and 'installed' it (rpm -Uvh filename).  No dice....  actually it broke my dhcp server.  ( wouldn't restart....  )  Fortunately a rpm -e filename seems to have taken me back to square one (I have yet to reboot the box) but the dhcp server does stop and restart ok now after un-installing - so I'm ~assuming~ that all is ok.  How about a 'readme' or how-to on the contrib maybe??

.... back to looking around.  Fortunately I'm playing on a 6.0 box that I can blow up!

-=- jd -=-
Title: Re: DHCP clients / 6.0 / pc-XXX naming
Post by: Graeme Fleming on November 02, 2003, 09:02:57 AM
I have just what your looking for but I can't remember where I got it from :-(

It is written by: Thierry Quaak (aka kikiche) and Sebastien Dacquin (aka sdak)

It consists of:

#              - wol-0.6.0-3.i386.rpm
#   - perl-Net-Ping-2.24-1.i386.rpm
#   - e-smith-dhcpmanager-.noarch.rpm

If you want it I can email it to you (34k Zip file).  Let me know off list to save clutter.  Respond on list if it does the deed.

HTH
Title: Re: DHCP clients / 6.0 / pc-XXX naming
Post by: wildkow on November 02, 2003, 10:33:59 PM
# This tool help you to manage your dhcp clients over the network.
#
# Requires
# --------
# You need
#   - wol-0.6.0-3.i386.rpm - wol (Wake On Lan)
#   - perl-Net-Ping-2.24-1.i386.rpm - The perl librairie to process Ping
#   - e-smith-dhcpmanager-.noarch.rpm - the e-smith contrib
#
# Installation
# ------------
# during the installation of wol, you'll receive some injurial warning
# about a non existant user called 'duke'.
Hi Guys try this.

http://www.developit.fr/FichePratique/SMEServer/




# Ignore the warning. It is still working with it ;)

rpm -Uvh wol-0.6.0-3.i386.rpm
rpm -Uvh perl-Net-Ping-2.24-1.i386.rpm
rpm -Uvh e-smith-dhcpmanager-.noarch.rpm

#
# Where to go
# -----------
# Go in the server manager of you SME box : http://:980
# You will find a new section in "Configuration" called "DHCP client manager"
#
# Then follow the links.
#
# Attention :  Be patient, the grid can take several seconds to appear because
# we have to perform a ping on all the computers !
#
# Thierry Quaak (aka kikiche) and Sebastien Dacquin (aka sdak)
Title: Re: DHCP clients / 6.0 / pc-XXX naming
Post by: Anthony on November 03, 2003, 12:46:08 PM
That dhcp manager panel is the best thing since sliced bread.

Absolutely  top work.

Installed it on 6b3 without problem and rearranged the server-manager list with:

/etc/e-smith/events/actions/navigation-conf
Title: Re: DHCP clients / 6.0 / pc-XXX naming
Post by: Dennis on November 10, 2003, 05:51:45 PM
I am sure interested in the zip with the packages, i can't find them all.