public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Duncan Hare <dh@synoia.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] dhcp command not populating dnsip environment variable
Date: Fri, 16 Mar 2018 03:00:48 +0000 (UTC)	[thread overview]
Message-ID: <1814457072.1502010.1521169248136@mail.yahoo.com> (raw)
In-Reply-To: <CANr=Z=Y68zvQb=DLQpc0wv070dmAqvDVtYog_VPAhHfZ5joN6Q@mail.gmail.com>




 From: Joe Hershberger <joe.hershberger@ni.com>
 To: Duncan Hare <dh@synoia.com> 
Cc: u-boot <u-boot@lists.denx.de>; Joe Hershberger <joe.hershberger@ni.com>
 Sent: Thursday, March 15, 2018 1:29 PM
 Subject: Re: [U-Boot] dhcp command not populating dnsip environment variable
   
On Thu, Mar 15, 2018 at 3:25 PM, Duncan Hare <dh@synoia.com> wrote:
> In the latest version of u-boot, the dhcp command appears not to
> populate the environment variable dnsip. This used to be the behaviour.

Is it possible that your DHCP server isn't sending it? It seems like
the code isn't changed.

>
> The dns command works, if dnsip is populated manually.
>
> Is the a Kconfig variable controlling this? Or is there a new
> environment variable?
>
> Thanks
>
> Duncan Hare
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot


Joe
Thanks, you gave me an idea.

I fired up wireshark
See attached.

Old release: Before Kconfig work options requested (many) including DNS server address

After: No options

I see no where in u-boot to set DHCP options. 

Kconfig is a good idea. HOWEVER, the previous defaults should be selected as the base set. 
Choosing The NULL set is a very unfriendly choice.

What do we do to resolve this?
 Duncan Hare

714 931 7952

   

  reply	other threads:[~2018-03-16  3:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-15 20:25 [U-Boot] dhcp command not populating dnsip environment variable Duncan Hare
2018-03-15 20:29 ` Joe Hershberger
2018-03-16  3:00   ` Duncan Hare [this message]
2018-03-16 17:18   ` Duncan Hare
2018-03-16 17:49     ` Joe Hershberger
  -- strict thread matches above, loose matches on Subject: below --
2018-03-18 20:01 Duncan Hare
2018-03-19 20:41 ` Joe Hershberger
     [not found]   ` <1493032693.3427290.1521494690666@mail.yahoo.com>
2018-03-23 18:12     ` dh at synoia.com

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=1814457072.1502010.1521169248136@mail.yahoo.com \
    --to=dh@synoia.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