This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM3358: No DNS at boot time

Part Number: AM3358

Tool/software: Linux

Proc SDK Linux 4.01
BeagleBone Black

I'm using the binaries and my BBB is hooked up to the network.  When I first boot, I get an IP address:

root@am335x-evm:~# ifconfig
eth0 Link encap:Ethernet HWaddr C8:A0:30:AC:B5:16
inet addr:158.218.156.86 Bcast:158.218.156.255 Mask:255.255.255.0
inet6 addr: fe80::caa0:30ff:feac:b516%763860/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3582 errors:0 dropped:0 overruns:0 frame:0
TX packets:218 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:244239 (238.5 KiB) TX bytes:31324 (30.5 KiB)
Interrupt:173

I can SSH into my machine and ping other machines (by IP address), but names are not working.  I can run "udhcpc" and I see the following occur:

root@am335x-evm:~# udhcpc
udhcpc (v1.24.1) started
Sending discover...
Sending select for 158.218.156.187...
Lease of 158.218.156.187 obtained, lease time 3600
/etc/udhcpc.d/50default: Adding DNS 192.0.2.2
/etc/udhcpc.d/50default: Adding DNS 192.0.2.3

Now I'm able to ping other machines by name.  Oddly, I find the IP address changes as part of this process, so for example if I'm doing this via SSH the connection suddenly breaks.  Here's the new IP address:

root@am335x-evm:~# ifconfig
eth0 Link encap:Ethernet HWaddr C8:A0:30:AC:B5:16
inet addr:158.218.156.187 Bcast:158.218.156.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3633 errors:0 dropped:0 overruns:0 frame:0
TX packets:246 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:248983 (243.1 KiB) TX bytes:35411 (34.5 KiB)
Interrupt:173

Why is this necessary, i.e. why doesn't the board pick up the DNS via DHCP as part of the normal boot process?  Why do I need to explicitly run this command which then changes my IP address?

Thanks!

Brad