Hello support team,
The wifi module works fine on my pico ultra w.
But there is no docs tells how to set the wifi module as Access Point.
Can you tell me how to set it as AP?
How to set pico ultra w as AP
Hello, the method to enable a hotspot in Buildroot is as follows:
1.Bring up wlan0 and set IP:
2.Configure dnsmasq.conf to assign IPs to connected devices,you can open and create /etc/dnsmasq.conf using vi:
3 Start dnsmasq:
4 Configure hostapd.conf, you can open and create /etc/hostapd.conf using vi:
5 Start hostapd, after which you can connect to the hotspot:
1.Bring up wlan0 and set IP:
Code: Select all
ifconfig wlan0 up
ifconfig wlan0 192.168.4.1
Code: Select all
interface=wlan0
dhcp-range=192.168.4.2,192.168.4.20,255.255.255.0,24h
Code: Select all
dnsmasq -C /etc/dnsmasq.conf
Code: Select all
interface=wlan0
driver=nl80211
ssid=<replace with the desired WiFi name>
hw_mode=g
channel=6
wmm_enabled=0
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=<replace with the desired WiFi password>
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
Code: Select all
hostapd /etc/hostapd.conf &