LINUX.ORG.RU
решено ФорумAdmin

Не поднимается wi-fi на ноутбуке

 , , , ,


0

1

Доброго времени всем)
Все было прекрасно, пока не потребовалось поднять vpn с каким то старым сертификатом, для чего была попытка даунгрейдить openvpn и openssl.
После чего посыпались проблемы. С sudo, pacman'ом и прочие.
В итоге после танцев с бубном мне все таки удалось вернуть контроль над системой, sudo, pacman и вылезти в интернет (но исключительно через провод).
Сейчас снова стоят:

Name            : openvpn
Version         : 2.4.4-1

and

Name            : openssl
Version         : 1.1.0.g-1
Но проблема с wi-fi
Nov 21 10:28:29 alter systemd[1]: Starting Network Manager...
Nov 21 10:28:30 alter NetworkManager[391]: <info>  [1511249310.3696] NetworkManager (version 1.10.0-1, Arch Linux) is starting... (for the first time)
Nov 21 10:28:30 alter NetworkManager[391]: <info>  [1511249310.3699] Read config: /etc/NetworkManager/NetworkManager.conf (lib: 20-connectivity.conf)
Nov 21 10:28:30 alter NetworkManager[391]: <info>  [1511249310.4173] manager[0x55eb055c9040]: monitoring kernel firmware directory '/usr/lib/firmware'.
Nov 21 10:28:30 alter NetworkManager[391]: <info>  [1511249310.7613] hostname: hostname: using hostnamed
Nov 21 10:28:30 alter NetworkManager[391]: <info>  [1511249310.7614] hostname: hostname changed from (none) to "alter"
Nov 21 10:28:30 alter NetworkManager[391]: <info>  [1511249310.7620] dns-mgr[0x55eb055e4840]: init: dns=default, rc-manager=resolvconf
Nov 21 10:28:30 alter NetworkManager[391]: <info>  [1511249310.7641] rfkill2: found WiFi radio killswitch (at /sys/devices/pci0000:00/0000:00:1c.5/0000:02:00.0/ieee80211/phy0/rfkill2) (drive
Nov 21 10:28:30 alter NetworkManager[391]: <info>  [1511249310.7644] rfkill0: found WiFi radio killswitch (at /sys/devices/platform/acer-wmi/rfkill/rfkill0) (platform driver acer-wmi)
Nov 21 10:28:30 alter NetworkManager[391]: <info>  [1511249310.7775] manager[0x55eb055c9040]: rfkill: WiFi hardware radio set enabled
Nov 21 10:28:30 alter NetworkManager[391]: <info>  [1511249310.7776] manager[0x55eb055c9040]: rfkill: WWAN hardware radio set enabled
Nov 21 10:28:30 alter systemd[1]: Started Network Manager.
Nov 21 10:28:31 alter NetworkManager[391]: <info>  [1511249311.0596] settings: loaded plugin keyfile: (c) 2007 - 2016 Red Hat, Inc.  To report bugs please use the NetworkManager mailing list
Nov 21 10:28:31 alter NetworkManager[391]: <info>  [1511249311.0999] settings: loaded plugin iBFT: (c) 2014 Red Hat, Inc.  To report bugs please use the NetworkManager mailing list. (/usr/li
Nov 21 10:28:31 alter NetworkManager[391]: <info>  [1511249311.2307] keyfile: new connection /etc/NetworkManager/system-connections/MOSIGRA (a8a69aee-61bf-4d19-bae5-5dbe5d8be33e,"MOSIGRA")
Nov 21 10:28:31 alter NetworkManager[391]: <info>  [1511249311.2941] keyfile: new connection /etc/NetworkManager/system-connections/Vivi (cd00666c-a169-4b3d-8326-0f8da6e3cce4,"Vivi")
Nov 21 10:28:31 alter NetworkManager[391]: <info>  [1511249311.3237] keyfile: new connection /etc/NetworkManager/system-connections/ chen163 (fcf858b5-cfcd-42ea-8575-b0a583343e87," chen163")
Nov 21 10:28:31 alter NetworkManager[391]: <info>  [1511249311.3473] keyfile: new connection /etc/NetworkManager/system-connections/TP-LINK_6FE8 (f61570d1-c40b-4d63-9ab7-a933a7c553f4,"TP-LIN
Nov 21 10:28:31 alter NetworkManager[391]: <info>  [1511249311.3937] keyfile: new connection /etc/NetworkManager/system-connections/ZyXEL_KEENETIC_RT (d67d7316-f189-4dbe-9645-9457c04108af,"Z
Nov 21 10:28:31 alter NetworkManager[391]: <info>  [1511249311.5184] keyfile: new connection /etc/NetworkManager/system-connections/Swift (26d0874f-1620-4900-a380-3ceb900af58c,"Swift")
Nov 21 10:28:31 alter NetworkManager[391]: <info>  [1511249311.8106] manager: rfkill: WiFi enabled by radio killswitch; enabled by state file
Nov 21 10:28:31 alter NetworkManager[391]: <info>  [1511249311.8108] manager: rfkill: WWAN enabled by radio killswitch; enabled by state file
Nov 21 10:28:31 alter NetworkManager[391]: <info>  [1511249311.8108] manager: Networking is enabled by state file
Nov 21 10:28:31 alter NetworkManager[391]: <info>  [1511249311.8112] dhcp-init: Using DHCP client 'internal'
Nov 21 10:28:31 alter NetworkManager[391]: <info>  [1511249311.8521] Loaded device plugin: NMBondDeviceFactory (internal)
Nov 21 10:28:31 alter NetworkManager[391]: <info>  [1511249311.8522] Loaded device plugin: NMBridgeDeviceFactory (internal)
Nov 21 10:28:31 alter NetworkManager[391]: <info>  [1511249311.8522] Loaded device plugin: NMDummyDeviceFactory (internal)
Nov 21 10:28:31 alter NetworkManager[391]: <info>  [1511249311.8522] Loaded device plugin: NMEthernetDeviceFactory (internal)
Nov 21 10:28:31 alter NetworkManager[391]: <info>  [1511249311.8523] Loaded device plugin: NMInfinibandDeviceFactory (internal)
Nov 21 10:28:31 alter NetworkManager[391]: <info>  [1511249311.8523] Loaded device plugin: NMIPTunnelDeviceFactory (internal)
Nov 21 10:28:31 alter NetworkManager[391]: <info>  [1511249311.8524] Loaded device plugin: NMMacsecDeviceFactory (internal)
Nov 21 10:28:31 alter NetworkManager[391]: <info>  [1511249311.8744] Loaded device plugin: NMMacvlanDeviceFactory (internal)
Nov 21 10:28:31 alter NetworkManager[391]: <info>  [1511249311.8745] Loaded device plugin: NMPppDeviceFactory (internal)
Nov 21 10:28:31 alter NetworkManager[391]: <info>  [1511249311.8745] Loaded device plugin: NMTunDeviceFactory (internal)
Nov 21 10:28:31 alter NetworkManager[391]: <info>  [1511249311.8745] Loaded device plugin: NMVethDeviceFactory (internal)
Nov 21 10:28:31 alter NetworkManager[391]: <info>  [1511249311.8746] Loaded device plugin: NMVlanDeviceFactory (internal)
Nov 21 10:28:31 alter NetworkManager[391]: <info>  [1511249311.8746] Loaded device plugin: NMVxlanDeviceFactory (internal)
Nov 21 10:28:31 alter NetworkManager[391]: <info>  [1511249311.9399] Loaded device plugin: NMAtmManager (/usr/lib/NetworkManager/libnm-device-plugin-adsl.so)
Nov 21 10:28:32 alter NetworkManager[391]: <info>  [1511249312.1902] Loaded device plugin: NMBluezManager (/usr/lib/NetworkManager/libnm-device-plugin-bluetooth.so)
Nov 21 10:28:32 alter NetworkManager[391]: <info>  [1511249312.2022] Loaded device plugin: NMWifiFactory (/usr/lib/NetworkManager/libnm-device-plugin-wifi.so)
Nov 21 10:28:32 alter NetworkManager[391]: <info>  [1511249312.2118] Loaded device plugin: NMOvsFactory (/usr/lib/NetworkManager/libnm-device-plugin-ovs.so)
Nov 21 10:28:32 alter NetworkManager[391]: <info>  [1511249312.2287] Loaded device plugin: NMWwanFactory (/usr/lib/NetworkManager/libnm-device-plugin-wwan.so)
Nov 21 10:28:32 alter NetworkManager[391]: <info>  [1511249312.4611] Loaded device plugin: NMTeamFactory (/usr/lib/NetworkManager/libnm-device-plugin-team.so)
Nov 21 10:28:32 alter NetworkManager[391]: <info>  [1511249312.4736] device (lo): carrier: link connected
Nov 21 10:28:32 alter NetworkManager[391]: <info>  [1511249312.4755] manager: (lo): new Generic device (/org/freedesktop/NetworkManager/Devices/1)
Nov 21 10:28:32 alter NetworkManager[391]: <info>  [1511249312.4789] manager: (enp1s0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/2)
Nov 21 10:28:32 alter NetworkManager[391]: <info>  [1511249312.5159] keyfile: add connection in-memory (313bced2-7928-3295-9d85-4045ecc100c8,"Wired connection 1")
Nov 21 10:28:32 alter NetworkManager[391]: <info>  [1511249312.5171] settings: (enp1s0): created default wired connection 'Wired connection 1'
Nov 21 10:28:32 alter NetworkManager[391]: <info>  [1511249312.5196] device (enp1s0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Nov 21 10:28:32 alter NetworkManager[391]: <info>  [1511249312.6917] wifi-nl80211: (wlp2s0): using nl80211 for WiFi device control
Nov 21 10:28:32 alter NetworkManager[391]: <info>  [1511249312.6924] device (wlp2s0): driver supports Access Point (AP) mode
Nov 21 10:28:32 alter NetworkManager[391]: <info>  [1511249312.6951] manager: (wlp2s0): new 802.11 WiFi device (/org/freedesktop/NetworkManager/Devices/3)
Nov 21 10:28:32 alter NetworkManager[391]: <info>  [1511249312.6977] device (wlp2s0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Nov 21 10:28:32 alter NetworkManager[391]: <info>  [1511249312.7801] device (wlp2s0): set-hw-addr: set MAC address to 9A:F9:7E:05:7E:81 (scanning)
Nov 21 10:28:33 alter NetworkManager[391]: <info>  [1511249313.0180] ovsdb: Could not connect: No such file or directory
Nov 21 10:28:58 alter NetworkManager[4182]: <warn>  [1511250965.2336] supplicant: failed to acquire wpa_supplicant proxy: Wi-Fi and 802.1x will not be available (Error calling StartServiceByName for fi.w1.wpa_supplicant1: GDBus.Error:org.freedesktop.DBus.Error.TimedOut: Failed to activate service 'fi.w1.wpa_supplicant1': timed out (service_start_timeout=25000ms))

[root@alter ~]# systemctl status wpa_supplicant
● wpa_supplicant.service - WPA supplicant
   Loaded: loaded (/usr/lib/systemd/system/wpa_supplicant.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2017-11-21 10:55:40 MSK; 55min ago
  Process: 4194 ExecStart=/usr/bin/wpa_supplicant -u (code=exited, status=127)
 Main PID: 4194 (code=exited, status=127)

Nov 21 10:55:40 alter systemd[1]: Starting WPA supplicant...
Nov 21 10:55:40 alter wpa_supplicant[4194]: /usr/bin/wpa_supplicant: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory
Nov 21 10:55:40 alter systemd[1]: wpa_supplicant.service: Main process exited, code=exited, status=127/n/a
Nov 21 10:55:40 alter systemd[1]: wpa_supplicant.service: Failed with result 'exit-code'.
Nov 21 10:55:40 alter systemd[1]: Failed to start WPA supplicant.
Istervaer ()
Ответ на: комментарий от Istervaer

libssl.so.1.0.0: cannot open shared object file: No such file or directory

Так тут все уже написано. Для корректной работы старой версии нужна другая версия либ.

Все было прекрасно, пока не потребовалось поднять vpn с каким то старым сертификатом, для чего была попытка даунгрейдить openvpn и openssl.

Я бы в вашей ситуации попробовал загнать нужные версии пакетов внутри контейнера, а не основной системы, и роутить траф через нее через какой-нибудь SOCKS. Но впринципе, можно и подсунуть основной системе нужную либу.

Deleted ()
Ответ на: комментарий от Deleted

Так тут все уже написано. Для корректной работы старой версии нужна другая версия либ.

Дополню:

pkgfile -s libssl.so.1.0.0
extra/openssl-1.0

fehhner ★★★★★ ()
Ответ на: комментарий от fehhner

Возможно какой-нибудь симлинк слетел. Нужно узнать что именно и откуда дергает wpa_supplicant при запуске.

Deleted ()
Ответ на: комментарий от Deleted

Да, как только написал последнее сообщение в теме - поправил ситуацию и отметил тему решенной))
Вы имеете ввиду под контейнером - докер или что то подобное?

Istervaer ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.