Adhoc为Linux下的命令工具,让你PC上的无线设备成为无线热点(Access Point),就像无线路由器一样,其他网络设备可以通过该AP访问Internet资源(前提是你的PC已经连入网络).
该工具将指定的无线设备接口创建为热点,并能够设置无线网络名称ESSID,以及连入网络所需的密码等.
该工具小巧,方便,适合不喜欢通过UI配置电脑的Geek们 :-)
github托管地址:
https://github.com/flytreeleft/adhoc
Linux下面配置:
先要加个执行权限 :chmod +x
Wifi Ad-hoc Control
Usage: //这个是执行命令参数,例如启动:./adhoc start;
./adhoc interface [essid X] [key K] [start|stop|restart]
Description:
essid The name of your network, default "WiFi-Network".
key The encryption key of your network,
you can use any ASCII string(only 13 characters),
if not set, your network will be non-encrypted.
start Start creating Wifi Ad-hoc Network.
stop Stop Wifi Ad-hoc Network.
restart Restart creating Wifi Ad-hoc Network
注意:虚拟机里面测试是开启不了的,无线驱动你懂的