Problema Wireless AR9227 Atheros in 18.04

Networking, configurazione della connessione, periferiche e condivisioni di rete.
Avatar utente
thece
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 12943
Iscrizione: lunedì 23 aprile 2007, 14:16
Distribuzione: Debian 12 (Bookworm) - KDE

Re: Problema Wireless AR9227 Atheros in 18.04

Messaggio da thece »

Prova queste combinazioni

Codice: Seleziona tutto

...
sudo modprobe -v ath9k bt_ant_diversity=1
...

Codice: Seleziona tutto

...
sudo modprobe -v ath9k btcoex_enable=1 bt_ant_diversity=1
...

Codice: Seleziona tutto

...
sudo modprobe -v ath9k nohwcrypt=1 bt_ant_diversity=1
...

Codice: Seleziona tutto

...
sudo modprobe -v ath9k nohwcrypt=1 btcoex_enable=1 bt_ant_diversity=1
...
(Ri)Posta anche l'output di

Codice: Seleziona tutto

dmesg
axr
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1892
Iscrizione: sabato 1 aprile 2006, 16:10
Distribuzione: kubuntu 22.04

Re: Problema Wireless AR9227 Atheros in 18.04

Messaggio da axr »

ciao questo è il dmesg relativo alla parte del modulo ath9k e lanciato alla fine delle prove.

Codice: Seleziona tutto

