Page 1 of 1

3B+ as a Wireless Access Point

Posted: Tue Mar 27, 2018 7:37 pm
by ejolson
Does anyone know whether the built-in Wifi of the Raspberry Pi 3B+ can function as a wireless access point using a tutorial such as this one.

Re: 3B+ as a Wireless Access Point

Posted: Tue Mar 27, 2018 11:25 pm
by DougieLawson
Try it. That's part of the learning experience.

Re: 3B+ as a Wireless Access Point

Posted: Tue Mar 27, 2018 11:42 pm
by ejolson
DougieLawson wrote:
Tue Mar 27, 2018 11:25 pm
Try it. That's part of the learning experience.
I would, but I don't have a 3B+ yet. I just ordered one and wanted to know what to expect.

Re: 3B+ as a Wireless Access Point

Posted: Wed Mar 28, 2018 12:21 am
by DougieLawson
Ah, you didn't mention that in your OP.

My RPi3B+ Google Assistant may turn into an AP tomorrow for an experiment.

Re: 3B+ as a Wireless Access Point

Posted: Wed Mar 28, 2018 2:47 am
by ejolson
DougieLawson wrote:
Wed Mar 28, 2018 12:21 am
Ah, you didn't mention that in your OP.

My RPi3B+ Google Assistant may turn into an AP tomorrow for an experiment.
Thanks!

Re: 3B+ as a Wireless Access Point

Posted: Wed Mar 28, 2018 5:34 am
by Ernst
DougieLawson wrote:
Wed Mar 28, 2018 12:21 am
My RPi3B+ Google Assistant may turn into an AP tomorrow for an experiment.
Will you be doing a long time experiment ? I used the same instructions to change a Pi3B (not +) with Jessie into an AP, worked for an hour or so and then it failed (repeatable). At the moment I am doing a long time experiment with Stretch, after 9 hours it has not yet failed. The symptoms are that several clients can connect initially but after some time hostapd reports that the stations disassociated and fails to reconnect, the AP is still active but does not accept new connections. The only way to recover is a reboot.

Re: 3B+ as a Wireless Access Point

Posted: Wed Mar 28, 2018 4:12 pm
by DougieLawson
I've got the basic AP running. I'll do the second part where it connects clients to the public internet later.

Re: 3B+ as a Wireless Access Point

Posted: Wed Mar 28, 2018 5:58 pm
by ejolson
DougieLawson wrote:
Wed Mar 28, 2018 4:12 pm
I've got the basic AP running. I'll do the second part where it connects clients to the public internet later.
That's good to know. From what you say, it just works and is reliable. Do you have any idea how many devices can simultaneously connect to the access point? I'll be getting mine tomorrow and have a day to configure it before deploying it to an off-site location. The short time frame is a difficulty, so I appreciate your testing.

Re: 3B+ as a Wireless Access Point

Posted: Wed Mar 28, 2018 6:06 pm
by Ernst
ejolson wrote:
Wed Mar 28, 2018 5:58 pm
DougieLawson wrote:
Wed Mar 28, 2018 4:12 pm
I've got the basic AP running. I'll do the second part where it connects clients to the public internet later.
That's good to know. From what you say, it just works and is reliable. Do you have any idea how many devices can simultaneously connect to the access point? I'll be getting mine tomorrow and have a day to configure it before taking it with me.
according to http://web.mit.edu/freebsd/head/contrib ... stapd.conf maximum 2007 stations

Code: Select all

# Maximum number of stations allowed in station table. New stations will be
# rejected after the station table is full. IEEE 802.11 has a limit of 2007
# different association IDs, so this number should not be larger than that.
# (default: 2007)
max_num_sta=255

Re: 3B+ as a Wireless Access Point

Posted: Wed Mar 28, 2018 7:04 pm
by DougieLawson
The second test (with a bridged network) was a complete failure. Got a kernel oops in brctl and the system wouldn't boot.

That RPi3B+ is back to running my Google Assistant AIY voicehat (booted from the original USB stick).

Re: 3B+ as a Wireless Access Point

Posted: Wed Mar 28, 2018 7:11 pm
by solar3000
That sounds like an interesting project. does it write to the SD card constantly?

Re: 3B+ as a Wireless Access Point

Posted: Wed Mar 28, 2018 7:54 pm
by ejolson
DougieLawson wrote:
Wed Mar 28, 2018 7:04 pm
The second test (with a bridged network) was a complete failure. Got a kernel oops in brctl and the system wouldn't boot.
That doesn't sound so good. Anyway, I wasn't planning to bridge any devices, so hopefully it will just work as in your first test.

Re: 3B+ as a Wireless Access Point

