新版本的全志R16平台的tinav2.1的系统打开softAP(分色排版)

来源:互联网 发布:手机淘宝可以开店吗 编辑:程序博客网 时间:2024/05/17 09:08

新版本的全志R16平台的tinav2.1的系统打开softAP

2017/9/5 17:27

版本:V1.0

 

 

1、原始编译:

rootroot@cm-System-Product-Name:~$ cd /home/wwt

rootroot@cm-System-Product-Name:/home/wwt$

rootroot@cm-System-Product-Name:/home/wwt$ tar zxvf r16_tinav2.1_csdn_20170901_1040.tar.gz 

rootroot@cm-System-Product-Name:/home/wwt$ mv tina softap_csdn_tinav2.1

rootroot@cm-System-Product-Name:/home/wwt$

rootroot@cm-System-Product-Name:/home/wwt$ cd softap_csdn_tinav2.1/

rootroot@cm-System-Product-Name:/home/wwt/softap_csdn_tinav2.1$

rootroot@cm-System-Product-Name:/home/wwt/softap_csdn_tinav2.1$ source build/envsetup.sh 

including target/allwinner/cello-pro/vendorsetup.sh

including target/allwinner/nuclear-dev/vendorsetup.sh

including target/allwinner/cello-perf1/vendorsetup.sh

including target/allwinner/tulip-d1/vendorsetup.sh

including target/allwinner/banjo-perf1/vendorsetup.sh

including target/allwinner/banjo-dh/vendorsetup.sh

including target/allwinner/octopus-sch/vendorsetup.sh

including target/allwinner/azalea-perf2/vendorsetup.sh

including target/allwinner/azalea-perf3/vendorsetup.sh

including target/allwinner/banjo-v3s/vendorsetup.sh

including target/allwinner/sitar-evb/vendorsetup.sh

including target/allwinner/octopus-dev/vendorsetup.sh

including target/allwinner/azalea-m2ultra/vendorsetup.sh

including target/allwinner/astar-evb/vendorsetup.sh

including target/allwinner/generic/vendorsetup.sh

including target/allwinner/azalea-perf1/vendorsetup.sh

including target/allwinner/astar-parrot/vendorsetup.sh

including target/allwinner/astar-spk/vendorsetup.sh

including target/allwinner/azalea-m2ultraservers/vendorsetup.sh

including target/allwinner/tulip-pine64/vendorsetup.sh

including target/allwinner/azalea-evb/vendorsetup.sh

including target/allwinner/tulip-m64/vendorsetup.sh

rootroot@cm-System-Product-Name:/home/wwt/softap_csdn_tinav2.1$ lunch

 

You're building on Linux

 

Lunch menu... pick a combo:

     1. cello_pro-tina

     2. nuclear_dev-tina

     3. nuclear_dev-dragonboard

     4. cello_perf1-tina

     5. tulip_d1-tina

     6. tulip_d1-dragonboard

     7. banjo_perf1-tina

     8. banjo_dh-tina

     9. octopus_sch-tina

     10. octopus_sch-dragonboard

     11. azalea_perf2-tina

     12. azalea_perf2-dragonboard

     13. azalea_perf3-tina

     14. azalea_perf3-dragonboard

     15. banjo_v3s-tina

     16. sitar_evb-tina

     17. octopus_dev-tina

     18. octopus_dev-dragonboard

     19. azalea_m2ultra-tina

     20. azalea_m2ultra-dragonboard

     21. astar_evb-tina

     22. azalea_perf1-tina

     23. azalea_perf1-dragonboard

     24. astar_parrot-tina

     25. astar_parrot-dragonboard

     26. astar_spk-tina

     27. astar_spk-dragonboard

     28. azalea_m2ultraservers-tina

     29. azalea_m2ultraservers-dragonboard

     30. tulip_pine64-tina

     31. tulip_pine64-dragonboard

     32. azalea_evb-tina

     33. azalea_evb-dragonboard

     34. tulip_m64-tina

     35. tulip_m64-dragonboard

 

