Kirjoittaja Aihe: HPn 'hidas' wlan [Ratkaistu]  (Luettu 4241 kertaa)

Kinnari

  • Käyttäjä
  • Viestejä: 407
    • Profiili
HPn 'hidas' wlan [Ratkaistu]
« : 24.02.12 - klo:21.11 »
asensin Ubuntu 11.10n HP:n kannettavaan. Koneessa aiemmin eri ubuntu-versiot toimineet ok. Olen käyttäessäni ihmetellyt mielestäni hidasta yhteyttä, jota ei aikaisemmin koneessa ollut. Kun esim. iltalehden uutisvideot tulee 10sek niin sitten hakua taas 20s ja sitä rataa. Perheessämme on useita koneita ja tämä on ainoa joka tökkii.
Otin iwconfig siinä kiinnittää huomio kohtaan "tx excessive retries" joka on mielestäni iso. Muissa koneissa kyseinen laskuri on nollissa, Mistä se johtuu ja onko se syynä hitauteen

Koodia: [Valitse]
jorma@jorma-HP-Compaq-2510p-Notebook-PC:~$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     IEEE 802.11abgn  ESSID:"buffalo"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: 00:24:A5:2E:EA:AC  
          Bit Rate=72.2 Mb/s   Tx-Power=15 dBm  
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=55/70  Signal level=-55 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:6121  Invalid misc:170   Missed beacon:0
« Viimeksi muokattu: 06.03.12 - klo:19.19 kirjoittanut Kinnari »

Kinnari

  • Käyttäjä
  • Viestejä: 407
    • Profiili
Vs: HPn 'hidas' wlan
« Vastaus #1 : 24.02.12 - klo:21.19 »
vielä ifconfig

Koodia: [Valitse]
jorma@jorma-HP-Compaq-2510p-Notebook-PC:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:1e:68:ba:6b:76 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:22 Memory:e0620000-e0640000

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:18 errors:0 dropped:0 overruns:0 frame:0
          TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1344 (1.3 KB)  TX bytes:1344 (1.3 KB)

wlan0     Link encap:Ethernet  HWaddr 00:21:5c:2d:b5:27 
          inet addr:192.168.11.71  Bcast:192.168.11.255  Mask:255.255.255.0
          inet6 addr: fe80::221:5cff:fe2d:b527/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:50421 errors:0 dropped:0 overruns:0 frame:0
          TX packets:35566 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:55876318 (55.8 MB)  TX bytes:4288948 (4.2 MB)

Lege

  • Käyttäjä
  • Viestejä: 57
    • Profiili
Vs: HPn 'hidas' wlan
« Vastaus #2 : 25.02.12 - klo:21.23 »
Toimiiko kaapelin kautta normaalisti?

http://www.unixmen.com/resolve-slow-connexion-when-using-wifi-in-ubuntu-1104-natty-narwhal/ Tuosta voisi olla apua :)

Edit: Näemmä tuolla Tx excessive retries:llä on vaikutusta hitauteen:

"Tx excessive retries
              Number of packets that the hardware failed to deliver. Most  MAC
              protocols  will retry the packet a number of times before giving
              up."
« Viimeksi muokattu: 25.02.12 - klo:21.28 kirjoittanut Lege »

Kinnari

  • Käyttäjä
  • Viestejä: 407
    • Profiili
Vs: HPn 'hidas' wlan
« Vastaus #3 : 25.02.12 - klo:22.59 »
en löytänyt modprobe.d alta kyseisiä tiedostoja, alla kansion sisältö

Koodia: [Valitse]
jorma@jorma-HP-Compaq-2510p-Notebook-PC:/etc/modprobe.d$ ls
alsa-base.conf          blacklist.conf             blacklist-firewire.conf     blacklist-modem.conf  blacklist-rare-network.conf
blacklist-ath_pci.conf  blacklist-cups-usblp.conf  blacklist-framebuffer.conf  blacklist-oss.conf    blacklist-watchdog.conf
jorma@jorma-HP-Compaq-2510p-Notebook-PC:/etc/modprobe.d$

Kokeilin 10.10 live-cd:llä ja koneen latausnopeus langattoman läpi oli lähes 100-kertainen eikä kyseisiä retries juttuja tullut lainkaan

