Problema wifi con mint

Aperto da IZ4FAJ, Venerdì 24 Gennaio 2020, 13:37:15

Discussione precedente - Discussione successiva

IZ4FAJ

Scusate, non sono pratico del forum, mi sto impegnando però.. ;D
Allora, col comando lsmod ottengo questo:
Module                  Size  Used by
snd_hda_codec_realtek   106496  1
snd_hda_codec_generic    73728  1 snd_hda_codec_realtek
ledtrig_audio          16384  2 snd_hda_codec_generic,snd_hda_codec_realtek
snd_hda_intel          40960  3
snd_hda_codec         118784  3 snd_hda_intel,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hda_core           77824  4 snd_hda_intel,snd_hda_codec,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hwdep              16384  1 snd_hda_codec
snd_pcm                90112  3 snd_hda_intel,snd_hda_codec,snd_hda_core
snd_seq_midi           20480  0
snd_seq_midi_event     16384  1 snd_seq_midi
snd_rawmidi            32768  1 snd_seq_midi
coretemp               20480  0
snd_seq                61440  2 snd_seq_midi_event,snd_seq_midi
snd_seq_device         16384  3 snd_seq,snd_rawmidi,snd_seq_midi
input_leds             16384  0
joydev                 24576  0
serio_raw              20480  0
snd_timer              32768  2 snd_seq,snd_pcm
snd                    69632  16 snd_hda_intel,snd_hwdep,snd_seq,snd_hda_codec,snd_timer,snd_rawmidi,snd_hda_codec_generic,snd_seq_device,snd_hda_codec_realtek,snd_pcm
soundcore              16384  1 snd
mac_hid                16384  0
sch_fq_codel           20480  2
parport_pc             32768  0
ppdev                  24576  0
lp                     20480  0
parport                49152  3 lp,parport_pc,ppdev
ip_tables              24576  0
x_tables               32768  1 ip_tables
autofs4                45056  2
btrfs                1196032  0
xor                    28672  1 btrfs
zstd_compress         155648  1 btrfs
raid6_pq              106496  1 btrfs
libcrc32c              16384  1 btrfs
dm_mirror              24576  0
dm_region_hash         20480  1 dm_mirror
dm_log                 20480  2 dm_mirror,dm_region_hash
pata_acpi              16384  0
radeon               1396736  4
i2c_algo_bit           16384  1 radeon
ttm                    90112  1 radeon
drm_kms_helper        159744  1 radeon
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
8139too                40960  0
sysimgblt              16384  1 drm_kms_helper
8139cp                 32768  0
fb_sys_fops            16384  1 drm_kms_helper
psmouse               139264  0
mii                    16384  2 8139cp,8139too
pata_atiixp            16384  0
i2c_piix4              28672  0
sata_sil               16384  1
drm                   389120  7 radeon,ttm,drm_kms_helper
ati_agp                16384  0
video                  45056  0

IZ4FAJ

Con l'altro comando arriva questo:
09:04.0 Network controller: Ralink corp. RT2561/RT61 rev B 802.11g
Subsystem: Device 18e8:6194
Kernel modules: ndiswrapper

bobol


andrea111

Bisogna che posti rfkill list all il dispositivo viene dichiarato come "UNCLAIMED", vediamo se si riesce a capire perché.

Ed anche di iwconfig
e modinfo 8139cp | grep filename -A4

Portatile ASUS con Scheda madre X55C +i5-3210M -- 6 GB RAM ddr3 -- grafica intel.

IZ4FAJ

Fatto tutto:
babbo@babbo-EasyNote-MZ36:~$ rfkill list all
babbo@babbo-EasyNote-MZ36:~$ iwconfig
lo        no wireless extensions.

enp9s2    no wireless extensions.

babbo@babbo-EasyNote-MZ36:~$ modinfo 8139cp | grep filename -A4
filename:       /lib/modules/5.3.0-28-generic/kernel/drivers/net/ethernet/realtek/8139cp.ko
license:        GPL
version:        1.3
description:    RealTek RTL-8139C+ series 10/100 PCI Ethernet driver
author:         Jeff Garzik <jgarzik@pobox.com>

andrea111

Di driver per la ralink non se ne vedono, posta anche modinfo 8139too | grep filename -A4
modinfo ndiswrapper | grep filename -A4
questi sono due comandi distinti, dalli uno dopo l'altro e posta.

Posta anche ls /etc/modprobe.d vediamo se hai in blacklist qualcosa che non dovrebbe esserlo.

Prova a postare journalctl -b | grep -i error vediamo se salta fuori qualcosa sul wifi.

Portatile ASUS con Scheda madre X55C +i5-3210M -- 6 GB RAM ddr3 -- grafica intel.

IZ4FAJ

Ringrazio e posto:

