Resolving DNS on BBB Rev C Debian

Hi,.

I was following Derek Malloy’s tutorial on setting up my USB network on BBB. I have the latest Rev C board with Debian.

the file resolv.conf does not exist and is linked to another file that doesn’t exist, see below:

lrwxrwxrwx 1 root root 24 Oct 7 16:40 resolv.conf → /run/connman/resolv.conf

I saw somewhere a way around this but have misplaced the material. I think there is a file I need to add nameservers to … The last I time I tried a fix I ended up bricking my BB and had to reflash. I don’t know if the bricking was a code issue or a hot power down issue.

Thanks,

I was able to find the info I wanted. It is topic “Cannot ping google in BBB even after sharing internet” and it was an answer from John Mitton.

I edited file interfaces under /etc/network and added two dns-nameservers lines for 8.8.8.8 and 8.8.4.4. I added the entries under iface usb0 inet static
Then I rebooted (required) and it all worked. ---- I can now ping www.google.com or any other valid site and get ping data.

Thanks