neige d'aoust

knowledge, art, and other stuff

User Tools

Site Tools


wifi_ap_diskless

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wifi_ap_diskless [2025/06/16 21:40] Yukiwifi_ap_diskless [2025/06/17 13:12] (current) Yuki
Line 50: Line 50:
 ===== Configure the access point ===== ===== Configure the access point =====
  
-Ideally you want to configure ''hostapd.conf'' with ''hw_mode=a'' to use Wi-Fi 5 (aka 802.11ac) capabilities and use the 5 GHz band, for Wi-Fi 4 (802.11n) and the 2.4 GHz band you can use ''hw_mode=g''.+Ideally you want to configure ''hostapd.conf'' with ''hw_mode=a'' to use Wi-Fi 5 (aka 802.11ac) capabilities and use the 5 GHz band, for Wi-Fi 4 (802.11n) and the 2.4 GHz band you can use ''hw_mode=g''. Use ''iw list'' to find out which channels you can use, those marked ''no IR'' are unusable.
  
 <note tip>Seems I can't use the 5 GHz band on my Intel card(( [[arch>Software_access_point#Cannot_start_AP_mode_in_5_GHz_band]])), patch kernel?</note> <note tip>Seems I can't use the 5 GHz band on my Intel card(( [[arch>Software_access_point#Cannot_start_AP_mode_in_5_GHz_band]])), patch kernel?</note>
  
 Solution: Apparently ''hostapd'' resets the regdomain before starting and it doesn't scan beforehand so the Intel LAR sets it correctly again, use [[https://tildearrow.org/?p=post&month=7&year=2022&item=lar|this patch]] so the regdomain can be properly set and you can access the 5 GHz band, no kernel recompile needed. Well, unless there's no wi-fi signal around... Solution: Apparently ''hostapd'' resets the regdomain before starting and it doesn't scan beforehand so the Intel LAR sets it correctly again, use [[https://tildearrow.org/?p=post&month=7&year=2022&item=lar|this patch]] so the regdomain can be properly set and you can access the 5 GHz band, no kernel recompile needed. Well, unless there's no wi-fi signal around...
 +
 +Relevant Arch packages: [[aur>iwlwifi-lar-disable-dkms]], [[aur>hostapd-git-intel-lar]]
  
 Also, the wireless interface may or may not show up right at boot unless you modprobe ''iwlmvm'', make sure you either add it to ''/etc/modules-load.d'' or also ''/etc/mkinitcpio.conf''. Also, the wireless interface may or may not show up right at boot unless you modprobe ''iwlmvm'', make sure you either add it to ''/etc/modules-load.d'' or also ''/etc/mkinitcpio.conf''.
wifi_ap_diskless.1750124422.txt.gz · Last modified: by Yuki