Posted: Thu Mar 29, 2018 12:00 am
by DougieLawson
ejolson wrote:
Wed Mar 28, 2018 7:54 pm
DougieLawson wrote:
Wed Mar 28, 2018 7:04 pm
The second test (with a bridged network) was a complete failure. Got a kernel oops in brctl and the system wouldn't boot.
That doesn't sound so good. Anyway, I wasn't planning to bridge any devices, so hopefully it will just work as in your first test.
There's a work-around posted on the forum and the RPF/RP(T)Ltd. folks are looking at it.
viewtopic.php?f=36&t=208664#p1291784

Re: 3B+ as a Wireless Access Point

Posted: Thu Mar 29, 2018 8:48 pm
by themaire
Hi,

For me the success was only with Jessie. Stretch and his new network management was a bad trip for me.

Good luck.

Re: 3B+ as a Wireless Access Point

Posted: Fri Mar 30, 2018 10:54 am
by ejolson
themaire wrote:
Thu Mar 29, 2018 8:48 pm
For me the success was only with Jessie. Stretch and his new network management was a bad trip for me.
My Pi 3B+ arrived and I have set up an access point using the built-in WiFi on wlan0 with upstream through a USB WiFi dongle on wlan1. I didn't use bridging but NAT for a segmented network topology, thus avoiding the kernel panic reported above. Some scripting was needed to prevent dhcpcd from lauching wpa_supplicant on the access point. Also, since systemd refused to start the dhcp server, additional scripting was needed in rc.local for that and to set up the masquerade firewall. Any hints on how to troubleshoot why systemd does not start dhcp would be appreciated. Is there anything I need to do to turn off power saving so the access point doesn't go to sleep? I'll report back on reliability soon.

Re: 3B+ as a Wireless Access Point

Posted: Sat Apr 07, 2018 4:44 am
by ejolson
It ran for about a week and now my Pi 3B+ based access point is unhappily not accepting connections. It's at a remote location so I can't check what went wrong until next week. At that time I plan to reduce the clock speed to 1200 Mhz and the memory speed to 450 Mhz. Maybe that's not necessary. Does anyone have other ideas how to improve stability?

Re: 3B+ as a Wireless Access Point

Posted: Sat Apr 07, 2018 5:42 pm
by energyi
This is an interesting thread, thanks. Would hope when a robust approach is developed that the code can be shared here. A 0W would be a great AP as a broadcast tool.

Best,

energyi

Re: 3B+ as a Wireless Access Point

Posted: Mon May 21, 2018 10:57 pm
by ejolson
ejolson wrote:
Sat Apr 07, 2018 4:44 am
I'll report whether things are more stable in a week.
Switching the WiFi so the built-in was upstream definitely helped--the upstream signal was weak and USB dongle didn't have very good range. It also allowed me to track another issue with power saving modes. Everything is now running stably for a couple weeks!

An interesting report on setting up two WiFi devices as a masquerade firewall is here.

Re: 3B+ as a Wireless Access Point

Posted: Wed Sep 12, 2018 12:03 pm
by waxingsatirical
Has anyone got their 3B+ access point running in AC mode?

I've followed tutorials and got it working in G mode, but AC should be supported right?

Re: 3B+ as a Wireless Access Point

Posted: Wed Sep 12, 2018 1:03 pm
by Forris
Have you had a look at this? http://www.raspberryconnect.com/network ... pcd-method

The guides on here are usually pretty good.

Re: 3B+ as a Wireless Access Point

Posted: Wed Sep 12, 2018 6:27 pm
by lewmur
This can be an interesting experiment. I know 'cause I did it. But, in the end, IMHO, it is pointless. The result is always unreliable and you can purchase a range extender/access point for much less money than the cost a Pi plus wifi dongle.

Re: 3B+ as a Wireless Access Point

Posted: Wed Sep 12, 2018 6:50 pm
by ejolson
lewmur wrote:
Wed Sep 12, 2018 6:27 pm
This can be an interesting experiment. I know 'cause I did it. But, in the end, IMHO, it is pointless. The result is always unreliable and you can purchase a range extender/access point for much less money than the cost a Pi plus wifi dongle.
The result shouldn't be unreliable, but I'll admit it was a bit unreliable.

In my case a WiFi extender wasn't a complete solution because I actually wanted the network segmentation that happens with a masquerade firewall. In one direction I was isolating a Chromecast television from an Android mobile and in the other direction a network printer from many other things. I also wanted to run separate DNS, DHCP and NTP servers on the inner network.

Re: 3B+ as a Wireless Access Point

Posted: Wed Jun 26, 2019 3:37 pm
by jimjulian
I just finished adding the Acess Point from the page on this site and mentioned above. I can use the Pi to surf the web on my laptop.
I haven't done that to any great degree since I have a TP-Link Talon 7200.

Regarding the band usage also mentioned above; I can use the 2.4GHz band but the option for 5GHz does not work.