页次: 1
刚装好的arch,有线可以连接没问题,wifi连接的时候总是弹出密码让输入,一直在连接可是连接不上。
另外netctl也不能连无线上网。
这是什么原因啊?
谢谢谢谢大家
最近编辑记录 WendyMin (2018-02-25 13:18:21)
离线
用 journalctl -b -u NetworkManager 看看日志,把其中的错误信息发出来看看
rfkill list命令的输出也发出来看看
最近编辑记录 matrikslee (2018-02-25 12:45:11)
离线
用 journalctl -b -u NetworkManager 看看日志,把其中的错误信息发出来看看
rfkill list命令的输出也发出来看看
Feb 25 12:49:48 archlinux NetworkManager[339]: <info> [1519534188.9429] manager: rfkill: WiFi hardware radio set disabled
Feb 25 12:49:48 archlinux NetworkManager[339]: <info> [1519534188.9431] device (wlp3s0b1): state change: disconnected -> unavailable (reason 'none', sys-iface-state: 'managed')
Feb 25 12:49:48 archlinux NetworkManager[339]: <info> [1519534188.9517] audit: op="radio-control" arg="wireless-enabled:0" pid=500 uid=1000 result="success"
Feb 25 12:49:48 archlinux NetworkManager[339]: <info> [1519534188.9521] manager: rfkill: WiFi now disabled by radio killswitch
Feb 25 12:49:49 archlinux NetworkManager[339]: <info> [1519534189.0237] manager: rfkill: WWAN hardware radio set disabled
Feb 25 12:49:49 archlinux NetworkManager[339]: <info> [1519534189.0239] audit: op="radio-control" arg="wwan-enabled:0" pid=500 uid=1000 result="success"
Feb 25 12:49:50 archlinux NetworkManager[339]: <info> [1519534190.3304] manager: rfkill: WiFi hardware radio set enabled
Feb 25 12:49:50 archlinux NetworkManager[339]: <info> [1519534190.4244] audit: op="radio-control" arg="wireless-enabled:1" pid=500 uid=1000 result="success"
Feb 25 12:49:50 archlinux NetworkManager[339]: <info> [1519534190.4251] manager: rfkill: WiFi now enabled by radio killswitch
Feb 25 12:49:50 archlinux NetworkManager[339]: <info> [1519534190.4746] manager: rfkill: WWAN hardware radio set enabled
Feb 25 12:49:50 archlinux NetworkManager[339]: <info> [1519534190.4749] audit: op="radio-control" arg="wwan-enabled:1" pid=500 uid=1000 result="success"
Feb 25 12:49:50 archlinux NetworkManager[339]: <info> [1519534190.4803] sup-iface[0x55a255285980,wlp3s0b1]: supports 4 scan SSIDs
Feb 25 12:49:50 archlinux NetworkManager[339]: <info> [1519534190.4815] device (wlp3s0b1): supplicant interface state: starting -> ready
Feb 25 12:49:50 archlinux NetworkManager[339]: <info> [1519534190.4817] device (wlp3s0b1): state change: unavailable -> disconnected (reason 'supplicant-available', sys-iface-state: 'managed>
Feb 25 12:51:05 archlinux NetworkManager[339]: <info> [1519534265.9864] audit: op="connection-delete" uuid="17e28da7-76da-4b8c-9ec8-918487cf5b64" name="M&X" pid=3570 uid=1000 result="success"
Feb 25 12:51:17 archlinux NetworkManager[339]: <info> [1519534277.7434] manager: rfkill: WiFi hardware radio set disabled
Feb 25 12:51:17 archlinux NetworkManager[339]: <info> [1519534277.7435] device (wlp3s0b1): state change: disconnected -> unavailable (reason 'none', sys-iface-state: 'managed')
Feb 25 12:51:17 archlinux NetworkManager[339]: <info> [1519534277.7550] audit: op="radio-control" arg="wireless-enabled:0" pid=500 uid=1000 result="success"
Feb 25 12:51:17 archlinux NetworkManager[339]: <info> [1519534277.7555] manager: rfkill: WiFi now disabled by radio killswitch
Feb 25 12:51:17 archlinux NetworkManager[339]: <info> [1519534277.8016] manager: rfkill: WWAN hardware radio set disabled
Feb 25 12:51:17 archlinux NetworkManager[339]: <info> [1519534277.8019] audit: op="radio-control" arg="wwan-enabled:0" pid=500 uid=1000 result="success"
Feb 25 12:51:19 archlinux NetworkManager[339]: <info> [1519534279.0422] manager: rfkill: WiFi hardware radio set enabled
Feb 25 12:51:19 archlinux NetworkManager[339]: <info> [1519534279.1369] audit: op="radio-control" arg="wireless-enabled:1" pid=500 uid=1000 result="success"
Feb 25 12:51:19 archlinux NetworkManager[339]: <info> [1519534279.1375] manager: rfkill: WiFi now enabled by radio killswitch
Feb 25 12:51:19 archlinux NetworkManager[339]: <info> [1519534279.1864] manager: rfkill: WWAN hardware radio set enabled
Feb 25 12:51:19 archlinux NetworkManager[339]: <info> [1519534279.1866] audit: op="radio-control" arg="wwan-enabled:1" pid=500 uid=1000 result="success"
Feb 25 12:51:19 archlinux NetworkManager[339]: <info> [1519534279.1922] sup-iface[0x55a255130170,wlp3s0b1]: supports 4 scan SSIDs
Feb 25 12:51:19 archlinux NetworkManager[339]: <info> [1519534279.1935] device (wlp3s0b1): supplicant interface state: starting -> ready
Feb 25 12:51:19 archlinux NetworkManager[339]: <info> [1519534279.1936] device (wlp3s0b1): state change: unavailable -> disconnected (reason 'supplicant-available', sys-iface-state: 'managed>
Feb 25 12:51:27 archlinux NetworkManager[339]: <info> [1519534287.9773] keyfile: add connection in-memory (94b69e80-054b-40cc-8bbc-273782cb9539,"M&X")
Feb 25 12:51:27 archlinux NetworkManager[339]: <info> [1519534287.9802] device (wlp3s0b1): Activation: starting connection 'M&X' (94b69e80-054b-40cc-8bbc-273782cb9539)
Feb 25 12:51:27 archlinux NetworkManager[339]: <info> [1519534287.9943] settings-connection[0x55a255129b60,94b69e80-054b-40cc-8bbc-273782cb9539]: write: successfully updated (keyfile: update>
Feb 25 12:51:27 archlinux NetworkManager[339]: <info> [1519534287.9946] audit: op="connection-add-activate" uuid="94b69e80-054b-40cc-8bbc-273782cb9539" name="M&X" pid=500 uid=1000 result="su>
Feb 25 12:51:28 archlinux NetworkManager[339]: <info> [1519534288.0082] device (wlp3s0b1): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Feb 25 12:51:28 archlinux NetworkManager[339]: <info> [1519534288.0086] manager: NetworkManager state is now CONNECTING
Feb 25 12:51:28 archlinux NetworkManager[339]: <info> [1519534288.0283] device (wlp3s0b1): set-hw-addr: reset MAC address to 20:16:D8:40:EA:A2 (preserve)
Feb 25 12:51:28 archlinux NetworkManager[339]: <info> [1519534288.1292] device (wlp3s0b1): supplicant interface state: ready -> disabled
Feb 25 12:51:28 archlinux NetworkManager[339]: <info> [1519534288.1299] device (wlp3s0b1): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Feb 25 12:51:28 archlinux NetworkManager[339]: <info> [1519534288.1305] device (wlp3s0b1): Activation: (wifi) access point 'M&X' has security, but secrets are required.
Feb 25 12:51:28 archlinux NetworkManager[339]: <info> [1519534288.1305] device (wlp3s0b1): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed')
Feb 25 12:51:28 archlinux NetworkManager[339]: <info> [1519534288.1374] device (wlp3s0b1): supplicant interface state: disabled -> inactive
Feb 25 12:51:31 archlinux NetworkManager[339]: <info> [1519534291.5580] device (wlp3s0b1): state change: need-auth -> prepare (reason 'none', sys-iface-state: 'managed')
Feb 25 12:51:31 archlinux NetworkManager[339]: <info> [1519534291.5593] device (wlp3s0b1): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Feb 25 12:51:31 archlinux NetworkManager[339]: <info> [1519534291.5618] device (wlp3s0b1): Activation: (wifi) connection 'M&X' has security, and secrets exist. No new secrets needed.
Feb 25 12:51:31 archlinux NetworkManager[339]: <info> [1519534291.5619] Config: added 'ssid' value 'M&X'
Feb 25 12:51:31 archlinux NetworkManager[339]: <info> [1519534291.5619] Config: added 'scan_ssid' value '1'
Feb 25 12:51:31 archlinux NetworkManager[339]: <info> [1519534291.5619] Config: added 'bgscan' value 'simple:30:-80:86400'
Feb 25 12:51:31 archlinux NetworkManager[339]: <info> [1519534291.5620] Config: added 'key_mgmt' value 'WPA-PSK'
Feb 25 12:51:31 archlinux NetworkManager[339]: <info> [1519534291.5620] Config: added 'auth_alg' value 'OPEN'
Feb 25 12:51:31 archlinux NetworkManager[339]: <info> [1519534291.5620] Config: added 'psk' value '<hidden>'
Feb 25 12:51:31 archlinux NetworkManager[339]: <info> [1519534291.5891] device (wlp3s0b1): supplicant interface state: inactive -> scanning
Feb 25 12:51:44 archlinux NetworkManager[339]: <info> [1519534304.1321] device (wlp3s0b1): supplicant interface state: scanning -> authenticating
Feb 25 12:51:44 archlinux NetworkManager[339]: <info> [1519534304.2473] device (wlp3s0b1): supplicant interface state: authenticating -> associating
Feb 25 12:51:44 archlinux NetworkManager[339]: <info> [1519534304.5975] device (wlp3s0b1): supplicant interface state: associating -> disconnected
Feb 25 12:51:44 archlinux NetworkManager[339]: <info> [1519534304.6976] device (wlp3s0b1): supplicant interface state: disconnected -> scanning
Feb 25 12:51:51 archlinux NetworkManager[339]: <info> [1519534311.3914] device (wlp3s0b1): supplicant interface state: scanning -> authenticating
Feb 25 12:51:51 archlinux NetworkManager[339]: <info> [1519534311.3975] device (wlp3s0b1): supplicant interface state: authenticating -> associating
Feb 25 12:51:51 archlinux NetworkManager[339]: <info> [1519534311.8105] device (wlp3s0b1): supplicant interface state: associating -> disconnected
Feb 25 12:51:52 archlinux NetworkManager[339]: <info> [1519534312.3112] device (wlp3s0b1): supplicant interface state: disconnected -> scanning
Feb 25 12:51:57 archlinux NetworkManager[339]: <warn> [1519534317.0016] device (wlp3s0b1): Activation: (wifi) association took too long
Feb 25 12:51:57 archlinux NetworkManager[339]: <info> [1519534317.0017] device (wlp3s0b1): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed')
Feb 25 12:51:57 archlinux NetworkManager[339]: <warn> [1519534317.0046] device (wlp3s0b1): Activation: (wifi) asking for new secrets
Feb 25 12:51:58 archlinux NetworkManager[339]: <info> [1519534318.1582] device (wlp3s0b1): supplicant interface state: scanning -> inactive
Feb 25 12:52:00 archlinux NetworkManager[339]: <info> [1519534320.6718] device (wlp3s0b1): state change: need-auth -> prepare (reason 'none', sys-iface-state: 'managed')
Feb 25 12:52:00 archlinux NetworkManager[339]: <info> [1519534320.6725] device (wlp3s0b1): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Feb 25 12:52:00 archlinux NetworkManager[339]: <info> [1519534320.6729] device (wlp3s0b1): Activation: (wifi) connection 'M&X' has security, and secrets exist. No new secrets needed.
Feb 25 12:52:00 archlinux NetworkManager[339]: <info> [1519534320.6729] Config: added 'ssid' value 'M&X'
Feb 25 12:52:00 archlinux NetworkManager[339]: <info> [1519534320.6729] Config: added 'scan_ssid' value '1'
Feb 25 12:52:00 archlinux NetworkManager[339]: <info> [1519534320.6730] Config: added 'bgscan' value 'simple:30:-80:86400'
Feb 25 12:52:00 archlinux NetworkManager[339]: <info> [1519534320.6730] Config: added 'key_mgmt' value 'WPA-PSK'
Feb 25 12:52:00 archlinux NetworkManager[339]: <info> [1519534320.6730] Config: added 'auth_alg' value 'OPEN'
Feb 25 12:52:00 archlinux NetworkManager[339]: <info> [1519534320.6730] Config: added 'psk' value '<hidden>'
Feb 25 12:52:00 archlinux NetworkManager[339]: <info> [1519534320.7038] device (wlp3s0b1): supplicant interface state: inactive -> scanning
Feb 25 12:52:07 archlinux NetworkManager[339]: <info> [1519534327.3982] device (wlp3s0b1): supplicant interface state: scanning -> authenticating
Feb 25 12:52:07 archlinux NetworkManager[339]: <info> [1519534327.4113] device (wlp3s0b1): supplicant interface state: authenticating -> associating
Feb 25 12:52:07 archlinux NetworkManager[339]: <info> [1519534327.7618] device (wlp3s0b1): supplicant interface state: associating -> disconnected
Feb 25 12:52:08 archlinux NetworkManager[339]: <info> [1519534328.7627] device (wlp3s0b1): supplicant interface state: disconnected -> scanning
Feb 25 12:52:15 archlinux NetworkManager[339]: <info> [1519534335.4632] device (wlp3s0b1): supplicant interface state: scanning -> authenticating
Feb 25 12:52:15 archlinux NetworkManager[339]: <info> [1519534335.4651] device (wlp3s0b1): supplicant interface state: authenticating -> associating
Feb 25 12:52:15 archlinux NetworkManager[339]: <info> [1519534335.8336] device (wlp3s0b1): supplicant interface state: associating -> disconnected
离线
用 journalctl -b -u NetworkManager 看看日志,把其中的错误信息发出来看看
rfkill list命令的输出也发出来看看
重新连wifi,错误是这两行:
Feb 25 12:51:57 archlinux NetworkManager[339]: <warn> [1519534317.0016] device (wlp3s0b1): Activation: (wifi) association took too long
Feb 25 12:51:57 archlinux NetworkManager[339]: <warn> [1519534317.0046] device (wlp3s0b1): Activation: (wifi) asking for new secrets
Feb 25 12:23:22 archlinux NetworkManager[339]: <warn> [1519532602.6654] sup-iface[0x55a2552276650,wlp3s0b1]: connection disconnected ( reason -3)
archlinux% rfkill list
0: tpacpi_bluetooth_sw: Bluetooth
Soft blocked: no
Hard blocked: no
1: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
麻烦了
最近编辑记录 WendyMin (2018-02-25 13:39:49)
离线
你的电脑应该是笔记本电脑吧?我怀疑你是不是按了笔记本键盘上控制WiFi的功能键,样子大概是一个信号塔一样的图标,你可以试着按一下,然后再连接Wifi试试,按一下就可以了,按两下就又回来了。
离线
你的电脑应该是笔记本电脑吧?我怀疑你是不是按了笔记本键盘上控制WiFi的功能键,样子大概是一个信号塔一样的图标,你可以试着按一下,然后再连接Wifi试试,按一下就可以了,按两下就又回来了。
是笔记本,开着才能连wifi,关着的话都搜不到wifi的
离线
那是什么型号的笔记本?因为有些笔记本内置的无线网卡用NM(NetworkManager)是有bug的,NM这个东西不建议使用,这个东西的怪问题太多了,我之前换到NM一天就因为某些奇怪的问题换回netctl了,也在这个Wifi的问题卡了半天。
你之前说netctl也没用,可能是因为没有正确使用。
你试试将/etc/netctl/目录下的无线网络配置删掉,然后关掉NM(使用命令 [sudo] systemctl stop NetworkManager.service),将无线网卡驱动关掉([sudo] ip link set down dev wlp3s0b1),再用wifi-menu命令连接Wifi,这样应该是没有什么问题的。
如果之前你设置了NM开机启动,建议你也把它禁用掉([sudo] systemctl disable NetworkManager.service),否则NM和netctl是会冲突的,那样子的话,两个东西都没法用。
更多关于netctl的东西看netctl的wiki词条,里面讲的很详细
离线
那是什么型号的笔记本?因为有些笔记本内置的无线网卡用NM(NetworkManager)是有bug的,NM这个东西不建议使用,这个东西的怪问题太多了,我之前换到NM一天就因为某些奇怪的问题换回netctl了,也在这个Wifi的问题卡了半天。
你之前说netctl也没用,可能是因为没有正确使用。
你试试将/etc/netctl/目录下的无线网络配置删掉,然后关掉NM(使用命令 [sudo] systemctl stop NetworkManager.service),将无线网卡驱动关掉([sudo] ip link set down dev wlp3s0b1),再用wifi-menu命令连接Wifi,这样应该是没有什么问题的。
如果之前你设置了NM开机启动,建议你也把它禁用掉([sudo] systemctl disable NetworkManager.service),否则NM和netctl是会冲突的,那样子的话,两个东西都没法用。
更多关于netctl的东西看netctl的wiki词条,里面讲的很详细
thinkpad t430u。还是不行,CONNECTING FAILED。我怀疑会不会是驱动的问题?网卡驱动是BCM4313的。
最近编辑记录 WendyMin (2018-02-25 14:30:00)
离线
sudo rm /etc/netctl/wlp* 试试
实在删不掉就算了,应该问题不大。
刚刚在google上搜索了一下你的这个型号的笔记本,发现用NM都碰到了这个问题,而且都没法解决,不要对无线网报太大期望。。。
https://ubuntuforums.org/showthread.php?t=2059189
最近编辑记录 matrikslee (2018-02-25 14:24:41)
离线
又是 BCM4313 啊……装 broadcom-wl-dkms 试试?
看看这里: https://wiki.archlinux.org/index.php/Broadcom_wireless
离线
又是 BCM4313 啊……装 broadcom-wl-dkms 试试?
看看这里: https://wiki.archlinux.org/index.php/Broadcom_wireless
装过啦,还是不可以,谢谢你,我看看
离线
sudo rm /etc/netctl/wlp* 试试
实在删不掉就算了,应该问题不大。
刚刚在google上搜索了一下你的这个型号的笔记本,发现用NM都碰到了这个问题,而且都没法解决,不要对无线网报太大期望。。。
我后来删掉了,不过还是一样的,好像是这样……估计是BCM4313的问题,对linux不友好。。谢谢你啦
离线
离线
页次: 1