ejolson
Posts: 3405
Joined: Tue Mar 18, 2014 11:47 am

3B+ as a Wireless Access Point

Tue Mar 27, 2018 7:37 pm

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.

User avatar
DougieLawson
Posts: 35791
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: 3B+ as a Wireless Access Point

Tue Mar 27, 2018 11:25 pm

Try it. That's part of the learning experience.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

ejolson
Posts: 3405
Joined: Tue Mar 18, 2014 11:47 am

Re: 3B+ as a Wireless Access Point

Tue Mar 27, 2018 11:42 pm

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.

User avatar
DougieLawson
Posts: 35791
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: 3B+ as a Wireless Access Point

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.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

ejolson
Posts: 3405
Joined: Tue Mar 18, 2014 11:47 am

Re: 3B+ as a Wireless Access Point

Wed Mar 28, 2018 2:47 am

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!

Ernst
Posts: 1214
Joined: Sat Feb 04, 2017 9:39 am
Location: Germany

Re: 3B+ as a Wireless Access Point

Wed Mar 28, 2018 5:34 am

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.
The road to insanity is paved with static ip addresses

User avatar
DougieLawson
Posts: 35791
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: 3B+ as a Wireless Access Point

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.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

ejolson
Posts: 3405
Joined: Tue Mar 18, 2014 11:47 am

Re: 3B+ as a Wireless Access Point

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 deploying it to an off-site location. The short time frame is a difficulty, so I appreciate your testing.

Ernst
Posts: 1214
Joined: Sat Feb 04, 2017 9:39 am
Location: Germany

Re: 3B+ as a Wireless Access Point

Wed Mar 28, 2018 6:06 pm

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
The road to insanity is paved with static ip addresses

User avatar
DougieLawson
Posts: 35791
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: 3B+ as a Wireless Access Point

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 RPi3B+ is back to running my Google Assistant AIY voicehat (booted from the original USB stick).
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

User avatar
solar3000
Posts: 1051
Joined: Sat May 18, 2013 12:14 am

Re: 3B+ as a Wireless Access Point

Wed Mar 28, 2018 7:11 pm

That sounds like an interesting project. does it write to the SD card constantly?
Antikythera

ejolson
Posts: 3405
Joined: Tue Mar 18, 2014 11:47 am

Re: 3B+ as a Wireless Access Point

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.

User avatar
DougieLawson
Posts: 35791
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: 3B+ as a Wireless Access Point

Thu Mar 29, 2018 12:00 am

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
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

User avatar
themaire
Posts: 24
Joined: Tue Mar 08, 2016 8:56 am

Re: 3B+ as a Wireless Access Point

Thu Mar 29, 2018 8:48 pm

Hi,

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

Good luck.
All my Raspberry Pi stuffs on my Twitter : @nico_themaire
:D

ejolson
Posts: 3405
Joined: Tue Mar 18, 2014 11:47 am

Re: 3B+ as a Wireless Access Point

Fri Mar 30, 2018 10:54 am

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.

ejolson
Posts: 3405
Joined: Tue Mar 18, 2014 11:47 am

Re: 3B+ as a Wireless Access Point

Sat Apr 07, 2018 4:44 am

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?

energyi
Posts: 141
Joined: Tue Mar 24, 2015 9:39 pm

Re: 3B+ as a Wireless Access Point

Sat Apr 07, 2018 5:42 pm

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
energyi

ejolson
Posts: 3405
Joined: Tue Mar 18, 2014 11:47 am

Re: 3B+ as a Wireless Access Point

Mon May 21, 2018 10:57 pm

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.

waxingsatirical
Posts: 2
Joined: Mon Dec 19, 2016 10:04 pm

Re: 3B+ as a Wireless Access Point

Wed Sep 12, 2018 12:03 pm

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?

Forris
Raspberry Pi Certified Educator
Raspberry Pi Certified Educator
Posts: 279
Joined: Fri Jan 06, 2012 7:46 pm

Re: 3B+ as a Wireless Access Point

Wed Sep 12, 2018 1:03 pm

Have you had a look at this? http://www.raspberryconnect.com/network ... pcd-method

The guides on here are usually pretty good.

lewmur
Posts: 368
Joined: Sun Dec 25, 2011 3:20 pm
Contact: Website

Re: 3B+ as a Wireless Access Point

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.

ejolson
Posts: 3405
Joined: Tue Mar 18, 2014 11:47 am

Re: 3B+ as a Wireless Access Point

Wed Sep 12, 2018 6:50 pm

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.

jimjulian
Posts: 49
Joined: Mon Apr 04, 2016 12:09 am

Re: 3B+ as a Wireless Access Point

Wed Jun 26, 2019 3:37 pm

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.

Return to “General discussion”