登峰造极境

  • WIN
    • CSharp
    • JAVA
    • OAM
    • DirectX
    • Emgucv
  • UNIX
    • FFmpeg
    • QT
    • Python
    • Opencv
    • Openwrt
    • Twisted
    • Design Patterns
    • Mysql
    • Mycat
    • MariaDB
    • Make
    • OAM
    • Supervisor
    • Nginx
    • KVM
    • Docker
    • OpenStack
  • WEB
    • ASP
    • Node.js
    • PHP
    • Directadmin
    • Openssl
    • Regex
  • APP
    • Android
  • AI
    • Algorithm
    • Deep Learning
    • Machine Learning
  • IOT
    • Device
    • MSP430
  • DIY
    • Algorithm
    • Design Patterns
    • MATH
    • X98 AIR 3G
    • Tucao
    • fun
  • LIFE
    • 美食
    • 关于我
  • LINKS
  • ME
Claves
长风破浪会有时,直挂云帆济沧海
  1. 首页
  2. Platforms
  3. LINUX
  4. OAM
  5. 正文

Ubuntu(Linux)一键开启AP WIFI 热点-折腾笔记

2016-03-01

如题,想在Ubuntu系统上开启WIFI热点。百度了一些方法,但是很繁琐,故Git hub。发现了两个类似开源项目。

https://github.com/hotice/AP-Hotspot

https://github.com/oblique/create_ap

经过测试,AP-Hotspot没有在Ubuntu server 系统中开启WIFI 热点,但是create_ap成功开启WIFI 热点。

一、安装依赖

sudo apt-get install bash util-linux  procps   hostapd iproute2 iw iwconfig haveged  dnsmasq  iptables

Tip: 如果提示某个依赖有问题,去掉即可。

二、安装create_ap

2.1 通用方法

git clone https://github.com/oblique/create_ap
cd create_ap
make install

2.2 Archlinux

yaourt -S create_ap

2.3 Gentoo

emerge layman
layman -f -a jorgicio
emerge net-wireless/create_ap

三、开启WIFI

3.1没有密码的公共WIFI热点

create_ap wlan0 eth0 MyAccessPoint

3.2 开启WPA+WPA2加密的WIFI热点

create_ap wlan0 eth0 MyAccessPoint MyPassPhrase

3.2 开启没有共享互联网的WIFI热点

create_ap -n wlan0 MyAccessPoint MyPassPhrase

3.3 其它

请参考:https://github.com/oblique/create_ap

四、开机启动热点

可以在/etc/rc.local 中加入开启热点的命令。

标签: 暂无
最后更新:2016-03-01

代号山岳

知之为知之 不知为不知

点赞
< 上一篇
下一篇 >

COPYRIGHT © 2099 登峰造极境. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang

蜀ICP备14031139号-5

川公网安备51012202000587号