Which would you like?24

 

============================================

PLATFORM_VERSION_CODENAME=Neptune

PLATFORM_VERSION=2.1.2

PRODUCT_VERSION=v2.2

TARGET_PRODUCT=astar_parrot

TARGET_BUILD_VARIANT=tina

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv7-a-neon

TARGET_CPU_VARIANT=cortex-a7

TARGET_2ND_ARCH=

TARGET_2ND_ARCH_VARIANT=

TARGET_2ND_CPU_VARIANT=

HOST_ARCH=x86_64

HOST_OS=linux

HOST_OS_EXTRA=Linux-3.13.0-24-generic-x86_64-with-Ubuntu-14.04-trusty

HOST_BUILD_TYPE=release

BUILD_ID=593A1793

TARGET_OUT_DIR=out/astar-parrot

============================================

 

rootroot@cm-System-Product-Name:/home/wwt/softap_csdn_tinav2.1$ make -j12

rootroot@cm-System-Product-Name:/home/wwt/softap_csdn_tinav2.1$ pack -d

 

 

(新版本的SDK里面softap-demo已经默认加载了!)

rootroot@cm-System-Product-Name:/home/wwt/softap_csdn_tinav2.1$ make menuconfig

Allwinner  --->

-*- softap............................................... Tina softap manager  --->

--- softap............................................... Tina softap manager

<*>   softap-demo......................................... Tina softap app demo

 

 

 

 

2、Softap的使用

1)、softap_test(使用默认配置启动Softap)

系统启动以后直接在shell里运行命令

softap_test

待程序运行成功返回后,即可搜索到ssid为Smart-AW-HOSTAPD的热点,密码为wifi1111。

 

2)、softap_up(使用客户指定的ssid、psk和广播/隐藏形式启动softap)

命令格式:

softap_up “ssid” “psk/open” “broadcast/hidden”

说明:

上述格式中的’/’符号代表“或”的含义,即参数根据需要选择其中一种形式。

第一个参数:ssid为用户指定的热点的名称;

第二个参数:psk为用户指定的热点的密码。当指定密码(不开放时),密码的长度必需大于或者等于8位;当设置为“open”时,热点为不加密开放热点,任何人都可以不需要密码随时接入。当输入的参数只有“ssid”一个,或者第二个参数为“open”时,系统建立的热点为不加密方式。

第三个参数:为“broadcast”时,热点为可见形式;为“hidden”时,为隐藏形式。

 

3)、softap_down(关闭热点)

关闭热点只需直接运行

softap_down

说明:

需等待程序返回以后再进行wifi相关的其他操作。

 

 

 

 

3、softap_test运行成功返回后,即可搜索到ssid为Smart-AW-HOSTAPD的热点,密码为wifi1111。

[   15.594245] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x5d)

[   15.608451] xt_time: kernel timezone is -0000

[   16.589576] android_usb gadget: high-speed config #1: android

[   16.764487] request_suspend_state: wakeup (3->0) at 16764470468 (2017-09-17 09:11:11.074827168 UTC)

[   16.775211] request_suspend_state: wakeup (0->0) at 16775193134 (2017-09-17 09:11:11.085549668 UTC)

 

 

 

BusyBox v1.24.1 () built-in shell (ash)

 

 _____  _              __     _

|_   _||_| ___  _ _   |  |   |_| ___  _ _  _ _

  | |   _ |   ||   |  |  |__ | ||   || | ||_'_|

  | |  | || | || _ |  |_____||_||_|_||___||_,_|

  |_|  |_||_|_||_|_|  Tina is Based on OpenWrt!

 ----------------------------------------------

 Tina Linux (Neptune, 593A1793)

 ----------------------------------------------

root@TinaLinux:/#

root@TinaLinux:/#

root@TinaLinux:/#

root@TinaLinux:/# cd /bin/

root@TinaLinux:/bin#

root@TinaLinux:/bin# ll soft*

-rwxr-xr-x    1 root     root          4095 Sep 15 16:44 softap_down

