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:
I changed the settings of my host network properties to share its network with the BBB.
Then I changed the properties of BBB ethernet to obtain IP address and DNS automatically.
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
Then I tried pinging 192.168.7.1 but it did not ping.
Then I tried pinging 8.8.8.8 still did not ping.
Then I tried naming the server:
echo “nameserver 8.8.8.8” >> /etc/resolv.conf
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.
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.
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.
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.