One of our goals this year is to make networking easier for users. We’re starting to share our solutions, both here and on our documentation site. Some of these solutions aren’t even Pioreactor specific: they work with all Raspberry Pis.
Detailed below is an easy way to connect to your Pioreactor from a PC via an ethernet cable, and share the PC’s internet with the Pioreactor.
Hi Cam! I’m with the team from Harvey Mudd College that is currently working on a couple projects for AMYBO. We have just built two Pioreactors, and we’re currently struggling to get them properly connected to the Internet.
We are able to upload the necessary software to the SD card, and the Pioreactor light flashes blue, but it seems it cannot connect to the internet (the blue light will flash once). We have tried using a mobile hotspot, and uploading the local_access_point file, but that does not change anything. The network is valid, and the LAN country is set to US, so I am not sure where the issue lies.
We’re currently in the process of tracking down the correct cables that will be able to physically connect our Pioreactor to any of our PCs. We were wondering if you had any troubleshooting tips in the meantime? Does this sound like a software issue to you?
If you think that tracking down an ethernet cable is where we should focus our attention rather than further troubleshooting, definitely let us know!
Actually I did add something in the latest release that may help us. Make sure you’re using the latest leader image (new as of Friday the 19th) from our software page Software installation | Pioreactor Docs. Try all the same steps again that make it fail, and I’d like you to do the following:
Wait atleast 10m with the Pioreactor on.
Pull the power from the Pi, and remove the SD card.
Put the SD card back into your Pioreactor, and find the new drive bootfs that comes up.
In this drive is a file network_info.txt. Open it up and copy the results here (or via email, info@pioreactor.com) In the latest software, I’ve added more logs to this file that should help debug these situations.
Thanks for your patience with this response! I was able to obtain an ethernet cable and decided to attempt to connect my raspberry pi through that method. However, I still cannot seem to get it connected fully. I was able to ping the IP address and I did receive a response. I run into problems when I check for SSH status as I receive a response that the connection is “refused”. I would assume this is related to an ethernet issue I’m having. When checking my network, it says the USB10/100/1000 LAN connection has a “self-assigned IP address and will not be able to connect to the Internet.” Let me know if you have any further thoughts on that. Also, I finally have my network_info.txt file! This is probably mainly what you want to look at:
HOSTNAME=pioreactorsheridan
IP=192.168.2.2
eth0_MAC=b8:27:eb:d0:e9:ca
lo_MAC=00:00:00:00:00:00
Thank you for all your help in the troubleshooting process. Sheridan and I are in the same AMYBO project team and we have been working together to address the connectivity issues.
Both of our pioreactors can connect to the internet (ping, SSH, and web interface) via local internet sharing through my Windows laptop. However on Sheridan’s Macbook, we kept encountering the self-assigned IP address issue previously mentioned. We ensured that internet sharing was on for the Ethernet and USB ports. We both followed the instructions for local internet sharing on our respective OS’s and used the same Ethernet cable and USB-C to Ethernet adapter. The web interface will load on my laptop but not on hers when the pioreactor is connected via Ethernet and powered on.
I’m seeing a lot of Mac users on the internet have the same issue of self-assigned IP addresses when using Ethernet. Though, most solutions suggest resetting the router/resolving DHCP settings, which we don’t have access to because we are using our college’s Wi-Fi. We’re convinced that this may be a Mac-specific issue, so if there are any other troubleshooting tips you have in mind, that would be greatly appreciated!
Hm, it’s hard to explain what might be happening here. Just a few questions so I can better reproduce the issue:
Are you using a recently downloaded leader image?
What macOS version is being used?
And here’s an idea: you can start the local-access-point on the PIoreactor (follow these docs: Local access points | Pioreactor Docs), which will provide a secondary way to access the Pi’s command line. Next, plug the macbook in via ethernet, and with another computer connected to the Pi’s local-access-point, SSH into the Pi, and we can run some tests there. For example, what does