.644333] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.644335] usb 2-2: Product: USB2.0-CRW
[    2.644337] usb 2-2: Manufacturer: Generic
[    2.644339] usb 2-2: SerialNumber: 20060413092100000
[    2.650109] usb-storage 2-2:1.0: USB Mass Storage device detected
[    2.650196] scsi host7: usb-storage 2-2:1.0
[    3.683360] scsi 7:0:0:0: Direct-Access     Generic- Compact Flash    1.00 PQ: 0 ANSI: 0 CCS
[    3.686478] scsi 7:0:0:1: Direct-Access     Generic- SM/xD-Picture    1.00 PQ: 0 ANSI: 0 CCS
[    3.689479] scsi 7:0:0:2: Direct-Access     Generic- SD/MMC           1.00 PQ: 0 ANSI: 0 CCS
[    3.692477] scsi 7:0:0:3: Direct-Access     Generic- MS/MS-Pro/HG     1.00 PQ: 0 ANSI: 0 CCS
[    3.695479] scsi 7:0:0:4: Direct-Access     Generic- SD/MMC/MS/MSPRO  1.00 PQ: 0 ANSI: 0 CCS
[    3.695746] sd 7:0:0:0: Attached scsi generic sg4 type 0
[    3.695885] sd 7:0:0:1: Attached scsi generic sg5 type 0
[    3.696036] sd 7:0:0:2: Attached scsi generic sg6 type 0
[    3.696167] sd 7:0:0:3: Attached scsi generic sg7 type 0
[    3.696297] sd 7:0:0:4: Attached scsi generic sg8 type 0
[    3.835840] sd 7:0:0:3: [sdg] Attached SCSI removable disk
[    3.838338] sd 7:0:0:4: [sdh] Attached SCSI removable disk
[    3.840838] sd 7:0:0:0: [sdd] Attached SCSI removable disk
[    3.843338] sd 7:0:0:1: [sde] Attached SCSI removable disk
[    3.845847] sd 7:0:0:2: [sdf] Attached SCSI removable disk
[    4.115712]  sda: sda1
[    4.117261] sd 0:0:0:0: [sda] Attached SCSI disk
[    5.236000] EXT4-fs (sdb3): mounted filesystem with ordered data mode. Opts: (null)
[    5.401311] ip_tables: (C) 2000-2006 Netfilter Core Team
[    5.413883] systemd[1]: systemd 237 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[    5.432207] systemd[1]: Detected architecture x86-64.
[    5.434427] systemd[1]: Set hostname to <axenx>.
[    5.537518] random: crng init done
[    5.537520] random: 7 urandom warning(s) missed due to ratelimiting
[    5.553812] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    5.554042] systemd[1]: Created slice User and Session Slice.
[    5.554067] systemd[1]: Reached target User and Group Name Lookups.
[    5.554215] systemd[1]: Created slice System Slice.
[    5.554311] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[    5.554393] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[    5.554472] systemd[1]: Listening on Journal Socket (/dev/log).
[    5.570430] EXT4-fs (sdb3): re-mounted. Opts: discard,errors=remount-ro
[    5.608193] lp: driver loaded but no devices found
[    5.623133] ppdev: user-space parallel port driver
[    5.809288] systemd-journald[325]: Received request to flush runtime journal from PID 1
[    6.085224] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[    6.156229] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    6.176469] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    6.265768] input: HP WMI hotkeys as /devices/virtual/input/input8
[    6.633407] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC662 rev1: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:line
[    6.633409] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=1 (0x15/0x0/0x0/0x0/0x0)
[    6.633411] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[    6.633413] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[    6.633414] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[    6.633415] snd_hda_codec_realtek hdaudioC0D0:      Mic=0x19
[    6.633417] snd_hda_codec_realtek hdaudioC0D0:      Line=0x18
[    6.641073] ath: EEPROM regdomain: 0x809c
[    6.641074] ath: EEPROM indicates we should expect a country code
[    6.641075] ath: doing EEPROM country->regdmn map search
[    6.641076] ath: country maps to regdmn code: 0x52
[    6.641077] ath: Country alpha2 being used: CN
[    6.641077] ath: Regpair used: 0x52
[    6.657158] input: HDA Intel Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input9
[    6.657224] input: HDA Intel Line as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
[    6.657278] input: HDA Intel Line Out as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
[    6.657330] input: HDA Intel Front Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
[    6.669594] intel_powerclamp: No package C-state available
[    6.672993] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[    6.675124] ieee80211 phy0: Atheros AR9287 Rev:2 mem=0xffffb425c1370000, irq=20
[    7.146303] gpio_ich: GPIO from 440 to 511 on gpio_ich
[    7.313617] ath9k 0000:10:00.0 wlp16s0: renamed from wlan0
[    7.934584] Adding 5858300k swap on /dev/sdc5.  Priority:-2 extents:1 across:5858300k FS
[    8.015092] audit: type=1400 audit(1547718596.104:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/man" pid=744 comm="apparmor_parser"
[    8.015096] audit: type=1400 audit(1547718596.104:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_filter" pid=744 comm="apparmor_parser"
[    8.015099] audit: type=1400 audit(1547718596.104:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_groff" pid=744 comm="apparmor_parser"
[    8.016968] audit: type=1400 audit(1547718596.108:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/sbin/dhclient" pid=742 comm="apparmor_parser"
[    8.016971] audit: type=1400 audit(1547718596.108:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=742 comm="apparmor_parser"
[    8.016973] audit: type=1400 audit(1547718596.108:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-helper" pid=742 comm="apparmor_parser"
[    8.016975] audit: type=1400 audit(1547718596.108:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=742 comm="apparmor_parser"
[    8.017671] audit: type=1400 audit(1547718596.108:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/snapd/snap-confine" pid=745 comm="apparmor_parser"
[    8.017674] audit: type=1400 audit(1547718596.108:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/snapd/snap-confine//mount-namespace-capture-helper" pid=745 comm="apparmor_parser"
[    8.019231] audit: type=1400 audit(1547718596.108:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/cups-browsed" pid=746 comm="apparmor_parser"
[    8.587396] IPv6: ADDRCONF(NETDEV_UP): enp0s25: link is not ready
[    8.772200] IPv6: ADDRCONF(NETDEV_UP): enp0s25: link is not ready
[    8.778802] IPv6: ADDRCONF(NETDEV_UP): wlp16s0: link is not ready
[    8.800808] IPv6: ADDRCONF(NETDEV_UP): wlp16s0: link is not ready
[    8.938725] IPv6: ADDRCONF(NETDEV_UP): wlp16s0: link is not ready
[   40.002000] IPv6: ADDRCONF(NETDEV_UP): wlp16s0: link is not ready
[   41.080093] wlp16s0: authenticate with 64:70:02:9a:21:9c
[   41.099679] wlp16s0: send auth to 64:70:02:9a:21:9c (try 1/3)
[   41.101764] wlp16s0: authenticated
[   41.104078] wlp16s0: associate with 64:70:02:9a:21:9c (try 1/3)
[   41.108114] wlp16s0: RX AssocResp from 64:70:02:9a:21:9c (capab=0x431 status=0 aid=3)
[   41.108243] wlp16s0: associated
[   41.125607] IPv6: ADDRCONF(NETDEV_CHANGE): wlp16s0: link becomes ready
[  560.378114] EXT4-fs (sdc8): mounted filesystem with ordered data mode. Opts: (null)
[  757.288092] wlp16s0: deauthenticating from 64:70:02:9a:21:9c by local choice (Reason: 3=DEAUTH_LEAVING)
[  757.365161] ath9k: ath9k: Driver unloaded
[  765.402547] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[  765.402839] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[  765.733936] ath: EEPROM regdomain: 0x809c
[  765.733936] ath: EEPROM indicates we should expect a country code
[  765.733937] ath: doing EEPROM country->regdmn map search
[  765.733938] ath: country maps to regdmn code: 0x52
[  765.733939] ath: Country alpha2 being used: CN
[  765.733940] ath: Regpair used: 0x52
[  765.737368] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[  765.744916] ath9k 0000:10:00.0 wlp16s0: renamed from wlan0
[  765.746677] ieee80211 phy0: Atheros AR9287 Rev:2 mem=0xffffb425c1370000, irq=20
[  765.767153] IPv6: ADDRCONF(NETDEV_UP): wlp16s0: link is not ready
[  765.788212] IPv6: ADDRCONF(NETDEV_UP): wlp16s0: link is not ready
[  765.824133] IPv6: ADDRCONF(NETDEV_UP): wlp16s0: link is not ready
[  766.751968] wlp16s0: authenticate with 64:70:02:9a:21:9c
[  766.771760] wlp16s0: send auth to 64:70:02:9a:21:9c (try 1/3)
[  766.775247] wlp16s0: authenticated
[  766.776067] wlp16s0: associate with 64:70:02:9a:21:9c (try 1/3)
[  766.780500] wlp16s0: RX AssocResp from 64:70:02:9a:21:9c (capab=0x431 status=0 aid=3)
[  766.780598] wlp16s0: associated
[  766.788878] IPv6: ADDRCONF(NETDEV_CHANGE): wlp16s0: link becomes ready
[  775.132075] wlp16s0: deauthenticating from 64:70:02:9a:21:9c by local choice (Reason: 3=DEAUTH_LEAVING)
[  775.189253] ath9k: ath9k: Driver unloaded
[  781.442679] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[  781.442979] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[  781.778178] ath: EEPROM regdomain: 0x809c
[  781.778179] ath: EEPROM indicates we should expect a country code
[  781.778180] ath: doing EEPROM country->regdmn map search
[  781.778181] ath: country maps to regdmn code: 0x52
[  781.778182] ath: Country alpha2 being used: CN
[  781.778182] ath: Regpair used: 0x52
[  781.779613] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[  781.786579] ath9k 0000:10:00.0 wlp16s0: renamed from wlan0
[  781.788129] ieee80211 phy0: Atheros AR9287 Rev:2 mem=0xffffb425c1b30000, irq=20
[  781.803808] IPv6: ADDRCONF(NETDEV_UP): wlp16s0: link is not ready
[  781.825744] IPv6: ADDRCONF(NETDEV_UP): wlp16s0: link is not ready
[  781.864227] IPv6: ADDRCONF(NETDEV_UP): wlp16s0: link is not ready
[  782.789905] wlp16s0: authenticate with 64:70:02:9a:21:9c
[  782.809694] wlp16s0: send auth to 64:70:02:9a:21:9c (try 1/3)
[  782.811789] wlp16s0: authenticated
[  782.816040] wlp16s0: associate with 64:70:02:9a:21:9c (try 1/3)
[  782.820078] wlp16s0: RX AssocResp from 64:70:02:9a:21:9c (capab=0x431 status=0 aid=3)
[  782.820171] wlp16s0: associated
[  782.830522] IPv6: ADDRCONF(NETDEV_CHANGE): wlp16s0: link becomes ready
[  792.424103] wlp16s0: deauthenticating from 64:70:02:9a:21:9c by local choice (Reason: 3=DEAUTH_LEAVING)
[  792.697484] ath9k: ath9k: Driver unloaded
[  798.154352] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[  798.154697] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[  798.487347] ath: EEPROM regdomain: 0x809c
[  798.487349] ath: EEPROM indicates we should expect a country code
[  798.487349] ath: doing EEPROM country->regdmn map search
[  798.487350] ath: country maps to regdmn code: 0x52
[  798.487351] ath: Country alpha2 being used: CN
[  798.487352] ath: Regpair used: 0x52
[  798.488907] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[  798.498902] ieee80211 phy0: Atheros AR9287 Rev:2 mem=0xffffb425c1370000, irq=20
[  798.506526] ath9k 0000:10:00.0 wlp16s0: renamed from wlan0
[  798.522852] IPv6: ADDRCONF(NETDEV_UP): wlp16s0: link is not ready
[  798.530571] CE: hpet3 increased min_delta_ns to 20115 nsec
[  798.544706] IPv6: ADDRCONF(NETDEV_UP): wlp16s0: link is not ready
[  798.584203] IPv6: ADDRCONF(NETDEV_UP): wlp16s0: link is not ready
[  799.513932] wlp16s0: authenticate with 64:70:02:9a:21:9c
[  799.533796] wlp16s0: send auth to 64:70:02:9a:21:9c (try 1/3)
[  799.535884] wlp16s0: authenticated
[  799.540035] wlp16s0: associate with 64:70:02:9a:21:9c (try 1/3)
[  799.545866] wlp16s0: RX AssocResp from 64:70:02:9a:21:9c (capab=0x431 status=0 aid=3)
[  799.545995] wlp16s0: associated
[  799.556165] IPv6: ADDRCONF(NETDEV_CHANGE): wlp16s0: link becomes ready
[  808.624135] wlp16s0: deauthenticating from 64:70:02:9a:21:9c by local choice (Reason: 3=DEAUTH_LEAVING)
[  808.897327] ath9k: ath9k: Driver unloaded
[  818.978161] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[  818.978456] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[  819.312652] ath: EEPROM regdomain: 0x809c
[  819.312654] ath: EEPROM indicates we should expect a country code
[  819.312655] ath: doing EEPROM country->regdmn map search
[  819.312655] ath: country maps to regdmn code: 0x52
[  819.312656] ath: Country alpha2 being used: CN
[  819.312657] ath: Regpair used: 0x52
[  819.317716] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[  819.324978] ieee80211 phy0: Atheros AR9287 Rev:2 mem=0xffffb425c1b30000, irq=20
[  819.329944] ath9k 0000:10:00.0 wlp16s0: renamed from wlan0
[  819.351563] IPv6: ADDRCONF(NETDEV_UP): wlp16s0: link is not ready
[  819.372802] IPv6: ADDRCONF(NETDEV_UP): wlp16s0: link is not ready
[  819.408370] IPv6: ADDRCONF(NETDEV_UP): wlp16s0: link is not ready
[  820.338892] wlp16s0: authenticate with 64:70:02:9a:21:9c
[  820.358810] wlp16s0: send auth to 64:70:02:9a:21:9c (try 1/3)
[  820.360934] wlp16s0: authenticated
[  820.364145] wlp16s0: associate with 64:70:02:9a:21:9c (try 1/3)
[  820.374604] wlp16s0: RX AssocResp from 64:70:02:9a:21:9c (capab=0x431 status=0 aid=3)
[  820.374733] wlp16s0: associated
[  821.389633] IPv6: ADDRCONF(NETDEV_CHANGE): wlp16s0: link becomes ready
[  837.076139] wlp16s0: deauthenticating from 64:70:02:9a:21:9c by local choice (Reason: 3=DEAUTH_LEAVING)
[  837.146639] ath9k: ath9k: Driver unloaded
[  841.273480] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[  841.273774] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[  841.607478] ath: EEPROM regdomain: 0x809c
[  841.607480] ath: EEPROM indicates we should expect a country code
[  841.607481] ath: doing EEPROM country->regdmn map search
[  841.607482] ath: country maps to regdmn code: 0x52
[  841.607483] ath: Country alpha2 being used: CN
[  841.607484] ath: Regpair used: 0x52
[  841.609854] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[  841.613311] ieee80211 phy0: Atheros AR9287 Rev:2 mem=0xffffb425c1b30000, irq=20
[  841.615993] ath9k 0000:10:00.0 wlp16s0: renamed from wlan0
[  841.637489] IPv6: ADDRCONF(NETDEV_UP): wlp16s0: link is not ready
[  841.658906] IPv6: ADDRCONF(NETDEV_UP): wlp16s0: link is not ready
[  841.700619] IPv6: ADDRCONF(NETDEV_UP): wlp16s0: link is not ready
[  842.622853] wlp16s0: authenticate with 64:70:02:9a:21:9c
[  842.642872] wlp16s0: send auth to 64:70:02:9a:21:9c (try 1/3)
[  842.748034] wlp16s0: send auth to 64:70:02:9a:21:9c (try 2/3)
[  842.750336] wlp16s0: authenticated
[  842.752067] wlp16s0: associate with 64:70:02:9a:21:9c (try 1/3)
[  842.756119] wlp16s0: RX AssocResp from 64:70:02:9a:21:9c (capab=0x431 status=0 aid=3)
[  842.756245] wlp16s0: associated
[  842.766508] IPv6: ADDRCONF(NETDEV_CHANGE): wlp16s0: link becomes ready
axenx@axenx:~$ 
l'unica combinazione che mi da una tacca è:
sudo modprobe -v ath9k nohwcrypt=1 bt_ant_diversity=1
ma la velocità di connessione varia tra 1 e 54 MBit/s
con questa
sudo modprobe -v ath9k nohwcrypt=1 btcoex_enable=1 bt_ant_diversity=1
ho una tacca e la velocita letta su NM va da1 a 135. MBit/s
almeno non perdo pacchetti! come procedo?
mi pare di leggere dal dmesg che il country è errato giusto? mi pare sia CN
Avatar utente
thece
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 12943
Iscrizione: lunedì 23 aprile 2007, 14:16
Distribuzione: Debian 12 (Bookworm) - KDE

Re: Problema Wireless AR9227 Atheros in 18.04

Messaggio da thece »

Scusami, ho scritto una caz... intendevo

Codice: Seleziona tutto

lsmod

Con entrambe le combinazioni che ti paiono più performanti mi posti l'output di questo comando?

Codice: Seleziona tutto

sudo iwlist wlp16s0 scan
questo output è più "parlante".
Se poi vuoi affiancargli anche il relativo output di Network Manager

Codice: Seleziona tutto

nmcli device wifi list ifname wlp16s0

Codice: Seleziona tutto

echo "options ath9k nohwcrypt=1 btcoex_enable=1 bt_ant_diversity=1" | sudo tee /etc/modprobe.d/ath9k.conf
e riavvi il PC. Dopo il riavvio (ri) controlla con il comando

Codice: Seleziona tutto

grep -R [[:graph:]] /sys/module/ath9k/parameters
che le opzioni scelte siano state effettivamente applicate


Parrebbe di si.
Prova a forzarlo ad IT. Devi modificare la chiave REGDOMAIN nel file /etc/default/crda e riavviare il PC.

Codice: Seleziona tutto

sudo gedit /etc/default/crda

Codice: Seleziona tutto

REGDOMAIN=IT

Il protocollo di rete IPv6 hai già provato a disabilitarlo? Non dovrebbe migliorare la ricezione del segnale WIFI, ma la stabilità del collegamento WIFI si.
Avatar utente
Stealth
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 17342
Iscrizione: martedì 31 gennaio 2006, 22:55
Desktop: Gnome
Distribuzione: Ubuntu 22.04 LTS

Re: Problema Wireless AR9227 Atheros in 18.04

Messaggio da Stealth »

Non ho idea se possa servire anche ad altro, ma a leggere qui sembra più un'imposizione legale (va a capire poi di quali paesi) che altro

Codice: Seleziona tutto

... Governments assert the right to regulate usage of radio spectrum within
# their respective territories so make sure you select a ISO/IEC 3166-1 alpha2
# country code suitable for your location or you may infringe on local
# legislature. ...
Lo dico solo perchè forse puoi anche lasciarlo vuoto. Il mio, ad esempio, è così

Codice: Seleziona tutto

REGDOMAIN=
e tutto funziona regolarmente
ciao
Avatar utente
thece
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 12943
Iscrizione: lunedì 23 aprile 2007, 14:16
Distribuzione: Debian 12 (Bookworm) - KDE

Re: Problema Wireless AR9227 Atheros in 18.04

Messaggio da thece »

@Stealth

Anche io non ho quella chiave compilata, ma in esperienze passate, ha aiutato a risolvere.
axr
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1892
Iscrizione: sabato 1 aprile 2006, 16:10
Distribuzione: kubuntu 22.04

Re: Problema Wireless AR9227 Atheros in 18.04

Messaggio da axr »

intanto grazie ancora, ti posto solo quella che effettivamente va meglio, le altre, ad un'analisi più attenta, sono equivalenti quindi non ti faccio perdere tempo.

Codice: Seleziona tutto

axenx@axenx:~$     lsmod
Module                  Size  Used by
nls_iso8859_1          16384  0
ath9k                 151552  0
ath9k_common           36864  1 ath9k
ath9k_hw              471040  2 ath9k_common,ath9k
ath                    28672  3 ath9k_common,ath9k,ath9k_hw
mac80211              778240  1 ath9k
cfg80211              622592  4 ath9k_common,ath9k,ath,mac80211
ccm                    20480  3
gpio_ich               16384  0
arc4                   16384  2
coretemp               16384  0
snd_hda_codec_realtek   106496  1
snd_hda_codec_generic    73728  1 snd_hda_codec_realtek
kvm_intel             212992  0
kvm                   598016  1 kvm_intel
irqbypass              16384  1 kvm
snd_hda_intel          40960  5
snd_hda_codec         126976  3 snd_hda_codec_generic,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core           81920  4 snd_hda_codec_generic,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hwdep              20480  1 snd_hda_codec
snd_pcm                98304  4 snd_hda_intel,snd_hda_codec,snd_hda_core
snd_seq_midi           16384  0
snd_seq_midi_event     16384  1 snd_seq_midi
snd_rawmidi            32768  1 snd_seq_midi
snd_seq                65536  2 snd_seq_midi,snd_seq_midi_event
joydev                 24576  0
input_leds             16384  0
snd_seq_device         16384  3 snd_seq,snd_seq_midi,snd_rawmidi
snd_timer              32768  2 snd_seq,snd_pcm
wmi_bmof               16384  0
serio_raw              16384  0
hp_wmi                 16384  0
sparse_keymap          16384  1 hp_wmi
snd                    81920  19 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
lpc_ich                24576  0
soundcore              16384  1 snd
shpchp                 36864  0
mei_me                 40960  0
mei                    90112  1 mei_me
tpm_infineon           20480  0
mac_hid                16384  0
sch_fq_codel           20480  2
parport_pc             36864  0
ppdev                  20480  0
lp                     20480  0
parport                49152  3 parport_pc,lp,ppdev
ip_tables              28672  0
x_tables               40960  1 ip_tables
autofs4                40960  2
hid_generic            16384  0
usbhid                 49152  0
hid                   118784  2 usbhid,hid_generic
i915                 1617920  10
i2c_algo_bit           16384  1 i915
drm_kms_helper        172032  1 i915
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
video                  45056  1 i915
ahci                   36864  3
libahci                32768  1 ahci
drm                   401408  10 drm_kms_helper,i915
e1000e                249856  0
uas                    24576  0
psmouse               147456  0
usb_storage            69632  1 uas
ptp                    20480  1 e1000e
pps_core               20480  1 ptp
wmi                    24576  2 hp_wmi,wmi_bmof
axenx@axenx:~$ 

Codice: Seleziona tutto

axenx@axenx:~$     sudo iwlist wlp16s0 scan
[sudo] password di axenx: 
wlp16s0   Scan completed :
          Cell 01 - Address: E8:DE:27:95:AE:62
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=35/70  Signal level=-75 dBm  
                    Encryption key:on
                    ESSID:"danielagippa"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=00000047db8f6612
                    Extra: Last beacon: 60ms ago
                    IE: Unknown: 000C64616E69656C616769707061
                    IE: Unknown: 010882848B960C121824
                    IE: Unknown: 030101
                    IE: Unknown: 2A0100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32043048606C
                    IE: Unknown: 2D1AEF111BFFFFFF00000000000000000000000000000406E6E70D00
                    IE: Unknown: 331AEF111BFFFFFF00000000000000000000000000000406E6E70D00
                    IE: Unknown: 3D1601051700000000000000000000000000000000000000
                    IE: Unknown: 341601051700000000000000000000000000000000000000
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101840003A4000027A4000042435E0062322F00
                    IE: Unknown: DD0900037F01010000FF7F
                    IE: Unknown: DD940050F204104A0001101044000102103B00010310470010000102030405060708090A0B0C0D0E101021000754502D4C494E4B1023000854442D573839373010240003312E301042000C4538444532373935414536321054000800060050F20400011011000C54442D573839373020312E30100800020086103C000100104900140024E26002000101600000020001600100020001
          Cell 02 - Address: 62:8F:34:7F:07:44
                    Channel:5
                    Frequency:2.432 GHz (Channel 5)
                    Quality=29/70  Signal level=-81 dBm  
                    Encryption key:on
                    ESSID:"Vodafone-Guest"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=000002cbda89544d
                    Extra: Last beacon: 60ms ago
                    IE: Unknown: 000E566F6461666F6E652D4775657374
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 030105
                    IE: Unknown: 0706495420010D14
                    IE: Unknown: 2A0100
                    IE: Unknown: 32040C121860
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 0B050000160000
                    IE: Unknown: 2D1AAD011BFFFFFF0000000000000000000000000000000000000000
                    IE: Unknown: 3D1605001600000000000000000000000000000000000000
                    IE: Unknown: 4A0E14000A002C01C800140005001900
                    IE: Unknown: 7F080500080000000040
                    IE: Unknown: DD1E00904C0408BF0CB259820FEAFF0000EAFF0000C0050005000000C3020002
                    IE: Unknown: DD090010180200101C0000
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
          Cell 03 - Address: E4:8F:34:7F:07:45
                    Channel:5
                    Frequency:2.432 GHz (Channel 5)
                    Quality=26/70  Signal level=-84 dBm  
                    Encryption key:on
                    ESSID:"Vodafone-A55656241"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=000002cbda899760
                    Extra: Last beacon: 60ms ago
                    IE: Unknown: 0012566F6461666F6E652D413535363536323431
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 030105
                    IE: Unknown: 0706495420010D14
                    IE: Unknown: 2A0100
                    IE: Unknown: 32040C121860
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 0B050100160000
                    IE: Unknown: 2D1AAD011BFFFFFF0000000000000000000000000000000000000000
                    IE: Unknown: 3D1605001600000000000000000000000000000000000000
                    IE: Unknown: 4A0E14000A002C01C800140005001900
                    IE: Unknown: 7F080500080000000040
                    IE: Unknown: DD760050F204104A0001101044000102103B00010310470010526CC8F15EEEAED3CD08ABD85207553910210007534552434F4D4D10230005564F58333010240005564F58333010420004313233341054000800060050F204000110110005564F58333010080002600C103C0001031049000600372A000120
                    IE: Unknown: DD1E00904C0408BF0CB259820FEAFF0000EAFF0000C0050005000000C3020002
                    IE: Unknown: DD090010180201101C0000
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
          Cell 04 - Address: 62:8F:34:7F:07:46
                    Channel:5
                    Frequency:2.432 GHz (Channel 5)
                    Quality=28/70  Signal level=-82 dBm  
                    Encryption key:off
                    ESSID:"Vodafone-WiFi"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=000002cbda89a5a6
                    Extra: Last beacon: 60ms ago
                    IE: Unknown: 000D566F6461666F6E652D57694669
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 030105
                    IE: Unknown: 0706495420010D14
                    IE: Unknown: 2A0100
                    IE: Unknown: 32040C121860
                    IE: Unknown: 0B050000160000
                    IE: Unknown: 2D1AAD011BFFFFFF0000000000000000000000000000000000000000
                    IE: Unknown: 3D1605001600000000000000000000000000000000000000
                    IE: Unknown: 4A0E14000A002C01C800140005001900
                    IE: Unknown: 7F080500080000000040
                    IE: Unknown: DD1E00904C0408BF0CB259820FEAFF0000EAFF0000C0050005000000C3020002
                    IE: Unknown: DD090010180200101C0000
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
          Cell 05 - Address: F4:F2:6D:A3:CC:F2
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=28/70  Signal level=-82 dBm  
                    Encryption key:on
                    ESSID:"TP-LINK_CCF2"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000002acf1d59b8
                    Extra: Last beacon: 60ms ago
                    IE: Unknown: 000C54502D4C494E4B5F43434632
                    IE: Unknown: 010882848B960C121824
                    IE: Unknown: 030106
                    IE: Unknown: 2A0100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32043048606C
                    IE: Unknown: 2D1AEF1103FFFF0000000000000000000000000000000406E6E70D00
                    IE: Unknown: 331AEF1103FFFF0000000000000000000000000000000406E6E70D00
                    IE: Unknown: 3D16060F0000000000000000000000000000000000000000
                    IE: Unknown: 3416060F0000000000000000000000000000000000000000
                    IE: Unknown: DD180050F2020101040003A4000027A4000042435E0062322F00
                    IE: Unknown: DD0900037F01010000FF7F
                    IE: Unknown: DD9E0050F204104A0001101044000102103B00010310470010000102030405060708090A0B0C0D0E0F1021000754502D4C494E4B10230009544C2D4D523334323010240003322E3010420003312E301054000800060050F20400011011001E576972656C657373204E2033472F344720526F75746572204D5233343230100800020086103C000101104900140024E26002000101600000020001600100020001
          Cell 06 - Address: 64:70:02:9A:21:9C
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=37/70  Signal level=-73 dBm  
                    Encryption key:on
                    ESSID:"TP-LINK_LAB"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=000004a3f6ed9aa0
                    Extra: Last beacon: 60ms ago
                    IE: Unknown: 000B54502D4C494E4B5F4C4142
                    IE: Unknown: 010882848B960C121824
                    IE: Unknown: 03010B
                    IE: Unknown: 0706495420010D14
                    IE: Unknown: 2A0100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32043048606C
                    IE: Unknown: 2D1A6E1103FF00000000000000000000000000000000000000000000
                    IE: Unknown: 3D160B0F0600000000000000000000000000000000000000
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101030003A4000027A4000042435E0062322F00
                    IE: Unknown: DD1E00904C336E1103FF00000000000000000000000000000000000000000000
                    IE: Unknown: DD1A00904C340B0F0600000000000000000000000000000000000000
                    IE: Unknown: DD0900037F01010000FF7F
                    IE: Unknown: DD990050F204104A0001101044000102103B00010310470010000000000000100000006470029A21101021000754502D4C494E4B10230009544C2D57523734304E10240003342E3010420003312E301054000800060050F204000110110019576972656C65737320526F7574657220544C2D57523734304E100800020086103C000101104900140024E26002000101600000020001600100020001

axenx@axenx:~$ 

Codice: Seleziona tutto

axenx@axenx:~$     nmcli device wifi list ifname wlp16s0
IN-USE  SSID                MODE   CHAN  RATE        SIGNAL  BARS  SECURITY  
*       danielagippa        Infra  1     405 Mbit/s  45      ▂▄__  WPA1 WPA2 
        TP-LINK_LAB         Infra  11    135 Mbit/s  45      ▂▄__  WPA1 WPA2 
        Vodafone-Guest      Infra  5     195 Mbit/s  32      ▂▄__  WPA2      
        Vodafone-WiFi       Infra  5     195 Mbit/s  30      ▂___  --        
        TP-LINK_CCF2        Infra  6     270 Mbit/s  30      ▂___  WPA2      
        Vodafone-A55656241  Infra  5     195 Mbit/s  27      ▂___  WPA2      
axenx@axenx:~$ 
Avatar utente
Stealth
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 17342
Iscrizione: martedì 31 gennaio 2006, 22:55
Desktop: Gnome
Distribuzione: Ubuntu 22.04 LTS

Re: Problema Wireless AR9227 Atheros in 18.04

Messaggio da Stealth »

thece ha scritto:@Stealth

Anche io non ho quella chiave compilata, ma in esperienze passate, ha aiutato a risolvere.
Ovvio che tu non l'avessi detto a caso, e io non a caso ho scritto ...non ho idea... e ...forse....
Non ne capisco nulla, magari qualche hardware pensato per mercati specifici (e poi il sovranismo di questi tempi va alla grande) ha da qualche parte, e di default, il vietnam o la corea. Poi arriva qui e devi dirglielo, se no si incasina tutto
ciao
axr
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1892
Iscrizione: sabato 1 aprile 2006, 16:10
Distribuzione: kubuntu 22.04

Re: Problema Wireless AR9227 Atheros in 18.04

Messaggio da axr »

si applicate:

Codice: Seleziona tutto

axenx@axenx:~$     grep -R [[:graph:]] /sys/module/ath9k/parameters
/sys/module/ath9k/parameters/use_chanctx:0
/sys/module/ath9k/parameters/blink:0
/sys/module/ath9k/parameters/use_msi:0
/sys/module/ath9k/parameters/nohwcrypt:1
/sys/module/ath9k/parameters/ps_enable:0
/sys/module/ath9k/parameters/led_active_high:-1
/sys/module/ath9k/parameters/bt_ant_diversity:1
/sys/module/ath9k/parameters/btcoex_enable:1
axenx@axenx:~$ 

Avatar utente
thece
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 12943
Iscrizione: lunedì 23 aprile 2007, 14:16
Distribuzione: Debian 12 (Bookworm) - KDE

Re: Problema Wireless AR9227 Atheros in 18.04

Messaggio da thece »

Azz ... 'na bomba! Almeno è "usabile"?

A che distanza PC - router hai fatto il test di ricezione del segnale WIFI? Ostacoli?



[EDIT]

Proviamo a fare anche questo tentativo: impediamo il caricamento / uso del modulo hp_wmi . Dail il seguente comando e riavvia il PC

Codice: Seleziona tutto

echo "blacklist hp_wmi" | sudo tee -a /etc/modprobe.d/blacklist-hp-wmi.conf
Se non noti alcun miglioramento (o peggio ...) annulla la modifica cancellando il file /etc/modprobe.d/blacklist-hp-wmi.conf

Codice: Seleziona tutto

sudo rm /etc/modprobe.d/blacklist-hp-wmi.conf
e riavviando il PC
axr
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1892
Iscrizione: sabato 1 aprile 2006, 16:10
Distribuzione: kubuntu 22.04

Re: Problema Wireless AR9227 Atheros in 18.04

Messaggio da axr »

7 metri senza ostacoli dal router.
ora provo grazie
axr
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1892
Iscrizione: sabato 1 aprile 2006, 16:10
Distribuzione: kubuntu 22.04

Re: Problema Wireless AR9227 Atheros in 18.04

Messaggio da axr »

allora a livello di segnale non cambia niente, sempre una tacca c'è! la velocità è più bassa, mi indica 72 MBit/s, ma pensavo di lascarlo così e vedere, al limite elimino il file dalla blacklist.
che ne pensi?
Avatar utente
thece
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 12943
Iscrizione: lunedì 23 aprile 2007, 14:16
Distribuzione: Debian 12 (Bookworm) - KDE

Re: Problema Wireless AR9227 Atheros in 18.04

Messaggio da thece »

Fai tu. Io ti ho indicato come "fare" e "disfare".

Per il momento ho esaurito le idee ... tranne suggerirti l'estrema: cambia scheda di rete WIFI ;)
axr
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1892
Iscrizione: sabato 1 aprile 2006, 16:10
Distribuzione: kubuntu 22.04

Re: Problema Wireless AR9227 Atheros in 18.04

Messaggio da axr »

grazie di tutto , sei stato un grande!
buona giornata
Scrivi risposta

Ritorna a “Connessione e configurazione delle reti”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 8 ospiti