想玩下无线显示,本来打算手动设置,后来一看原来已经有了方便的工具:
安装:

sudo apt-get install util-linux procps hostapd iproute2 iw haveged dnsmasq
git clone https://github.com/oblique/create_ap
cd create_ap
make install

用法很简单,参照github示例即可,常用设置:

插网线,路由器模式:
sudo create_ap wlan0 eth0 热点名 密码
WIFI共享(类似中继):
sudo ccreate_ap wlan0 wlan0  热点名 密码

密码可不填。

Comments
Write a Comment