ubuntu 下通过无线网卡建立 AP 让其它无线设备上网
来源:互联网 发布:apache有什么作用 编辑:程序博客网 时间:2024/05/30 04:14
1、查看你的网卡是否支持AP模式。现在网卡一般都支持
k@k-C410:~$ iwlist
Usage: iwlist [interface] scanning [essid NNN] [last]
[interface] frequency
[interface] channel
[interface] bitrate
[interface] rate
[interface] encryption
[interface] keys
[interface] power
[interface] txpower
[interface] retry
[interface] ap
[interface] accesspoints
[interface] peers
[interface] event
[interface] auth
[interface] wpakeys
[interface] genie
[interface] modulation
如果显示 ap,则表示你的网卡支持 ap 模式。
也可以用下面命令查看:
k@k-C410:/etc$ iw list
你也可以到下面地址查看你的网卡是否支持ap
http://wireless.kernel.org/en/users/Drivers
2、建立无线 ap
hostapd:
主页:http://w1.fi/hostapd/
文档:http://wireless.kernel.org/en/users/Documentation/hostapd?highlight=%28hostapd%29
ubuntu下可以用下面命令安装:
sudo apt-get install hostapd
你也可以从源码编译。
k@k-C410:/home/hostap/hostapd$ sudo ./hostapd /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
nl80211: Could not configure driver mode
nl80211 driver initialization failed.
hostapd_free_hapd_data: Interface wlan0 wasn't started
参考:
http://www.360doc.com/content/14/0108/11/13232598_343535168.shtml
blog.csdn.net/q1302182594/article/details/8684893
http://forum.ubuntu.com.cn/viewtopic.php?f=116&t=329742&start=0
nl80211驱动:www.360doc.com/content/12/0607/16/9424702_216641332.shtml
- ubuntu 下通过无线网卡建立 AP 让其它无线设备上网
- Ubuntu下通过Hostapd建立软AP提供无线上网功能
- 命令驱动无线网卡链接AP上网
- 在ubuntu下如何把无线网卡设置成可供wifi设备上网的接入点
- Ubuntu_在ubuntu下如何把无线网卡设置成可供wifi设备上网的接入点
- ubuntu通过主机的无线网卡上网问题
- Windows 7 通过无线网卡,模拟Wifi,实现手机,电脑等无线设备共享上网
- 手机通过笔记本设置AP(wifi 热点)上网 intel5100 agn 无线网卡 win7系统
- windows下使用无线网卡做AP
- WIN7下开启无线网卡软AP
- Linux下使用无线网卡搭建AP
- xp下如何用无线网卡做ap wifi热点。手机连电脑wifi上网
- 通过一个机器的无线网卡上网
- WinXP利用无线网卡做AP共享上网
- WIN7下使用无线网卡共享网络(利用笔记本无线网卡做无线AP)
- ubuntu 下配置无线网卡
- ubuntu下无线网卡解决
- 无线网卡 共享上网
- [水]ZOJ1089
- FZU 2155 删点并查集
- C语言rename()函数:重命名文件或目录
- 基于PComm Lite 调用dll 操作串口
- 指针的用法
- ubuntu 下通过无线网卡建立 AP 让其它无线设备上网
- 【HDU】4292 Food 最大流
- LeetCode-Pascal's Triangle
- cassandra的数据排序
- Eclipse 配置 maven Maven插件
- python decorator知识理解, 主要内容来自廖雪峰的官方网站
- 2014 BUPT 新生排位赛09
- Ansi转Unicode 介绍2种方法
- 回声消除技术