tarikaltuncu
Posts: 2
Joined: Sat May 23, 2020 1:21 pm

Setting up a Raspberry Pi as a bridged wireless access point

Sat May 23, 2020 1:39 pm

Hey there!

I have been trying to set up my pi4 as a wireless ap with bridge mode.

On a brand new raspbian lite OS, I have followed the following guide:
https://www.raspberrypi.org/documentati ... bridged.md

I do not have offline access to the device. Only remote. But it works great first time, although it gets a new IP from my router (it assigns static ip to eth0 MAC).
However, on a reboot, pi cannot get any IP (checked on router DHCP, it's not there).
The new wifi network as well cannot assign IP.

How do you manage this?

epoch1970
Posts: 4815
Joined: Thu May 05, 2016 9:33 am
Location: Paris, France

Re: Setting up a Raspberry Pi as a bridged wireless access point

Sat May 23, 2020 4:26 pm

I don't think it is related to the AP.
If you power down and power up, does the machine get an address?
"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème." Les Shadoks, J. Rouxel

tarikaltuncu
Posts: 2
Joined: Sat May 23, 2020 1:21 pm

Re: Setting up a Raspberry Pi as a bridged wireless access point

Sat May 23, 2020 4:43 pm

Before following then ap bridge guide it could get the assigned ip address at each reboot with no problem.

After setting up the wifi bridge, it does not get any ip address on reboot. Even ssh [email protected] cannot access it, although it had been working before.

epoch1970
Posts: 4815
Joined: Thu May 05, 2016 9:33 am
Location: Paris, France

Re: Setting up a Raspberry Pi as a bridged wireless access point

Sat May 23, 2020 5:36 pm

Then I don't know, that guide works for me.
"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème." Les Shadoks, J. Rouxel

ricardod
Posts: 1
Joined: Sun May 24, 2020 2:50 pm

Re: Setting up a Raspberry Pi as a bridged wireless access point

Sun May 24, 2020 2:59 pm

I am experiencing a similar issue when following this guide:
https://www.raspberrypi.org/documentati ... ridged.md
I am using an RPI 3B.
The first problem with the guide is that "rfkill" is not a command available on the Rpi by default.
Secondly after following all the steps, there is no AP at the SSID, and I can no longer ssh to the pi because its eth0 iterface was dhcp-disabled as one of the steps. The pi now has effectively no internet connection (was working before) and I can therefore not even install rfkill - this is a huge gotcha in the guide.
How essential is the rfkill step as wifi was working on this device before?
So this is the only step I could not execute, and it does not work.

epoch1970
Posts: 4815
Joined: Thu May 05, 2016 9:33 am
Location: Paris, France

Re: Setting up a Raspberry Pi as a bridged wireless access point

Mon May 25, 2020 3:18 pm

Of course it is installed by default on Raspbian.
Are you using an other OS?
"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème." Les Shadoks, J. Rouxel

Snowworm3000
Posts: 3
Joined: Mon May 25, 2020 3:41 pm

Re: Setting up a Raspberry Pi as a bridged wireless access point

Mon May 25, 2020 3:57 pm

I created an account right now just to post this and I am getting errors.
I tried following the routed wireless access point guide :D (https://www.raspberrypi.org/documentati ... -routed.md) and unfortunately after doing this I could not connect to the internet :o . I have tried connecting via

Code: Select all

sudo raspi-config
in network options and wireless LAN but now I get this error

Code: Select all

Could not communicate with wpa_supplicant
and after pressing enter this

Code: Select all

There was an error running option N2 Wireless LAN

After getting all these errors and trying (but failing) to fix them, I reinstalled raspbian lite on my raspberry pi zero and tried this again but still got these errors straight after following the guide on a fresh install. I'm a bit of a noob, and i'm trying to get this to work for a robot with a camera. It is really frustrating :x because I don't want to have to do another fresh install. Please help me.

Return to “Networking and servers”