-rwxr-xr-x    1 root     root          4095 Sep 15 16:44 softap_test

-rwxr-xr-x    1 root     root          8191 Sep 15 16:44 softap_up

root@TinaLinux:/bin# softap_test 

***************************

Start hostapd test!

***************************

killall: wpa_supplicant: no process killed

Start to reload firmware!

Enter: wifi_get_fw_path function, fw_type=1,Eneter: wifi_change_fw_path, fwpath = /lib/firmware/fw_bcm43438a0_apsta.bin.

Softap fwReload - OkMessage is: OK

Reload firmware finished!

Start to set softap!

Message is: OK

Set softap finished!

[  152.178686] dhd_open: Enter d72e8000

[  152.182967]

[  152.182971] Dongle Host Driver, version 1.201.59.9 (r506368)

[  152.182975] Compiled in drivers/net/wireless/bcmdhd on Sep 15 2017 at 08:41:42

[  152.199407] wl_android_wifi_on in 1

[  152.203403] wl_android_wifi_on in 2: g_wifi_on=0

[  152.208864] wifi_platform_set_power = 1

[  152.213266] ======== PULL WL_REG_ON(-1) HIGH! ========

[  152.219170] [wifi_pm]: wifi power on

[  152.530074] sdio_reset_comm():

[  152.533588] [mmc]: sdc1 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B

[  152.546194] [mmc]: sdc1 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B

[  152.561969] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 4 timing LEGACY(SDR12) dt B

[  152.575834] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 4 timing LEGACY(SDR12) dt B

[  152.598874] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)

[  152.607261] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)

[  152.615546] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)

[  152.625591] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)

[  152.750134] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B

[  152.760551] [mmc]: sdc1 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B

[  152.771295] [mmc]: sdc1 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B

[  152.781992] sdioh_start: set sd_f2_blocksize 128

[  152.787566]

[  152.787569]

[  152.787571] dhd_bus_devreset: == WLAN ON ==

[  152.796058] F1 signature read @0x18000000=0x1540a9a6

[  152.804039] F1 signature OK, socitype:0x1 chip:0xa9a6 rev:0x0 pkg:0x4

[  152.812501] DHD: dongle ram size is set to 524288(orig 524288) at 0x0

[  152.820040] dhd_conf_read_config: Ignore config file /lib/firmware/config.txt

[  152.828185] dhd_conf_set_fw_name_by_chip: firmware_path=/lib/firmware/fw_bcm43438a0_apsta.bin

[  152.837891] dhdsdio_download_firmware: set use_rxchain 0

[  152.843922] dhdsdio_download_firmware: set txglomsize 40

[  152.850047] Final fw_path=/lib/firmware/fw_bcm43438a0_apsta.bin

[  152.856733] Final nv_path=/lib/firmware/nvram.txt

[  152.862161] Final conf_path=/lib/firmware/config.txt

[  153.095402] NVRAM version: AP6212_NVRAM_V1.0.1_20160606

[  153.105094] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.

[  153.177523] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)

[  153.184308] bcmsdh_oob_intr_register: Enter

[  153.189073] bcmsdh_oob_intr_register: HW_OOB enabled

[  153.194815] bcmsdh_oob_intr_register OOB irq=7 flags=0x4

[  153.200975] bcmsdh_oob_intr_register: enable_irq_wake

[  153.206705] bcmsdh_oob_intr_register: enable_irq_wake failed with -6

[  153.214728] dhd_conf_set_fw_int_cmd: set WLC_SET_BAND 142 0

[  153.221387] dhd_preinit_ioctls: Set tcpack_sup_mode 0

[  153.228990] Firmware up: op_mode=0x0002, MAC=94:a1:a2:c6:29:18

[  153.235579] dhd_conf_set_country: set country CN, revision 0

[  153.271218] Country code: CN (CN/0)

[  153.275856] dhd_conf_set_fw_string_cmd: set roam_off 1

[  153.290904] dhd_conf_set_fw_string_cmd: set pkt_filter_mode 0

