BBB-Internet access over USB

72 views
Skip to first unread message

sampath kumar k

unread,
Aug 8, 2018, 7:52:45 AM8/8/18
to BeagleBoard
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
7. 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,

An Ra

unread,
Aug 8, 2018, 11:21:55 AM8/8/18
to BeagleBoard
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, 

sampath kumar k

unread,
Aug 9, 2018, 8:10:10 AM8/9/18
to BeagleBoard

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. 

Dennis Lee Bieber

unread,
Aug 9, 2018, 10:43:52 AM8/9/18
to beagl...@googlegroups.com
On Thu, 9 Aug 2018 05:10:09 -0700 (PDT), sampath kumar k
<samp...@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.


--
Wulfraed Dennis Lee Bieber AF6VN
wlf...@ix.netcom.com HTTP://wlfraed.home.netcom.com/

aston

unread,
Jun 12, 2019, 5:27:15 AM6/12/19
to beagl...@googlegroups.com
Hi An Ra,

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

best,
Aston

--
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/ac8dbcad-9184-4b92-8783-1c68263a2f18%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Rgds,

Aston

"If you are working on something exciting that you really care about, you don't have to be pushed. The vision pulls you."
(Steve Jobs)

   

aston

unread,
Jun 12, 2019, 5:28:56 AM6/12/19
to beagl...@googlegroups.com
Hi An Ra,

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

Cheers,
Aston

On Wed, Aug 8, 2018 at 10:22 PM An Ra <arad...@uncc.edu> wrote:
--
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/ac8dbcad-9184-4b92-8783-1c68263a2f18%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages