From: Gregory Anders <greg@gpanders.com>
To: u-boot@lists.denx.de
Subject: Setting serverip from DHCP server
Date: Thu, 1 Jul 2021 15:56:04 +0000 [thread overview]
Message-ID: <YN3llGJSy8+IOwuZ@gpanders.com> (raw)
(Re-sending now that I'm subscribed to the list)
Hi all,
I am running U-Boot on an embedded device that is connected via Ethernet
to my workstation. The workstation is running dhcpd and U-Boot is able
to successfully obtain an IP address via DHCP from the server. However,
the `serverip` environment variable is not being set which prevents
U-Boot from continuing to boot over the network. I have to manually
enter `setenv serverip 10.0.10.1` each time.
How do I get the DHCP server to set the serverip variable? My dhcpd.conf
file is quite simple:
subnet 10.0.10.0 netmask 255.255.255.0 {
option routers 10.0.10.1;
range 10.0.10.2;
}
I would have thought the 'option routers' line would do the trick, but
apparently not. I've done a bit of searching online but haven't yet
found anything helpful.
Thanks,
Greg
next reply other threads:[~2021-07-01 21:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-01 15:56 Gregory Anders [this message]
2021-07-02 13:39 ` Setting serverip from DHCP server Harald Seiler
2021-09-02 16:08 ` Gregory Anders
-- strict thread matches above, loose matches on Subject: below --
2021-06-30 17:22 Gregory Anders
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YN3llGJSy8+IOwuZ@gpanders.com \
--to=greg@gpanders.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox