/etc/resolv.conf disappears

55 views
Skip to first unread message

KenUnix

unread,
Apr 25, 2020, 11:06:45 AM4/25/20
to BeagleBoard
I am trying to undo WiFi because of so many up/down problems. I added the default gateway back
into /etc/network.interfaces and it works fine and I can ping the host.

However after a reboot the file /etc/resolv.conf is empty.

After manually adding the 'nameserver 8.8.8.8' it works.

Example ping.www.cnn.com. After a re-boot I get Temporary failure in name resolution"" until
I manually edit resolv.conf again.

Any advise?

evilwulfie

unread,
Apr 25, 2020, 11:42:30 AM4/25/20
to beagl...@googlegroups.com
you need to set it using connman
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/cb44fb97-6e68-49fb-884e-8ca57d028c25%40googlegroups.com.

Robert Nelson

unread,
Apr 25, 2020, 11:43:53 AM4/25/20
to Beagle Board, Kenneth Martin
By default, connman is in control of /etc/resolv.conf

debian@bbb-pwr01-ser09:~$ ls -lha /etc/resolv.conf
lrwxrwxrwx 1 root root 24 Apr 6 13:34 /etc/resolv.conf ->
/run/connman/resolv.conf

If you want to just use /etc/network/intefaces just remove connman:

sudo apt remove connman --purge

Regards,

--
Robert Nelson
https://rcn-ee.com/
Reply all
Reply to author
Forward
0 new messages