[  153.298387] Firmware version = wl0: Oct  8 2016 15:27:51 version 7.46.57.4.ap.r4 (A0 Station/P2P) FWID 01-e2c3069b es6.c5.n4.a3

[  153.311364]   Driver: 1.201.59.9 (r506368)

[  153.311368]   Firmware: wl0: Oct  8 2016 15:27:51 version 7.46.57.4.ap.r4 (A0 Station/P2P) FWID 01-e2c3069b es6.c5.n4.a3

[  153.328901] dhd_txglom_enable: enable 1

[  153.333269] dhd_conf_set_txglom_params: swtxglom=0, txglom_ext=0

[  153.340054] dhd_conf_set_txglom_params: txglom_bucket_size=0

[  153.346520] dhd_conf_set_txglom_params: txglomsize=40, deferred_tx_len=40, bus_txglom=-1

[  153.355702] dhd_conf_set_txglom_params: tx_in_rx=1, tx_max_offset=0, txctl_tmo_fix=1

[  153.364404] sdioh_set_mode: set txglom_mode to multi-desc

[  153.370608] dhd_conf_set_disable_proptx: set disable_proptx 0

[  153.378567] dhd_wlfc_init(): successfully enabled bdcv2 tlv signaling, 79

[  153.386894] dhd_wlfc_init: query wlfc_mode succeed, fw_caps=0x1c

[  153.394250] dhd_wlfc_init(): wlfc_mode=0x1c, ret=0

[  153.400545] wl_android_wifi_on: Success

[  153.441832] dhd_open: Exit ret=0

Start to start softap!

Configuration file: /etc/wifi/hostapd.conf

nl80211: Could not re-add multicast membership for vendor events: -2 (No such file or directory)

[  157.640148] netdev_ifidx(5), chan_type(1) target channel(6)

SoftAP started successfullyMessage is: OK

Start softap finished!

[  157.666224] Disconnect STA : ff:ff:ff:ff:ff:ff scb_val.val 3

Using interface wlan0 with hwaddr 94:a1:a2:c6:29:18 and ssid "Smart-AW-HOSTAPD"

VLAN: vlan_set_name_type: SET_VLAN_NAME_TYPE_CMD name_type=2 failed: No error information

[  157.708530] _dhd_wlfc_mac_entry_update():1683, entry(32)

wlan0: interface state UNINITIALIZED->ENABLED

wlan0: AP-ENABLED

Command failed: Not found

/etc/rc.common: line 1: can't create /tmp/hosts/dhcp: nonexistent directory

***************************

Hostapd test successed!

***************************

root@TinaLinux:/bin#

root@TinaLinux:/bin#

(有手机连接上!)

root@TinaLinux:/bin# [  266.994000] wl_notify_connect_status_ap: connected device 60:d9:a0:dc:4a:f8

wlan0: STA 60:d9:a0:dc:4a:f8 IEEE 802.11: associated

wlan0: AP-STA-CONNECTED 60:d9:a0:dc:4a:f8

wlan0: STA 60:d9:a0:dc:4a:f8 RADIUS: starting accounting session 83BAD3A7-00000000

wlan0: STA 60:d9:a0:dc:4a:f8 WPA: pairwise key handshake completed (RSN)

 

root@TinaLinux:/bin#

 

 

 

 

4、softap_up(使用客户指定的ssid、psk和广播/隐藏形式启动softap)自定义SSID和密码

softap_up wyb 13572468

SSID:wyb

psk :13572468

 

[   15.555024] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x5d)

[   15.569578] xt_time: kernel timezone is -0000

[   16.591553] android_usb gadget: high-speed config #1: android

[   16.710564] request_suspend_state: wakeup (3->0) at 16710539385 (2017-09-17 17:16:54.046279918 UTC)

[   16.721541] request_suspend_state: wakeup (0->0) at 16721526968 (2017-09-17 17:16:54.057269168 UTC)

 

 

 

BusyBox v1.24.1 () built-in shell (ash)

 

 _____  _              __     _

