Page 1 of 1

Wifi access point number of clients

Posted: Thu Nov 02, 2017 5:46 am
by Preetilatha
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

Re: Wifi access point number of clients

Posted: Thu Nov 02, 2017 10:22 am
by SurferTim
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?

Re: Wifi access point number of clients

Posted: Thu Nov 02, 2017 10:31 am
by DougieLawson
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

Re: Wifi access point number of clients

Posted: Thu Nov 02, 2017 11:05 am
by Preetilatha
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?

Re: Wifi access point number of clients

Posted: Thu Nov 02, 2017 11:10 am
by Preetilatha
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

Re: Wifi access point number of clients

Posted: Thu Nov 02, 2017 11:28 am
by SurferTim
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

Re: Wifi access point number of clients

Posted: Fri Nov 03, 2017 6:32 am
by Preetilatha
HI,
Can I use external wifi adapter to increase the no of clients. If so, which wifi adapter can I use?

Re: Wifi access point number of clients

Posted: Fri Nov 03, 2017 11:38 am
by jamesh
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.

Re: Wifi access point number of clients

Posted: Fri Nov 03, 2017 11:53 am
by SurferTim
Did you try adding this to /etc/hostapd/hostapd.conf?

Code: Select all

max_num_sta=100

Re: Wifi access point number of clients

Posted: Mon Nov 11, 2019 1:57 pm
by hanene
i have the same problem , can i know if you have found a solution ?

Re: Wifi access point number of clients

Posted: Tue Nov 12, 2019 6:47 pm
by mina