Hi Massimo,
I had the same problem and solved it by:
creating  cmd-Application with: sudo mount -t cifs //IPXYZ/otcmount
/var/tmp -o user=otc
creating cmd-Application with:sudo bash /var/tmp/./script.sh

here is the script:

#####send dns update
ADDR=`ifconfig | grep inet | grep -v 127 | cut -d: -f2| cut -d " " -f1`
HOST=`hostname`
ALIAS=.ALIASXYZ
HOST=$HOST$ALIAS
echo "server DNS-IP" > /var/tmp/$HOST.txt
echo "update add $HOST 259200 A $ADDR" >> /var/tmp//$HOST.txt
echo "send" >> /var/tmp//$HOST.txt

sudo nsupdate /var/tmp/$HOST.txt

it writes a txt-file to the cifs-mount.share and sends the hostname to the
dns-server. it works perfectly for me.



2014-06-25 12:10 GMT+02:00 Jörn Frenzel <j.fren...@openthinclient.com>:

>
> There is no standard way to switch this modes. But i would like to add some
> instructions to our documentation.
>
> Shouldn't we start with the mode you actual need?
> a), b),c) ?
>
> Am 25.06.2014 11:57, schrieb Massimo Balestrieri:
> > Hi,
> > thank you
> > But How can I switch to those modality?
> >
> >
> >
> > Jörn Frenzel <j.fren...@openthinclient.com
> > <mailto:j.fren...@openthinclient.com>> ha scritto:
> >
> >> Hi Massimo,
> >>
> >> openthinclient does not use the the programm dhcpclient. It uses udhcp
> in
> >> the init process.
> >>
> >> There are multilpe ways to get and/or update the hostname in the DNS.
> What
> >> do you want to do?
> >>
> >> a) Obtain the client name from the openthinclient manager and update
> this
> >> name to your DNS (triggered by the client).
> >>
> >> b) Let the client obtain its name from the DHCP server and update this
> name
> >> to your DNS (triggered by the client).
> >>
> >> c) Let the DHCP server update the client name to your DNS without
> >> interaction of the client.
> >>
> >> Regards, Jörn
> >>
> >> Am 25.06.2014 09:41, schrieb Massimo Balestrieri:
> >>
> >>> Hi,
> >>> Openthinclient 2 base.sfs the dhcpclient is not installed and when it
> gets
> >>> the address don't send hostname to dhcp for update dns
> >>>
>
>
> ------------------------------------------------------------------------------
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> _______________________________________________
> The Open Source Thin Client Solution http://openthinclient.org
> openthinclient-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openthinclient-user
>



-- 
mfg

Erik
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
The Open Source Thin Client Solution http://openthinclient.org
openthinclient-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openthinclient-user

Reply via email to