Re: Fwd: Need Help with Etherboot UDP

Anselm Martin Hoffmeister <[email protected]> Sat, 26 Nov 2005 17:38:05 +0100
Newsgroups gmane.network.etherboot.devel
Message-ID <[email protected]>
> > From: Coach Basti <[email protected]>
> > Date: November 26, 2005 5:28:32 AM EST
> > To: "[email protected]" <etherboot- 
> > [email protected]>
> > Subject: Need Help with Etherboot UDP
> >
> > I am using etherboot on LTSP, and i'm editing lines of code in  
> > nic.c because it seems to contain all the await_X functions of  
> > etherboot( ie await_tcp, await_bootp, and many more)
> > can anyone tell me, in detail, what happens to the nic struct after  
> > await_reply.
> >
> > The bigger picture is I am trying to make the client that is  
> > running on etherboot to await a reply from an external application  
> > on my LTSP server using UDP. I want to control which clients can  
> > proceed to connect to my server.
> > I plan to make the client wait for a specific reply like "/ 
> > continue". when they receive this only then could they proceed with  
> > the rest of the boot up procedure. However, our client only seems  
> > to receive junk. I think that I may be looking in the wrong place  
> > or wrong variable for the message.
> > I am doing this to give the server a few seconds to check whether  
> > it can handle another client or not. I desperately need help. I am  
> > at my wit's end here.

I'd recommend making use of Etherboot's ability to download files from
http. The fact that most webservers support some kind of scripting comes
in handy there.... :-)

If you compile in HTTP support and then let etherboot load some filename
like "http://192.168.0.1/ltsptest.php", having that contain the logic to
tell wether another client is OK or not, you'd have all the means of
regular PHP scripting on your fingertips.

BR
Anselm



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click