* [U-Boot-Users] bootp/dhcp
@ 2003-06-11 15:10 Gupta, Kshitij
2003-06-11 15:23 ` Marc Singer
0 siblings, 1 reply; 5+ messages in thread
From: Gupta, Kshitij @ 2003-06-11 15:10 UTC (permalink / raw)
To: u-boot
hi,
Can we send the bootp/dhcp requests over a LAN (which already has a
DHCP) with u-boot. Since when I read the description of u-boot in the book
"Building Embedded Linux systems" , it explains that I should connect my
board to a standalone linux machine using a crosscable and then I must
configure the DHCP and TFTP services.
But instead what I am planning to do is that if I connect my board to a
corporate LAN then it can get an IP address from a DHCP server.
Has anyone done this before with u-boot???
regards
-kshitij
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] bootp/dhcp
2003-06-11 15:10 [U-Boot-Users] bootp/dhcp Gupta, Kshitij
@ 2003-06-11 15:23 ` Marc Singer
0 siblings, 0 replies; 5+ messages in thread
From: Marc Singer @ 2003-06-11 15:23 UTC (permalink / raw)
To: u-boot
That advice is for the paranoid. You can put your embedded dev board
on a network with other machines, including a DHCP server, as long as
the address you get from the server will satisfy your needs. There
are ways of coercing the DHCP server to deliver a special DHCP
response for your machine. In the case of the 'corporate' network,
you may not have the option to twiddle the DHCP configuration.
On Wed, Jun 11, 2003 at 08:40:00PM +0530, Gupta, Kshitij wrote:
> hi,
> Can we send the bootp/dhcp requests over a LAN (which already has a
> DHCP) with u-boot. Since when I read the description of u-boot in the book
> "Building Embedded Linux systems" , it explains that I should connect my
> board to a standalone linux machine using a crosscable and then I must
> configure the DHCP and TFTP services.
> But instead what I am planning to do is that if I connect my board to a
> corporate LAN then it can get an IP address from a DHCP server.
> Has anyone done this before with u-boot???
> regards
> -kshitij
>
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by: eBay
> Great deals on office technology -- on eBay now! Click here:
> http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] bootp/dhcp
@ 2003-06-11 15:50 Gupta, Kshitij
2003-06-11 16:26 ` Marc Singer
0 siblings, 1 reply; 5+ messages in thread
From: Gupta, Kshitij @ 2003-06-11 15:50 UTC (permalink / raw)
To: u-boot
hi,
but the idea is to get a dynamic ip address, why do we need to
change the DHCP server settings to give a special DHCP response to our
machine. I have seen this happening with the linux kernel. The kernel also
requests for a ip address using DHCP and then uses that ip address.
Since an ideal way for a bootup is that I connect my device to the network,
get and dynamic ip address and download the kernel from a remote machine.
This might be paranoid but is it possible with u-boot currently...???
regards
-kshitij
-----Original Message-----
From: Marc Singer [mailto:elf at buici.com]
Sent: Wednesday, June 11, 2003 8:53 PM
To: Gupta, Kshitij
Cc: 'u-boot Mailing List'
Subject: Re: [U-Boot-Users] bootp/dhcp
That advice is for the paranoid. You can put your embedded dev board
on a network with other machines, including a DHCP server, as long as
the address you get from the server will satisfy your needs. There
are ways of coercing the DHCP server to deliver a special DHCP
response for your machine. In the case of the 'corporate' network,
you may not have the option to twiddle the DHCP configuration.
On Wed, Jun 11, 2003 at 08:40:00PM +0530, Gupta, Kshitij wrote:
> hi,
> Can we send the bootp/dhcp requests over a LAN (which already has a
> DHCP) with u-boot. Since when I read the description of u-boot in the
book
> "Building Embedded Linux systems" , it explains that I should connect my
> board to a standalone linux machine using a crosscable and then I must
> configure the DHCP and TFTP services.
> But instead what I am planning to do is that if I connect my board to a
> corporate LAN then it can get an IP address from a DHCP server.
> Has anyone done this before with u-boot???
> regards
> -kshitij
>
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by: eBay
> Great deals on office technology -- on eBay now! Click here:
> http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] bootp/dhcp
2003-06-11 15:50 Gupta, Kshitij
@ 2003-06-11 16:26 ` Marc Singer
0 siblings, 0 replies; 5+ messages in thread
From: Marc Singer @ 2003-06-11 16:26 UTC (permalink / raw)
To: u-boot
The normal DHCP exchange works like this:
target: Can I have a DHCP address? Here's my MAC address.
server: Sure. I don't really care about your MAC, but I'll catalog
the MAC/IP pair anyway so that I can give you the same
address later. Here's your address, netmask, and DNS
servers. I pulled it from my dynamic address pool.
When I said 'special response', there are a couple of things that the
DHCP server can do. It can deliver a static address given the
target's MAC address. It can deliver extra information such as the
filenames for the kernel and root file system. You don't need to do
this, but it is sometimes helpful during a system bring-up.
Cheers.
On Wed, Jun 11, 2003 at 09:20:40PM +0530, Gupta, Kshitij wrote:
> hi,
> but the idea is to get a dynamic ip address, why do we need to
> change the DHCP server settings to give a special DHCP response to our
> machine. I have seen this happening with the linux kernel. The kernel also
> requests for a ip address using DHCP and then uses that ip address.
> Since an ideal way for a bootup is that I connect my device to the network,
> get and dynamic ip address and download the kernel from a remote machine.
>
> This might be paranoid but is it possible with u-boot currently...???
> regards
> -kshitij
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] bootp/dhcp
[not found] <0004BF61.C22236@ti.com>
@ 2003-06-11 20:02 ` Jerry Van Baren
0 siblings, 0 replies; 5+ messages in thread
From: Jerry Van Baren @ 2003-06-11 20:02 UTC (permalink / raw)
To: u-boot
Works fine, just do it.
The point previous answers was trying to make is that, if you _want_ to do
something different, you will have to control the DHCP server. Since you
don't want to do anything different, you don't have to do anything but boot.
gvb
At 09:20 PM 6/11/2003 -0400, kshitij at ti.com wrote:
>hi,
> but the idea is to get a dynamic ip address, why do we need to
>change the DHCP server settings to give a special DHCP response to our
>machine. I have seen this happening with the linux kernel. The kernel also
>requests for a ip address using DHCP and then uses that ip address.
>Since an ideal way for a bootup is that I connect my device to the network,
>get and dynamic ip address and download the kernel from a remote machine.
>
>This might be paranoid but is it possible with u-boot currently...???
>regards
>-kshitij
>-----Original Message-----
>From: Marc Singer [mailto:elf at buici.com]
>Sent: Wednesday, June 11, 2003 8:53 PM
>To: Gupta, Kshitij
>Cc: 'u-boot Mailing List'
>Subject: Re: [U-Boot-Users] bootp/dhcp
>
>
>That advice is for the paranoid. You can put your embedded dev board
>on a network with other machines, including a DHCP server, as long as
>the address you get from the server will satisfy your needs. There
>are ways of coercing the DHCP server to deliver a special DHCP
>response for your machine. In the case of the 'corporate' network,
>you may not have the option to twiddle the DHCP configuration.
>
>On Wed, Jun 11, 2003 at 08:40:00PM +0530, Gupta, Kshitij wrote:
> > hi,
> > Can we send the bootp/dhcp requests over a LAN (which already has a
> > DHCP) with u-boot. Since when I read the description of u-boot in the
>book
> > "Building Embedded Linux systems" , it explains that I should connect my
> > board to a standalone linux machine using a crosscable and then I must
> > configure the DHCP and TFTP services.
> > But instead what I am planning to do is that if I connect my board to a
> > corporate LAN then it can get an IP address from a DHCP server.
> > Has anyone done this before with u-boot???
> > regards
> > -kshitij
> >
> >
> >
> > -------------------------------------------------------
> > This SF.NET email is sponsored by: eBay
> > Great deals on office technology -- on eBay now! Click here:
> > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
> > _______________________________________________
> > U-Boot-Users mailing list
> > U-Boot-Users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/u-boot-users
>
>
>-------------------------------------------------------
>This SF.NET email is sponsored by: eBay
>Great deals on office technology -- on eBay now! Click here:
>http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
>_______________________________________________
>U-Boot-Users mailing list
>U-Boot-Users at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/u-boot-users
**********************************************************************
This e-mail and any files transmitted with it may be confidential and
may be legally privileged or otherwise exempt from disclosure under
applicable law. This e-mail and its files are intended solely for
the individual or entity to whom they are addressed and their content
is the property of Smiths Aerospace. If you are not the intended
recipient, please do not read, copy, use or disclose this communication.
If you have received this e-mail in error please notify the e-mail
administrator at postmaster at smiths-aerospace.com and then delete this
e-mail, its files and any copies.
This footnote also confirms that this e-mail message has been scanned
for the presence of known computer viruses.
Smiths addresses are changing! The new addresses are of the form
firstname.lastname at smiths-aerospace.com. Please update your address
books! Please begin using the new form immediately.
***********************************************************************
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-06-11 20:02 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-11 15:10 [U-Boot-Users] bootp/dhcp Gupta, Kshitij
2003-06-11 15:23 ` Marc Singer
-- strict thread matches above, loose matches on Subject: below --
2003-06-11 15:50 Gupta, Kshitij
2003-06-11 16:26 ` Marc Singer
[not found] <0004BF61.C22236@ti.com>
2003-06-11 20:02 ` Jerry Van Baren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox