Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 27/01/2022, à 15:45

ylepors

Hotspot wifi (hostapd) et limitation du nombre de clients

Bonjour,

Je monte un hotspot wifi sur une DELL équipé d'une carte wireless Intel AX201 avec hostapd et dnsmasq. Pas de connexion bridgée.
L'idée est de délivrer un accès à un serveur web autonome a des devices (iPhone et iPad) en espace clos.

La configuration fonctionne bien et j'ai accès depuis les devices à mon serveur.

Une limitation est apparue sur le nombre de device qui peuvent se connecter.
Seuls 12 devices peuvent s'incrire sur le wifi proposé, le 13ème se prend un refus de connexion. Si je déconnecte un device, je peux connecter le device qui vient de se faire refuser la connexion.

Avez-vous des pistes qui pourraient faire sauter cette limitation ?

Merci
Yves

>>    lsb_release -a

Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.3 LTS
Release:	20.04
Codename:	focal

>>    lsusb

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 8087:0026 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

>>    lspci -k -nn | grep -A 3 -i net

00:14.3 Network controller [0280]: Intel Corporation Wi-Fi 6 AX201 [8086:06f0]
	DeviceName: Onboard - Ethernet
	Subsystem: Intel Corporation Device [8086:4070]
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi
--
00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (11) I219-LM [8086:0d4c]
	DeviceName: Onboard - Ethernet
	Subsystem: Dell Ethernet Connection (11) I219-LM [1028:0b8a]
	Kernel driver in use: e1000e
	Kernel modules: e1000e
01:00.0 Non-Volatile memory controller [0108]: KIOXIA Corporation Device [1e0f:0001]

>>    sudo lshw -C network

  *-network:0
       description: Wireless interface
       product: Wi-Fi 6 AX201
       vendor: Intel Corporation
       physical id: 14.3
       bus info: pci@0000:00:14.3
       logical name: wlo1
       version: 00
       serial: a0:e7:0b:fb:5a:ea
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=5.13.0-27-generic firmware=63.c04f3485.0 QuZ-a0-hr-b0-63.u ip=10.10.0.1 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:19 memory:d1234000-d1237fff
  *-network:1
       description: Ethernet interface
       product: Ethernet Connection (11) I219-LM
       vendor: Intel Corporation
       physical id: 1f.6
       bus info: pci@0000:00:1f.6
       logical name: eno2
       version: 00
       serial: a4:bb:6d:8d:81:13
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=5.13.0-27-generic duplex=full firmware=0.6-4 ip=192.168.1.17 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
       resources: irq:123 memory:d1200000-d121ffff

>>    lsmod | sort

