Automatic Hotspot For Your Raspberry Pi Using Iot Bit

About the project

For this instructable, we will set up an automatic hotspot using the Raspberry Pi and other minicomputers. Heres a list of the computers which are compatible: Raspberry Pi 1-2-3, Raspberry Pi Zero, Asus Tinkerboard Rock 64, Orange P Samsung Artiks Eagleye

Items used in this project

Hardware components

IoT Bit 4G & LTE HAT for the Raspberry Pi – UK & EU region IoT Bit 4G & LTE HAT for the Raspberry Pi – UK & EU region https://altitude.tech/product/4g-bit-uk-eu-4g-lte-hat-raspberry-pi/ x 1
IoT Bit 3G HAT for the Raspberry Pi – UK, EU & Asia region IoT Bit 3G HAT for the Raspberry Pi – UK, EU & Asia region https://altitude.tech/product/3g-bit-uk-eu-3g-hat-raspberry-pi/ x 1
High speed 4G Aerial 28dBi Gain Wireless Network for IOT BIT High speed 4G Aerial 28dBi Gain Wireless Network for IOT BIT https://altitude.tech/product/high-speed-4g-aerial-wireless-network-pianywhere/ x 1
Water resistant GPS 28 dBi antenna for IOT BIT – 4G, 3G and GSM Water resistant GPS 28 dBi antenna for IOT BIT – 4G, 3G and GSM https://altitude.tech/product/water-resistant-gps-aerial-iot-bit-4g-3g-gsm/ x 1
Raspberry Pi 3 Raspberry Pi 3 https://altitude.tech/product/raspberry-pi-3-official-charger-flashed-pianywhere-drivers-16gb-sandisk-micro-sd/ x 1

Story

Step 1: Materials Needed & Previous Requirements

1 x IoT Bit package

1 x Raspberry Pi

1 x SD card

1 x Screen Keyboard & Mouse (only for setup)

Before starting the setup it's imperative to have installed the appropriate packages for the IoT Bit board and setup a network using the IoT Bit. when starting the setup you should be using raspbian and have the IoT Bit with a mobile >http://forum.iiot.co.za/discussion/15/free-bash-sc...

Save it to "/home/pi", make sure to save it as a .sh file, after downloading it open the script and modify the file to suit your preferences, like for example network id, password, etc.

Then to make it executable simply run in the terminal:

  • $ chmod +x /home/pi/(name of your file).sh

The next step will be to make the bash script run every time the system boots. To do this you need to :

To modify the file type in the terminal:

  • $ sudo nano /home/pi/.config/lxsession/LXDE-pi/autostart

Then at the end of the file under "@point-rpi" type:

  • sudo bash /home/pi/(name of your bash script)

After this steps reboot your pi and you will have a working automatic mobile hotspot.

Code

Hotspot

Credits

Photo of Altitude_Tech

Altitude_Tech

Altitude Tech LTD is founded by professionals and students in the area of robotics, electronics and product design, which makes the team the heart of the company.

   

Leave your feedback...