Fedora 23建立wifi热点(Android手机可用)

  在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
WARN: If AP doesn't work, please read: howto/realtek.md
Config dir: /tmp/create_ap.wlo1.conf.5ltPflEd
PID:
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 ::8b:::b1 and ssid "RedBase"
wlo1: interface state UNINITIALIZED->ENABLED
wlo1: AP-ENABLED
wlo1: STA :a0:f6:4a:5c:c6 IEEE 802.11: authenticated
wlo1: STA :a0:f6:4a:5c:c6 IEEE 802.11: associated (aid )
wlo1: AP-STA-CONNECTED :a0:f6:4a:5c:c6
wlo1: STA :a0:f6:4a:5c:c6 RADIUS: starting accounting session 565C49ED-
wlo1: STA :a0:f6:4a:5c:c6 WPA: pairwise key handshake completed (RSN)
wlo1: STA :a0:f6:4a:5c:c6 WPA: group key handshake completed (RSN)
wlo1: STA :a0:f6:4a:5c:c6 WPA: group key handshake completed (RSN)

  Enjoy!

  

  也可以通过服务的方式启动:

$ sudo systemctl start create_ap.service 

  设置开机启动:

$ sudo systemctl enable create_ap.service
上一篇:jquery ajax 访问webServer的xml文件


下一篇:Mvc音乐商店demo的ajax异步删除功能总结