Hi,
It didn’t work.
/etc/network/interfaces:
source-directory /etc/network/interfaces.d
auto lo
iface lo inet loopback
allow-hotplug wlan0
iface wlan0 inet static
address 10.0.1.1
network 10.0.1.0
netmask 255.255.255.0
gateway 10.0.1.1
/etc/hostapd/hostapd.conf:
interface=wlan0
ssid=MYSSID
hw_mode=g
wpa=2
wpa_passphrase=12345678
wpa_key_mgmt=WPA-PSK
channel=10
macaddr_acl=0
auth_algs=3
driver=nl80211
ieee80211n=1
wmm_enabled=1
beacon_int=100
rsn_pairwise=CCMP
wpa_pairwise=CCMP
ignore_broadcast_ssid=0
/etc/dnsmasq.conf:
interface=wlan0
no-resolv
bogus-priv
server=8.8.8.8
server=8.8.4.4
dhcp-range=10.0.1.50,10.0.1.150,255.255.255.0,12h
/etc/NetworkManager/NetworkManager.conf:
[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq
[ífupdown]
managed=false
the command “iw wlan0 info” output is:
Interface wlan0
ifindex 3
wdev 0x1
addr 02:00:85:4f:25:28
type managed
wiphy 0
command “iwconfig” output is:
wlan0 IEEE 802.11abgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
sit0 no wireless extensions.
lo no wireless extensions.
/etc/sysctl.conf:
net.ipv4.ip_forward=1
dmesg output for wcn36xx:
[ 18.833139] wcn36xx-msm a000000.qcom,wcn36xx: wcn36xx_msm_probe initialized
[ 18.845425] wcn36xx: mac address: 02:00:85:4f:25:28
[ 19.400646] wcn36xx: firmware WLAN version 'WCN v2.0 RadioPhy vRhea_GF_1.12 with 19.2MHz XO' and CRM version 'CNSS-PR-2-0-1-2-c1-00010'
[ 19.400684] wcn36xx: firmware API 1.5.1.2, 41 stations, 2 bssids
[ 19.412911] wcn36xx: FW Cap MCC
[ 19.417892] wcn36xx: FW Cap P2P
[ 19.420756] wcn36xx: FW Cap SLM_SESSIONIZATION
[ 19.423852] wcn36xx: FW Cap DOT11AC_OPMODE
[ 19.428399] wcn36xx: FW Cap SAP32STA
[ 19.432473] wcn36xx: FW Cap TDLS
[ 19.436208] wcn36xx: FW Cap P2P_GO_NOA_DECOUPLE_INIT_SCAN
[ 19.439392] wcn36xx: FW Cap WLANACTIVE_OFFLOAD
[ 19.444722] wcn36xx: FW Cap BEACON_OFFLOAD
[ 19.449064] wcn36xx: FW Cap SCAN_OFFLOAD
[ 19.453150] wcn36xx: FW Cap BCN_MISS_OFFLOAD
[ 19.457218] wcn36xx: FW Cap STA_POWERSAVE
[ 19.461473] wcn36xx: FW Cap STA_ADVANCED_PWRSAVE
[ 19.465378] wcn36xx: FW Cap BCN_FILTER
[ 19.470078] wcn36xx: FW Cap RTT
[ 19.473625] wcn36xx: FW Cap RATECTRL
[ 19.476659] wcn36xx: FW Cap WOW
[ 19.480481] wcn36xx: FW Cap WLAN_ROAM_SCAN_OFFLOAD
[ 19.483314] wcn36xx: FW Cap SPECULATIVE_PS_POLL
[ 19.488210] wcn36xx: FW Cap IBSS_HEARTBEAT_OFFLOAD
[ 19.492636] wcn36xx: FW Cap WLAN_SCAN_OFFLOAD
[ 19.497490] wcn36xx: FW Cap WLAN_PERIODIC_TX_PTRN
[ 19.501916] wcn36xx: FW Cap ADVANCE_TDLS
[ 19.506605] wcn36xx: FW Cap BATCH_SCAN
[ 19.510596] wcn36xx: FW Cap FW_IN_TX_PATH
[ 19.514160] wcn36xx: FW Cap EXTENDED_NSOFFLOAD_SLOT
[ 19.518236] wcn36xx: FW Cap CH_SWITCH_V1
[ 19.522925] wcn36xx: FW Cap HT40_OBSS_SCAN
[ 19.527085] wcn36xx: FW Cap UPDATE_CHANNEL_LIST
[ 19.530999] wcn36xx: FW Cap WLAN_MCADDR_FLT
[ 19.535424] wcn36xx: FW Cap WLAN_CH144
[ 19.539590] wcn36xx: FW Cap TDLS_SCAN_COEXISTENCE
[ 19.543409] wcn36xx: FW Cap LINK_LAYER_STATS_MEAS
[ 19.548189] wcn36xx: FW Cap EXTENDED_SCAN
[ 19.552867] wcn36xx: FW Cap DYNAMIC_WMM_PS
[ 19.556858] wcn36xx: FW Cap MAC_SPOOFED_SCAN
[ 19.560851] wcn36xx: FW Cap FW_STATS
[ 19.565284] wcn36xx: FW Cap WPS_PRBRSP_TMPL
[ 19.568838] wcn36xx: FW Cap BCN_IE_FLT_DELTA