hostapd移植笔记
来源:互联网 发布:js是什么防水材料 编辑:程序博客网 时间:2024/05/22 06:41
第一步,下载hostapd-0.8
然后进入步骤
cd defconfig .config
vim .config
/***********************************************************************/
CONFIG_DRIVER_RTW=y
# Integrated EAP server
CONFIG_EAP=y
# Wi-Fi Protected Setup (WPS)
CONFIG_WPS=y
CONFIG_TLS=internal
CONFIG_INTERNAL_LIBTOMMATH=y
CONFIG_IEEE80211N=y
# Integrated EAP server
CONFIG_EAP=y
# Wi-Fi Protected Setup (WPS)
CONFIG_WPS=y
CONFIG_TLS=internal
CONFIG_INTERNAL_LIBTOMMATH=y
CONFIG_IEEE80211N=y
/***********************************************************************/
第一步,下载hostapd-0.8
然后进入步骤
cd defconfig .config
vim .config
再修改 Makefile 添加内容:
CFLAGS += -I../src
CFLAGS += -I../src/utils
/*******************************************************************************/
CFLAGS += -I/home/sonix_user/fu/test1/libnl-1.1/out/include/
CFLAGS += -I/home/sonix_user/fu/test1/openssl-1.0.1c/out/include/
LIBS += -L/home/sonix_user/fu/test1/libnl-1.1/out/lib/
LDFLAGS += -L/home/sonix_user/fu/test1/libnl-1.1/out/lib/
LIBS += -L/home/sonix_user/fu/test1/openssl-1.0.1c/out/lib/
LDFLAGS += -L/home/sonix_user/fu/test1/openssl-1.0.1c/out/lib/
/*******************************************************************************/
然后编译 生成 hostapd 可执行文件
当然如果 移植要改动 CC =arm-linux-gcc
配置 hostapd.conf 配置文件如下:
interface=wlan0
ctrl_interface=/var/run/hostapd
ssid=SN-WIFI
channel=2
wpa=2
wpa_passphrase=88888888
auth_algs=1
ignore_broadcast_ssid=0
eap_server=1
driver=rtl871xdrv
beacon_int=100
hw_mode=g
ieee80211n=1
wme_enabled=1
ht_capab=[SHORT-GI-20][SHORT-GI-40]
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP
max_num_sta=8
wpa_group_rekey=86400
第一步,下载hostapd-0.8
然后进入步骤
cd defconfig .config
vim .config
再修改 Makefile 添加内容:
CFLAGS += -I../src
CFLAGS += -I../src/utils
/*******************************************************************************/
CFLAGS += -I/home/sonix_user/fu/test1/libnl-1.1/out/include/
CFLAGS += -I/home/sonix_user/fu/test1/openssl-1.0.1c/out/include/
LIBS += -L/home/sonix_user/fu/test1/libnl-1.1/out/lib/
LDFLAGS += -L/home/sonix_user/fu/test1/libnl-1.1/out/lib/
LIBS += -L/home/sonix_user/fu/test1/openssl-1.0.1c/out/lib/
LDFLAGS += -L/home/sonix_user/fu/test1/openssl-1.0.1c/out/lib/
/*******************************************************************************/
然后编译 生成 hostapd 可执行文件
当然如果 移植要改动 CC =arm-linux-gcc
配置 hostapd.conf 配置文件如下:
interface=wlan0
ctrl_interface=/var/run/hostapd
ssid=SN-WIFI
channel=2
wpa=2
wpa_passphrase=88888888
auth_algs=1
ignore_broadcast_ssid=0
eap_server=1
driver=rtl871xdrv
beacon_int=100
hw_mode=g
ieee80211n=1
wme_enabled=1
ht_capab=[SHORT-GI-20][SHORT-GI-40]
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP
max_num_sta=8
wpa_group_rekey=86400
再修改 Makefile 添加内容:
CFLAGS += -I../src
CFLAGS += -I../src/utils
/*******************************************************************************/
CFLAGS += -I/home/sonix_user/fu/test1/libnl-1.1/out/include/
CFLAGS += -I/home/sonix_user/fu/test1/openssl-1.0.1c/out/include/
LIBS += -L/home/sonix_user/fu/test1/libnl-1.1/out/lib/
LDFLAGS += -L/home/sonix_user/fu/test1/libnl-1.1/out/lib/
LIBS += -L/home/sonix_user/fu/test1/openssl-1.0.1c/out/lib/
LDFLAGS += -L/home/sonix_user/fu/test1/openssl-1.0.1c/out/lib/
/*******************************************************************************/
然后编译 生成 hostapd 可执行文件
当然如果 移植要改动 CC =arm-linux-gcc
配置 hostapd.conf 配置文件如下:
interface=wlan0
ctrl_interface=/var/run/hostapd
ssid=SN-WIFI
channel=2
wpa=2
wpa_passphrase=88888888
auth_algs=1
ignore_broadcast_ssid=0
eap_server=1
driver=rtl871xdrv
beacon_int=100
hw_mode=g
ieee80211n=1
wme_enabled=1
ht_capab=[SHORT-GI-20][SHORT-GI-40]
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP
max_num_sta=8
wpa_group_rekey=86400
阅读全文
0 0
- MINI2440 Hostapd移植笔记
- hostapd移植笔记
- hostapd移植
- hostapd移植
- hostapd移植与使用
- hostapd移植步骤
- 移植hostapd,搭建无线热点
- 移植hostapd,搭建无线热点
- 编译hostapd笔记
- Hostapd-0.8.x移植到ARM Linux
- Hostapd-0.8.x移植到ARM Linux
- Hostapd-0.8.x移植到ARM Linux
- RT3070wifi模块AP模式移植--hostapd
- hostapd
- hostapd
- hostapd
- hostapd
- hostapd
- 2.走进shell
- Java线程池类ThreadPoolExecutor、ScheduledThreadPoolExecutor及Executors工厂类
- 【Luogu1879】玉米田
- 两种方法创建素数表
- C语言中相对路径的使用
- hostapd移植笔记
- Java异常总结
- AVL树的实现(C++)
- 安卓常用工具类-SoftKeyboardUtils【软件盘工具类】
- [DL]机器学习算法之支持向量机(Support Vector Machine)
- 田忌赛马——贪心算法(附加别人写的动态规划)
- VMware Ubuntu 全屏
- 【C++】inet_ptoa&inet_atop inet_pton&inet_ntop
- 基于51单片机的无线通讯公交报站系统