babbo@babbo-EasyNote-MZ36:~$ modinfo 8139too | grep filename -A4
filename:       /lib/modules/5.3.0-28-generic/kernel/drivers/net/ethernet/realtek/8139too.ko
version:        0.9.28
license:        GPL
description:    RealTek RTL-8139 Fast Ethernet driver
author:         Jeff Garzik <jgarzik@pobox.com>
babbo@babbo-EasyNote-MZ36:~$ modinfo ndiswrapper | grep filename -A4
modinfo: ERROR: Module ndiswrapper not found.
babbo@babbo-EasyNote-MZ36:~$ ls /etc/modprobe.d
alsa-base.conf                  blacklist-oss.conf
amd64-microcode-blacklist.conf  blacklist-rare-network.conf
blacklist-ath_pci.conf          dkms.conf
blacklist.conf                  intel-microcode-blacklist.conf
blacklist-firewire.conf         iwlwifi.conf
blacklist-framebuffer.conf      ndiswrapper.conf
blacklist-modem.conf
babbo@babbo-EasyNote-MZ36:~$ journalctl -b | grep -i error
feb 01 09:06:09 babbo-EasyNote-MZ36 kernel: ACPI Error: AE_NOT_FOUND, While resolving a named reference package element - Z00G (20190703/dspkginit-440)
feb 01 09:06:09 babbo-EasyNote-MZ36 kernel: ACPI Error: AE_NOT_FOUND, While resolving a named reference package element - Z00G (20190703/dspkginit-440)
feb 01 09:06:09 babbo-EasyNote-MZ36 kernel: EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
feb 01 09:06:43 babbo-EasyNote-MZ36 gpu-manager[675]: Error: can't open /lib/modules/5.3.0-28-generic/updates/dkms
feb 01 09:06:54 babbo-EasyNote-MZ36 systemd-resolved[602]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.
feb 01 09:06:55 babbo-EasyNote-MZ36 systemd-resolved[602]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.
feb 01 09:07:44 babbo-EasyNote-MZ36 pulseaudio[1124]: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
feb 01 09:16:02 babbo-EasyNote-MZ36 cinnamon-screensaver-pam-helper[1443]: pam_ecryptfs: seteuid error
feb 01 09:18:01 babbo-EasyNote-MZ36 systemd-resolved[602]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.
feb 01 09:18:01 babbo-EasyNote-MZ36 systemd-resolved[602]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.
babbo@babbo-EasyNote-MZ36:~$

andrea111

Vediamo cosa c'è in cat /etc/modprobe.d/ndiswrapper.conf

Mi sembra strano che non si carichi da solo il modulo ndiswrapper.

Se dai sudo modprobe ndiswrapper che risponde?

Poi fai un riavvio e da terminale lsmod | grep ndiswrapper e vedi se la risposta è positiva.
Se è positiva ridai rfkill list all e postalo
Se è negativa postane il contenuto.

Portatile ASUS con Scheda madre X55C +i5-3210M -- 6 GB RAM ddr3 -- grafica intel.

IZ4FAJ

Al primo comando risponde così:
babbo@babbo-EasyNote-MZ36:~$ cat /etc/modprobe.d/ndiswrapper.conf
alias pci:v00001814d00000301sv00003C08sd00001186bc*sc*i* ndiswrapper
alias pci:v00001814d00000301sv00003C09sd00001186bc*sc*i* ndiswrapper
alias pci:v00001814d00000301sv*sd*bc*sc*i* ndiswrapper
alias pci:v00001814d00000302sv00003A71sd00001186bc*sc*i* ndiswrapper
alias pci:v00001814d00000302sv00003A72sd00001186bc*sc*i* ndiswrapper
alias pci:v00001814d00000302sv00003C08sd00001186bc*sc*i* ndiswrapper
alias pci:v00001814d00000302sv00003C09sd00001186bc*sc*i* ndiswrapper
alias pci:v00001814d00000302sv00003C10sd00001186bc*sc*i* ndiswrapper
alias pci:v00001814d00000302sv00003C11sd00001186bc*sc*i* ndiswrapper
alias pci:v00001814d00000302sv*sd*bc*sc*i* ndiswrapper
alias pci:v00001814d00000401sv00003C12sd00001186bc*sc*i* ndiswrapper
alias pci:v00001814d00000401sv00003C13sd00001186bc*sc*i* ndiswrapper
alias pci:v00001814d00000401sv*sd*bc*sc*i* ndiswrapper
babbo@babbo-EasyNote-MZ36:~$

IZ4FAJ

Ci capisco poco, ma la risposta al secondo comando non mi tranquillizza. C'è scritto "fatal"... :o

babbo@babbo-EasyNote-MZ36:~$ sudo modprobe ndiswrapper
[sudo] password di babbo:       
modprobe: FATAL: Module ndiswrapper not found in directory /lib/modules/5.3.0-28-generic
babbo@babbo-EasyNote-MZ36:~$


IZ4FAJ

Gli ultimi due comandi non hanno sortito effetto. Posto:

babbo@babbo-EasyNote-MZ36:~$ lsmod | grep ndiswrapper
babbo@babbo-EasyNote-MZ36:~$ rfkill list all
babbo@babbo-EasyNote-MZ36:~$

andrea111

#41
Ti pareva che andava bene al primo colpo.

Posta dpkg-query -l | grep ndiswrapper vediamo se ha installato tutto quello che gli serve per funzionare.

Portatile ASUS con Scheda madre X55C +i5-3210M -- 6 GB RAM ddr3 -- grafica intel.

IZ4FAJ

 :sigh: attimo di sconforto. Ok ok, mi sono già ripreso
babbo@babbo-EasyNote-MZ36:~$ dpkg-quary -l | grep ndiswrapper

Comando «dpkg-quary» non trovato, si intendeva forse:

  comando «dpkg-query» da deb dpkg

Provare: sudo apt install <nome deb>



:sigh: :sigh:

andrea111

ci mancava solo il comando scritto male, è dpkg-query -l | grep ndiswrapper

Portatile ASUS con Scheda madre X55C +i5-3210M -- 6 GB RAM ddr3 -- grafica intel.

IZ4FAJ

babbo@babbo-EasyNote-MZ36:~$  dpkg-query -l | grep ndiswrapper
ii  ndisgtk                                    0.8.5-1ubuntu1                                  i386         graphical frontend for ndiswrapper (installation of Windows WiFi drivers)
ii  ndiswrapper                                1.60-6ubuntu0.2                                 i386         Userspace utilities for the ndiswrapper Linux kernel module
babbo@babbo-EasyNote-MZ36:~$

Powered by EzPortal