3

My goal is to be able to access multiple Raspberry Pi Zero Ws (3-5) simultaneously through SSH from a laptop running Linux. This has to be done in an area where there is no infrastructure network available (out in a field in the middle of nowhere), and it has to be done wirelessly. I have, so far, been unsuccessful in accessing even one RPi through SSH with my laptop. I have not been able to create a network connection between the two devices. I have tried creating an ad-hoc network on the laptop using the following forum pages and tutorials, to name a few:

I am a true beginner. Touched Linux and a Raspberry Pi for the first time last Monday (June 5, 2017). I have spent almost all of my time at work trying to figure this out with no success.

What is the simplest way to simultaneously control multiple RPis (with fresh installs of Raspian Jessie) using a laptop with Linux (Ubuntu)? Remember, there is no infrastructure network where I'll be doing this.

Please let me know if there's other information that I can provide to help.

Greenonline
  • 2,448
  • 4
  • 18
  • 33
Doogan426
  • 39
  • 1
  • 3
    What you want to do appears to set up an ad-hoc network on a laptop, which is off-topic for this site. Have you considered just using a cheap wireless router? – Milliways Jun 14 '17 at 23:57
  • 2
    Why not use one of the Pi's to provide wireless services for all the devices to connect to including your laptop. I think you have one unit working like that now. The others just need to join the central unit. Then using ssh you can connect to each of the units by the assigned ip address. The laptop can also join the wireless network and ssh into any of the units. – Rick Jun 15 '17 at 01:36
  • I will try the network set up through the Pi, since I was successful with that. I'll post in a comment if I can accomplish what I'm trying to do. I'll consider getting a cheap router, since that might end up being simpler for what I'm trying to do. – Doogan426 Jun 15 '17 at 13:10
  • 1
    I have successfully accomplished what I was trying to do. I can now SSH into the Pi from a Linux machine. I set up the Pi as an access point using [Setting up a Raspberry Pi as an access point in a standalone network](https://www.raspberrypi.org/documentation/configuration/wireless/access-point.md) and this site: [Using RPi as WiFi Access Point with hostapd](https://frillip.com/using-your-raspberry-pi-3-as-a-wifi-access-point-with-hostapd/) – Doogan426 Jun 21 '17 at 19:19
  • 1
    @Fabian Questions older than 60 days like this one [can't be migrated](https://meta.stackexchange.com/q/10249/336144), even by moderators; this question can only be closed on this site instead if it is off-topic. – Aurora0001 Mar 31 '18 at 18:14

1 Answers1

1

Per OP's comment:

I have successfully accomplished what I was trying to do. I can now SSH into the Pi from a Linux machine. I set up the Pi as an access point using Setting up a Raspberry Pi as an access point in a standalone network and this site: Using RPi as WiFi Access Point with hostapd

Ghanima
  • 15,578
  • 15
  • 58
  • 113