CubieBoard中文论坛

 找回密码
 立即注册
搜索
热搜: unable
查看: 9036|回复: 6

CT Cubieez系统,如何安装hostapd做wifi热点?

[复制链接]
发表于 2015-4-18 02:07:10 | 显示全部楼层 |阅读模式
CT 装Cubieez系统,如何安装hostapd做wifi热点?
参考http://forum.cubietech.com/forum.php?mod=viewthread&tid=1992没有成功啊,报错:
  1. random: Trying to read entropy from /dev/random
  2. Configuration file: /etc/hostapd/hostapd.conf
  3. hostapd: symbol lookup error: hostapd: undefined symbol: nl_handle_alloc_cb
复制代码
回复

使用道具 举报

 楼主| 发表于 2015-4-18 13:30:00 | 显示全部楼层
已经运行成功,但找不到wifi热点:
  1. root@cubietruck:~# hostapd  /etc/hostapd/hostapd.conf
  2. Configuration file: /etc/hostapd/hostapd.conf
  3. Using interface wlan1 with hwaddr 00:22:f4:f8:c6:9a and ssid "cubietruck"
  4. wlan1: interface state UNINITIALIZED->ENABLED
  5. wlan1: AP-ENABLED
复制代码
回复 支持 反对

使用道具 举报

发表于 2015-4-24 13:54:58 | 显示全部楼层
wifi 模块启动时要设为2,如下:

bcmdhd op_mode=2
回复 支持 反对

使用道具 举报

 楼主| 发表于 2015-4-25 11:56:14 | 显示全部楼层
本帖最后由 51ppc 于 2015-4-25 11:58 编辑

谢谢,搞定了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2015-4-25 11:57:03 | 显示全部楼层
修改 /etc/modules 文件,在最后添加:
  1. bcmdhd op_mode=2  
复制代码
参考了:
https://www.kochiyaocean.org/linux-set-softap-using-hostapd/
回复 支持 反对

使用道具 举报

发表于 2015-5-1 01:55:06 | 显示全部楼层
楼主我认识你。。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2015-5-12 06:59:56 | 显示全部楼层
meteor01 发表于 2015-5-1 01:55
楼主我认识你。。

你好!你是哪位?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|粤ICP备13051116号|cubie.cc---深刻的嵌入式技术讨论社区

GMT+8, 2024-5-3 11:21 , Processed in 0.026685 second(s), 15 queries .

Powered by Discuz! X3.4

© 2001-2012 Comsenz Inc. | Style by Coxxs

返回顶部