Difference between revisions of "Transclusion: IOT-DIN-IMX8PLUS: WiFi: AP"

From Compulab Mediawiki
Jump to: navigation, search
(Created page with "=== Creating Access Point === {{Note|Debian 12<br>ipv4 forwarding must be turned on manually}} * Enable port forwarding: :<pre>compulab@compulab-imx8mp:~$ sudo sed -i 's/^#\(n...")
 
(No difference)

Latest revision as of 16:58, 19 January 2025

Creating Access Point

Admolition note.png Debian 12
ipv4 forwarding must be turned on manually
  • Enable port forwarding:
compulab@compulab-imx8mp:~$ sudo sed -i 's/^#\(net.ipv[4,6].*forward\)/\1/' /etc/sysctl.conf
  • Enable wireless AP (replace <SSID> and <PASSWORD> with desired access point parameters):
sudo nmcli device wifi hotspot ssid <SSID> password <PASSWORD> con-name HotspotCon-${wlan} ifname ${wlan}
  • Disable wireless AP:
compulab@compulab-imx8mp:~$ sudo nmcli connection down HotspotCon-${wlan}
  • Enable wireless AP again:
compulab@compulab-imx8mp:~$ sudo nmcli connection up HotspotCon-${wlan}