dmesg kertoo:
Koodia: [Valitse]
[  133.799062] wlan0: authenticate with 00:24:a5:2e:ea:ac (try 1)
[  133.801247] wlan0: authenticated
[  133.801549] wlan0: associate with 00:24:a5:2e:ea:ac (try 1)
[  133.814153] wlan0: RX AssocResp from 00:24:a5:2e:ea:ac (capab=0x411 status=0 aid=2)
[  133.814162] wlan0: associated
[  133.855394] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  133.855533] cfg80211: Calling CRDA for country: GB
[  133.872155] cfg80211: Updating information on frequency 2412 MHz for a 20 MHz width channel with regulatory rule:
[  133.872162] cfg80211: 2402000 KHz - 2482000 KHz @  KHz), (N/A mBi, 2000 mBm)
[  133.872167] cfg80211: Updating information on frequency 2417 MHz for a 20 MHz width channel with regulatory rule:
[  133.872172] cfg80211: 2402000 KHz - 2482000 KHz @  KHz), (N/A mBi, 2000 mBm)
[  133.872176] cfg80211: Updating information on frequency 2422 MHz for a 20 MHz width channel with regulatory rule:
[  133.872181] cfg80211: 2402000 KHz - 2482000 KHz @  KHz), (N/A mBi, 2000 mBm)
[  133.872185] cfg80211: Updating information on frequency 2427 MHz for a 20 MHz width channel with regulatory rule:
[  133.872190] cfg80211: 2402000 KHz - 2482000 KHz @  KHz), (N/A mBi, 2000 mBm)
[  133.872193] cfg80211: Updating information on frequency 2432 MHz for a 20 MHz width channel with regulatory rule:
[  133.872198] cfg80211: 2402000 KHz - 2482000 KHz @  KHz), (N/A mBi, 2000 mBm)
[  133.872202] cfg80211: Updating information on frequency 2437 MHz for a 20 MHz width channel with regulatory rule:
[  133.872207] cfg80211: 2402000 KHz - 2482000 KHz @  KHz), (N/A mBi, 2000 mBm)
[  133.872211] cfg80211: Updating information on frequency 2442 MHz for a 20 MHz width channel with regulatory rule:
[  133.872216] cfg80211: 2402000 KHz - 2482000 KHz @  KHz), (N/A mBi, 2000 mBm)
[  133.872220] cfg80211: Updating information on frequency 2447 MHz for a 20 MHz width channel with regulatory rule:
[  133.872224] cfg80211: 2402000 KHz - 2482000 KHz @  KHz), (N/A mBi, 2000 mBm)
[  133.872228] cfg80211: Updating information on frequency 2452 MHz for a 20 MHz width channel with regulatory rule:
[  133.872233] cfg80211: 2402000 KHz - 2482000 KHz @  KHz), (N/A mBi, 2000 mBm)
[  133.872237] cfg80211: Updating information on frequency 2457 MHz for a 20 MHz width channel with regulatory rule:
[  133.872242] cfg80211: 2402000 KHz - 2482000 KHz @  KHz), (N/A mBi, 2000 mBm)
[  133.872246] cfg80211: Updating information on frequency 2462 MHz for a 20 MHz width channel with regulatory rule:
[  133.872251] cfg80211: 2402000 KHz - 2482000 KHz @  KHz), (N/A mBi, 2000 mBm)
[  133.872255] cfg80211: Updating information on frequency 2467 MHz for a 20 MHz width channel with regulatory rule:
[  133.872259] cfg80211: 2402000 KHz - 2482000 KHz @  KHz), (N/A mBi, 2000 mBm)
[  133.872263] cfg80211: Updating information on frequency 2472 MHz for a 20 MHz width channel with regulatory rule:
[  133.872268] cfg80211: 2402000 KHz - 2482000 KHz @  KHz), (N/A mBi, 2000 mBm)
[  133.872272] cfg80211: Updating information on frequency 5180 MHz for a 20 MHz width channel with regulatory rule:
[  133.872277] cfg80211: 5170000 KHz - 5250000 KHz @  KHz), (N/A mBi, 2000 mBm)
[  133.872281] cfg80211: Updating information on frequency 5200 MHz for a 20 MHz width channel with regulatory rule:
[  133.872285] cfg80211: 5170000 KHz - 5250000 KHz @  KHz), (N/A mBi, 2000 mBm)
[  133.872289] cfg80211: Updating information on frequency 5220 MHz for a 20 MHz width channel with regulatory rule:
[  133.872294] cfg80211: 5170000 KHz - 5250000 KHz @  KHz), (N/A mBi, 2000 mBm)
[  133.872298] cfg80211: Updating information on frequency 5240 MHz for a 20 MHz width channel with regulatory rule:
[  133.872303] cfg80211: 5170000 KHz - 5250000 KHz @  KHz), (N/A mBi, 2000 mBm)
[  133.872307] cfg80211: Updating information on frequency 5260 MHz for a 20 MHz width channel with regulatory rule:
[  133.872311] cfg80211: 5250000 KHz - 5330000 KHz @  KHz), (N/A mBi, 2000 mBm)
[  133.872315] cfg80211: Updating information on frequency 5280 MHz for a 20 MHz width channel with regulatory rule:
[  133.872320] cfg80211: 5250000 KHz - 5330000 KHz @  KHz), (N/A mBi, 2000 mBm)
[  133.872324] cfg80211: Updating information on frequency 5300 MHz for a 20 MHz width channel with regulatory rule:
[  133.872329] cfg80211: 5250000 KHz - 5330000 KHz @  KHz), (N/A mBi, 2000 mBm)
[  133.872332] cfg80211: Updating information on frequency 5320 MHz for a 20 MHz width channel with regulatory rule:
[  133.872337] cfg80211: 5250000 KHz - 5330000 KHz @  KHz), (N/A mBi, 2000 mBm)
[  133.872341] cfg80211: Updating information on frequency 5500 MHz for a 20 MHz width channel with regulatory rule:
[  133.872346] cfg80211: 5490000 KHz - 5710000 KHz @  KHz), (N/A mBi, 2700 mBm)
[  133.872350] cfg80211: Updating information on frequency 5520 MHz for a 20 MHz width channel with regulatory rule:
[  133.872354] cfg80211: 5490000 KHz - 5710000 KHz @  KHz), (N/A mBi, 2700 mBm)
[  133.872358] cfg80211: Updating information on frequency 5540 MHz for a 20 MHz width channel with regulatory rule:
[  133.872363] cfg80211: 5490000 KHz - 5710000 KHz @  KHz), (N/A mBi, 2700 mBm)
[  133.872367] cfg80211: Updating information on frequency 5560 MHz for a 20 MHz width channel with regulatory rule:
[  133.872372] cfg80211: 5490000 KHz - 5710000 KHz @  KHz), (N/A mBi, 2700 mBm)
[  133.872376] cfg80211: Updating information on frequency 5580 MHz for a 20 MHz width channel with regulatory rule:
[  133.872381] cfg80211: 5490000 KHz - 5710000 KHz @  KHz), (N/A mBi, 2700 mBm)
[  133.872385] cfg80211: Updating information on frequency 5600 MHz for a 20 MHz width channel with regulatory rule:
[  133.872389] cfg80211: 5490000 KHz - 5710000 KHz @  KHz), (N/A mBi, 2700 mBm)
[  133.872393] cfg80211: Updating information on frequency 5620 MHz for a 20 MHz width channel with regulatory rule:
[  133.872398] cfg80211: 5490000 KHz - 5710000 KHz @  KHz), (N/A mBi, 2700 mBm)
[  133.872402] cfg80211: Updating information on frequency 5640 MHz for a 20 MHz width channel with regulatory rule:
[  133.872406] cfg80211: 5490000 KHz - 5710000 KHz @  KHz), (N/A mBi, 2700 mBm)
[  133.872410] cfg80211: Updating information on frequency 5660 MHz for a 20 MHz width channel with regulatory rule:
[  133.872415] cfg80211: 5490000 KHz - 5710000 KHz @  KHz), (N/A mBi, 2700 mBm)
[  133.872419] cfg80211: Updating information on frequency 5680 MHz for a 20 MHz width channel with regulatory rule:
[  133.872424] cfg80211: 5490000 KHz - 5710000 KHz @  KHz), (N/A mBi, 2700 mBm)
[  133.872428] cfg80211: Updating information on frequency 5700 MHz for a 20 MHz width channel with regulatory rule:
[  133.872432] cfg80211: 5490000 KHz - 5710000 KHz @  KHz), (N/A mBi, 2700 mBm)
[  133.872438] cfg80211: Regulatory domain changed to country: GB
[  133.872442] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[  133.872447] cfg80211:     (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[  133.872451] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[  133.872455] cfg80211:     (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[  133.872460] cfg80211:     (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
[  144.848068] wlan0: no IPv6 routers present
[  231.161291] iwl4965 0000:10:00.0: Aggregation not enabled for tid 0 because load = 0
[  249.896855] iwl4965 0000:10:00.0: Aggregation not enabled for tid 0 because load = 3
[  252.926890] iwl4965 0000:10:00.0: iwl4965_tx_agg_start on ra = 00:24:a5:2e:ea:ac tid = 0

Miksi maana on GB? ???

Lege

  • Käyttäjä
  • Viestejä: 57
    • Profiili
Vs: HPn 'hidas' wlan
« Vastaus #4 : 25.02.12 - klo:23.35 »
Liitä tänne komennon tulostus:
Koodia: [Valitse]
lspci -nnk | grep -iA2 net
Tuosta CRDA maa-asetuksesta ei ole mitään hajua, miksi se haluaa Britteihin heittää. Joillakin se on vaihtunut päivitysten myötä, ja jotkut ovat näemmä vaihtaneet sen itse komennolla:

Koodia: [Valitse]
sudo iw reg set FI
Joku langattomia verkkoja paremmin tunteva osaisi vissiin selittää paremmin mistä tuo johtuu. Bugiraporttejakin tuosta on tehty, mutta en usko että samat bugit olisivat edelleen voimassa.


« Viimeksi muokattu: 25.02.12 - klo:23.46 kirjoittanut Lege »

Kinnari

  • Käyttäjä
  • Viestejä: 407
    • Profiili
Vs: HPn 'hidas' wlan
« Vastaus #5 : 26.02.12 - klo:09.07 »
alla molemmista:
Koodia: [Valitse]
jorma@jorma-HP-Compaq-2510p-Notebook-PC:~$ lspci -nnk | grep -iA2 net
00:19.0 Ethernet controller [0200]: Intel Corporation 82566MM Gigabit Network Connection [8086:1049] (rev 03)
Subsystem: Hewlett-Packard Company Device [103c:30c9]
Kernel driver in use: e1000e
--
10:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection [8086:4229] (rev 61)
Subsystem: Intel Corporation PRO/Wireless 4965 AG or AGN [8086:1101]
Kernel driver in use: iwl4965
jorma@jorma-HP-Compaq-2510p-Notebook-PC:~$ sudo iw reg set FI
[sudo] password for jorma:
sudo: iw: command not found

Lege

  • Käyttäjä
  • Viestejä: 57
    • Profiili
Vs: HPn 'hidas' wlan
« Vastaus #6 : 26.02.12 - klo:22.20 »
Olitko jo yrittänyt langallisena miten yhteys silloin toimii?

Tukiasemasta kun vaihtaa verkon tyypin N:stä pois, niin saattaisi toimia jonkinnäköisenä purkkaratkaisuna:

Lainaus
Laptop ASUS z53sv, with wi-fi module iwl4965, Ubuntu 11.10 (worked fine ultil ubuntu 11.04)

Wifi very slow with router at 802.11B/N. When disabled 802.11B/N and force only 802.11B, wireless came back to normal.

Kyseisellä henkilöllä on sama moduuli kuin itselläsi.

Täällä lisää asiasta mikäli englanti taittuu

Edit: IPv6:n disablointi saattaa myös auttaa. (Siitä oli jo ensimmäisessä linkissäni, kohdassa "Third method".) Itselläni ei ole nyt Ubuntua niin en pääse katsomaan, että onko tosiaan Oneiricissa/Nattyssa täpätty IPv6 oletuksena päälle.
« Viimeksi muokattu: 26.02.12 - klo:22.29 kirjoittanut Lege »

Kinnari

  • Käyttäjä
  • Viestejä: 407
    • Profiili
Vs: HPn 'hidas' wlan
« Vastaus #7 : 26.02.12 - klo:22.46 »
Langallisena kaikki ok
Ongelma on näköjään kernelin puolella, asensin koneeseen Fedora16:n ja ongelma on aivan sama
Lataan koneeseen 10.04 ja testaan uudelleen

Kinnari

  • Käyttäjä
  • Viestejä: 407
    • Profiili
Vs: HPn 'hidas' wlan
« Vastaus #8 : 27.02.12 - klo:19.17 »
Koneessa nyt 10.04 ja koneen nopus lähes satakertainen 11.10:iin verrattuna.
Lataan koneeseen vasta seuraavam LTS päivityksen jos vaikka olisi kyseinen kernel kunnossa.
Kiitos

Kinnari

  • Käyttäjä
  • Viestejä: 407
    • Profiili
Vs: HPn 'hidas' wlan [ratkennut?]
« Vastaus #9 : 27.02.12 - klo:20.19 »
vielä kuitenkin lspci:n tietoja 10.04:stä
Koodia: [Valitse]
10:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection [8086:4229] (rev 61)
Kernel driver in use: iwlagn
Kernel modules: iwlagn

Olisiko 11.10:een voinut vaihtaa eri ajurit käyttöön?


Kinnari

  • Käyttäjä
  • Viestejä: 407
    • Profiili
Vs: HPn 'hidas' wlan [ratkennut?]
« Vastaus #10 : 05.03.12 - klo:19.09 »
Avasin uudelleen koska kun latasin 12.04:n 10.04 tilalle ja vika on edelleen. Olen kuitenkin loppujen lopuksi tykästynyt Unityyn, joten mielellään käyttäisin uudenpaa versiota
Vika joka koneeseen tuli 11.10 yhteydessä on myös 12:04:ssa.

Eli kysymys kuuluu voinko asentaa toimivat ajurit iwlagn  toimimattoman wl4965 tilalle
« Viimeksi muokattu: 05.03.12 - klo:19.12 kirjoittanut Kinnari »

timbba

  • Käyttäjä
  • Viestejä: 1413
    • Profiili
Vs: HPn 'hidas' wlan [avattu uudelleen]
« Vastaus #11 : 06.03.12 - klo:07.10 »
En nyt muista mistä hetkestä lähtien Intelillä on ollut bugia n-verkon toiminnan kanssa (tais alkaa 2.6.35 kernelistä eikä vieläkää vakaa vaikka monet bugit muka on fixattu jo  >:(). Esim.
https://bugs.launchpad.net/ubuntu/maverick/+source/linux-firmware/+bug/630748

Huom! Ilmeisesti kernelistä 3.jotain lähtien ajurin nimi on muuttunut iwlagn --> iwlwifi. Lisäksi 4965AGN tuki on tuosta ajurista tipahtanut pois ja sille on tehty oma legacy ajurinsa.

Itsellä siis vain g-verkko käytössä Intel Centrino Wireless-N 1000 -kortissa nykyisessä Xubuntu 12.04:ssa ja olen tehnyt tiedoston "/etc/modprobe.d/iwlwifi.conf" tälläisellä sisällöllä:
Koodia: [Valitse]
options iwlwifi 11n_disable=1
Eli oma ratkaisuni on permanentti.. Jos haluat vain testata onko n-verkon disabloimisesta apua, niin:
Koodia: [Valitse]
sudo rmmod ajurin_nimi
sudo modprobe ajurin_nimi 11n_disable=1
« Viimeksi muokattu: 06.03.12 - klo:07.20 kirjoittanut timbba »

Kinnari

  • Käyttäjä
  • Viestejä: 407
    • Profiili
Vs: HPn 'hidas' wlan [avattu uudelleen]
« Vastaus #12 : 06.03.12 - klo:19.18 »
testasin ensin:
Koodia: [Valitse]
sudo rmmod iwl4965
sudo modprobe iwl4965 11n_disable=1
ja liikenne ok

Seuraavaksi tein päätteeseen:
Koodia: [Valitse]
sudo gedit /etc/modprobe.d/iwl4865.conf ja sisällöksi ohjeen mukaan options iwl4965 11n_disable=1uudelleen käynnistys ja testausta. Kaikki toimii hienosti, nopeustesti antaa yhteyden nopeudeksi 10-11Mt/s

Kiitos avusta timbba :)