BBB-Internet access over USB

Hello all,

I am Sampath working on a project with Beaglebone black. I am new to this board and facing an issue while sharing the internet with my Beaglebone black via USB. I have wifi connection as my host. I tried sharing this with my BBB but nothing seemed work. I am using windows 8.1 with Putty as SSH connection.

I tried these steps:

  1. I changed the settings of my host network properties to share its network with the BBB.
  2. Then I changed the properties of BBB ethernet to obtain IP address and DNS automatically.
  3. On BBB console, I set 192.168.7.1 as default gateway with the following command.
    .* sudo /sbin/route add default gw 192.168.7.2
  4. Then I tried pinging 192.168.7.1 but it did not ping.
  5. Then I tried pinging 8.8.8.8 still did not ping.
  6. Then I tried naming the server:
  • echo “nameserver 8.8.8.8” >> /etc/resolv.conf
  1. Later I started pinging 8.8.8.8 -does not work.

I am using Beaglebone Black(Rev C) board, with the latest debian image installed.

root@beaglebone:~# cat /etc/dogtag
BeagleBoard.org Debian Image 2018-06-17

root@beaglebone:~# uname -a
Linux beaglebone 4.14.49-ti-r54 #1 SMP PREEMPT Fri Jun 15 22:14:13 UTC 2018 armv7l GNU/Linux

These are my board and image specifications. Please, anybody has solution support me. Kind of stuck with this.

Thanks in advance,

Regards,

Hi,

I have it working following this tutorial and thanks to Graham’s response in this discussion to replace the last step by typing in the terminal “sudo nano /etc/resolv.conf” to add “nameserver 8.8.8.8” to the resolv.conf file.

Note: I tried this on my Pocketbeagle and not on a BBB.

I suggest that you follow exactly the same steps from the beginning.

Best,

Hi An Ra,

Thank you for your response. I tried following the steps provided on the tutorial link that you sent. I still have the same problem after editing /etc/resolv.conf file. I do not know what is going wrong here. You can see my output in the below image.

Auto Generated Inline Image 1.png

On Thu, 9 Aug 2018 05:10:09 -0700 (PDT), sampath kumar k
<sampump3@gmail.com> declaimed the following:

Hi An Ra,

Thank you for your response. I tried following the steps provided on the
tutorial link that you sent. I still have the same problem after editing
/etc/resolv.conf file. I do not know what is going wrong here. You can see
my output in the below image.

  What does traceroute (Windows tracert) return?

  You appear to have nameserver functionality since the ping was able to
obtain an IP# for the name of the host you tried to ping.

  I would tend to suspect there are firewall rules, possibly on the
computer on which you are trying to use connection sharing.

Hi An Ra,

I followed the tutorial that you suggested, and it works!
Thanks for the link.

best,
Aston

Hi An Ra,

I followed the tutorial that you suggested, and it works!
Thanks for the link.

Cheers,
Aston