0% found this document useful (0 votes)
22 views6 pages

Simple Portable Access Point With Mobile Connectiv

This document describes how to create a simple portable access point using a Raspberry Pi and mobile LTE modem. It involves installing the operating system on an SD card, setting up the Raspberry Pi's network interfaces, and configuring it to broadcast its own WiFi network for other devices to connect to. This allows creating a makeshift hotspot anywhere using the Raspberry Pi's mobile data connection. The instructions provide step-by-step guidance on installing necessary software, setting up the mobile and access point interfaces, and basic security configuration tips.

Uploaded by

Eoin MacEoin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views6 pages

Simple Portable Access Point With Mobile Connectiv

This document describes how to create a simple portable access point using a Raspberry Pi and mobile LTE modem. It involves installing the operating system on an SD card, setting up the Raspberry Pi's network interfaces, and configuring it to broadcast its own WiFi network for other devices to connect to. This allows creating a makeshift hotspot anywhere using the Raspberry Pi's mobile data connection. The instructions provide step-by-step guidance on installing necessary software, setting up the mobile and access point interfaces, and basic security configuration tips.

Uploaded by

Eoin MacEoin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

instructables

Simple Portable Access Point With Mobile Connectivity

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

For this project we will need:

A Raspberry Pi with a power cable


A computer, preferably running Linux
A microSD card with at least 8GB (I will be using 16GB size card)
Simple Portable Access Point With Mobile Connectivity: Page 1
An Ethernet cable
HDMI cable
A monitor to connect the RPI
An LTE modem (I am using a Teltonika TRM240)
A SIM card for mobile connectivity
Raspberry PI OS lite version
Powerbank

Step 2: Installing the OS on the SD Card

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.

Simple Portable Access Point With Mobile Connectivity: Page 2


Step 3: Getting Ready RPI for Work

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.

When logged in execute this command:

# sudo raspi-con g

In the opened window navigate to “Interface Options” and enable “SSH”. From now you can connect through SSH.

Now execute this command to get your IP address:

# ifcon g

Look for the label eth0. This label represents your wired ethernet connection.

Step 4: Install Necessary Software

From now on we will be using network-manager for network interface con guration. To install the network-manager
execute this command:

# sudo apt install network-manager

Also we need to remove the con icting software. Execute this command to remove the con icting software:

Simple Portable Access Point With Mobile Connectivity: Page 3


# sudo apt purge openresolv dhcpcd5

Now reboot your device for the changes to take e ect.

Step 5: Set Up the Mobile Interface

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>

Use ifcon g command check if the mobile interface


appears. You should see a new interface by the name

Step 6: Set Up the Access Point

Simple Portable Access Point With Mobile Connectivity: Page 4


The network connection is ready. It’s time to set up the # sudo nmcli connection modify wi 802-11-wireless.mode
Access Point for other devices where to connect. ap 802-11-wireless.band bg ipv4.method shared

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:

# nmcli connection # sudo nmcli connectio down wi


# sudo nmcli connectio up wi
Now con gure our new interface to act as an Access
Point. Execute this command: To modify your Access Point connection you can use

nmcli. The syntax for it would be - nmcli connection


modify <con_name> <parameter> <value>
To check if our Access Point has an IP address you can
use ifcon g once again and look for the interface by the
name wlan0.

Step 7: Try It Out

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”.

Simple Portable Access Point With Mobile Connectivity: Page 5


Step 8: Make It Portable

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.

Step 9: Security Tips

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.

Other thing that you can do is to change the default


Very useful. Thanks for sharing.

Nice to know that it was usefull. If you have any problems about it just ask

Simple Portable Access Point With Mobile Connectivity: Page 6

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy