标签:
在ubuntu14.04下使用ap-hotspot,速度还不错。但是在15.04下就用不了了,不知为啥。现在使用fedora23,在学校还是挺需要给手机连wifi的,于是google看看ap-hotspot能不能在fedora下使用,结果搜到了作者的github,说是ap-hotspot过时了,于是又写了个create_ap代替,下载地址:
https://github.com/oblique/create_ap
使用挺方便的,下载并解压,然后进入该目录安装:
$ cd create_ap-master/ $ sudo make install
执行:
$ create_ap wlo1 eno1 MyAccessPoint MyPassPhrase WARN: Your adapter does not fully support AP virtual interface, enabling --no-virt WARN: Realtek drivers usually have problems with WPA1, enabling -w 2 WARN: If AP doesn‘t work, please read: howto/realtek.md Config dir: /tmp/create_ap.wlo1.conf.5ltPflEd PID: 3454 Network Manager found, set wlo1 as unmanaged device... DONE Sharing Internet using method: nat hostapd command-line interface: hostapd_cli -p /tmp/create_ap.wlo1.conf.5ltPflEd/hostapd_ctrl Configuration file: /tmp/create_ap.wlo1.conf.5ltPflEd/hostapd.conf Using interface wlo1 with hwaddr 70:18:8b:38:85:b1 and ssid "RedBase" wlo1: interface state UNINITIALIZED->ENABLED wlo1: AP-ENABLED wlo1: STA 68:a0:f6:4a:5c:c6 IEEE 802.11: authenticated wlo1: STA 68:a0:f6:4a:5c:c6 IEEE 802.11: associated (aid 1) wlo1: AP-STA-CONNECTED 68:a0:f6:4a:5c:c6 wlo1: STA 68:a0:f6:4a:5c:c6 RADIUS: starting accounting session 565C49ED-00000000 wlo1: STA 68:a0:f6:4a:5c:c6 WPA: pairwise key handshake completed (RSN) wlo1: STA 68:a0:f6:4a:5c:c6 WPA: group key handshake completed (RSN) wlo1: STA 68:a0:f6:4a:5c:c6 WPA: group key handshake completed (RSN)
Enjoy!
也可以通过服务的方式启动:
$ sudo systemctl start create_ap.service
设置开机启动:
$ sudo systemctl enable create_ap.service
Fedora 23建立wifi热点(Android手机可用)
标签:
原文地址:http://www.cnblogs.com/justforfun12/p/5008467.html