Unable to Connect BBB to Internet through Laptop

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
BuffaloFan32
 
Posts: 16
Joined: Tue Nov 04, 2014 5:38 pm

Unable to Connect BBB to Internet through Laptop

Post by BuffaloFan32 »

I am trying to follow Derek Molloy's tutorial here:

http://www.youtube.com/watch?v=fzRVVtGNfj8

I was able to ping my laptop from the BBB through putty after editing my firewall settings. Now, when I try to ping 8.8.8.8 nothing happens. I believe I have followed the tutorial correctly. Here is my output:

Code: Select all

root@beaglebone:~# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
^C
--- 8.8.8.8 ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 3999ms
My limited knowledge of the BeagleBone is leading me to believe the problem is that I am trying to access the internet through gateway 192.168.7.1 instead of my wireless router. However, when I use ipconfig in Windows the to find the IP address for the wireless router and use that as the gw, I get an error from my BeagleBone saying it is unavailable

Any ideas?

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Unable to Connect BBB to Internet through Laptop

Post by adafruit_support_mike »

You'd need to configure your laptop to forward packets from one interface (the one that connects to you BBB) to another (the one that goes to the internet).

On Unix/Linux systems, that's done through the IP Forwarding system. On Macs, it's called 'Connection Sharing'. It's probably possible to do on Windows, but I'm afraid I don't know the internals of that OS well enough to say, "click here".

User avatar
BuffaloFan32
 
Posts: 16
Joined: Tue Nov 04, 2014 5:38 pm

Re: Unable to Connect BBB to Internet through Laptop

Post by BuffaloFan32 »

Thanks for the reply. I think I have now tried every tutorial related sharing packets through a Windows machine and still not getting it to work. How would I know if the problem is with my computer or my wireless router?

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Unable to Connect BBB to Internet through Laptop

Post by adafruit_support_mike »

You'd need to connect some other computer through the Ethernet port.

User avatar
BuffaloFan32
 
Posts: 16
Joined: Tue Nov 04, 2014 5:38 pm

Re: Unable to Connect BBB to Internet through Laptop

Post by BuffaloFan32 »

I installed Wingate on my computer and now I am able to ping 8.8.8.8 from the bone through the usb port and my laptop's wireless connection. I wish I could tell you what I did in Wingate to make it work but it was little more than downloading it.

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Unable to Connect BBB to Internet through Laptop

Post by adafruit_support_mike »

The network stack is complicated enough that it's perfectly acceptable to say, "whew, it worked!" and grab a beer (one of the lesser-known network debugging tools). ;-)

Locked
Please be positive and constructive with your questions and comments.

Return to “Beagle Bone & Adafruit Beagle Bone products”