|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Thinstation.hosts issue in TS2.2.2I am new to Thinstation and have searched the posts extensively for my answer to no avail.
I have a working Thinstation build with VMware View Open Client that pulls the IP from a Windows DHCP server and the TFTP from (for the moment) an Ubuntu 9.0.4 station with atftp running as a service. When I start the workstation with PXE boot, the Thinstation pulls successfully from the TFTP server and loads the View client. The issue is the hostname, the client hostname is the MAC of the client station. I have a thinstation.hosts file in /tftpboot and no hostname is configured in my thinstation.network or build.conf files. The hosts file is ignored. The thinstation.hosts was created using gedit on the Ubuntu box and contains only the line for the test station, followed by a carriage return then saved. It is formatted exactly as the thinstation.hosts.sample file including a comment prefaced by #. My thinstation.conf.network and thinstation.conf-<MAC> are likewise ignored. All three files are in /tftpboot and the relevant portion of build.conf is as follows: param defaultconfig thinstation.conf.buildtime param basename thinstation param basepath . /var/log/atftpd.log reports that pxelinux.0, pxelinux.cfg/<IP derivatives> and pxelinux.cfg/default are served. It also reports that /tftpboot/vmlinuz and /tftpboot/initrd are served. No further files are served. /var/log/syslog reports atftpd: SIGTERM received, stopping threads and exiting followed by tftpd.c: 401 SELECT: Interrupted system call and atftpd terminating. Again, the system boots via atftpd into a fully functional VMware View Open Client, other than the specific configs so atftpd itself appears to be functional as all files are pulled via PXE. Assistance is appreciated. |
|
|
Re: Thinstation.hosts issue in TS2.2.2On Thu, Oct 29, 2009 at 6:40 PM, Vikki P <vpapesh@...> wrote:
> > I am new to Thinstation and have searched the posts extensively for my answer > to no avail. > > I have a working Thinstation build with VMware View Open Client that pulls > the IP from a Windows DHCP server and the TFTP from (for the moment) an > Ubuntu 9.0.4 station with atftp running as a service. When I start the > workstation with PXE boot, the Thinstation pulls successfully from the TFTP > server and loads the View client. The issue is the hostname, the client > hostname is the MAC of the client station. I have a thinstation.hosts file > in /tftpboot and no hostname is configured in my thinstation.network or > build.conf files. The hosts file is ignored. > > The thinstation.hosts was created using gedit on the Ubuntu box and contains > only the line for the test station, followed by a carriage return then > saved. It is formatted exactly as the thinstation.hosts.sample file > including a comment prefaced by #. > > My thinstation.conf.network and thinstation.conf-<MAC> are likewise ignored. > All three files are in /tftpboot and the build.conf is as follows: > > param defaultconfig thinstation.conf.buildtime > param basename thinstation > param basepath . > > Assistance is appreciated. At a certain time I did have some trouble with hostname myself too. I have completely forgotten the details but I did this: go to packages/base/etc and edit thinstation.functions. Find the function restart_dhcp () and make it look like this: restart_dhcp () { UPID=`pidof udhcpc` kill -SIGUSR2 $UPID kill -SIGHUP $UPID udhcpc -n -i $DEVICE -C -s /etc/init.d/network_script UPID=`pidof udhcpc` kill -SIGUSR1 $UPID #my version: if [ -n "`echo $NET_HOSTNAME | sed -n '/\*/p'`" ]; then CLIENT_NAME=`echo $NET_HOSTNAME | sed "s/\*/$CLIENT_MAC/"` hostname $CLIENT_NAME else if [ -n "$NET_HOSTNAME" ] ; then hostname $NET_HOSTNAME else hostname $1 fi fi #original: hostname $1 } I have no idea if this will help you, but it is simple to try and easy to undo if not. Mike > -- > View this message in context: http://www.nabble.com/Thinstation.hosts-issue-in-TS2.2.2-tp26117608p26117608.html > Sent from the thinstation-general mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Thinstation-general mailing list > Thinstation-general@... > https://lists.sourceforge.net/lists/listinfo/thinstation-general > -- Thinstation oldtimer http://thinstation.org - a light, full featured linux based thin client OS ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Thinstation-general mailing list Thinstation-general@... https://lists.sourceforge.net/lists/listinfo/thinstation-general |
|
|
Re: Thinstation.hosts issue in TS2.2.2Hmmm...
I though that there was a fix for this with the use of the -C switch on udhcp Relevant files being packages/base/etc/thinstation.functions packages/base/etc/init.d/network I would get the latest versions of these 2 files from SVN and replace those in you current env. Trevor B Quoting Mike Eriksen <thinstation.mike@...>: > On Thu, Oct 29, 2009 at 6:40 PM, Vikki P > <vpapesh@...> wrote: >> >> I am new to Thinstation and have searched the posts extensively for >> my answer >> to no avail. >> >> I have a working Thinstation build with VMware View Open Client that pulls >> the IP from a Windows DHCP server and the TFTP from (for the moment) an >> Ubuntu 9.0.4 station with atftp running as a service. When I start the >> workstation with PXE boot, the Thinstation pulls successfully from the TFTP >> server and loads the View client. The issue is the hostname, the client >> hostname is the MAC of the client station. I have a thinstation.hosts file >> in /tftpboot and no hostname is configured in my thinstation.network or >> build.conf files. The hosts file is ignored. >> >> The thinstation.hosts was created using gedit on the Ubuntu box and contains >> only the line for the test station, followed by a carriage return then >> saved. It is formatted exactly as the thinstation.hosts.sample file >> including a comment prefaced by #. >> >> My thinstation.conf.network and thinstation.conf-<MAC> are likewise ignored. >> All three files are in /tftpboot and the build.conf is as follows: >> >> param defaultconfig thinstation.conf.buildtime >> param basename thinstation >> param basepath . >> >> Assistance is appreciated. > > At a certain time I did have some trouble with hostname myself too. I > have completely forgotten the details but I did this: go to > packages/base/etc and edit thinstation.functions. Find the function > restart_dhcp () and make it look like this: > > > restart_dhcp () > { > UPID=`pidof udhcpc` > kill -SIGUSR2 $UPID > kill -SIGHUP $UPID > udhcpc -n -i $DEVICE -C -s /etc/init.d/network_script > UPID=`pidof udhcpc` > kill -SIGUSR1 $UPID > #my version: > if [ -n "`echo $NET_HOSTNAME | sed -n '/\*/p'`" ]; then > CLIENT_NAME=`echo $NET_HOSTNAME | sed "s/\*/$CLIENT_MAC/"` > hostname $CLIENT_NAME > else > if [ -n "$NET_HOSTNAME" ] ; then > hostname $NET_HOSTNAME > else > hostname $1 > fi > fi > #original: hostname $1 > } > > I have no idea if this will help you, but it is simple to try and easy > to undo if not. > > Mike > > >> -- >> View this message in context: >> http://www.nabble.com/Thinstation.hosts-issue-in-TS2.2.2-tp26117608p26117608.html >> Sent from the thinstation-general mailing list archive at Nabble.com. >> >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart your >> developing skills, take BlackBerry mobile applications to market and stay >> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >> http://p.sf.net/sfu/devconference >> _______________________________________________ >> Thinstation-general mailing list >> Thinstation-general@... >> https://lists.sourceforge.net/lists/listinfo/thinstation-general >> > > > > -- > Thinstation oldtimer > http://thinstation.org > - a light, full featured linux based thin client OS > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Thinstation-general mailing list > Thinstation-general@... > https://lists.sourceforge.net/lists/listinfo/thinstation-general > Trevor B +------- Thinstation Developer http://thinstation.org ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Thinstation-general mailing list Thinstation-general@... https://lists.sourceforge.net/lists/listinfo/thinstation-general |
|
|
Re: Thinstation.hosts issue in TS2.2.2Thank you. I've checked my build server, and the two files referenced below do include udhcp .... -C switch.
Perhaps there is a configuration issue in my atftp? Can anyone suggest a link or some troubleshooting steps to ensure tftp and mtftp are running properly?
|
| Free embeddable forum powered by Nabble | Forum Help |