ac97_bus               16384  1 snd_soc_core
acpi_pad              184320  0
aesni_intel           376832  8
af_alg                 28672  6 algif_hash,algif_skcipher
ahci                   40960  0
algif_hash             16384  1
algif_skcipher         16384  1
autofs4                45056  2
binfmt_misc            24576  1
blake2b_generic        20480  0
bluetooth             651264  31 btrtl,btintel,btbcm,bnep,btusb,rfcomm
bnep                   24576  2
btbcm                  16384  1 btusb
btintel                32768  1 btusb
btrfs                1388544  0
btrtl                  24576  1 btusb
btusb                  61440  0
ccm                    20480  6
cec                    53248  2 drm_kms_helper,i915
cfg80211              888832  3 iwlmvm,iwlwifi,mac80211
cmac                   16384  3
coretemp               20480  0
crc32_pclmul           16384  0
crct10dif_pclmul       16384  1
cryptd                 24576  3 crypto_simd,ghash_clmulni_intel
crypto_simd            16384  1 aesni_intel
dcdbas                 20480  1 dell_smbios
dell_smbios            28672  1 dell_wmi
dell_wmi               20480  0
dell_wmi_descriptor    20480  2 dell_wmi,dell_smbios
dell_wmi_sysman        40960  0
dm_log                 20480  2 dm_region_hash,dm_mirror
dm_mirror              24576  0
dm_region_hash         24576  1 dm_mirror
drm                   557056  9 drm_kms_helper,i915
drm_kms_helper        253952  1 i915
e1000e                266240  0
ecc                    36864  1 ecdh_generic
ecdh_generic           16384  2 bluetooth
efi_pstore             16384  0
fb_sys_fops            16384  1 drm_kms_helper
ghash_clmulni_intel    16384  0
i2c_algo_bit           16384  1 i915
i2c_i801               36864  0
i2c_smbus              20480  1 i2c_i801
i915                 2392064  12
idma64                 20480  0
intel_cstate           20480  0
intel_lpss             16384  1 intel_lpss_pci
intel_lpss_pci         24576  0
intel_pch_thermal      20480  0
intel_powerclamp       20480  0
intel_rapl_common      24576  1 intel_rapl_msr
intel_rapl_msr         20480  0
intel_tcc_cooling      16384  0
ip_tables              32768  0
iwlmvm                421888  0
iwlwifi               372736  1 iwlmvm
kvm                   864256  1 kvm_intel
kvm_intel             303104  0
ledtrig_audio          16384  3 snd_ctl_led,snd_hda_codec_generic,snd_sof
libahci                36864  1 ahci
libarc4                16384  1 mac80211
libcrc32c              16384  1 btrfs
lp                     20480  0
mac80211             1028096  1 iwlmvm
mac_hid                16384  0
mei                   131072  3 mei_hdcp,mei_me
mei_hdcp               24576  0
mei_me                 40960  1
Module                  Size  Used by
msr                    16384  0
nls_iso8859_1          16384  1
nvme                   49152  4
nvme_core             126976  5 nvme
parport                65536  3 parport_pc,lp,ppdev
parport_pc             45056  0
pinctrl_cannonlake     36864  0
ppdev                  24576  0
raid6_pq              114688  1 btrfs
rapl                   20480  0
rc_core                61440  1 cec
rfcomm                 81920  4
sch_fq_codel           20480  2
snd                    94208  21 snd_ctl_led,snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_rawmidi
snd_compress           28672  1 snd_soc_core
snd_ctl_led            24576  0
snd_hda_codec         147456  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda
snd_hda_codec_generic    81920  1 snd_hda_codec_realtek
snd_hda_codec_hdmi     61440  1
snd_hda_codec_realtek   139264  1
snd_hda_core           94208  9 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda
snd_hda_ext_core       32768  3 snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda
snd_hda_intel          53248  4
snd_hwdep              16384  1 snd_hda_codec
snd_intel_dspcfg       28672  2 snd_hda_intel,snd_sof_intel_hda_common
snd_intel_sdw_acpi     20480  2 snd_sof_intel_hda_common,snd_intel_dspcfg
snd_pcm               114688  11 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_soc_core,snd_hda_core,snd_pcm_dmaengine
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_rawmidi            36864  1 snd_seq_midi
snd_seq                73728  2 snd_seq_midi,snd_seq_midi_event
snd_seq_device         16384  3 snd_seq,snd_seq_midi,snd_rawmidi
snd_seq_midi           20480  0
snd_seq_midi_event     16384  1 snd_seq_midi
snd_soc_acpi           16384  2 snd_soc_acpi_intel_match,snd_sof_intel_hda_common
snd_soc_acpi_intel_match    49152  2 snd_sof_intel_hda_common,snd_sof_pci_intel_cnl
snd_soc_core          286720  4 soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda
snd_soc_hdac_hda       24576  1 snd_sof_intel_hda_common
snd_sof               131072  2 snd_sof_pci,snd_sof_intel_hda_common
snd_sof_intel_hda      20480  1 snd_sof_intel_hda_common
snd_sof_intel_hda_common    98304  1 snd_sof_pci_intel_cnl
snd_sof_pci            20480  2 snd_sof_intel_hda_common,snd_sof_pci_intel_cnl
snd_sof_pci_intel_cnl    16384  0
snd_sof_xtensa_dsp     16384  1 snd_sof_intel_hda_common
snd_timer              40960  2 snd_seq,snd_pcm
soundcore              16384  2 snd_ctl_led,snd
soundwire_bus          81920  3 soundwire_intel,soundwire_generic_allocation,soundwire_cadence
soundwire_cadence      32768  1 soundwire_intel
soundwire_generic_allocation    16384  1 soundwire_intel
soundwire_intel        40960  1 snd_sof_intel_hda_common
sparse_keymap          16384  1 dell_wmi
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
video                  53248  2 dell_wmi,i915
wmi                    32768  5 dell_wmi_sysman,dell_wmi,wmi_bmof,dell_smbios,dell_wmi_descriptor
wmi_bmof               16384  0
x86_pkg_temp_thermal    20480  0
xhci_pci               20480  0
xhci_pci_renesas       20480  1 xhci_pci
xor                    24576  1 btrfs
x_tables               49152  1 ip_tables
zstd_compress         176128  1 btrfs
>>    iwconfig

wlo1      IEEE 802.11  Mode:Master  Tx-Power=22 dBm
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on


>>    ip a

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eno2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether a4:bb:6d:8d:81:13 brd ff:ff:ff:ff:ff:ff
    altname enp0s31f6
    inet 192.168.1.17/24 brd 192.168.1.255 scope global dynamic noprefixroute eno2
       valid_lft 35283sec preferred_lft 35283sec
    inet6 fd9b:c7f9:a8ff:4dd1:e278:a09c:a42:7b7b/64 scope global temporary dynamic
       valid_lft 1537sec preferred_lft 253sec
    inet6 fd9b:c7f9:a8ff:4dd1:b525:1759:46ea:37a/64 scope global dynamic mngtmpaddr noprefixroute
       valid_lft 1537sec preferred_lft 253sec
    inet6 2a01:e0a:11c:4f30:c3bb:37cd:c6bb:3163/64 scope global temporary dynamic
       valid_lft 86137sec preferred_lft 78303sec
    inet6 2a01:e0a:11c:4f30:a84c:2aa8:6959:f51b/64 scope global dynamic mngtmpaddr noprefixroute
       valid_lft 86137sec preferred_lft 86137sec
    inet6 fe80::4d73:6099:a590:adc6/64 scope link noprefixroute
       valid_lft forever preferred_lft forever
3: wlo1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether a0:e7:0b:fb:5a:ea brd ff:ff:ff:ff:ff:ff
    altname wlp0s20f3
    inet 10.10.0.1/24 brd 10.10.0.255 scope global wlo1
       valid_lft forever preferred_lft forever
    inet6 fe80::a2e7:bff:fefb:5aea/64 scope link
       valid_lft forever preferred_lft forever

>>    sudo iwlist scan


>>    uname -r -m

5.13.0-27-generic x86_64

>>    cat /etc/network/interfaces

# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d

auto wlo1
  iface wlo1 inet static
  address 10.10.0.1
  netmask 255.255.255.0

>>    nm-tool


>>    nmcli dev wifi

IN-USE  BSSID  SSID  MODE  CHAN  RATE  SIGNAL  BARS  SECURITY

>>    nmcli connection list (< 15.04) ou nmcli connection show (>= 15.04)

NAME                 UUID                                  TYPE      DEVICE
Connexion filaire 1  054e73cb-f46e-3e64-b436-21c866ea3abe  ethernet  eno2

>>    sudo rfkill list

0: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
1: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no

Hors ligne