<br><br><div><span class="gmail_quote">On 9/1/06, <b class="gmail_sendername">James P. Kinney III</b> <<a href="mailto:jkinney@localnetsolutions.com">jkinney@localnetsolutions.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Fri, 2006-09-01 at 16:17 -0700, Robert Arkiletian wrote:<br>><br>><br>> On 9/1/06, James P. Kinney III <<a href="mailto:jkinney@localnetsolutions.com">jkinney@localnetsolutions.com</a>> wrote:<br>>         On Fri, 2006-09-01 at 14:08 -0700, Robert Arkiletian wrote:
<br>><br>>         ><br>>         ><br>>         >         Any suggestions?<br>><br>><br>><br>>         TeacherTool is blowing away the folks in Atlanta!<br>><br>>         Watching the look as we launched 23 simultaneous copies of
<br>>         OpenOffice with one button click was priceless!<br>><br>>         The speedup with the IP address only (instead of the hostname)<br>>         I am<br>>           willing to sacrifice in favor of the hostname list and a way
<br>>         to filter<br>>         the list. We are going to have 150-180 thin clients per server<br>>         (Big<br>>         Servers!) and the fun of a teacher accidentally logging out a<br>>         student
<br>>         in another room is not something I want to play with :)<br>><br>><br>> Hmm. This is an issue when you have big servers.  Without doing big<br>> additions to my code :) I have a couple of ideas.
<br>><br>> 1) Not sure if each student has their own username but if they are<br>> just using generic logins like comp1, comp2, comp3, etc then you can<br>> differentiate with usernames like Acomp1, Bcomp1, Ccomp1, etc where
<br>> A,B,C stand for different rooms. Fl_TT will sort alphabetically so all<br>> students in room A will be in one solid block in the list.<br><br>We have a mix of autologon by machine name and individual logon that
<br>will track the student through the school (Middle school kids change<br>classes). So for the most part, sorting by logon name will be a<br>challenge.<br>><br>> 2)I just thought of this but it's kind of tricky since dhcp gives out
<br>> ip's dynamically. If you can manage to tie an ip address to a specific<br>> mac address (client machine) you could potentially make each machine<br>> according to their mac address (and therefore location or classroom)
<br>> start a tiny little program at login that does nothing and takes up<br>> almost no memory. The important aspect would be the name of the<br>> program. Call it "classA" for all computers in room A. I think you get
<br>> the idea. So you could therebye use the FIND button in Fl_TT to select<br>> only those users who are in room A by typing "classA" and hitting<br>> FIND. You could then broadcast, logout, whatever and only affect the
<br>> kids in your room.<br><br>We are doing fixed address dhcp. We have a host name scheme based on<br>room number ans workstation number (i.e. rm114ws05). This is why I was<br>thinking about the filtering ability.</blockquote>
<div><br><br>Ahh. I see. <br></div><br><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">><br>><br>><br>>         I have tweaked the source files and have the hostname back on.
<br>>         If you<br>>         have any suggestions on a best way to implement a filter<br>>         ("show only<br>>         hostnames that begin with foo") I'll look at a patch.<br>><br>> I'm not sure why ip is less useful than hostnames since by default an
<br>> ip of say MailScanner warning: numerical links are often<br>> malicious:<a href="http://192.168.0.252">192.168.0.252</a> translates to ws252.ltsp. Since Fl_TT can't<br>> access another K12LTSP server the .ltsp part of the hostname should
<br>> always be the same.<br><br>Well, the last version I was using (what shipped with K12LTSP v. 5.0.0)<br>had the IP only code and didn't display the host name for the clients.<br>That works for (I can think in hex on good days. I dream in perl. I need
<br>help! :) I was thinking about potentially 4000 teachers seeing dotted<br>quads and having to be trained to see all that in the room. We will be<br>labeling the screen very visibly but text makes more sense to them that
<br>IP addresses.</blockquote><div><br><br>I see your desire for hostnames.<br><br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I was looking at the line that produces the list of machines and took<br>out the "-n" to regain the host names. As the names will be in</blockquote><div><br><br>It's not that simple. putting the -n back in will make things very slow especially if you have many users.
<br>I have just finished modifying 0.34 to give you back your hostnames without the speed penalty. <br>At this point I don't feel this justifies a 0.35 release. Not sure how many people would find this useful. I am just going to send you the code. Compile etc, etc and see how you like it. Let me know how it works for you.
<br><br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">the /etc/hosts file it's a fast enough lookup. So now I'm looking at a<br>
wrapper script that asks for the room number on launch and then uses<br>that to only display machines with that string in it. It's a bit of a<br>kludge as it requires a) a fixed implementation of room number in the<br>host name and b) it requires more input from the teachers on start up.
<br><br>If I can get thin clients in front of the teachers, I can name them in a<br>similar way (rm103ts01) and then the wrapper script can simply read the<br>hostname of the launching system and display the matching clients.
<br><br>Basically the wrapper script just passes the string to the main app that<br>will be used to match the hostnames with. There will be a modification<br>to the actual teachertool to accommodate being passed a variable and to
<br>do a grep on the list. Once I have it working, I'll send a patch.<br>><br>><br>>         Also needed is a way to refresh the machine list without<br>>         having to<br>>         restart the tool.<br>
><br>> Just click on the Users button whenever you want a refreshed list. No<br>> need to restart.<br><br>Ah! Many thanks!<br>><br>><br>>         --<br>>         James P. Kinney III<br>>         CEO & Director of Engineering
<br>>         Local Net Solutions,LLC<br>>         770-493-8244<br>>         <a href="http://www.localnetsolutions.com">http://www.localnetsolutions.com</a><br>><br>>         GPG ID: 829C6CA7 James P. Kinney III ( 
M.S. Physics)<br>>         <<a href="mailto:jkinney@localnetsolutions.com">jkinney@localnetsolutions.com</a>><br>>         Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C<br>>         6CA7<br>>
<br>><br>>         _______________________________________________<br>>         K12OSN mailing list<br>>         <a href="mailto:K12OSN@redhat.com">K12OSN@redhat.com</a><br>>         <a href="https://www.redhat.com/mailman/listinfo/k12osn">
https://www.redhat.com/mailman/listinfo/k12osn</a><br>>         For more info see <<a href="http://www.k12os.org">http://www.k12os.org</a>><br>><br>><br>><br>><br>><br>> --<br>> Robert Arkiletian
<br>> Eric Hamber Secondary, Vancouver, Canada<br>> Fl_TeacherTool <a href="http://www3.telus.net/public/robark/Fl_TeacherTool/">http://www3.telus.net/public/robark/Fl_TeacherTool/</a><br>> C++ GUI tutorial <a href="http://www3.telus.net/public/robark/">
http://www3.telus.net/public/robark/</a><br>> _______________________________________________<br>> K12OSN mailing list<br>> <a href="mailto:K12OSN@redhat.com">K12OSN@redhat.com</a><br>> <a href="https://www.redhat.com/mailman/listinfo/k12osn">
https://www.redhat.com/mailman/listinfo/k12osn</a><br>> For more info see <<a href="http://www.k12os.org">http://www.k12os.org</a>><br>--<br>James P. Kinney III<br>CEO & Director of Engineering<br>Local Net Solutions,LLC
<br>770-493-8244<br><a href="http://www.localnetsolutions.com">http://www.localnetsolutions.com</a><br><br>GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)<br><<a href="mailto:jkinney@localnetsolutions.com">jkinney@localnetsolutions.com
</a>><br>Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7<br><br><br>_______________________________________________<br>K12OSN mailing list<br><a href="mailto:K12OSN@redhat.com">K12OSN@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/k12osn">https://www.redhat.com/mailman/listinfo/k12osn</a><br>For more info see <<a href="http://www.k12os.org">http://www.k12os.org</a>><br><br><br></blockquote></div>
<br><br clear="all"><br>-- <br>Robert Arkiletian<br>Eric Hamber Secondary, Vancouver, Canada<br>Fl_TeacherTool <a href="http://www3.telus.net/public/robark/Fl_TeacherTool/">http://www3.telus.net/public/robark/Fl_TeacherTool/
</a><br>C++ GUI tutorial <a href="http://www3.telus.net/public/robark/">http://www3.telus.net/public/robark/</a>