Preetilatha
Posts: 6
Joined: Wed Oct 12, 2016 6:03 am

Wifi access point number of clients

Thu Nov 02, 2017 5:46 am

HI all,
I created a wifi access point with Rpi3. The number of devices that can be connected to the wifi access point is only 5 :cry: .
How to increase the number of clients connected to wifi access point?


Thanks in advance

SurferTim
Posts: 1922
Joined: Sat Sep 14, 2013 9:27 am
Location: Miramar Beach, Florida

Re: Wifi access point number of clients

Thu Nov 02, 2017 10:22 am

I haven't tried connecting that many clients, but what indication do you get that the RPi will not accept any more client associations?
New clients don't see the SSID?
See the SSID but won't associate?
Associate but don't get network settings?
My advice applies to RaspiOS only. Please mention if you use another OS.

User avatar
DougieLawson
Posts: 40791
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Wifi access point number of clients

Thu Nov 02, 2017 10:31 am

What's the range of addresses in your dnsmasq config?

Code: Select all

 dhcp-range=192.168.3.14,192.168.3.44,255.255.255.0,24h
Any language using left-hand whitespace for syntax is ridiculous

Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.

Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Preetilatha
Posts: 6
Joined: Wed Oct 12, 2016 6:03 am

Re: Wifi access point number of clients

Thu Nov 02, 2017 11:05 am

When I try to connect the 6th device , SSID is seen but its not getting associated. The wifi hotspot is not in range :(
SurferTim wrote:
Thu Nov 02, 2017 10:22 am
I haven't tried connecting that many clients, but what indication do you get that the RPi will not accept any more client associations?
New clients don't see the SSID?
See the SSID but won't associate?
Associate but don't get network settings?

Preetilatha
Posts: 6
Joined: Wed Oct 12, 2016 6:03 am

Re: Wifi access point number of clients

Thu Nov 02, 2017 11:10 am

In dhcpd.conf file my configurations are

subnet 192.168.42.0 netmask 255.255.255.0 {
range 192.168.42.10 192.168.42.50;
option broadcast-address 192.168.42.255;
option routers 192.168.42.1;
default-lease-time 600;
max-lease-time 7200;
option domain-name "local";
option domain-name-servers 8.8.8.8, 8.8.4.4;
}

DougieLawson wrote:
Thu Nov 02, 2017 10:31 am
What's the range of addresses in your dnsmasq config?

Code: Select all

 dhcp-range=192.168.3.14,192.168.3.44,255.255.255.0,24h

SurferTim
Posts: 1922
Joined: Sat Sep 14, 2013 9:27 am
Location: Miramar Beach, Florida

Re: Wifi access point number of clients

Thu Nov 02, 2017 11:28 am

The hostapd service sets a default number of stations to 2007. Six stations should not exceed that.

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
https://w1.fi/cgit/hostap/plain/hostapd/hostapd.conf
My advice applies to RaspiOS only. Please mention if you use another OS.

Preetilatha
Posts: 6
Joined: Wed Oct 12, 2016 6:03 am

Re: Wifi access point number of clients

Fri Nov 03, 2017 6:32 am

HI,
Can I use external wifi adapter to increase the no of clients. If so, which wifi adapter can I use?

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 28358
Joined: Sat Jul 30, 2011 7:41 pm

Re: Wifi access point number of clients

Fri Nov 03, 2017 11:38 am

This is not an adaptor problem, but a configuration one I think, but you could try a USB adaptor just to see if it makes a difference.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

SurferTim
Posts: 1922
Joined: Sat Sep 14, 2013 9:27 am
Location: Miramar Beach, Florida

Re: Wifi access point number of clients

Fri Nov 03, 2017 11:53 am

Did you try adding this to /etc/hostapd/hostapd.conf?

Code: Select all

max_num_sta=100
My advice applies to RaspiOS only. Please mention if you use another OS.

hanene
Posts: 2
Joined: Mon Nov 11, 2019 9:00 am

Re: Wifi access point number of clients

Mon Nov 11, 2019 1:57 pm

i have the same problem , can i know if you have found a solution ?

mina
Posts: 34
Joined: Sun Sep 03, 2017 11:49 am
Location: Switzerland
Contact: Website

Re: Wifi access point number of clients

Tue Nov 12, 2019 6:47 pm

Maintainer of MoodleBox, a Moodle server on Raspberry Pi

Return to “Networking and servers”