I'm working on a project where we want to remote-control windows boxes via a linux server. It would be nice if we coul ddynamically assign not only IP-addresses but also hostnames. can samba (or anything else) do this? please send a CC of any reply to me directly (f.maibaum@tu-bs.de), as I'm not subscribed to the list. Thanks Felix Maibaum
Hello! Yes there is a tool that updates the nameserver whenever a new dhcp-lease is given out. Download the latest versions of bind and dhcp form www.isc.org The dhcp-server should be able to use bootp (= assign ip adresses with a lot of other parameters like hostname for the machine, dns, wins-server etc etc). The dns-server can be updated automatically as well. Hope this helps, Torsten Kalix Felix Maibaum wrote:> I'm working on a project where we want to remote-control windows boxes > via a linux server. It would be nice if we coul ddynamically assign not > only IP-addresses but also hostnames. > > can samba (or anything else) do this? > > please send a CC of any reply to me directly (f.maibaum@tu-bs.de), as > I'm not subscribed to the list. > > Thanks > > Felix Maibaum
> I'm working on a project where we want to remote-control windows boxes > via a linux server. It would be nice if we coul ddynamically assign not > only IP-addresses but also hostnames. > > can samba (or anything else) do this?I think that there are MS extensions to the dhcp protocol that do this, were they are documented I don't know. Talk to a MS dhcp admin. You could also do this with samba as follows: (this is just theory) 1. in run once put a .bat script into copy //linuxserver/machine/id.reg onto c:\reg\id.reg on boot 2. In autoexec.bat put a call into regedit c:\reg\id.reg 3. On the linux server setup a share as this: [machine] path=/machines/%I 4. Create a set of dirs, one for each ip you use with the file id.reg in which contains the following: (also attached in case formating is eaten) REGEDIT4 [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\VNETSUP] "ComputerName"="My mahcines name" "Workgroup"="My workgroup" "Comment"="Something silly" "StaticVxD"="vnetsup.vxd" "Start"=hex:00 "NetClean"=hex:01 [HKEY_LOCAL_MACHINE\System\CurrentControlSet\control\ComputerName\ComputerName] "ComputerName"="My machines name" -- Tim Fletcher - Network manager .~. /V\ L I N U X nightshade@solanum.net // \\ >Don't fear the penguin< tim@parrswood.manchester.sch.uk /( )\ irc: Night-Shade on quakenet ^^-^^ "A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila." -Mitch Ratliffe, Technology Review April, 1992 -------------- next part -------------- REGEDIT4 [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\VNETSUP] "ComputerName"="laptop-401" "Workgroup"="parrswood" "Comment"="Faculty Laptop" "StaticVxD"="vnetsup.vxd" "Start"=hex:00 "NetClean"=hex:01 [HKEY_LOCAL_MACHINE\System\CurrentControlSet\control\ComputerName\ComputerName] "ComputerName"="laptop-401"