|_   _||_| ___  _ _   |  |   |_| ___  _ _  _ _

  | |   _ |   ||   |  |  |__ | ||   || | ||_'_|

  | |  | || | || _ |  |_____||_||_|_||___||_,_|

  |_|  |_||_|_||_|_|  Tina is Based on OpenWrt!

 ----------------------------------------------

 Tina Linux (Neptune, 593A1793)

 ----------------------------------------------

root@TinaLinux:/#

root@TinaLinux:/#

root@TinaLinux:/# cd /bin

root@TinaLinux:/bin#

root@TinaLinux:/bin# ll soft*

-rwxr-xr-x    1 root     root          4095 Sep 15 16:44 softap_down

-rwxr-xr-x    1 root     root          4095 Sep 15 16:44 softap_test

-rwxr-xr-x    1 root     root          8191 Sep 15 16:44 softap_up

root@TinaLinux:/bin#

root@TinaLinux:/bin#

root@TinaLinux:/bin#

root@TinaLinux:/bin# softap_up wyb 13572468

***************************

Start hostapd test!

***************************

killall: wpa_supplicant: no process killed

Start to reload firmware!

Enter: wifi_get_fw_path function, fw_type=1,Eneter: wifi_change_fw_path, fwpath = /lib/firmware/fw_bcm43438a0_apsta.bin.

Softap fwReload - OkMessage is: OK

Reload firmware finished!

Start to set softap!

Message is: OK

Set softap finished!

[   80.545143] dhd_open: Enter d7aca000

[   80.549337]

[   80.549339] Dongle Host Driver, version 1.201.59.9 (r506368)

[   80.549343] Compiled in drivers/net/wireless/bcmdhd on Sep 15 2017 at 08:41:42

[   80.565705] wl_android_wifi_on in 1

[   80.569675] wl_android_wifi_on in 2: g_wifi_on=0

[   80.575032] wifi_platform_set_power = 1

[   80.579385] ======== PULL WL_REG_ON(-1) HIGH! ========

[   80.585331] [wifi_pm]: wifi power on

[   80.890038] sdio_reset_comm():

[   80.893554] [mmc]: sdc1 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B

[   80.906168] [mmc]: sdc1 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B

[   80.917726] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 4 timing LEGACY(SDR12) dt B

[   80.928661] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 4 timing LEGACY(SDR12) dt B

[   80.951527] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)

[   80.959889] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)

[   80.968187] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)

[   80.978228] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)

[   81.102807] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B

[   81.113231] [mmc]: sdc1 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B

[   81.123940] [mmc]: sdc1 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B

[   81.134620] sdioh_start: set sd_f2_blocksize 128

[   81.140261]

[   81.140264]

[   81.140267] dhd_bus_devreset: == WLAN ON ==

[   81.148684] F1 signature read @0x18000000=0x1540a9a6

[   81.156844] F1 signature OK, socitype:0x1 chip:0xa9a6 rev:0x0 pkg:0x4

[   81.164866] DHD: dongle ram size is set to 524288(orig 524288) at 0x0

[   81.172597] dhd_conf_read_config: Ignore config file /lib/firmware/config.txt

[   81.180787] dhd_conf_set_fw_name_by_chip: firmware_path=/lib/firmware/fw_bcm43438a0_apsta.bin

[   81.190646] dhdsdio_download_firmware: set use_rxchain 0

[   81.196664] dhdsdio_download_firmware: set txglomsize 40

[   81.202824] Final fw_path=/lib/firmware/fw_bcm43438a0_apsta.bin

[   81.209504] Final nv_path=/lib/firmware/nvram.txt

[   81.214950] Final conf_path=/lib/firmware/config.txt

[   81.590695] NVRAM version: AP6212_NVRAM_V1.0.1_20160606

[   81.600382] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.

[   81.669753] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)

[   81.676577] bcmsdh_oob_intr_register: Enter

[   81.681370] bcmsdh_oob_intr_register: HW_OOB enabled

[   81.687119] bcmsdh_oob_intr_register OOB irq=7 flags=0x4

