The Qualcomm Dragonwing IQ-8275 EVK features integrated Wi-Fi and Bluetooth connectivity via the NFA765A module (WCN6856 NSP288 chip) over an M.2 interface.
# Scan for networksnmcli dev wifi list# Connectnmcli dev wifi connect <SSID> password <password># Verify connectionnmcli general statusnmcli dev statusip addr show wlp1s0ping 8.8.8.8
# Pull default config (optional)scp -r ubuntu@<IP>:/etc/hostapd.conf .#Update the hostapd.conf file with the SSID, password, #Interface name and relevant configurations & push the file.scp -r hostapd.conf root@<IP_address>:/etc# Start the hostapd process:hostapd -B /etc/hostapd.conf
3
Start DHCP server
#Create bridge interfacebrctl addbr br0#Add wlan1 to bridgebrctl addif br0 wlan1#Assign IP address to bridgeip addr add 192.168.225.1/24 dev br0#Restart dnsmasqkillall dnsmasq#Start dnsmasq with DHCP configurationdnsmasq --conf-file=/etc/dnsmasq.conf --dhcp-leasefile=/var/run/dnsmasq.leases \ --addn-hosts=/data/hosts --pid-file=/var/run/dnsmasq.pid -i br0 -I lo -z \ --dhcp-range=br0,192.168.225.20,192.168.225.60,255.255.255.0,43200 --dhcp-hostsfile=/data/dhcp_hosts \ --dhcp-option-force=6,192.168.225.1 --dhcp-script=/bin/dnsmasq_script.sh
4
Monitor connections
#To establish a connection with the *hostapd_cli*hostapd_cli -i wlan1 -p /var/run/hostapd
Stop hotspot:
#To stop the hostapd processkillall hostapd#To disable the interfaceip link set wlan1 down#To delete *ctrl_interface*rm -rf /var/run/hostapd/wlan1
# Wi-Fiecho "module ath11k +p" > /sys/kernel/debug/dynamic_debug/controldmesg > /tmp/dmesg.txt# Bluetooth#Enable BlueZ logsvi /lib/systemd/system/bluetooth.service#Append -d option to the following line in the file and save ExecStart=/usr/libexec/bluetooth/bluetoothd -d#Restart Bluetoothsystemctl daemon-reloadsystemctl restart bluetooth# Collect HCI snoop log hcidump --save-dump=/var/log/snoop.log