banov
April 18, 2013, 6:51pm
1
Уважаемые форумчане, помогите решить проблему. WI-Fi стартует только после перезагрузки, после выхода из сна NM по несколько раз запрашивает пароль root, пароль wpa, но сеть не поднимается. Привожу исходные данные: GNOME 3.4.2. Ядро Linux 3.4.33-2.24-desktop. Выпуск 12.2 (Mantis) 64-бит.
hwinfo --wlan --short
network:
wlan0 Manufacturer Realtek RTL8191S WLAN Adapter
ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:08:CA:AA:98:63
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:808 errors:0 dropped:3077 overruns:0 frame:0
TX packets:1899 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:628935 (614.1 Kb) TX bytes:453227 (442.6 Kb)
iwconfig wlan0
wlan0 IEEE 802.11bgn ESSID:“OpenWrt” Nickname:“rtl_wifi”
Mode:Managed Frequency:2.412 GHz Access Point: A0:77:7A:06:6E:88
Bit Rate:150 Mb/s Sensitivity:0/0
Retry: off RTS thr: off Fragment thr: off
Encryption key:- -- -- -- Security mode: open
Power Management: off
Link Quality=76/100 Signal level=100/100 Noise level=0/100
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
lsmod | grep “^r8|^8”
r8712u 196131 0
r8169 61212 0
Установка драйвера с сайта Realtek для 8191 завершается с ошибкой. Пакет iw c /repositories/driver:/wireless/openSUSE_12.2/x86_64 установлен.
Помогает ли перезапуск сети?
banov
April 19, 2013, 6:01am
3
rcnetwork restart - не помогает. Перелогинится тоже. Только перезагруз.
banov
April 19, 2013, 6:46pm
5
Apr 19 19:41:32 linux-ehv4 NetworkManager[743]: <info> NetworkManager (version 0.9.4.0) is starting...
Apr 19 19:41:33 linux-ehv4 NetworkManager[743]: <info> Read config file /etc/NetworkManager/NetworkManager.conf
Apr 19 19:41:33 linux-ehv4 NetworkManager[743]: <info> VPN: loaded org.freedesktop.NetworkManager.pptp
Apr 19 19:41:33 linux-ehv4 NetworkManager[743]: <info> VPN: loaded org.freedesktop.NetworkManager.openvpn
Apr 19 19:41:33 linux-ehv4 NetworkManager[743]: <info> VPN: loaded org.freedesktop.NetworkManager.vpnc
Apr 19 19:41:33 linux-ehv4 NetworkManager[743]: <info> Loaded plugin ifcfg-suse: (C) 2008 Novell, Inc. To report bugs please use the NetworkManager mailing list.
Apr 19 19:41:33 linux-ehv4 NetworkManager[743]: <info> Loaded plugin keyfile: (c) 2007 - 2010 Red Hat, Inc. To report bugs please use the NetworkManager mailing list.
Apr 19 19:41:33 linux-ehv4 NetworkManager[743]: keyfile: parsing Автоматическое OpenWrt ...
Apr 19 19:41:33 linux-ehv4 NetworkManager[743]: keyfile: read connection 'Автоматическое OpenWrt'
Apr 19 19:41:33 linux-ehv4 NetworkManager[743]: keyfile: parsing Wired connection 1 ...
Apr 19 19:41:33 linux-ehv4 NetworkManager[743]: keyfile: read connection 'Wired connection 1'
Apr 19 19:41:33 linux-ehv4 NetworkManager[743]: <info> trying to start the modem manager...
Apr 19 19:41:33 linux-ehv4 NetworkManager[743]: <info> monitoring kernel firmware directory '/lib/firmware'.
Apr 19 19:41:33 linux-ehv4 NetworkManager[743]: <info> WiFi enabled by radio killswitch; enabled by state file
Apr 19 19:41:33 linux-ehv4 NetworkManager[743]: <info> WWAN enabled by radio killswitch; enabled by state file
Apr 19 19:41:33 linux-ehv4 NetworkManager[743]: <info> WiMAX enabled by radio killswitch; enabled by state file
Apr 19 19:41:33 linux-ehv4 NetworkManager[743]: <info> Networking is enabled by state file
Apr 19 19:41:33 linux-ehv4 NetworkManager[743]: <warn> failed to allocate link cache: (-10) Operation not supported
Apr 19 19:41:33 linux-ehv4 NetworkManager[743]: <info> (eth0): carrier is OFF
Apr 19 19:41:33 linux-ehv4 NetworkManager[743]: <info> (eth0): new Ethernet device (driver: 'r8169' ifindex: 2)
Apr 19 19:41:34 linux-ehv4 NetworkManager[743]: <info> (eth0): exported as /org/freedesktop/NetworkManager/Devices/0
Apr 19 19:41:34 linux-ehv4 NetworkManager[743]: <info> (eth0): now managed
Apr 19 19:41:34 linux-ehv4 NetworkManager[743]: <info> (eth0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Apr 19 19:41:34 linux-ehv4 NetworkManager[743]: <info> (eth0): bringing up device.
Apr 19 19:41:34 linux-ehv4 NetworkManager[743]: <info> (eth0): preparing device.
Apr 19 19:41:34 linux-ehv4 NetworkManager[743]: <info> (eth0): deactivating device (reason 'managed') [2]
Apr 19 19:41:34 linux-ehv4 NetworkManager[743]: <warn> failed to allocate link cache: (-10) Operation not supported
Apr 19 19:41:34 linux-ehv4 NetworkManager[743]: <info> (wlan0): driver does not support SSID scans (scan_capa 0x00).
Apr 19 19:41:34 linux-ehv4 NetworkManager[743]: <info> (wlan0): using WEXT for WiFi device control
Apr 19 19:41:34 linux-ehv4 NetworkManager[743]: <error> [1366386094.174018] [nm-device-wifi.c:2679] real_update_permanent_hw_address(): (wlan0): unable to read permanent MAC address (error 95)
Apr 19 19:41:34 linux-ehv4 NetworkManager[743]: <info> (wlan0): new 802.11 WiFi device (driver: 'r8712u' ifindex: 3)
Apr 19 19:41:34 linux-ehv4 NetworkManager[743]: <info> (wlan0): exported as /org/freedesktop/NetworkManager/Devices/1
Apr 19 19:41:34 linux-ehv4 NetworkManager[743]: <info> (wlan0): now managed
Apr 19 19:41:34 linux-ehv4 NetworkManager[743]: <info> (wlan0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Apr 19 19:41:34 linux-ehv4 NetworkManager[743]: <info> (wlan0): bringing up device.
Apr 19 19:41:35 linux-ehv4 NetworkManager[743]: <info> (wlan0): preparing device.
Apr 19 19:41:35 linux-ehv4 NetworkManager[743]: <info> (wlan0): deactivating device (reason 'managed') [2]
Apr 19 19:41:35 linux-ehv4 NetworkManager[743]: <warn> bluez error getting default adapter: The name org.bluez was not provided by any .service files
Apr 19 19:41:35 linux-ehv4 NetworkManager[743]: <info> modem-manager is now available
Apr 19 19:41:35 linux-ehv4 NetworkManager[743]: <info> wpa_supplicant started
Apr 19 19:41:35 linux-ehv4 NetworkManager[743]: <info> (wlan0): supplicant interface state: starting -> ready
Apr 19 19:41:35 linux-ehv4 NetworkManager[743]: <info> (wlan0): device state change: unavailable -> disconnected (reason 'supplicant-available') [20 30 42]
Apr 19 19:41:35 linux-ehv4 NetworkManager[743]: <info> (wlan0): supplicant interface state: ready -> inactive
Apr 19 19:41:35 linux-ehv4 NetworkManager[743]: <warn> Trying to remove a non-existant call id.
Apr 19 19:41:45 linux-ehv4 NetworkManager[743]: <info> Auto-activating connection 'Автоматическое OpenWrt'.
Apr 19 19:41:45 linux-ehv4 NetworkManager[743]: <info> Activation (wlan0) starting connection 'Автоматическое OpenWrt'
Apr 19 19:41:45 linux-ehv4 NetworkManager[743]: <info> (wlan0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Apr 19 19:41:45 linux-ehv4 NetworkManager[743]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
Apr 19 19:41:45 linux-ehv4 NetworkManager[743]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
Apr 19 19:41:45 linux-ehv4 NetworkManager[743]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
Apr 19 19:41:45 linux-ehv4 NetworkManager[743]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
Apr 19 19:41:45 linux-ehv4 NetworkManager[743]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
Apr 19 19:41:45 linux-ehv4 NetworkManager[743]: <info> (wlan0): device state change: prepare -> config (reason 'none') [40 50 0]
Apr 19 19:41:45 linux-ehv4 NetworkManager[743]: <info> Activation (wlan0/wireless): connection 'Автоматическое OpenWrt' has security, and secrets exist. No new secrets needed.
Apr 19 19:41:45 linux-ehv4 NetworkManager[743]: <info> Config: added 'ssid' value 'OpenWrt'
Apr 19 19:41:45 linux-ehv4 NetworkManager[743]: <info> Config: added 'scan_ssid' value '1'
Apr 19 19:41:45 linux-ehv4 NetworkManager[743]: <info> Config: added 'key_mgmt' value 'WPA-PSK'
Apr 19 19:41:45 linux-ehv4 NetworkManager[743]: <info> Config: added 'psk' value '<omitted>'
Apr 19 19:41:45 linux-ehv4 NetworkManager[743]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
Apr 19 19:41:45 linux-ehv4 NetworkManager[743]: <info> Config: set interface ap_scan to 1
Apr 19 19:41:45 linux-ehv4 NetworkManager[743]: <info> (wlan0): supplicant interface state: inactive -> scanning
Apr 19 19:41:55 linux-ehv4 NetworkManager[743]: <info> (wlan0): supplicant interface state: scanning -> associating
Apr 19 19:42:00 linux-ehv4 NetworkManager[743]: <info> (wlan0): supplicant interface state: associating -> disconnected
Apr 19 19:42:01 linux-ehv4 NetworkManager[743]: <info> (wlan0): supplicant interface state: disconnected -> associated
Apr 19 19:42:01 linux-ehv4 NetworkManager[743]: <info> (wlan0): supplicant interface state: associated -> 4-way handshake
Apr 19 19:42:01 linux-ehv4 NetworkManager[743]: <info> (wlan0): supplicant interface state: 4-way handshake -> completed
Apr 19 19:42:01 linux-ehv4 NetworkManager[743]: <info> Activation (wlan0/wireless) Stage 2 of 5 (Device Configure) successful. Connected to wireless network 'OpenWrt'.
Apr 19 19:42:01 linux-ehv4 NetworkManager[743]: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) scheduled.
Apr 19 19:42:01 linux-ehv4 NetworkManager[743]: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) started...
Apr 19 19:42:01 linux-ehv4 NetworkManager[743]: <info> (wlan0): device state change: config -> ip-config (reason 'none') [50 70 0]
Apr 19 19:42:01 linux-ehv4 NetworkManager[743]: <info> Activation (wlan0) Beginning DHCPv4 transaction (timeout in 45 seconds)
Apr 19 19:42:01 linux-ehv4 NetworkManager[743]: <info> dhclient started with pid 1651
Apr 19 19:42:01 linux-ehv4 NetworkManager[743]: <info> Activation (wlan0) Beginning IP6 addrconf.
Apr 19 19:42:01 linux-ehv4 NetworkManager[743]: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) complete.
Apr 19 19:42:02 linux-ehv4 NetworkManager[743]: <info> (wlan0): DHCPv4 state changed nbi -> preinit
Apr 19 19:42:02 linux-ehv4 NetworkManager[743]: <info> (wlan0): DHCPv4 state changed preinit -> reboot
Apr 19 19:42:02 linux-ehv4 NetworkManager[743]: <info> address 192.168.1.103
Apr 19 19:42:02 linux-ehv4 NetworkManager[743]: <info> prefix 24 (255.255.255.0)
Apr 19 19:42:02 linux-ehv4 NetworkManager[743]: <info> gateway 192.168.1.1
Apr 19 19:42:02 linux-ehv4 NetworkManager[743]: <info> nameserver '192.168.1.1'
Apr 19 19:42:02 linux-ehv4 NetworkManager[743]: <info> domain name 'lan'
Apr 19 19:42:02 linux-ehv4 NetworkManager[743]: <info> Activation (wlan0) Stage 5 of 5 (IPv4 Configure Commit) scheduled...
Apr 19 19:42:02 linux-ehv4 NetworkManager[743]: <info> Activation (wlan0) Stage 5 of 5 (IPv4 Commit) started...
Apr 19 19:42:03 linux-ehv4 NetworkManager[743]: <info> Clearing nscd hosts cache.
Apr 19 19:42:03 linux-ehv4 NetworkManager[743]: sent invalidate(hosts) request, exiting
Apr 19 19:42:03 linux-ehv4 NetworkManager[743]: <info> (wlan0): device state change: ip-config -> activated (reason 'none') [70 100 0]
Apr 19 19:42:03 linux-ehv4 NetworkManager[743]: <info> Policy set 'Автоматическое OpenWrt' (wlan0) as default for IPv4 routing and DNS.
Apr 19 19:42:03 linux-ehv4 NetworkManager[743]: <info> Activation (wlan0) successful, device activated.
Apr 19 19:42:03 linux-ehv4 NetworkManager[743]: <info> Activation (wlan0) Stage 5 of 5 (IPv4 Commit) complete.
Apr 19 19:42:07 linux-ehv4 nm-dispatcher.action: Script '/etc/NetworkManager/dispatcher.d/nfs' exited with error status 2.
Apr 19 19:42:21 linux-ehv4 NetworkManager[743]: <info> (wlan0): IP6 addrconf timed out or failed.
Apr 19 19:42:21 linux-ehv4 NetworkManager[743]: <info> Activation (wlan0) Stage 4 of 5 (IPv6 Configure Timeout) scheduled...
Apr 19 19:42:21 linux-ehv4 NetworkManager[743]: <info> Activation (wlan0) Stage 4 of 5 (IPv6 Configure Timeout) started...
Apr 19 19:42:21 linux-ehv4 NetworkManager[743]: <info> Activation (wlan0) Stage 4 of 5 (IPv6 Configure Timeout) complete.
Apr 19 19:42:35 linux-ehv4 NetworkManager[743]: <info> (wlan0): supplicant interface state: completed -> associating
Apr 19 19:42:36 linux-ehv4 NetworkManager[743]: <info> (wlan0): supplicant interface state: associating -> 4-way handshake
Apr 19 19:42:37 linux-ehv4 NetworkManager[743]: <info> (wlan0): supplicant interface state: 4-way handshake -> completed
Apr 19 19:46:46 linux-ehv4 NetworkManager[743]: <info> (wlan0): supplicant interface state: completed -> disconnected
Apr 19 19:46:46 linux-ehv4 NetworkManager[743]: <info> (wlan0): roamed from BSSID A0:77:7A:06:6E:88 (OpenWrt) to (none) ((none))
Apr 19 19:46:50 linux-ehv4 NetworkManager[743]: <info> (wlan0): supplicant interface state: disconnected -> scanning
Apr 19 19:47:00 linux-ehv4 NetworkManager[743]: <info> (wlan0): supplicant interface state: scanning -> associating
Apr 19 19:47:01 linux-ehv4 NetworkManager[743]: <info> (wlan0): supplicant interface state: associating -> associated
Apr 19 19:47:01 linux-ehv4 NetworkManager[743]: <info> (wlan0): supplicant interface state: associated -> 4-way handshake
Apr 19 19:47:01 linux-ehv4 NetworkManager[743]: <info> (wlan0): supplicant interface state: 4-way handshake -> completed
Apr 19 19:47:04 linux-ehv4 NetworkManager[743]: <info> (wlan0): roamed from BSSID (none) ((none)) to A0:77:7A:06:6E:88 (OpenWrt)
Apr 19 19:56:26 linux-ehv4 NetworkManager[743]: <info> (wlan0): supplicant interface state: completed -> disconnected
Apr 19 19:56:26 linux-ehv4 NetworkManager[743]: <info> (wlan0): supplicant interface state: disconnected -> scanning
Apr 19 19:56:36 linux-ehv4 NetworkManager[743]: <info> (wlan0): supplicant interface state: scanning -> associating
Apr 19 19:56:36 linux-ehv4 NetworkManager[743]: <info> (wlan0): supplicant interface state: associating -> 4-way handshake
Apr 19 19:56:36 linux-ehv4 NetworkManager[743]: <info> (wlan0): supplicant interface state: 4-way handshake -> completed
При отключенном кабеле от eth0 соединение wlan0 пропадает примерно через минуту после загрузки. Если пинговать wlan0 (192.168.1.103), то соединение с роутером появляется, затем вновь пропадает.
Apr 19 19:46:46 linux-ehv4 NetworkManager[743]: <info> (wlan0): roamed from BSSID A0:77:7A:06:6E:88 (OpenWrt) to (none) ((none))
…
Apr 19 19:47:04 linux-ehv4 NetworkManager[743]: <info> (wlan0): roamed from BSSID (none) ((none)) to A0:77:7A:06:6E:88 (OpenWrt)
…
Попробуйте wicd.
Кстати, что за ошибка при сборке с сайта производителя?
banov
April 22, 2013, 5:28pm
7
С wicd та же канитель. Пробовал на этом неттопе (Pegatron Amis L6 [size=2]Atom D525)[/size] загрузить 11.4 версию - работает без проблем с NM. Позже обновлюсь до 12.3 может там поправили. Про ошибки при установке драйвера сейчас уже не скажу, но они были для ядер 2.6 и 3.08. брал отсюда: Realtek
Да… Та же фигня после сна wi-fi не просыпается…
Надело бороться и теперь ПК у меня никогда не спит… : O