[   81.693359] bcmsdh_oob_intr_register: enable_irq_wake

[   81.699110] bcmsdh_oob_intr_register: enable_irq_wake failed with -6

[   81.707138] dhd_conf_set_fw_int_cmd: set WLC_SET_BAND 142 0

[   81.713796] dhd_preinit_ioctls: Set tcpack_sup_mode 0

[   81.721430] Firmware up: op_mode=0x0002, MAC=94:a1:a2:c6:29:18

[   81.728024] dhd_conf_set_country: set country CN, revision 0

[   81.762260] Country code: CN (CN/0)

[   81.766882] dhd_conf_set_fw_string_cmd: set roam_off 1

[   81.782020] dhd_conf_set_fw_string_cmd: set pkt_filter_mode 0

[   81.789492] Firmware version = wl0: Oct  8 2016 15:27:51 version 7.46.57.4.ap.r4 (A0 Station/P2P) FWID 01-e2c3069b es6.c5.n4.a3

[   81.802457]   Driver: 1.201.59.9 (r506368)

[   81.802461]   Firmware: wl0: Oct  8 2016 15:27:51 version 7.46.57.4.ap.r4 (A0 Station/P2P) FWID 01-e2c3069b es6.c5.n4.a3

[   81.819998] dhd_txglom_enable: enable 1

[   81.824390] dhd_conf_set_txglom_params: swtxglom=0, txglom_ext=0

[   81.831165] dhd_conf_set_txglom_params: txglom_bucket_size=0

[   81.837660] dhd_conf_set_txglom_params: txglomsize=40, deferred_tx_len=40, bus_txglom=-1

[   81.846845] dhd_conf_set_txglom_params: tx_in_rx=1, tx_max_offset=0, txctl_tmo_fix=1

[   81.855591] sdioh_set_mode: set txglom_mode to multi-desc

[   81.861795] dhd_conf_set_disable_proptx: set disable_proptx 0

[   81.869758] dhd_wlfc_init(): successfully enabled bdcv2 tlv signaling, 79

[   81.878065] dhd_wlfc_init: query wlfc_mode succeed, fw_caps=0x1c

[   81.885414] dhd_wlfc_init(): wlfc_mode=0x1c, ret=0

[   81.891709] wl_android_wifi_on: Success

[   81.932669] dhd_open: Exit ret=0

Start to start softap!

Configuration file: /etc/wifi/hostapd.conf

nl80211: Could not re-add multicast membership for vendor events: -2 (No such file or directory)

SoftAP started successfullyMessage is: OK

Start softap finished!

[   86.145305] netdev_ifidx(5), chan_type(1) target channel(6)

[   86.171772] Disconnect STA : ff:ff:ff:ff:ff:ff scb_val.val 3

Using interface wlan0 with hwaddr 94:a1:a2:c6:29:18 and ssid "wyb"

VLAN: vlan_set_name_type: SET_VLAN_NAME_TYPE_CMD name_type=2 failed: No error information

Command failed: Not found

[   86.218313] _dhd_wlfc_mac_entry_update():1683, entry(32)

wlan0: interface state UNINITIALIZED->ENABLED

wlan0: AP-ENABLED

/etc/rc.common: line 1: can't create /tmp/hosts/dhcp: nonexistent directory

***************************

Hostapd test successed!

***************************

root@TinaLinux:/bin#

(有手机连接上!)

root@TinaLinux:/bin# [   99.020551] wl_notify_connect_status_ap: connected device 60:d9:a0:dc:4a:f8

wlan0: STA 60:d9:a0:dc:4a:f8 IEEE 802.11: associated

wlan0: AP-STA-CONNECTED 60:d9:a0:dc:4a:f8

wlan0: STA 60:d9:a0:dc:4a:f8 RADIUS: starting accounting session 4B5E88BE-00000000

wlan0: STA 60:d9:a0:dc:4a:f8 WPA: pairwise key handshake completed (RSN)

 

root@TinaLinux:/bin#

 

 

阅读全文
0 0
原创粉丝点击