Deepin2014 分享WiFi 亲测成功(ap-hotspot.ded以及常见问题集锦)
Tofloor
poster avatar
Tehero
deepin
2014-09-11 05:37
Author
此篇为英文资料的整合,感谢所有作者,有问题请回复
1、安装ap-hotspot.ded
仅支持deepin2014,其他版本自行寻找在https://launchpad.net/。下载地址:http://pan.baidu.com/s/1eQ068Xc
2、配置使用
  1. sudo ap-hotspot configure
Copy the Code
接着出现的分别是对wifi热点的设置一般为(eth0,wlan0),名称和密码自行设置也可默认:
  1. tehero@tehero-pc:/tmp$ sudo ap-hotspot configure
  2. Detecting configuration...
  3. Detected eth0 as the network interface connected to the Internet. Press ENTER if this is correct or enter the desired interface below (e.g.- eth0, ppp0 etc.):
  4. //默认按Enter即可
  5. Detected wlan0 as your WiFi interface. Press ENTER if this is correct or enter the desired interface (e.g.- wlan1):
  6. //默认按Enter即可
  7. Enter the desired Access Point name or press ENTER to use the default one (myhotspot):
  8. //可以重新输入Wifi名字
  9. Enter the desired WPA Passphrase below or press ENTER to use the default one (qwerty0987):
  10. //可以重新输入Wifi密码
Copy the Code
3、使用篇
  1. tehero@tehero-pc:/tmp$ sudo ap-hotspot start
  2. Starting Wireless Hotspot...
  3. Wireless Hotspot active
  4. tehero@tehero-pc:/tmp$
Copy the Code
停止使用:
  1. tehero@tehero-pc:/tmp$ sudo ap-hotspot stop
Copy the Code
4、常见问题集锦
问题一:Wireless Hotspot active,并一直保持Starting Wireless Hotspot...
如下情形:
  1. tehero@tehero-pc:/tmp$ sudo ap-hotspot start
  2. Starting Wireless Hotspot...
Copy the Code
解决方案如下:
64 bit
  1. cd /tmp
  2. wget http://archive.ubuntu.com/ubuntu/pool/universe/w/wpa/hostapd_1.0-3ubuntu2.1_amd64.deb
  3. sudo dpkg -i hostapd*.deb
  4. sudo apt-mark hold hostapd
Copy the Code
32bit
  1. cd /tmp
  2. wget http://archive.ubuntu.com/ubuntu/pool/universe/w/wpa/hostapd_1.0-3ubuntu2.1_i386.deb
  3. sudo dpkg -i hostapd*.deb
  4. sudo apt-mark hold hostapd
Copy the Code
问题二:出现未找到某某命令的问题:
  1. tehero@tehero-pc:/tmp$ sudo ap-hotspot start
  2. Starting Wireless Hotspot...
  3. Wireless Hotspot active
  4. bash: notify-send: 未找到命令
Copy the Code
解决方案即安装此命令(本例中如下):
  1. tehero@tehero-pc:/tmp$ notify-send
  2. 程序“notify-send”尚未安装。 您可以使用以下命令安装:
  3. sudo apt-get install libnotify-bin
  4. tehero@tehero-pc:/tmp$ sudo apt-get install libnotify-bin
Copy the Code
问题三:出现another process is already running无法启动如下情形
  1. tehero@tehero-pc:/tmp$ sudo ap-hotspot start
  2. Another process is already running
Copy the Code
解决方案如下:
  1. sudo rm /tmp/hotspot.pid
Copy the Code
Reply Favorite View the author
All Replies
hummerstudio
deepin
2014-09-13 02:31
#1
看起来比其他的方法都要简单,回去试试!
Reply View the author
4***8@qq.com
deepin
2014-09-13 04:07
#2
可惜了我的360wifi在linux下无用武之处啊!
Reply View the author
yyyjw
deepin
2014-09-13 16:32
#3
先记着,回头试试
Reply View the author
shelock
deepin
2014-09-15 04:38
#4
Your wireless card or driver does not support Access Point mode
Reply View the author
173******10
deepin
2014-09-15 17:42
#5
我装了kde-nm-connection-editor,kde的网络管理器,自带无线AP模式,很稳定。至于各种附带的依赖,就当我是装了个80多MB的开wifi的软件吧……
Reply View the author
Tehero
deepin
2014-09-16 03:46
#6
可惜了我的360wifi在linux下无用武之处啊!
可惜我没有360wifi,这里有个https://github.com/yajin/360-wifi-linux,貌似是ubuntu12.04的解决方法,如果你爱折腾的话可以移植一下代码,鄙人小白,只能做到这步了
Reply View the author
Tehero
deepin
2014-09-16 03:52
#7
Your wireless card or driver does not support Access Point mode
这个问题可能有点坑爹了;(再次感谢英文作者http://askubuntu.com/questions/1 ... -mode-wi-fi-hotspot
首先运行:
  1. sudo aptitude install iw
  2. iw list
Copy the Code
得到结果形如:
  1. Supported interface modes:
  2.          * IBSS
  3.          * managed
  4.          * AP
  5.          * AP/VLAN
  6.          * monitor
  7.          * mesh point
Copy the Code
如果没有ap这项的话估计你中奖了,你得买个wif 适配器了像360 wifi的类似:
地址:http://www.alibaba.com/showroom/linux-usb-wifi-adapter.html
淘宝http://s.taobao.com/search?initi ... mp;q=linux+wifi+usb
剩下的就去问店家吧
Reply View the author
a2223034774
deepin
2016-02-16 04:36
#8
404怎么办。。。。。
Reply View the author
llyy007
deepin
2016-02-16 05:22
#9
期待官方出解决方案!尤其是新版本的miniwifi使用办法!!!
Reply View the author