求助untubun16.04如何设置热点,网上的资源使用无效。。

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
回复
H奇点
帖子: 15
注册时间: 2016-11-09 13:52
系统: ubuntu

求助untubun16.04如何设置热点,网上的资源使用无效。。

#1

帖子 H奇点 » 2016-11-11 16:15

学生党,想用电脑外放WIFI给手机用,上网找了教程,基本都是如下说法:


Ubuntu16.04里面可以直接创建热点,而不用像以前的版本,还要其他辅助工具。
具体步骤如下:
1. 点击有上角网络标志,点开编辑链接。

2. 选择 WiFi ,添加一个网络。

3.设置这个网络 做如下编辑:

编辑wifi的名字:SSID,
选择 Hotspot (热点)模式.
在 Wifi Security(wifi安全性) 页, 选择 WPA & WPA2 Personal(WPA & WPA2 个人)选项并输入你要创建的wifi密码,8位以上.
在 IPv4 设置页面, 选择 “Share to other computers”(与其他计算机共享)
4. 点击 save ,然后点击右上角网络选项中的 Connect to Hidden Wi-Fi network (连接到隐藏的WIFI网络),在连接选择框里,选择你刚刚创建的网络。

5.完成,你可以用手机等连接了

最后,如果出现“Connection 'xxx' is not available on the device wlp3s0 at this time”问题
主要因为你使用了Broadcom Corporation网卡驱动,换过来就好了。
解决方案:系统设置-->软件和更新-->附加驱动-->将Broadcom Corporation....那一项选择“不使用设备”-->应用更改-->重新启动。[/color]



确实出现最后描述的问题,但如他所说,关闭无线网卡驱动后,WIFI功能就没办法打开了。。
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: 求助untubun16.04如何设置热点,网上的资源使用无效。。

#2

帖子 vickycq » 2016-11-11 17:04

H奇点 写了:确实出现最后描述的问题,但如他所说,关闭无线网卡驱动后,WIFI功能就没办法打开了。。
执行以下指令将结果全部复制贴上来

代码: 全选

uname -a
lspci -knn | grep -iA2 net
iw list | grep -A10 'valid interface combinations\|Supported interface modes'
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
头像
kashu
帖子: 451
注册时间: 2014-02-07 17:31
系统: Xubuntu 14.04.5 64位

Re: 求助untubun16.04如何设置热点,网上的资源使用无效。。

#3

帖子 kashu » 2016-11-11 18:20

你可以试试这个脚本,我从12.04一直用到现在的14.04.5都没问题
https://github.com/kashu/ap.sh

另:不是所有的无线网卡都能支持AP Mode。(这脚本会帮你检测是否支持)


OS: Xubuntu 14.04.5 LTS 64-bit
CPU: Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
RAM: 12GB DDR3 1333MHz
128GB SSD + 2TB HDD
神舟优雅A480B-I5B 购于 2012.08

YouTube频道:https://www.youtube.com/channel/UCGSPXZ ... DuDYX8L6Qg
H奇点
帖子: 15
注册时间: 2016-11-09 13:52
系统: ubuntu

Re: 求助untubun16.04如何设置热点,网上的资源使用无效。。

#4

帖子 H奇点 » 2016-11-15 15:48

vickycq 写了:
H奇点 写了:确实出现最后描述的问题,但如他所说,关闭无线网卡驱动后,WIFI功能就没办法打开了。。
执行以下指令将结果全部复制贴上来

代码: 全选

uname -a
lspci -knn | grep -iA2 net
iw list | grep -A10 'valid interface combinations\|Supported interface modes'
结果如下:
hui@hui-X455LJ:~$ uname -a
Linux hui-X455LJ 4.8.0-27-generic #29-Ubuntu SMP Thu Oct 20 21:03:13 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
hui@hui-X455LJ:~$ lspci -knn | grep -iA2 net
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 10)
Subsystem: ASUSTeK Computer Inc. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1043:200f]
Kernel driver in use: r8169
Kernel modules: r8169
03:00.0 Network controller [0280]: Broadcom Limited BCM43142 802.11b/g/n [14e4:4365] (rev 01)
Subsystem: Lite-On Communications Inc BCM43142 802.11b/g/n [11ad:6675]
Kernel driver in use: wl
hui@hui-X455LJ:~$ iw list | grep -A10 'valid interface combinations\|Supported interface modes'
H奇点
帖子: 15
注册时间: 2016-11-09 13:52
系统: ubuntu

Re: 求助untubun16.04如何设置热点,网上的资源使用无效。。

#5

帖子 H奇点 » 2016-11-15 15:49

vickycq 写了:
H奇点 写了:确实出现最后描述的问题,但如他所说,关闭无线网卡驱动后,WIFI功能就没办法打开了。。
执行以下指令将结果全部复制贴上来

代码: 全选

uname -a
lspci -knn | grep -iA2 net
iw list | grep -A10 'valid interface combinations\|Supported interface modes'


hui@hui-X455LJ:~$ uname -a
Linux hui-X455LJ 4.8.0-27-generic #29-Ubuntu SMP Thu Oct 20 21:03:13 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
hui@hui-X455LJ:~$ lspci -knn | grep -iA2 net
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 10)
Subsystem: ASUSTeK Computer Inc. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1043:200f]
Kernel driver in use: r8169
Kernel modules: r8169
03:00.0 Network controller [0280]: Broadcom Limited BCM43142 802.11b/g/n [14e4:4365] (rev 01)
Subsystem: Lite-On Communications Inc BCM43142 802.11b/g/n [11ad:6675]
Kernel driver in use: wl
hui@hui-X455LJ:~$ iw list | grep -A10 'valid interface combinations\|Supported interface modes'
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: 求助untubun16.04如何设置热点,网上的资源使用无效。。

#6

帖子 vickycq » 2016-11-15 16:45

H奇点 写了:主要因为你使用了Broadcom Corporation网卡驱动,换过来就好了.确实出现最后描述的问题
Kernel driver in use: wl
驱动 'wl' 或不支持 AP 模式。可运行 iw list 并查看 Supported interface modes 确认。
H奇点 写了:03:00.0 Network controller [0280]: Broadcom Limited BCM43142 802.11b/g/n [14e4:4365] (rev 01)
关闭无线网卡驱动后,WIFI功能就没办法打开了。。
BCM43142 较为特殊,开源驱动不支持,仅有一款驱动 'wl' 可用。
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
H奇点
帖子: 15
注册时间: 2016-11-09 13:52
系统: ubuntu

Re: 求助untubun16.04如何设置热点,网上的资源使用无效。。

#7

帖子 H奇点 » 2016-11-15 22:57

vickycq 写了:
H奇点 写了:主要因为你使用了Broadcom Corporation网卡驱动,换过来就好了.确实出现最后描述的问题
Kernel driver in use: wl
驱动 'wl' 或不支持 AP 模式。可运行 iw list 并查看 Supported interface modes 确认。
H奇点 写了:03:00.0 Network controller [0280]: Broadcom Limited BCM43142 802.11b/g/n [14e4:4365] (rev 01)
关闭无线网卡驱动后,WIFI功能就没办法打开了。。
BCM43142 较为特殊,开源驱动不支持,仅有一款驱动 'wl' 可用。

所以是没救了吗?
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: 求助untubun16.04如何设置热点,网上的资源使用无效。。

#8

帖子 vickycq » 2016-11-16 9:05

H奇点 写了:所以是没救了吗?
1. 可运行 iw list 并查看 Supported interface modes 确认。
2. 花十几块钱购买一块有相应支持的 USB 无线网卡可破。如 RT5370 方案的 USB 无线网卡。
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
回复