Simple Portable Access Point With Mobile Connectiv
Simple Portable Access Point With Mobile Connectiv
by janenaslukas
In this tutorial I will show you have to build a simple and connection isn’t possible or isn’t practical. Long-term
portable Access Point with LTE (mobile) connectivity evolution (LTE) is a standard for wireless broadband
using Raspberry Pi 3 model B. communication based on the GSM/EDGE and
UMTS/HSPA technologies. The LTE modem I'm using is a
Access Point is a device which has wireless connectivity. USB device that can add 3G or 4G (LTE) cellular
Using wireless connectivity Access Point can connect connectivity to a Raspberry Pi computer.
your devices to a network. Access Points usually are used
in homes, o ces and other spaces where to use wired
Step 1: Prerequisites
In this tutorial to install RPI OS on to the SD card I will be Also don’t forget to select the SD card where to install
using “RPI imager” which can be downloaded here. the OS. You can do that by pressing the button under the
label “SD card”. When everything is selected, press the
Press the the button below the label “Operating System”. “Write” button and wait for the program to nish
In the opened window navigate to “Raspberry Pi OS installing the OS.
(other)”. Then there select “Raspberry Pi OS Lite (32-bit)”
version.
When the OS is nished installing, insert the SD card in to the RPI. Then connect the RPI to your router for internet
connectivity, we will need to install some software. Using your HDMI cable connect the RPI to the monitor and power on
it.
Wait for the RPI to boot up. In the login screen enter your credentials. The default credentials for RPI is:
Username – pi
Password – raspberry
For remote con guration I will enable SSH service. If you want, you can con gure the RPI using the monitor.
# sudo raspi-con g
In the opened window navigate to “Interface Options” and enable “SSH”. From now you can connect through SSH.
# ifcon g
Look for the label eth0. This label represents your wired ethernet connection.
From now on we will be using network-manager for network interface con guration. To install the network-manager
execute this command:
Also we need to remove the con icting software. Execute this command to remove the con icting software:
After all software is installed, you can set up the mobile wwan0.
interface. Before connecting the modem to the
Raspberry Pi read, the modem instructions to set it up. If the interface would not appear, execute this
Then connect your mobile modem to the Raspberry Pi command:
and wait a little until the modem boots up.
# sudo nmcli c up mobile
Now we need to create a interface for the modem. We
can do that by using nmcli command. Execute this Execute this command to check if you have internet
command, but before that change the <apn> with apn connection over the new interface:
that your mobile operator provides for connection:
# ping -I wwan0 -c 4 google.com
# sudo nmcli c add type gsm ifname cdc-wdm0 con-name
mobile apn <apn>
First of all we need to create an interface for the AP. Now add some security to it. Execute this command, but
Execute this command: don’t forget to change <pw> to your desired password:
# sudo nmcli connection add type wi ifname wlan0 con- # sudo nmcli connection modify wi wi -sec.key-mgmt
name wi autoconnect yes ssid "RPI AP" wpa-psk wi -sec.psk <pw>
In the network-manager you should see a new For changes to take e ect, you need to reload the
connection. To look it up execute this command: interface. Execute these commands:
Take your device with wi connectivity ant try to connect to our newly created Access Point. If you haven’t change the
name of the Access Point, you should look for “RPI AP”.
To make it portable just take a powerbank and connect the RPI to it.
Now you can take your Access Point with you everywhere you go.
We haven’t turn o the SSH service and our RPI password of the pi user to a stronger one and you only
password is very weak. You can turn o the SSH service, should know it.
but then you would not have any remote access to your
RPI. To con gure the RPI then you should have a monitor Third tip is that you could allow to access SSH by ltering
and a keyboard. MAC address though the rewall.
Nice to know that it was usefull. If you have any problems about it just ask