How about this:

thinserver:
User turns it on with button #1 pressed.  Thinserver displays:
mac=aabbccddeeff ip?

windows box (or Linux):
User drops to a command prompt and types
arp -s the.ip.address.chosen aabbccddeeff
ping the.ip.address.chosen

thinserver:
Just like James said: the thinserver watches for it's MAC address and sets
the IP address to the first matching packet (presumably the PING).  Voila,
your eth is up with the correct IP, so your web based interface now works.

John Lombardo

>
> Thanks for the suggestions so far from both James and Wolfgang, but let me
> explain in further detail what i'm looking for. The 'thinserver' i'm
> creating doesn't have a monitor or keyboard. It has 2 buttons on the front
> and a small 2x20 lcd screen. If there is a dhcp server available.. that's
> great and i intend to use it. The problem arises when there is no dhcp
> server available on the network. All the configuration for the
> thinserver is
> done via a webbased interface. The problem is how do you get that first IP
> address configured on the box. Once it has an IP address, then you can
> telnet, use the webbased interface, etc. So.. what i need to do is either
> create an 'setup' mode on the box to somehow manually configure the IP
> address by using the 2 buttons on the front panel or figure out how to set
> the ip address from a remote pc on the network. I'd rather do the
> later if i
> can figure out how to do it.
>
> -Andy
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of James Oakley
> > Sent: Wednesday, December 13, 2000 12:21 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: arp for setting IP address
> >
> >
> > *** PGP Signature Status: unknown
> > *** Signer: Unknown, Key ID = 0x1E61DDF2
> > *** Signed: 12/13/00 12:20:36 PM
> > *** Verified: 12/13/00 1:28:05 PM
> > *** BEGIN PGP VERIFIED MESSAGE ***
> >
> > On December 13, 2000 09:39 am, you wrote:
> > > Does anyone know how to assign the ip address of a linux box
> > from a remote
> > > workstation using arp?? I've seen webcams do this so i know its
> > possible.
> > > One suggestion i've seen is to assign the box a 'fake' random
> > address like
> > > 10.255.1.48 or whatever and use tcpdump to watch for MAC
> > addresses.. If the
> > > box sees its own MAC address, it sets its IP address to
> > whatever is being
> > > queried. The remote workstation would use something like
> > > arp -s [real ip address] [MAC address of linux box]
> > > and then to initiate the query..
> > > ping [real ip address]
> >
> > There are a couple of utilities:
> >
> > http://www.fefe.de/divine/
> > http://freshmeat.net/projects/intuitively/
> >
> > Intuitively looks cooler, but I haven't tried either. They autoconfigure
> > themselves, but you could possibly hack one of them to set up
> > based on the
> > ping you do.
> >
> > --
> > James Oakley
> > Engineering - SolutionInc Ltd.
> > [EMAIL PROTECTED]
> > http://www.solutioninc.com
> >
> > *** END PGP VERIFIED MESSAGE ***
> >
> > --
> > To unsubscribe from this list, send a message to [EMAIL PROTECTED]
> > with the command "unsubscribe linux-embedded" in the message body.
> > For more information, see <http://waste.org/mail/linux-embedded>.
> >
>
>
> --
> To unsubscribe from this list, send a message to [EMAIL PROTECTED]
> with the command "unsubscribe linux-embedded" in the message body.
> For more information, see <http://waste.org/mail/linux-embedded>.
>


--
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the command "unsubscribe linux-embedded" in the message body.
For more information, see <http://waste.org/mail/linux-embedded>.

Reply via email to