James and I successfully figured out how to connect to the Raspberry Pi using Wifi without a router. We were able to use the Raspberry Pi to host it as a router, and then connect the Pi to it's own router, and then connect to the Pi's Wireless network. Once we got this setup (and working) we were successfully able to access the Pi through SSH, ping it, stream video from it, etc.
James was able to find out how to host the Pi as a router from here. (This tutorial could also be helpful)
At first, we had a couple of problems with actually accessing the Pi. We could host the Wifi network and connect to it from another device without a problem (keep in mind that since it's Ad-hoc, only one device can be on the network at a time) but to actually talk to the Pi itself we had to do some things in "wpa_supplicant" (/etc/wpa_supplicant/wpa_supplicant.conf) and "interfaces" (/etc/network/interfaces) and had to set our other devices to have a static local IP since we did not have a DHCP set up on the Pi. We had to set the network and the connection to it to Ad-hoc mode, and then enter the router's information into the Pi so that the Pi itself could connect to it's own router.
Next I have to work on making a sharing folder on another device accessible as a directory (one I can use the cd command to get into) and make the script so it can save a copy of the picture/video to that sharing folder (when it is accessible) and to it's own storage at the same time.
awesome progress! I particularly like how you worked hard (and on your own) to solve this first setback.
ReplyDelete