CubieBoard中文论坛

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

关于将CC-A80的网卡设为wifi的一些疑问

[复制链接]
发表于 2016-7-4 15:00:37 | 显示全部楼层 |阅读模式
新人第一次接触CB4,目前想要将板子的wifi开启,让手机终端可以连接上来。

之前到网上找到一篇博客,是这样设置的:

1、加载WIFI驱动
$sudo modprobe bcmdhd

2、修改配置
$sudo vi /etc/network/interfaces 加入内容
auto wlan0
iface wlan0 inet dhcp
pre-up ip link set wlan0 up
pre-up iwconfig wlan0 essid your-ssid-here
wpa-ssid your-ssid-here
wpa-psk your-passwd-here

your-ssid-here 对应的是:热点名称
your-passwrd-here 对应的是:密码

3、断掉网线,重启系统。如果重启后,不能获取IP,重启网卡
#ifconfig wlan0 down
#ifconfig wlan0 up
#/etc/init.d/networking restart

我照着这样做了之后,发现并没有产生效果。输入ifconfig后看到wlan0仍然没有ip。我也试着重启了系统,也没有作用。

所以想咨询下各位真正有效的设置方法是什么?

拜谢


回复

使用道具 举报

 楼主| 发表于 2016-7-4 15:18:36 | 显示全部楼层
此贴终结,我在云盘里面找到了如何配置。。。。。
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-3 01:59 , Processed in 0.019020 second(s), 15 queries .

Powered by Discuz! X3.4

© 2001-2012 Comsenz Inc. | Style by Coxxs

返回顶部