TransWikia.com

Raspberry Pi WiFi Hotspot / Access Point

Raspberry Pi Asked by H H on February 8, 2021

I am a beginner Raspberry Pi user and my knowledge is mainly around software.

I don’t know the correct terms for what I am trying to do so this may be a duplicate question.

Is it possible to connect to a Raspberry Pi via WiFi from another device and be on the ‘same network’ so I can ssh into it and view a site running locally on the Pi.

So for example if the Pi is running a site on localhost with nginx.

I want to connect to the Pi and visit the ip of the Pi (192.168.0.x) and view the site running on the Pi.

Similarly, I’d like to ssh in to the Pi.

I’m not sure the name of what I am trying to do or if its possible.

Also, not sure if it’s also possible to have the Raspberry Pi connected to another network for internet via Ethernet or WiFi.

One Answer

I do not understand what you mean with:

to connect to a Raspberry Pi via WiFi from another device and be on the 'same network'

This implies a comparison. Same to what? You can create an access point on the RasPi to which you can connect like any other hotspot. This access point defines a subnet. This subnet can be part of your home network. On the RasPi you can install nginx and you can access its web interface as usual with web addresses. If you connect the RasPi to your home network with an ethernet cable then nginx is available on your home network too and not only for the devices connected to the access point by WiFi.

You can find a configuration example at Setting up a Raspberry Pi as an access point - the easy way. If you want to connect the access point to your home network, then you need a bridge. Have a look at section Setting up an access point with a bridge for this.

Answered by Ingo on February 8, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP