Create Wifi Hotspot in Ubuntu 14.04
来源:互联网 发布:博盈软件 编辑:程序博客网 时间:2024/06/08 02:59
Dear readers, I’ve found a new way to create wireless hotspot in Ubuntu, AP mode with Android devices support, using Unity’s Network Manager.
After this tutorial, I’ve found 3 ways to create wifi hotspot in ap mode:
Using Ap-hotspot, an open-source app from github: see this post.
Using KDE connection editor, see the post.
Using Unity’s Default Network Manager with a little hack. See below
Below I will show you how to use Unity’s default network manager to create a wireless hotspot with Android devices support, tested in 64-bit Ubuntu 1404 with Nexus 4 and Sumsung Galaxy ace3.
Disable WIFI and plug in an internet cable to your laptop so that your Ubuntu is connect to a wired internet and wireless is disabled.
Go to Network Icon on top panel -> Edit Connections …, then click the Add button in the pop-up window.
Edit Network Connections
- Choose Wi-Fi from the drop-down menu when you’re asked to choose a connection type:
Choose Connection Type
- In next window, do:
Type in a connection name. The name will be used later.
Type in a SSID
Select mode: Infrastructure
Device MAC address: select your wireless card from drop-down menu.
create-wifi-hotspot
Go to Wi-Fi Security tab, select security type WPA & WPA2 Personal and set a password.
Go to IPv4 Settings tab, from Method drop-down box select Shared to other computers.
wifi-ipv4
When done, click the save button.
After above steps, a configuration file created under /etc/NetworkManager/system-connections directory. File name is same to the connection name you typed in step 4.
Now press Ctrl+Alt+T on keyboard to open terminal. When it opens, paste the commands below and hit enter to edit the configuration file:
gksu gedit /etc/NetworkManager/system-connections/wifi-hotspot
Replace wifi-hotspt with the connection name you typed in step 4.
When the file opens, find out the line mode=infrastructure and change it to mode=ap. Finally save the file.
Change to AP mode
When everything’s done, enable WIFI from Network Manager icon on the panel. It should automatically connect to the hotspot you created. If not, select “Connect to Hidden Wi-Fi Network …” and select it from the drop-down box.
wifi-hotspot
Now you can search and connect the access point from your Android mobile and enjoy!
- Create Wifi Hotspot in Ubuntu 14.04
- ubuntu 14.04 利用ap-hotspot建立wifi热点失效
- Setting up wifi hotspot on Ubuntu 13.10
- ubuntu使用ap-hotspot建立WIFI热点
- ubuntu使用ap-hotspot建立WIFI热点
- Create Aliases in Ubuntu
- 无需安装,利用Ubuntu建立WiFi热点 Creating wifi-hotspot with Ubuntu without downloading
- create git server in ubuntu
- wifi softap(hotspot) porting
- wifi softap(hotspot) porting
- wifi softap(hotspot) porting
- wifi softap(hotspot) porting
- BCM4312等在ubuntu下用ap-hotspot建立可用的WIFI热点
- ubuntu 用ap-hotspot创建wifi热点无法分配ip的问题解决
- Bluetooth 和 hotspot、wifi相关
- Use ap-hotspot to establish an AP on ubuntu 14.04
- wifi hotspot连接设备数限制
- 利用无线网卡建立个人wifi hotspot
- 遗传算法解决常见多元表达式
- 去哪儿网机票订单怎么取消_百度知道
- 黑马程序员——Date类、Calender类、Math类
- jfinal框架教程-学习笔记(二)
- BZOJ3261【可持久化Tire】
- Create Wifi Hotspot in Ubuntu 14.04
- 辛星浅析Linux中的anacron
- Ubuntu摆脱QQ版本过旧问题!安装 wine-international版 qq
- [LeetCode/LinkedIn] Integer to Roman and roman number to Integer
- 黑马程序员——Java面向对象编程学习总结
- [LinkedIn, LeetCode] given a log file, parse the valid ip addresses, no duplicate
- 2-14
- gdjfdsofods附近的说了句分离式的经费落实
- 第七讲:分支结构程序体验