1

I want to have the Pi create its own Access Point for other devices to connect to, but only when the Pi is out of range from a decent connection to a 'base / home' router?

I want to be able to have the Pi at home, and connect, but when I'm out and about, and have the Pi on a mobile connection, I want it to create the Access Point, or Wifi Hotspot.

mrSidX
  • 573
  • 3
  • 13

2 Answers2

3

This is a very common need. There are lots of solutions out there, and lots of tutorials (that I find to be dated and inaccurate the older they are).

The solution I have been using with success is one of the Auto Hotspot scripts from Raspberry Connect. Look at the different hotspot articles on that page.

Alternative options that I have not tried but came across in my search include those below; the -turnkey one seems to be well documented.

Corey S.
  • 103
  • 4
Chris
  • 46
  • 3
  • I think you are on the right track and this is describing and walking through in detail the script and configs needed to achieve this. I courageously tried to do this while I was connected wirelessly in home network to change it, but unfortunately midway thru the setup my ssh drops connection. Ideally I should be setting this up thru ethernet. Just don't have immediate access to router this early in the day. Will try again later with Eth and report back. Thanks Chris – mrSidX May 08 '18 at 11:42
  • Got it working. Excellent tutorial using many different nuances of the topic. Thanks for sharing this, Chris. – mrSidX May 08 '18 at 23:32
1

I tried the solutions above with some success but nothing as good as I wanted. I found ComitUp as being another method of doing this. It was a lot easier.

https://davesteele.github.io/comitup/ (Thanks to Dave!)

Comitup is a software package that provides a service to establish Wifi networking on a headless computer (that is, one with no video, keyboard, or mouse).

The Comitup Image is a microSD disk image for the Raspberry Pi 3, providing an operating system with the comitup service included. The Comitup Image is an extension of standard Raspbian OS...

goldilocks
  • 56,430
  • 17
  • 109
  • 217