Fórum Ubuntu CZ/SK
Ubuntu pro osobní počítače => Hardware => Téma založeno: Václav Sobota 16 Prosince 2017, 16:25:17
-
Zdravim po dlouhe dobe vsechny ubuntaky! Mam takovy problem, kteremu moc nerozumim: na mem low-endovem laptopu HP 240 G3 s Ubuntu MATE 16.04 mi obcas (spis docela casto) zkolabuje WiFi adapter (delo/deje se to i ve Fedore a ve Win10). Z niceho nic se sit odpoji a pocitac uz pak zadnou nevidi. Co vzdycky pomuze je uplne vypnout a zase zapnout pocitac. Diagnostika je celkem nekomfortni, protoze jak to padne, clovek samozrejme nema pristu na web (nemuzu najit sitovej kabel, abych se pripojil pres nej).
Takze bych rad pozadal o pomoc s nasledujicim: ¿Jak "resatartovat" (vypnout / zapnout) WLAN adapter bez vypinani celeho pocitace?
Pridavam lshw:WARNING: you should run this program as super-user.
hp
description: Computer
width: 64 bits
capabilities: vsyscall32
*-core
description: Motherboard
physical id: 0
*-memory
description: System memory
physical id: 0
size: 3836MiB
*-cpu
product: Intel(R) Celeron(R) CPU N2840 @ 2.16GHz
vendor: Intel Corp.
physical id: 1
bus info: cpu@0
size: 781MHz
capacity: 2582MHz
width: 64 bits
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp x86-64 constant_tsc arch_perfmon pebs bts rep_good nopl xtopology tsc_reliable nonstop_tsc aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer rdrand lahf_lm 3dnowprefetch epb tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms dtherm ida arat cpufreq
*-pci
description: Host bridge
product: Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register
vendor: Intel Corporation
physical id: 100
bus info: pci@0000:00:00.0
version: 0e
width: 32 bits
clock: 33MHz
configuration: driver=iosf_mbi_pci
resources: irq:0
*-display
description: VGA compatible controller
product: Atom Processor Z36xxx/Z37xxx Series Graphics & Display
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 0e
width: 32 bits
clock: 33MHz
capabilities: vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:91 memory:90000000-903fffff memory:80000000-8fffffff ioport:2050(size=8) memory:c0000-dffff
*-generic
description: Encryption controller
product: Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine
vendor: Intel Corporation
physical id: 1a
bus info: pci@0000:00:1a.0
version: 0e
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: driver=mei_txe latency=0
resources: irq:92 memory:90900000-909fffff memory:90800000-908fffff
*-multimedia
description: Audio device
product: Atom Processor Z36xxx/Z37xxx Series High Definition Audio Controller
vendor: Intel Corporation
physical id: 1b
bus info: pci@0000:00:1b.0
version: 0e
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: driver=snd_hda_intel latency=0
resources: irq:93 memory:90a10000-90a13fff
*-pci:0
description: PCI bridge
product: Atom Processor E3800 Series PCI Express Root Port 1
vendor: Intel Corporation
physical id: 1c
bus info: pci@0000:00:1c.0
version: 0e
width: 32 bits
clock: 33MHz
capabilities: pci normal_decode cap_list
configuration: driver=pcieport
resources: irq:16 ioport:3000(size=4096)
*-pci:1
description: PCI bridge
product: Atom Processor E3800 Series PCI Express Root Port 2
vendor: Intel Corporation
physical id: 1c.1
bus info: pci@0000:00:1c.1
version: 0e
width: 32 bits
clock: 33MHz
capabilities: pci normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:17 ioport:4000(size=4096) memory:90700000-907fffff
*-network
description: Wireless interface
product: RT3290 Wireless 802.11n 1T/1R PCIe
vendor: Ralink corp.
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlp2s0f0
version: 00
serial: 10:08:b1:46:f0:4d
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rt2800pci driverversion=4.10.0-42-generic firmware=0.37 ip=192.168.1.39 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:17 memory:90710000-9071ffff
*-generic UNCLAIMED
description: Bluetooth
product: RT3290 Bluetooth
vendor: Ralink corp.
physical id: 0.1
bus info: pci@0000:02:00.1
version: 00
width: 32 bits
clock: 33MHz
capabilities: cap_list
configuration: latency=0
resources: memory:90700000-9070ffff
*-pci:2
description: PCI bridge
product: Atom Processor E3800 Series PCI Express Root Port 3
vendor: Intel Corporation
physical id: 1c.2
bus info: pci@0000:00:1c.2
version: 0e
width: 32 bits
clock: 33MHz
capabilities: pci normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:18 ioport:5000(size=4096) memory:90600000-906fffff
*-generic
description: Unassigned class
product: RTS5229 PCI Express Card Reader
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:03:00.0
version: 01
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: driver=rtsx_pci latency=0
resources: irq:89 memory:90600000-90600fff
*-pci:3
description: PCI bridge
product: Atom Processor E3800 Series PCI Express Root Port 4
vendor: Intel Corporation
physical id: 1c.3
bus info: pci@0000:00:1c.3
version: 0e
width: 32 bits
clock: 33MHz
capabilities: pci normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:19 ioport:1000(size=4096) memory:90500000-905fffff ioport:90400000(size=1048576)
*-network
description: Ethernet interface
product: RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:04:00.0
logical name: enp4s0
version: 07
serial: 5c:b9:01:06:58:55
size: 10Mbit/s
capacity: 100Mbit/s
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8106e-1_0.0.1 06/29/12 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
resources: irq:90 ioport:1000(size=256) memory:90500000-90500fff memory:90400000-90403fff
*-isa
description: ISA bridge
product: Atom Processor Z36xxx/Z37xxx Series Power Control Unit
vendor: Intel Corporation
physical id: 1f
bus info: pci@0000:00:1f.0
version: 0e
width: 32 bits
clock: 33MHz
capabilities: isa bus_master cap_list
configuration: driver=lpc_ich latency=0
resources: irq:0
*-serial UNCLAIMED
description: SMBus
product: Atom Processor E3800 Series SMBus Controller
vendor: Intel Corporation
physical id: 1f.3
bus info: pci@0000:00:1f.3
version: 0e
width: 32 bits
clock: 33MHz
capabilities: cap_list
configuration: latency=0
resources: memory:90a18000-90a1801f ioport:2000(size=32)
*-storage
description: SATA controller
product: Atom Processor E3800 Series SATA AHCI Controller
vendor: Intel Corporation
physical id: 13
bus info: pci@0000:00:13.0
version: 0e
width: 32 bits
clock: 66MHz
capabilities: storage ahci_1.0 bus_master cap_list
configuration: driver=ahci latency=0
resources: irq:88 ioport:2048(size=8) ioport:205c(size=4) ioport:2040(size=8) ioport:2058(size=4) ioport:2020(size=32) memory:90a1e000-90a1e7ff
*-usb
description: USB controller
product: Atom Processor Z36xxx/Z37xxx, Celeron N2000 Series USB xHCI
vendor: Intel Corporation
physical id: 14
bus info: pci@0000:00:14.0
version: 0e
width: 64 bits
clock: 33MHz
capabilities: xhci cap_list
configuration: driver=xhci_hcd latency=0
resources: irq:87 memory:90a00000-90a0ffff
*-scsi
physical id: 2
logical name: scsi1
capabilities: emulated
*-cdrom
description: DVD-RAM writer
product: DVDRW SU208GB
vendor: hp
physical id: 0.0.0
bus info: scsi@1:0.0.0
logical name: /dev/cdrom
logical name: /dev/cdrw
logical name: /dev/dvd
logical name: /dev/dvdrw
logical name: /dev/sr0
version: HH00
capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
configuration: ansiversion=5 status=nodisc
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
a lspci: 00:00.0 Host bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register (rev 0e)
00:02.0 VGA compatible controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display (rev 0e)
00:13.0 SATA controller: Intel Corporation Atom Processor E3800 Series SATA AHCI Controller (rev 0e)
00:14.0 USB controller: Intel Corporation Atom Processor Z36xxx/Z37xxx, Celeron N2000 Series USB xHCI (rev 0e)
00:1a.0 Encryption controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine (rev 0e)
00:1b.0 Audio device: Intel Corporation Atom Processor Z36xxx/Z37xxx Series High Definition Audio Controller (rev 0e)
00:1c.0 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 1 (rev 0e)
00:1c.1 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 2 (rev 0e)
00:1c.2 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 3 (rev 0e)
00:1c.3 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 4 (rev 0e)
00:1f.0 ISA bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Power Control Unit (rev 0e)
00:1f.3 SMBus: Intel Corporation Atom Processor E3800 Series SMBus Controller (rev 0e)
02:00.0 Network controller: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe
02:00.1 Bluetooth: Ralink corp. RT3290 Bluetooth
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader (rev 01)
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 07)
Predem moc dekuji za rady!
-
A nestačilo by akorát restartovat network-manager?
sudo service network-manager restart
Vyzkoušej to..
Další postupy máš zde http://www.aupcgroup.com/blog/index.php?/archives/16-Ubuntu-restart-wifi-connection-without-rebooting.html
-------------------------
Pokud je ale karta fyzicky načatá (studeňák), snažíš se marně...
-
A nestačilo by akorát restartovat network-manager?
sudo service network-manager restart
Vyzkoušej to..
Tak to bohuzel nezabralo, vyzkousim postupy z odkazu. Prikladam screenshot vysledku selhani.
-
http://news.softpedia.com/news/networkmanager-1-10-2-released-with-support-for-onlink-ipv4-routes-attribute-519009.shtml
-
Niektore adpatery potrebuju v takomto pripade workaround v podobe znovuzavedenia driveru.
- odstranit driver (rmmod driver_name)
- zaviest driver (modprobe driver_name)
Da sa to automatizovat v podobe skriptu.
-
ovládač odoberieš a znovu pridáš takto :
sudo modprobe -rv rt2800pci
sudo modprobe -v rt2800pci
ale skôr by to chcelo výpis dmesg a pod , keď ti wifi skolabuje.
add : uff už ma predbehol west ;)
-
West & petertomasy: Ke stejnemu reseni vede i ten link co posilal juwa2. Myslim ze to bude ono (zatim mi to nespadlo, takze jsem nevyzkousel). Usuzuji tak na zaklade tohohle komentu:
Thank you! This works great. The wireless network on my laptop became unreliable after upgrading to Ubuntu 16.04 LTS. I too experienced no wifi after waking up from sleep. Also the wifi would at random. die for no apparent reason and the only that worked was a full reboot of the laptop.
The only other thing that I have needed to do is press the manual wifi button to connect to my wifi. No inconvenience when compared to at total reboot.
To reseni, stejne jako jste oba navhli, je popsano na http://blog.ostermiller.org/resetting-wireless-networking-on-ubuntu-without-rebooting/ (http://blog.ostermiller.org/resetting-wireless-networking-on-ubuntu-without-rebooting/)
Jakmile budu mit vyzkouseno, dam vedet vysledek.
-
Tak bohuzel, ani reload ovladace nepomuze :'(
-
posli sem vypis wireless-info.txt
wget -N -t 5 -T 10 https://github.com/UbuntuForums/wireless-info/raw/master/wireless-info && \
chmod +x wireless-info && \
./wireless-info
pred odpojením a znova po odpojení wifiny . Iba tak zistíme v čom je problém ...
-
Pred chvili jsem zase zazil jeden z padu, takze pripojuji
dmesg | tail
[100045.603458] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
[100045.807388] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[100066.183032] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
[100066.383082] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[100088.199177] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
[100088.399208] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[100088.599244] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
[100088.803419] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[100109.070880] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
[100109.270773] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
posli sem vypis wireless-info.txt wget -N -t 5 -T 10 https://github.com/UbuntuForums/wireless-info/raw/master/wireless-info && \
chmod +x wireless-info && \
./wireless-info
pred odpojením a znova po odpojení wifiny . Iba tak zistíme v čom je problém ...
Ok, udelam. Vysledek pri aktivnim pripojeni prilozen.
-
Zase jsem si uzil se z nenadani odpojenou WiFi, takze muzu prilozit taky vysledek.
-
Zrejme bude potrebne googlovat podla kriteria:
rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
Vyzera to na bug v ovladaci popisovany tuna:
https://ubuntuforums.org/showthread.php?t=2210322
(je oznaceny ako vyrieseny, popis riesenia je v threade):
-
skús použiť driver priamo od ralinku (http://www.mediafire.com/file/9928bp3t44s2772/RT3290_u16_v3.tar.gz), z logu som nič nevyčítal ... :-X . Možno to bude hardvérový problém .
-
Zrejme bude potrebne googlovat podla kriteria:
rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
Vyzera to na bug v ovladaci popisovany tuna:
https://ubuntuforums.org/showthread.php?t=2210322
(je oznaceny ako vyrieseny, popis riesenia je v threade):
Je to trosku zmatecne, zatim jsem zkusil:skús použiť driver priamo od ralinku (http://www.mediafire.com/file/9928bp3t44s2772/RT3290_u16_v3.tar.gz), z logu som nič nevyčítal ... :-X . Možno to bude hardvérový problém .
Dam vedet, jak to bude fungovat.
-
Nainstaloval jsem ovladac Ralinku, vysledkem je lepsi prijem signaulu (alepon co se indikace tyce). Chyba nicmene nezmizela, pouze se neprojevi viditelnym zmizenim site (proste jenom nefunguje pripojeni. Pripojuji vypis wireless-info a screenshot.
-
No a vtej dobe ked akoze nefunguje pripojenie, ide ping na IP adresu routra normalne?
Alebo nejde len internet a lokalna siet by isla, napriklad ping na iny pocitac.
-
Ani W/LAN, ani internet nefunguji:
ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.39 icmp_seq=1 Destination Host Unreachable
From 192.168.1.39 icmp_seq=2 Destination Host Unreachable
From 192.168.1.39 icmp_seq=3 Destination Host Unreachable
From 192.168.1.39 icmp_seq=4 Destination Host Unreachable
-
To by mohlo znamenat, ze ti padne pripojenie do stavu "Link_Down" na strane pocitaca, zrejme vzhladom na okolite rusenie. Je to vcelku normalna vec. Ovladac wifi ma nastavenu urcitu hranici linkovej kvality, ktora ked sa prekroci, tak da povel na odpojenie a skusa sa znova pripojit. Kazda wifi karta tak funguje, len ta hranica kedy sa to odpoji je u kazdeho ovladaca ina. Ralink ovladac ma okrem toho este problem s tym, ze na detekciu tejto hranice pouziva aktualnu hodnotu, namiesto priemerovanej. To znamena, ze mu vadia velke vychylky tejto hodnoty. Da sa to opravit ak vies programovat.
Tento ovladac ma v /etc/Wireless/RT2870STA konfigurak RT2870STA.dat v ktorom je mozne nastavovat rozne hodnoty. Jednou z nich, ktora moze ciastcne vyriesit tento problem je hodnota "BeaconLostTime". Je vhodne ju nastavit aspon na "BeaconLostTime=8".
Potom si pozri ci mas nastaveny router na 20 MHz sirku kanalu a nie na nejake "Auto", alebo 20/40 MHz.
Ak existuje na tvojom routri parameter "Guard Interval", niekedy oznaceny aj ako ShortGI, tak ho treba vypnut v pripade problemov s pripojenim. Je to mozne nastavit aj v tom konfiguraku aspon pre tento pocitac parametrom HT_GI=0.
-
Do routeru se ted asi nedostanu, nemuzu najit heslo, ale konfigurak jsem upravil, tak uvidime...
#The word of "Default" must not be removed
Default
CountryRegion=5
CountryRegionABand=7
CountryCode=
ChannelGeography=1
SSID=Dennis2860AP
NetworkType=Infra
WirelessMode=9
Channel=0
BeaconPeriod=100
TxPower=100
BGProtection=0
TxPreamble=0
RTSThreshold=2347
FragThreshold=2346
TxBurst=1
PktAggregate=0
WmmCapable=1
AckPolicy=0;0;0;0
AuthMode=OPEN
EncrypType=NONE
WPAPSK=
DefaultKeyID=1
Key1Type=0
Key1Str=
Key2Type=0
Key2Str=
Key3Type=0
Key3Str=
Key4Type=0
Key4Str=
PSMode=CAM
AutoRoaming=0
RoamThreshold=70
APSDCapable=0
APSDAC=0;0;0;0
HT_RDG=1
HT_EXTCHA=0
HT_OpMode=0
HT_MpduDensity=4
HT_BW=1
HT_AutoBA=1
HT_BADecline=0
HT_AMSDU=0
HT_BAWinSize=64
HT_GI=0
HT_MCS=33
HT_MIMOPSMode=3
HT_DisallowTKIP=1
HT_STBC=0
EthConvertMode=
EthCloneMac=
IEEE80211H=0
TGnWifiTest=0
WirelessEvent=0
MeshId=MESH
MeshAutoLink=1
MeshAuthMode=OPEN
MeshEncrypType=NONE
MeshWPAKEY=
MeshDefaultkey=1
MeshWEPKEY=
CarrierDetect=0
AntDiversity=0
BeaconLostTime=8
FtSupport=0
Wapiifname=ra0
WapiPsk=
WapiPskType=
WapiUserCertPath=
WapiAsCertPath=
PSP_XLINK_MODE=0
WscManufacturer=
WscModelName=
WscDeviceName=
WscModelNumber=
WscSerialNumber=
RadioOn=1
WIDIEnable=1
P2P_L2SD_SCAN_TOGGLE=3
Wsc4digitPinCode=0
P2P_WIDIEnable=0
PMFMFPC=0
PMFMFPR=0
PMFSHA256=0
EDIT: Router zadnou prilis podrobnou konfiguraci nenabizi:
Wireless Access Point - LS1706
Configuration
WLAN Enable: Yes
Interface Enabled: Yes
Power Reduction Enabled: No
Physical Address: c4:ea:1d:19:bd:f5
Network Name (SSID): LS1706
Interface Type: 802.11b/g/n
Actual Speed [Mbps]: 54
Band: 2.4GHz
Channel Selection: Manual
Region: USA
Channel: 11
Allow multicast from Broadband Network: Yes
WMM: Enabled
Security
WPS Enabled: Yes
Broadcast Network Name: Yes
Allow New Devices: New stations are allowed (automatically)
Security Mode: WPA-PSK
WPA-PSK Preshared Key:
WPA-PSK Encryption: TKIP&AES
WPA-PSK Version: WPA&WPA2
-
Kym najdes heslo do routra, tak v tom konfiguraku si este oprav nastavenie:
HT_BW=0 // Vyziada si od routra pripojenie v sirke kanalu 20 MHz
Vsetky ostatne stanice na sieti komunikuju nezmenenymi parametrami.
Ak nastavis na routri sirku kanalu na 20 MHz, tak vsetky stanice na sieti budu fungovat na 20 MHz.
Len pre informaciu:
HT_MCS=33 znamena nastavenie rychlostnej automatiky (TxRate) na "auto".
Na routri mas nastaveny region = USA, neviem ci to tak mas zamerne.
-
Dekuji (zejmena) Westovi za pomoc, nicmene snahy byly marne, jde na 99% o HW problem. Nedavno WLAN prestala fungovat uplne (ve Win teda obvykle na chvilku nabehne, ale par max. desitek minut). "Vyresil" jsem ho tak, ze pouzivam smartfoun jako sitovou kartu (pres USB) - je to prekvapive praktictejsi nez dongle a funguje na 100%. Plus jsem si koupil nahradni laptop, ale obratem sel na reklamaci (a hned jak jsem ho prinesl domu me napadlo pouzit ten telefon :D ).