我知道还有十几个类似的问题,但到目前为止,没有一个问题对我有帮助。
我所在的学校使用的是没有证书的WPA2 Enterprise /MSCHAPv2 2网络(这是我从一台没有问题连接的windows膝上型电脑上确定的)。我正在尝试连接我的Ubuntu16.04LTS机器(这几乎是一个新的安装)。
不幸的是,这是不成功的。它尝试连接一段时间,然后打开用户名/密码重入对话框。如果您单击submit,它就会再次失败,并将其重新打开。
下面显示不断出现的设置和消息:

以下是/etc/NetworkManager/system-connections/条目:
[connection]
id=tusd-students
uuid=d815af85-42ad-49b2-b207-1db6359e8c9a
type=wifi
permissions=user:ashwin:;
secondaries=
[wifi]
mac-address={my mac address}
mac-address-blacklist=
mac-address-randomization=0
mode=infrastructure
seen-bssids=
ssid=tusd-students
[wifi-security]
auth-alg=open
group=
key-mgmt=wpa-eap
pairwise=
proto=
[802-1x]
altsubject-matches=
eap=peap;
identity={my username}
password={my password}
phase2-altsubject-matches=
phase2-auth=mschapv2
[ipv4]
dns-search=
method=auto
[ipv6]
addr-gen-mode=stable-privacy
dns-search=
method=auto我在许多地方读到过添加system-ca-certs=false修复它的文章,但这不起作用。我也尝试过添加域域\用户名,但这不起作用。我已经尝试了所有的东西,这里和许多其他的帖子。不知道该怎么做,我是Linux新手。任何帮助都是非常受欢迎的,如果有其他的信息我应该包括在内,请告诉我。谢谢!
注:我不能取得证书,因为我严重怀疑我能否联系到谁会给我一个(因为我是一个学生)。更别提了,我不认为他们会熟悉基于Linux的系统,因为学校发布的计算机都是Windows 10。
编辑:我读了很多关于这个问题是由Wpasupplicant 2.4引起的。所以,我试着把评级降到2.1。这实际上起作用了*当我重新启动时,但是过了一段时间后,我无法让它再次连接。我甚至尝试重新安装wpasupplicant 2.1,但它仍然无法连接。我不知道这意味着什么,但至少我知道我的笔记本电脑能够连接到这个网络,而且我有正确的安全设置/凭据。
*=连接持续了。10分钟,比应该慢得多。我的windows膝上型电脑下载了60 mbps,而这台只有15 mbps。尽管如此,Windows膝上型电脑却更新了2-3年。
编辑2:我在Ubuntu机器上的网卡是来自Intel的Centrino n 1000秃鹰峰。我一有机会就会收集更多关于它的信息。
这是我的NetworkManager日志https://drive.google.com/file/d/0Bwv36xPVuImIdHQ3bjZvc25SNjg/view?usp=sharing
这是我的/var/ log /syslog日志https://drive.google.com/file/d/0Bwv36xPVuImIWlRaY2xFdVl1a3M/view?usp=sharing
两者的相关部分似乎是:
Jul 6 07:58:10 smashtop NetworkManager[928]: <warn> [1499353090.8128] device (wlp4s0): Activation: (wifi) association took too long
Jul 6 07:58:10 smashtop NetworkManager[928]: <info> [1499353090.8129] device (wlp4s0): state change: config -> need-auth (reason 'none') [50 60 0]
Jul 6 07:58:10 smashtop kernel: [36118.979991] wlp4s0: deauthenticating from 64:d8:14:86:09:27 by local choice (Reason: 3=DEAUTH_LEAVING)
Jul 6 07:58:10 smashtop NetworkManager[928]: <warn> [1499353090.8163] device (wlp4s0): Activation: (wifi) asking for new secrets
Jul 6 07:58:10 smashtop wpa_supplicant[1053]: wlp4s0: CTRL-EVENT-DISCONNECTED bssid=64:d8:14:86:09:27 reason=3 locally_generated=1
Jul 6 07:58:10 smashtop NetworkManager[928]: <warn> [1499353090.8285] sup-iface[0x292acb0,wlp4s0]: connection disconnected (reason -3)我可以测试一下那些日子我就在网络附近。
发布于 2017-10-09 13:47:56
这解决了我的问题(从这里)。
[ipv6]
method=auto
[connection]
id=SSID #(e.g.EDUroam)
uuid=9e123fbc-0123-46e3-97b5-f3214e123456 #unique uuid will be created upon creation of this profile
type=802-11-wireless
[802-11-wireless-security]
key-mgmt=wpa-eap
auth-alg=open
[802-11-wireless]
ssid=SSID
mode=infrastructure
mac-address=0A:12:3C:DA:C1:A5
security=802-11-wireless-security
[802-1x]
eap=peap;
identity=studentid123123
phase2-auth=mschapv2
password=mypass123123
[ipv4]
method=auto移除其他的一切。
我还用这修补了DNSSEC,但我不确定是否需要它。
发布于 2017-07-19 12:26:04
您需要获得网络的CA证书,并将其安装为详细的在这个答案中。你应该可以通过询问学校的IT技术人员来获得这个
否则,您将无法正确连接到网络,因为出于身份验证的原因,网络需要客户端计算机拥有证书。它不需要在windows中执行的原因是,当它连接到网络时,它会在连接过程中自动下载和信任证书。
发布于 2017-07-20 23:32:47
所有没有在ITSM的零级(混乱模式)运行的IT组织都发布标准操作的过程,例如连接到组织网络(S)。但是,如果使用标准的默认连接选择不起作用,那么第一步就是获取it无线网络连接过程的副本并遵循它。
顺便说一下,非DOD/DOE环境在其网络连接协议中特别严格是非常罕见的。在我的经验中,学术环境尤其如此。
OP发布了一个长得令人痛苦的syslog文件,这个文件原来是一个家庭网络连接的日志(它起作用了)。这类信息在解决此问题时显然毫无用处。你得看看
/var/log/syslog之后,你试图连接到学校网络,但没有成功。查看syslog拒绝连接的内容应该是相当明显的,解决方案可能是显而易见的。
可能的嫌疑人:
否则,您已经知道其他相关的日志文件和工具,这些文件和工具可以帮助您快速锁定问题源。
我认为证书的问题是一条红鲱鱼。你的问题可能有一个远没有异国情调的原因。
下面是相关的日志对话框:
Jul 6 07:57:45 smashtop wpa_supplicant[1053]: wlp4s0: SME: Trying to authenticate with 64:d8:14:86:09:27 (SSID='tusd-students' freq=2412 MHz)
Jul 6 07:57:45 smashtop kernel: [36094.105988] wlp4s0: authenticate with 64:d8:14:86:09:27
Jul 6 07:57:45 smashtop kernel: [36094.109190] wlp4s0: send auth to 64:d8:14:86:09:27 (try 1/3)
Jul 6 07:57:45 smashtop wpa_supplicant[1053]: wlp4s0: Trying to associate with 64:d8:14:86:09:27 (SSID='tusd-students' freq=2412 MHz)
Jul 6 07:57:45 smashtop kernel: [36094.126523] wlp4s0: authenticated
Jul 6 07:57:45 smashtop NetworkManager[928]: <info> [1499353065.9681] device (wlp4s0): supplicant interface state: scanning -> authenticating
Jul 6 07:57:45 smashtop kernel: [36094.133417] wlp4s0: associate with 64:d8:14:86:09:27 (try 1/3)
Jul 6 07:57:45 smashtop NetworkManager[928]: <info> [1499353065.9731] device (wlp4s0): supplicant interface state: authenticating -> associating
Jul 6 07:57:46 smashtop kernel: [36094.233907] wlp4s0: RX AssocResp from 64:d8:14:86:09:27 (capab=0x431 status=0 aid=19)
Jul 6 07:57:46 smashtop wpa_supplicant[1053]: wlp4s0: Associated with 64:d8:14:86:09:27
Jul 6 07:57:46 smashtop kernel: [36094.239782] wlp4s0: associated
Jul 6 07:57:46 smashtop kernel: [36094.239849] IPv6: ADDRCONF(NETDEV_CHANGE): wlp4s0: link becomes ready
Jul 6 07:57:46 smashtop wpa_supplicant[1053]: wlp4s0: CTRL-EVENT-REGDOM-CHANGE init=COUNTRY_IE type=COUNTRY alpha2=US
Jul 6 07:57:46 smashtop wpa_supplicant[1053]: wlp4s0: CTRL-EVENT-EAP-STARTED EAP authentication started
Jul 6 07:57:46 smashtop NetworkManager[928]: <info> [1499353066.0795] device (wlp4s0): supplicant interface state: associating -> associated
Jul 6 07:57:46 smashtop kernel: [36094.298099] wlp4s0: Limiting TX power to 11 dBm as advertised by 64:d8:14:86:09:27
Jul 6 07:58:10 smashtop NetworkManager[928]: <warn> [1499353090.8128] device (wlp4s0): Activation: (wifi) association took too long
Jul 6 07:58:10 smashtop NetworkManager[928]: <info> [1499353090.8129] device (wlp4s0): state change: config -> need-auth (reason 'none') [50 60 0]
Jul 6 07:58:10 smashtop kernel: [36118.979991] wlp4s0: deauthenticating from 64:d8:14:86:09:27 by local choice (Reason: 3=DEAUTH_LEAVING)
Jul 6 07:58:10 smashtop NetworkManager[928]: <warn> [1499353090.8163] device (wlp4s0): Activation: (wifi) asking for new secrets
Jul 6 07:58:10 smashtop wpa_supplicant[1053]: wlp4s0: CTRL-EVENT-DISCONNECTED bssid=64:d8:14:86:09:27 reason=3 locally_generated=1
Jul 6 07:58:10 smashtop NetworkManager[928]: <warn> [1499353090.8285] sup-iface[0x292acb0,wlp4s0]: connection disconnected (reason -3)
Jul 6 07:58:10 smashtop NetworkManager[928]: <info> [1499353090.8287] device (wlp4s0): supplicant interface state: associated -> disconnected
Jul 6 07:58:10 smashtop wpa_supplicant[1053]: wlp4s0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
Jul 6 07:58:10 smashtop gnome-session[1691]: nm-applet-Message: No keyring secrets found for tusd-students 1/802-1x; asking user在无线传输功率降低之后,您的机器似乎“忘记”了它刚刚成功地通过了验证。你从未被授予DHCP租约,客户也从未要求过。
根据我在你的日志中看到的,我会找一个wifi硬件或者wifi驱动程序的问题。
https://askubuntu.com/questions/929680
复制相似问题