Is there any way to use TCP/IP communication between a BBB and PC connected only by USB cable?
<p>Is there anyway to use TCP/IP communication between a Beaglebone Black and PC connected only by USB cable?</p>

<p>I'm try to create an oscilloscope using a Beaglebone Black ADC connected to a computer using a USB cable.</p>

<p>I know that when I connect my BBB (Beaglebone Black) I can access it by its ip 192.168.7.2 and I see this device on my local network if I use ipconfig on cmd (I'm using Windows 10), and if I ping on this IP I receive the data. But on the Beaglebone side I cannot see my computer on its network or ping to my computer local address.</p>

<p>Also I tried to use a basic python socket connection tutorial between my PC and BBB, here (PC as server and BBB as client): </p>

<p><a href="https://pymotw.com/2/socket/tcp.html" rel="nofollow">https://pymotw.com/2/socket/tcp.html</a></p>

<p>And I receive connection denied on my BBB.</p>

<p>Just to remember, I'm not pretending to solve it using an Ethernet cable or WiFi module.</p>

<p>You can send an outgoing ping so you know that a TCP/IP connection can be established. However that is an <em>outgoing</em> connection and you are wanting to accept and <em>incoming</em> connection.</p>

<p>Check your firewall settings on your development machine, if the incoming connection is denied there you will not be able to connect. The outgoing ping might make it through the firewall but the incoming connection can still be denied. Because you know you can connect I would recommend checking the firewall rules allow an incoming connection to be made.</p>

<p>If you need to debug further go and get <a href="https://www.wireshark.org/" rel="nofollow">Wireshark</a> and see what traffic is going over the wire.</p>

python tcp embedded usb