News:

Dal team di PeppermintOS ecco Peppermint Classic ... l'esperienza della vecchia Peppermint 10 ma su base debian 12

Menu principale

wireless non funziona

Aperto da fabio.o, Lunedì 11 Febbraio 2019, 23:46:29

Discussione precedente - Discussione successiva

nessuno

Su windows puoi usare un programmino come "hwinfo" (ce ne sono anche altri) per  "sgamare" il dispositivo.

Il discorso del kernel è solo indirettamente legato al problema del wireless, per evitare che un argomento si accavalli con l'altro forse ti converrebbe aprire un topic apposito per la firma del kernel.

Come ti dicevo io non ne so molto di uefi e di secure boot, ma questo non esclude che ci sia qualcun altro che ne sa di più e che decida ad aiutarti.

In ogni caso, come avrai sicuramente capito, non c'è nessuna garanzia che almeno una delle strade porti a un risultato utile. Di certo, alla fine della fiera, tu ne saprai parecchio di più sull'aggeggio che possiedi...

:ciao:

andrea111

La procedura ora è un po' più complessa.

Bluetooth spento, da terminale sudo service nerwork-manager stop e l'icona del nework sparisce.

Poi apri Registro di Sistema sulla scheda syslog e lo fai scorrere fino in fondo a visualizzare le ultime righe.
Ora da terminale dài sudo service network-manger starte gurda il syslog: appariranno nuove righe in neretto (se non ne vedi gira la rotella del mouse finché non appaiono tutte) saranno in neretto.

Copiale tutte quante (quelle in neretto). Magari incollale in un file vuoto creato apposta per fissarle.

Poi attivi la connessione bluetooth e le posti qui.

Un po' macchinoso ma fattibilissimo.
Se anche da questo non si riesce a risalire a nulla, questa faccenda comincia ad avere del fantomatico.

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

fabio.o

#62
ok... hwinfo non funziona perche ho scoperto che windows 10 è in modalità s....ovvero posso istallare solo dal microsoft store... che truffa!!!

comunque:

21:12:30 sudo: pam_unix(sudo:session): session closed for user root
21:12:28 dbus-daemon: [session uid=0 pid=1839] AppArmor D-Bus mediation is enabled
21:12:28 sudo: pam_unix(sudo:session): session opened for user root by (uid=0)
21:12:28 sudo: pam_unix(sudo:session): session opened for user root by (uid=0)
21:12:28 sudo: fabio : TTY=unknown ; PWD=/home/fabio ; USER=root ; COMMAND=/usr/lib/linuxmint/mintUpdate/checkAPT.py
21:12:19 NetworkManager: <info>  [1550520739.5778] device (70:28:8B:5F:A4:9D): state change: unavailable -> disconnected (reason 'none', sys-iface-state: 'managed')
21:12:19 NetworkManager: <info>  [1550520739.5778] device (70:28:8B:5F:A4:9D): state change: unavailable -> disconnected (reason 'none', sys-iface-state: 'managed')
21:12:19 NetworkManager: <info>  [1550520739.5739] device (70:28:8B:5F:A4:9D): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
21:12:19 NetworkManager: <info>  [1550520739.5737] manager: (70:28:8B:5F:A4:9D): new Bluetooth device (/org/freedesktop/NetworkManager/Devices/2)
21:12:19 NetworkManager: <info>  [1550520739.5726] bluez: BT device Iphone di Mario (70:28:8B:5F:A4:9D) added (NAP)
21:12:19 NetworkManager: <info>  [1550520739.5714] keyfile: add connection in-memory (cd2bedc9-e22f-4031-b788-1ce087aa93cd,"Iphone di Mario")
21:12:19 NetworkManager: <info>  [1550520739.5662] bluez5: NAP: added interface 68:EC:C5:40:9F:D8
21:12:19 NetworkManager: <info>  [1550520739.5554] bluez: use BlueZ version 5
21:12:19 NetworkManager: <info>  [1550520739.5281] modem-manager: ModemManager available
21:12:19 NetworkManager: <info>  [1550520739.5203] manager: startup complete
21:12:19 NetworkManager: <info>  [1550520739.5117] manager: (lo): new Generic device (/org/freedesktop/NetworkManager/Devices/1)
21:12:19 NetworkManager: <info>  [1550520739.5104] device (lo): carrier: link connected
21:12:19 NetworkManager: <info>  [1550520739.5090] Loaded device plugin: NMWifiFactory (/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-wifi.so)
21:12:19 NetworkManager: <info>  [1550520739.5087] Loaded device plugin: NMTeamFactory (/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-team.so)
21:12:19 nm-dispatcher: req:1 'hostname': start running ordered scripts...
21:12:19 NetworkManager: <info>  [1550520739.5078] Loaded device plugin: NMWwanFactory (/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-wwan.so)
21:12:19 nm-dispatcher: req:1 'hostname': new request (2 scripts)
21:12:19 NetworkManager: <info>  [1550520739.5075] Loaded device plugin: NMBluezManager (/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-bluetooth.so)
21:12:19 NetworkManager: <info>  [1550520739.5075] Loaded device plugin: NMBluezManager (/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-bluetooth.so)
21:12:19 NetworkManager: <info>  [1550520739.5063] Loaded device plugin: NMAtmManager (/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-adsl.so)
21:12:19 NetworkManager: <info>  [1550520739.5056] Loaded device plugin: NMVxlanDeviceFactory (internal)
21:12:19 NetworkManager: <info>  [1550520739.5056] Loaded device plugin: NMVlanDeviceFactory (internal)
21:12:19 NetworkManager: <info>  [1550520739.5055] Loaded device plugin: NMVethDeviceFactory (internal)
21:12:19 NetworkManager: <info>  [1550520739.5055] Loaded device plugin: NMTunDeviceFactory (internal)
21:12:19 NetworkManager: <info>  [1550520739.5055] Loaded device plugin: NMPppDeviceFactory (internal)
21:12:19 NetworkManager: <info>  [1550520739.5054] Loaded device plugin: NMMacvlanDeviceFactory (internal)
21:12:19 NetworkManager: <info>  [1550520739.5054] Loaded device plugin: NMMacsecDeviceFactory (internal)
21:12:19 NetworkManager: <info>  [1550520739.5054] Loaded device plugin: NMIPTunnelDeviceFactory (internal)
21:12:19 NetworkManager: <info>  [1550520739.5053] Loaded device plugin: NMInfinibandDeviceFactory (internal)
21:12:19 NetworkManager: <info>  [1550520739.5053] Loaded device plugin: NMEthernetDeviceFactory (internal)
21:12:19 NetworkManager: <info>  [1550520739.5053] Loaded device plugin: NMDummyDeviceFactory (internal)
21:12:19 NetworkManager: <info>  [1550520739.5053] Loaded device plugin: NMBridgeDeviceFactory (internal)
21:12:19 NetworkManager: <info>  [1550520739.5052] Loaded device plugin: NMBondDeviceFactory (internal)
21:12:19 NetworkManager: <info>  [1550520739.5051] dhcp-init: Using DHCP client 'dhclient'
21:12:19 NetworkManager: <info>  [1550520739.5050] manager: Networking is enabled by state file
21:12:19 NetworkManager: <info>  [1550520739.5050] manager: rfkill: WWAN enabled by radio killswitch; enabled by state file
21:12:19 NetworkManager: <info>  [1550520739.5048] manager: rfkill: WiFi enabled by radio killswitch; enabled by state file
21:12:19 NetworkManager: <info>  [1550520739.5045] get unmanaged devices count: 0
21:12:19 NetworkManager: <info>  [1550520739.5039] keyfile: new connection /etc/NetworkManager/system-connections/RouterCasa (6b50b298-6f95-4cf9-b390-752bdac07f0f,"RouterCasa")
21:12:19 NetworkManager: <info>  [1550520739.4960] keyfile: new connection /etc/NetworkManager/system-connections/Connessione Ethernet 1 (1b4bf1b0-5ce1-46d7-8695-c79d0702e5c2,"Connessione Ethernet 1")
21:12:19 NetworkManager: <info>  [1550520739.4876] (-245053248) ... get_connections (managed=false): return empty list.
21:12:19 NetworkManager: <info>  [1550520739.4876] (-245053248) ... get_connections.
21:12:19 NetworkManager: <info>  [1550520739.4876] settings: loaded plugin keyfile: (c) 2007 - 2016 Red Hat, Inc.  To report bugs please use the NetworkManager mailing list.
21:12:19 NetworkManager: <info>  [1550520739.4876] settings: loaded plugin ifupdown: (C) 2008 Canonical Ltd.  To report bugs please use the NetworkManager mailing list. (/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-settings-plugin-ifupdown.so)
21:12:19 NetworkManager: <info>  [1550520739.4875] end _init.
21:12:19 NetworkManager: <info>  [1550520739.4875] device added (path: /sys/devices/virtual/net/lo, iface: lo): no ifupdown configuration found.
21:12:19 NetworkManager: <info>  [1550520739.4875] devices added (path: /sys/devices/virtual/net/lo, iface: lo)
21:12:19 NetworkManager: <info>  [1550520739.4870] management mode: unmanaged
21:12:19 NetworkManager: <info>  [1550520739.4870]       interface-parser: finished parsing file /etc/network/interfaces

21:12:19 NetworkManager: <info>  [1550520739.4869]       interface-parser: parsing file /etc/network/interfaces

21:12:19 NetworkManager: <info>  [1550520739.4867] init!
21:12:19 systemd: Started Network Manager Script Dispatcher Service.
21:12:19 dbus-daemon: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
21:12:19 systemd: Starting Network Manager Script Dispatcher Service...
21:12:19 sudo: pam_unix(sudo:session): session closed for user root
21:12:19 dbus-daemon: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.63' (uid=0 pid=1817 comm="/usr/sbin/NetworkManager --no-daemon " label="unconfined")
21:12:19 systemd: Started Network Manager.
21:12:19 NetworkManager: <info>  [1550520739.4609] manager[0x5603f1614060]: rfkill: WWAN hardware radio set enabled
21:12:19 NetworkManager: <info>  [1550520739.4609] manager[0x5603f1614060]: rfkill: WWAN hardware radio set enabled
21:12:19 NetworkManager: <info>  [1550520739.4608] manager[0x5603f1614060]: rfkill: WiFi hardware radio set enabled
21:12:19 NetworkManager: <info>  [1550520739.4582] dns-mgr[0x5603f162e140]: init: dns=systemd-resolved, rc-manager=symlink, plugin=systemd-resolved
21:12:19 NetworkManager: <info>  [1550520739.4574] hostname: hostname changed from (none) to "fabio-Notebook-Slim-S130"
21:12:19 NetworkManager: <info>  [1550520739.4574] hostname: hostname: using hostnamed
21:12:19 systemd: Started Hostname Service.
21:12:19 dbus-daemon: [system] Successfully activated service 'org.freedesktop.hostname1'
21:12:19 systemd: Starting Hostname Service...
21:12:19 dbus-daemon: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.63' (uid=0 pid=1817 comm="/usr/sbin/NetworkManager --no-daemon " label="unconfined")
21:12:19 NetworkManager: <info>  [1550520739.2635] monitoring ifupdown state file '/run/network/ifstate'.
21:12:19 NetworkManager: <info>  [1550520739.2635] monitoring ifupdown state file '/run/network/ifstate'.
21:12:19 NetworkManager: <info>  [1550520739.2635] manager[0x5603f1614060]: monitoring kernel firmware directory '/lib/firmware'.
21:12:19 NetworkManager: <info>  [1550520739.2569] Read config: /etc/NetworkManager/NetworkManager.conf (lib: 10-dns-resolved.conf, 20-connectivity-ubuntu.conf, no-mac-addr-change.conf) (run: 10-globally-managed-devices.conf) (etc: default-wifi-powersave-on.conf)
21:12:19 NetworkManager: <info>  [1550520739.2568] NetworkManager (version 1.10.6) is starting... (after a restart)
21:12:19 systemd: Starting Network Manager...
21:12:18 sudo: pam_unix(sudo:session): session opened for user root by (uid=0)
21:12:18 sudo: pam_unix(sudo:session): session opened for user root by (uid=0)
21:12:18 sudo: fabio : TTY=pts/0 ; PWD=/home/fabio ; USER=root ; COMMAND=/usr/sbin/service network-manager start
21:12:12 sudo: pam_unix(sudo:session): session closed for user root
21:12:12 systemd: Stopped Network Manager.
21:12:12 NetworkManager: <info>  [1550520732.2373] exiting (success)
21:12:12 systemd: Stopping Network Manager...
21:12:12 NetworkManager: <info>  [1550520732.0896] device (70:28:8B:5F:A4:9D): state change: disconnected -> unmanaged (reason 'unmanaged', sys-iface-state: 'managed')
21:12:12 NetworkManager: <info>  [1550520732.0896] device (70:28:8B:5F:A4:9D): state change: disconnected -> unmanaged (reason 'unmanaged', sys-iface-state: 'managed')
21:12:12 NetworkManager: <info>  [1550520732.0881] caught SIGTERM, shutting down normally.
21:12:10 sudo: pam_unix(sudo:session): session opened for user root by (uid=0)
21:12:10 sudo: pam_unix(sudo:session): session opened for user root by (uid=0)
21:12:10 sudo: fabio : TTY=pts/0 ; PWD=/home/fabio ; USER=root ; COMMAND=/usr/sbin/service network-manager stop


come puoi vedere, anche se all' inizio della procedura il bluetooth era spento, alla fine si accende misteriosamente quando do il comando start, e se vado sull' icona del BT, di fatto è acceso.... strano
comunque mi pare che le righe fondamentali sono queste:

21:12:19 NetworkManager: <info>  [1550520739.4609] manager[0x5603f1614060]: rfkill: WWAN hardware radio set enabled
21:12:19 NetworkManager: <info>  [1550520739.4609] manager[0x5603f1614060]: rfkill: WWAN hardware radio set enabled
21:12:19 NetworkManager: <info>  [1550520739.4608] manager[0x5603f1614060]: rfkill: WiFi hardware radio set enabled


dice chiaramente ''radio set enabled'' quindi un ''radio set'' di sicuro c è e di sicuro anche lo vede...



andrea111

come puoi vedere, anche se all'inizio della procedura il bluetooth era spento, alla fine si accende misteriosamente
OK. Tutto bene, il riavvio del network prevede il riavvio del bluetooth se c'è.

Fammi esaminare un po' tutto quanto - non sarà veloce.

Citazioneok... hwinfo non funziona perche ho scoperto che windows 10 è in modalità s....ovvero posso istallare solo dal microsoft store... che truffa!!!
Questa ancora non la sapevo, c'è poco da fare Windows è una macchina da soldi.

Citazionedice chiaramente ''radio set enabled'' quindi un ''radio set'' di sicuro c è e di sicuro anche lo vede...
Le tre righe che hai riportato riguardano il bluetooth (che è una sottocategoria del wifi).

Questo invece
Citazione21:12:19 NetworkManager: <info>  [1550520739.5039] keyfile: new connection /etc/NetworkManager/system-connections/RouterCasa (6b50b298-6f95-4cf9-b390-752bdac07f0f,"RouterCasa")
21:12:19 NetworkManager: <info>  [1550520739.4960] keyfile: new connection /etc/NetworkManager/system-connections/Connessione Ethernet 1 (1b4bf1b0-5ce1-46d7-8695-c79d0702e5c2,"Connessione Ethernet 1"
"RouterCasa" cosa ti richiama? il router di casa o lo smartphone in tethering?
Posta ls /etc/NetworkManager/system-connections/
sudo cat /etc/NetworkManager/system-connections/RouterCasa

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

fabio.o

fabio@fabio-Notebook-Slim-S130:~$ sudo cat /etc/NetworkManager/system-connections/RouterCasa
[sudo] password for fabio:
[connection]
id=RouterCasa
uuid=6b50b298-6f95-4cf9-b390-752bdac07f0f
type=wifi
permissions=

[wifi]
mac-address=74:C6:3B:77:D5:63
mac-address-blacklist=
mode=infrastructure
ssid=RouterCasa

[ipv4]
dns-search=
method=auto

[ipv6]
addr-gen-mode=stable-privacy
dns-search=
ip6-privacy=0
method=auto


RouterCasa è il router di casa ma c'è da dire che questa rete io l ho configurata manualmente copiando il mac address e gli altri dati da un altro computer che la vedeva e aggiungendola manualmente in ''modifica connessioni''====>''aggiungi nuova connessione''
quindi non so se il computer la vede o queste righe si riferiscono al fatto che ''legge'' semplicemente quello che ho scritto io (che l'ho aggiunta manualmente e scritto io tutti i dati, ovvero ill nome e il mac address, copiandoli a mano da un altro computer in cui funzionava)

fabio@fabio-Notebook-Slim-S130:~$ ls /etc/NetworkManager/system-connections/
'Connessione Ethernet 1'   RouterCasa


Infatti anche 'Connessione Ethernet 1'  l ho impostata io manualmente e se le rimuovo dal menu del network manager succede questo

fabio@fabio-Notebook-Slim-S130:~$ sudo cat /etc/NetworkManager/system-connections/RouterCasa
[sudo] password for fabio:
cat: /etc/NetworkManager/system-connections/RouterCasa: No such file or directory


fabio@fabio-Notebook-Slim-S130:~$ sudo cat /etc/NetworkManager/system-connections/'Connessione Ethernet 1'
[sudo] password for fabio:               
cat: '/etc/NetworkManager/system-connections/Connessione Ethernet 1': No such file or directory




andrea111

Citazionel ho configurata manualmente copiando il mac address e gli altri dati da un altro computer che la vedeva
vedeva il dispositivo wifi di "quel" PC. Il MAC di un dispositivo di rete è il suo documento d'identificazione univoco: ogni scheda ne ha uno diverso. Lo stesso dicasi per l'uuid.
Hai fatto bene ad eliminarli, lascia così. Sarebbero solo un problema.

Posta un'altra cosa, dai questi comandi in successione e posta tutto insieme: lsusb
lsusb -t
e
lspci -tv

È proprio dura, proviamo anche con questo: wget -N -t 5 -T 10 https://github.com/UbuntuForums/wireless-info/raw/master/wireless-info &&  chmod +x wireless-info &&  ./wireless-info Questo comando è lungo ed è una riga sola, devi copiarlo in un terminale ed essere connesso ad internet.

Produrrà il file wireless-info.txt nella tua home, devi postarlo o allegarlo se è troppo grosso.
È uno script che fa la diagnosi del wifi. Più di questo per l'analisi non c'è.

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

fabio.o

#66
allora, nell' ordine in cui li hai scritti:
LSUSB
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 058f:5608 Alcor Micro Corp.
Bus 001 Device 004: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus 001 Device 003: ID 8087:0a2a Intel Corp.
Bus 001 Device 002: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

LSUSB -T
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/7p, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/9p, 480M
    |__ Port 3: Dev 2, If 0, Class=Vendor Specific Class, Driver=rtsx_usb, 480M
    |__ Port 4: Dev 3, If 1, Class=Wireless, Driver=btusb, 12M
    |__ Port 4: Dev 3, If 0, Class=Wireless, Driver=btusb, 12M
    |__ Port 5: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
    |__ Port 7: Dev 5, If 0, Class=Video, Driver=uvcvideo, 480M
    |__ Port 7: Dev 5, If 1, Class=Video, Driver=uvcvideo, 480M

LSPCI -TV
-[0000:00]-+-00.0  Intel Corporation Device 31f0
           +-00.1  Intel Corporation Device 318c
           +-02.0  Intel Corporation Device 3185
           +-0e.0  Intel Corporation Device 3198
           +-0f.0  Intel Corporation Device 319a
           +-12.0  Intel Corporation Device 31e3
           +-13.0-[01]--
           +-15.0  Intel Corporation Device 31a8
           +-16.0  Intel Corporation Device 31ac
           +-16.1  Intel Corporation Device 31ae
           +-16.2  Intel Corporation Device 31b0
           +-16.3  Intel Corporation Device 31b2
           +-17.0  Intel Corporation Device 31b4
           +-17.1  Intel Corporation Device 31b6
           +-17.2  Intel Corporation Device 31b8
           +-17.3  Intel Corporation Device 31ba
           +-18.0  Intel Corporation Device 31bc
           +-18.1  Intel Corporation Device 31be
           +-18.2  Intel Corporation Device 31c0
           +-18.3  Intel Corporation Device 31ee
           +-19.0  Intel Corporation Device 31c2
           +-19.1  Intel Corporation Device 31c4
           +-19.2  Intel Corporation Device 31c6
           +-1c.0  Intel Corporation Device 31cc
           +-1e.0  Intel Corporation Device 31d0
           +-1f.0  Intel Corporation Device 31e8
           \-1f.1  Intel Corporation Device 31d4


poi il risultato del comando lungo


########## wireless info START ##########

Report from: 20 Feb 2019 07:02 CET +0100

Booted last: 20 Feb 2019 00:00 CET +0100

Script from: 22 Oct 2018 03:34 UTC +0000

##### release ###########################

Distributor ID: LinuxMint
Description: Linux Mint 19.1 Tessa
Release: 19.1
Codename: tessa

##### kernel ############################

Linux 4.18.0-15-generic #16~18.04.1-Ubuntu SMP Thu Feb 7 14:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Parameters: ro, quiet, splash, vt.handoff=1

##### desktop ###########################

Xfce

##### lspci #############################

##### lsusb #############################

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 058f:5608 Alcor Micro Corp.
Bus 001 Device 004: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus 001 Device 003: ID 8087:0a2a Intel Corp.
Bus 001 Device 002: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

##### PCMCIA card info ##################

##### rfkill ############################

0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no

##### secure boot #######################

SecureBoot enabled

##### lsmod #############################

##### interfaces ########################

[/etc/network/interfaces]
auto lo
iface lo inet loopback

##### ifconfig ##########################

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback <MAC address> brd <MAC address>
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: bnep0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 1000
    link/ether <MAC 'bnep0' [IF1]> brd <MAC address>
    inet 192.168.44.204/24 brd 192.168.44.255 scope global dynamic noprefixroute bnep0
       valid_lft 3549sec preferred_lft 3549sec
    inet6 fe80::c448:9422:32cc:ea6d/64 scope link noprefixroute
       valid_lft forever preferred_lft forever

##### iwconfig ##########################

bnep0     no wireless extensions.

lo        no wireless extensions.

##### route #############################

default via 192.168.44.1 dev bnep0 proto dhcp metric 750
169.254.0.0/16 dev bnep0 scope link metric 1000
192.168.44.0/24 dev bnep0 proto kernel scope link src 192.168.44.204 metric 750

##### resolv.conf #######################

[777 root '/etc/resolv.conf' -> '../run/systemd/resolve/stub-resolv.conf']

nameserver 127.0.0.53
options edns0

##### network managers ##################

Installed:

NetworkManager

Running:

root       805     1  0 07:00 ?        00:00:00 /usr/sbin/NetworkManager --no-daemon

##### NetworkManager info ###############

GENERAL.DEVICE:                         <MAC address>
GENERAL.TYPE:                           bt
GENERAL.NM-TYPE:                        NMDeviceBt
GENERAL.VENDOR:                         --
GENERAL.PRODUCT:                        --
GENERAL.DRIVER:                         bluez
GENERAL.DRIVER-VERSION:                 --
GENERAL.FIRMWARE-VERSION:               --
GENERAL.HWADDR:                         <MAC address>
GENERAL.MTU:                            1500
GENERAL.STATE:                          100 (connected)
GENERAL.REASON:                         0 (No reason given)
GENERAL.UDI:                            /org/bluez/hci0/dev_70_28_8B_5F_A4_9D
GENERAL.IP-IFACE:                       bnep0
GENERAL.IS-SOFTWARE:                    no
GENERAL.NM-MANAGED:                     yes
GENERAL.AUTOCONNECT:                    yes
GENERAL.FIRMWARE-MISSING:               no
GENERAL.NM-PLUGIN-MISSING:              no
GENERAL.PHYS-PORT-ID:                   --
GENERAL.CONNECTION:                     Iphone di Mario Network
GENERAL.CON-UUID:                       52372873-f41d-4fea-b440-d3872abc606e
GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/ActiveConnection/1
GENERAL.METERED:                        yes (guessed)
CAPABILITIES.CARRIER-DETECT:            no
CAPABILITIES.SPEED:                     unknown
CAPABILITIES.IS-SOFTWARE:               no
CAPABILITIES.SRIOV:                     no
IP4.ADDRESS[1]:                         192.168.44.204/24
IP4.GATEWAY:                            192.168.44.1
IP4.ROUTE[1]:                           dst = 0.0.0.0/0, nh = 192.168.44.1, mt = 750
IP4.ROUTE[2]:                           dst = 192.168.44.0/24, nh = 0.0.0.0, mt = 750
IP4.ROUTE[3]:                           dst = 169.254.0.0/16, nh = 0.0.0.0, mt = 1000
IP4.DNS[1]:                             192.168.44.1
DHCP4.OPTION[1]:                        requested_subnet_mask = 1
DHCP4.OPTION[2]:                        requested_rfc3442_classless_static_routes = 1
DHCP4.OPTION[3]:                        subnet_mask = 255.255.255.0
DHCP4.OPTION[4]:                        domain_name_servers = 192.168.44.1
DHCP4.OPTION[5]:                        ip_address = 192.168.44.204
DHCP4.OPTION[6]:                        requested_static_routes = 1
DHCP4.OPTION[7]:                        dhcp_server_identifier = 192.168.44.1
DHCP4.OPTION[8]:                        requested_time_offset = 1
DHCP4.OPTION[9]:                        broadcast_address = 192.168.44.255
DHCP4.OPTION[10]:                       requested_interface_mtu = 1
DHCP4.OPTION[11]:                       dhcp_rebinding_time = 3150
DHCP4.OPTION[12]:                       requested_domain_name_servers = 1
DHCP4.OPTION[13]:                       dhcp_message_type = 5
DHCP4.OPTION[14]:                       requested_broadcast_address = 1
DHCP4.OPTION[15]:                       dhcp_renewal_time = 1800
DHCP4.OPTION[16]:                       routers = 192.168.44.1
DHCP4.OPTION[17]:                       requested_domain_name = 1
DHCP4.OPTION[18]:                       requested_routers = 1
DHCP4.OPTION[19]:                       expiry = 1550646100
DHCP4.OPTION[20]:                       host_name = fabio-Notebook-Slim-S130
DHCP4.OPTION[21]:                       requested_netbios_scope = 1
DHCP4.OPTION[22]:                       requested_wpad = 1
DHCP4.OPTION[23]:                       requested_ms_classless_static_routes = 1
DHCP4.OPTION[24]:                       requested_netbios_name_servers = 1
DHCP4.OPTION[25]:                       network_number = 192.168.44.0
DHCP4.OPTION[26]:                       requested_domain_search = 1
DHCP4.OPTION[27]:                       next_server = 192.168.44.1
DHCP4.OPTION[28]:                       requested_ntp_servers = 1
DHCP4.OPTION[29]:                       vendor_encapsulated_options =IOS_METERED
DHCP4.OPTION[30]:                       requested_host_name = 1
DHCP4.OPTION[31]:                       dhcp_lease_time = 3600
IP6.ADDRESS[1]:                         fe80::c448:9422:32cc:ea6d/64
IP6.GATEWAY:                            --
IP6.ROUTE[1]:                           dst = ff00::/8, nh = ::, mt = 256, table=255
IP6.ROUTE[2]:                           dst = fe80::/64, nh = ::, mt = 256
IP6.ROUTE[3]:                           dst = fe80::/64, nh = ::, mt = 750
BLUETOOTH.CAPABILITIES:                 NAP
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings/{1}
CONNECTIONS.AVAILABLE-CONNECTIONS[1]:   52372873-f41d-4fea-b440-d3872abc606e | Iphone di Mario Network

##### NetworkManager.state ##############

[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true

##### NetworkManager config #############

[[/etc/NetworkManager/conf.d/default-wifi-powersave-on.conf]]
[connection]
wifi.powersave = 3

[[/etc/NetworkManager/NetworkManager.conf]]
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
[device]
wifi.scan-rand-mac-address=no

[[/usr/lib/NetworkManager/conf.d/10-dns-resolved.conf]]
[main]
dns=systemd-resolved

[[/usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf]]
[keyfile]
unmanaged-devices=*,except:type:wifi,except:type:wwan

[[/usr/lib/NetworkManager/conf.d/20-connectivity-ubuntu.conf]]
[connectivity]
uri=http://connectivity-check.ubuntu.com/

[[/usr/lib/NetworkManager/conf.d/no-mac-addr-change.conf]]
[device-mac-addr-change-wifi]
match-device=driver:rtl8723bs,driver:rtl8189es,driver:r8188eu,driver:8188eu,driver:eagle_sdio,driver:wl
wifi.scan-rand-mac-address=no
wifi.cloned-mac-address=preserve
ethernet.cloned-mac-address=preserve

##### NetworkManager profiles ###########

##### Netplan config ####################

[/etc/netplan/1-network-manager-all.yaml]
network:
  version: 2
  renderer: NetworkManager

##### iw reg get ########################

Region: Europe/San_Marino (based on set time zone)

global
country 00: DFS-UNSET
(2402 - 2472 @ 40), (N/A, 20), (N/A)
(2457 - 2482 @ 20), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, PASSIVE-SCAN
(5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN
(5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, PASSIVE-SCAN
(5735 - 5835 @ 80), (N/A, 20), (N/A), PASSIVE-SCAN
(57240 - 63720 @ 2160), (N/A, 0), (N/A)

##### iwlist channels ###################

bnep0     no frequency information.

lo        no frequency information.

##### iwlist scan #######################

bnep0     Interface doesn't support scanning.

lo        Interface doesn't support scanning.

##### module infos ######################

##### module parameters #################

##### /etc/modules ######################

##### modprobe options ##################

[/etc/modprobe.d/amd64-microcode-blacklist.conf]
blacklist microcode

[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci

[/etc/modprobe.d/blacklist.conf]
blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist i2c_i801
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac
blacklist rtl8723au
blacklist r8723au
blacklist rtl8723bu
blacklist r8723bu

[/etc/modprobe.d/blacklist-rare-network.conf]
alias net-pf-3 off
alias net-pf-6 off
alias net-pf-9 off
alias net-pf-11 off
alias net-pf-12 off
alias net-pf-19 off
alias net-pf-21 off
alias net-pf-36 off

[/etc/modprobe.d/intel-microcode-blacklist.conf]
blacklist microcode

[/etc/modprobe.d/iwlwifi.conf]
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211

##### rc.local ##########################

grep: /etc/rc.local: No such file or directory

##### pm-utils ##########################

##### udev rules ########################

##### dmesg #############################

[    9.977235] Bluetooth: hci0: Intel Bluetooth firmware file: intel/ibt-hw-37.8.10-fw-1.10.3.11.e.bseq
[   10.299739] Bluetooth: hci0: Intel firmware patch completed and activated

########## wireless info END ############

fabio.o

Poi ci sarebbe anche un secondo risultato che si chiama wireless-info ma non ha estensione .txt , dice che é uno script Shell... Se lo apro é qualcosa di molto lungo e pieno di cicli if ... É una specie di programma scritto in un qualche linguaggio di programmazione , credo vada compilato o qualcosa del genere ... É molto lungo ma se vuoi lo posto

Pope

Linus Benedict Torvalds, 25 agosto 1991: "Hello everybody out there [...] i'm doing a (free) operating system, just a hobby, won't be big and professional [...]".

fabio.o

le ho provate tutte tranne ubuntu, potrei provare ubuntu, magari lì sono già disponibili i nuovi kernel firmati...  credi che in ubuntu potrebbe andare meglio?
in tutte le distribuzioni che ho provato non funzionava il wifi, anche quelle debian-based
ho provato anche kali linux, ma il computer neanche si accende con quello... da solo una schermata nera

comunque posto l' altro file che è uscito fuori... come dicevo è una specie di programma


#!/bin/bash
#
# Copyright (c) 2012
#
# Authors: Wild Man, Krytarik
# Helpers: chili555
#
# This script gathers the infos necessary for troubleshooting a wireless
# connection and saves them in a text file, wrapping it in an archive if it
# exceeds the 19.5 kB size limit for ".txt" attachments on the Ubuntu Forums.
#
##############################################################################
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
#

SCRIPTDATE="2018-10-22 05:34 +0200"
FILEBASE="wireless-info"
OUTPUTDIR="$PWD"
OUTPUTDIRFB="/tmp"

MODMATCHES="(air|ar5|at7|ath[^3]?|b43|bcma|brcm|carl|ipw|iwl|ndis|r(818|8192[eu]|871|92su)|8(188|189|192|723|812)[acde][esu]|rt[23567]|rtl|ssb|wl|(cfg|mac)80211)"
LSMODMATCHES="(wmi|(dell|ideapad)[-_]laptop)"
IFACEMATCHES="(wlan[0-9]|eth[0-9])"
DMESGMATCHES="(firmware|[nN]etwork|sdio|SDIO)"
NMPROFMATCHES="\(\[connection\]\|id=\|type=\|permissions=\|autoconnect=\|\[802-11-wireless\]\|\[wifi\]\|ssid=\|bssid=\|mac-address\(-blacklist\)\?=\|mtu=\|\[802-1x\]\|[[:graph:]]*ca-certs\?=\|\[ipv[46]\]\|method=\)"

DMESGEXCL="apparmor|(cfg|mac)80211"
MODINFOEXCL="alias"
MODPROBEXCL="(alsa-base|blacklist-(firewire|framebuffer|modem|oss|watchdog)|fglrx|nvidia|fbdev|bumblebee)"
PMUTILSEXCL="/etc/pm/(power.d/(95hdparm-apm|intel-audio-powersave|sata_alpm)|sleep.d/(10_grub-common|10_unattended-upgrades.*|novatel_3g.*))"

NETMGRNAMES=("NetworkManager" "Wicd" "ConnMan")
NETMGRPATHS=("/usr/sbin/NetworkManager" "/usr/sbin/wicd" "/usr/sbin/connmand")
DEC2BI=({0..1}{0..1}{0..1}{0..1}{0..1}{0..1}{0..1}{0..1})
DEC2HEX=($(printf "%02x " {0..255}))

export LANG="en_US.UTF-8"
export LANGUAGE="en_US:en"
export LC_ALL="en_US.UTF-8"

if [ -t 0 ]; then
    DIALOGAPP="terminal"
    DIALOGBREAK=" "
    TERMOUT="yes"
elif [ -x /usr/bin/zenity ]; then
    DIALOGAPP="zenity"
    DIALOGBREAK="\n"
elif [ -x /usr/bin/kdialog ]; then
    DIALOGAPP="kdialog"
    DIALOGBREAK="\n"
else
    exit 1
fi

if [ -t 0 ]; then
    SUDO="sudo"
elif [ -x /usr/bin/pkexec ]; then
    SUDO="pkexec"
elif [ -x /usr/bin/gksudo ]; then
    SUDO="gksudo"
    GKSUDO="yes"
elif [ -x /usr/bin/kdesudo ]; then
    SUDO="kdesudo"
    KDESUDO="yes"
    KDESUDOCMT=" needs administrative privileges. Please enter your password."
fi

dialog_info () {
    case $DIALOGAPP in
terminal)
    printf "%b\n" "$1"
    ;;
zenity)
    zenity --info --text="$1"
    ;;
kdialog)
    kdialog --msgbox "$1"
    ;;
    esac
}

dialog_error () {
    case $DIALOGAPP in
terminal)
    printf "%b\n" "$1" >&2
    ;;
zenity)
    zenity --error --text="$1"
    ;;
kdialog)
    kdialog --error "$1"
    ;;
    esac
}

dialog_question () {
    case $DIALOGAPP in
terminal)
    local INPUT
    read -r -p "$1 [Y/n]: " INPUT
    echo "${INPUT,,}"
    ;;
zenity)
    zenity --question --text="$1" || echo "no"
    ;;
kdialog)
    kdialog --yesno "$1" || echo "no"
    ;;
    esac
}

ip6-mac () {
    for MAC in "$@"; do
OCT1BI=${DEC2BI[0x${MAC:0:2}]}
OCT1BI7=$((${OCT1BI:6:1} - 1))
OCT1BIM="${OCT1BI:0:6}${OCT1BI7#-}${OCT1BI:7}"
IP6S+=${IP6S:+$'\n'}"${DEC2HEX[2#$OCT1BIM]}${MAC:3:2}:${MAC:6:2}ff:fe${MAC:9:2}:${MAC:12:2}${MAC:15:2}"
    done
    sed 's/\(^\|:\)0\+\([[:alnum:]]\)/\1\2/g;s/^\([0:]\+\)/\\(::\\|\1\\)/' <<< "$IP6S"
}

exec 3>&1 4>&2
exec 1> "$OUTPUTDIR/$FILEBASE.txt" || {
    dialog_error "${TERMOUT+\n}Cannot write output file in \"$OUTPUTDIR\",${DIALOGBREAK}trying in \"$OUTPUTDIRFB\" instead.${TERMOUT+\n}"
    OUTPUTDIR="$OUTPUTDIRFB"
    exec 1> "$OUTPUTDIR/$FILEBASE.txt" || {
dialog_error "${TERMOUT+\n}Cannot write output file in \"$OUTPUTDIR\" either, aborting.${TERMOUT+\n}"
exit 1
    }
}
exec 2>&1

printf "\n########## wireless info START ##########\n\n"
REPORTDATE=$(date +"%d %b %Y %H:%M %Z %z")
SCRIPTDATE=$(date -u -d "$SCRIPTDATE" +"%d %b %Y %H:%M %Z %z")
LASTBOOTDT=$(last -FRn 1 reboot | sed -n 's/.*system boot[ ]\+\(.\+\) - .*/\1/p')
LASTBOOTDT=$(date -d "$LASTBOOTDT" +"%d %b %Y %H:%M %Z %z")
printf "Report from: %s\n\n" "$REPORTDATE"
printf "Booted last: %s\n\n" "$LASTBOOTDT"
printf "Script from: %s\n" "$SCRIPTDATE"

printf "\n##### release ###########################\n\n"
lsb_release -idrc

printf "\n##### kernel ############################\n\n"
uname -srvmpio
echo
sed 's/root=[^ ]*//;s/[ ]\+/, /g;s/^BOOT_IMAGE=[^ ]*/Parameters:/' /proc/cmdline

printf "\n##### desktop ###########################\n\n"
if [ -n "$DESKTOP_SESSION" ]; then
    DESKTOP="$DESKTOP_SESSION"
else
    DESKTOP=$(sed -n 's/^Session=\(.\+\)$/\1/p' "$HOME/.dmrc")
    DESKDMRC=" (from ~/.dmrc)"
fi
if [ -n "$DESKTOP" ]; then
    if [ -f "/usr/share/xsessions/$DESKTOP.desktop" ]; then
DESKTOP=$(sed -n 's/^Name=\(.\+\)$/\1/p' "/usr/share/xsessions/$DESKTOP.desktop")
    fi
    echo "${DESKTOP/ Session/}${DESKDMRC}"
else
    printf "\nCould not be determined.\n"
fi

printf "\n##### lspci #############################\n\n"
lspci -nnk | grep -iA 2 '^[^[:space:]].*net' | sed '/^--$/d; /^[^[:space:]]/ i\\'

printf "\n##### lsusb #############################\n\n"
lsusb

printf "\n##### PCMCIA card info ##################\n\n"
if [ -x /sbin/pccardctl ]; then
    pccardctl info
else
    echo "'pccardctl' is not installed (package \"pcmciautils\")."
fi

printf "\n##### rfkill ############################\n\n"
rfkill list all

printf "\n##### secure boot #######################\n\n"
if [ -x /usr/bin/mokutil ]; then
    mokutil --sb-state
else
    echo "'mokutil' is not installed (package \"mokutil\")."
fi

printf "\n##### lsmod #############################\n\n"
LSMOD=$(lsmod | egrep "(^|[[:punct:] ])($MODMATCHES|$LSMODMATCHES)[^[:punct:] ]*([[:punct:] ]|$)")
echo "$LSMOD"

printf "\n##### interfaces ########################\n\n"
for IFACESFILE in $(find /etc/network/interfaces{,.d} -type f 2> /dev/null | sort); do
    IFACESFLCNT=$(sed '/^#/d;s/^wpa-psk [[:graph:]]\+/wpa-psk <WPA key removed>/' $IFACESFILE)
    if [ -n "$IFACESFLCNT" ]; then
printf "[%s]\n%s\n\n" "$IFACESFILE" "$IFACESFLCNT"
    fi
done

printf "\n##### ifconfig ##########################\n\n"
if [ -x /bin/ip ]; then
    IFCONFIG=$(ip address show)
elif [ -x /sbin/ifconfig ]; then
    IFCONFIG=$(ifconfig -a)
else
    echo "'ip' is not installed (package \"iproute2\")."
fi
echo "$IFCONFIG"
IFCONFIG=$(sed -n '1h; 1!H; ${g;s/\n /\\ /g;p}' <<< "$IFCONFIG")
IFACESETH=($(sed -n 's#^[0-9]\+: \([^ :]\+\):.* link/ether.*#\1#p; s/^\([^ :]\+\):\?.* \(Link encap:Ethernet\|ether\).*/\1/p' <<< "$IFCONFIG"))
if (( ${#IFACESETH[@]} > 0 )); then
    IFETHMATCHES=${IFACESETH[@]}
    IFACEMATCHES="($IFACEMATCHES|(${IFETHMATCHES// /|}))"
fi

printf "\n##### iwconfig ##########################\n\n"
iwconfig

printf "\n##### route #############################\n\n"
if [ -x /bin/ip ]; then
    ip route show
elif [ -x /sbin/route ]; then
    route -n
else
    echo "'ip' is not installed (package \"iproute2\")."
fi

printf "\n##### resolv.conf #######################\n\n"
stat -c "[%a %U %N]" /etc/resolv.conf
grep -v '^#' /etc/resolv.conf

printf "\n##### network managers ##################\n\n"
printf "Installed:\n\n"
for NETMGRNR in "${!NETMGRPATHS[@]}"; do
    if [ -f "${NETMGRPATHS[$NETMGRNR]}" ]; then
NETMGRINST+=("${NETMGRNAMES[$NETMGRNR]}")
    fi
done
printf "\t%s\n" "${NETMGRINST[@]:-None found.}"
NETMGRMATCHES=${NETMGRPATHS[@]/#*\//|}
NETMGRMATCHES=${NETMGRMATCHES// |/|}
NETMGRMATCHES="(${NETMGRMATCHES#|})"
printf "\nRunning:\n\n"
ps -ef | egrep "( |/)$NETMGRMATCHES($| )" || printf "\tNone found.\n"

printf "\n##### NetworkManager info ###############\n\n"
if [ -x /usr/bin/nm-tool ]; then
    nm-tool
elif [ -x /usr/bin/nmcli ]; then
    nmcli -f all device show | sed '/^GENERAL.DEVICE:[ ]\+lo$/,/^$/d; /^AP\[[0-9]\+\]\./d'
    echo
    nmcli -f SSID,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY,ACTIVE,IN-USE device wifi list
else
    echo "NetworkManager is not installed (package \"network-manager\")."
fi

printf "\n##### NetworkManager.state ##############\n\n"
cat -s /var/lib/NetworkManager/NetworkManager.state

printf "\n##### NetworkManager config #############\n\n"
for NMCONFFILE in $(find /{etc,usr/lib}/NetworkManager/{NetworkManager.conf,conf.d} -name "*.conf" 2> /dev/null | sort); do
    NMCONFCNT=$(egrep -v '^(#|$)' $NMCONFFILE)
    if [ -n "$NMCONFCNT" ]; then
printf "[[%s]]\n%s\n\n" "$NMCONFFILE" "$NMCONFCNT"
    fi
done

printf "\n##### NetworkManager profiles ###########\n\n"
if [ -d /etc/NetworkManager/system-connections ]; then
    if [ -n "$SUDO" ]; then
trap "" 2 3
NMPROFILES=$(find /etc/NetworkManager/system-connections -maxdepth 1 -type f -exec $SUDO${GKSUDO+ -D grep --}${KDESUDO+ -d --comment "<b>grep</b>$KDESUDOCMT" --} grep -vH '^$' {} +) && SUDOSUCCESS="yes" || SUDOSUCCESS="no"
trap 2 3
if [ "$SUDOSUCCESS" = "yes" ]; then
    ORIGIFS="$IFS"
    IFS=$'\n'
    for NMWLPRFFILE in $(sed -n 's/^\(.\+\):type=\(802-11-wireless\|wifi\).*$/\1/p' <<< "$NMPROFILES"); do
NMWLPRFFLPERMS=$(stat -c "%a %U" "$NMWLPRFFILE")
NMWLPROFILE=($(sed -n "s;^$NMWLPRFFILE:\($NMPROFMATCHES.*\)$;\1 |;p" <<< "$NMPROFILES"))
NMWLPROFSOUT+="[[$NMWLPRFFILE]] ($NMWLPRFFLPERMS)"$'\n'"${NMWLPROFILE[@]}"$'\n\n'
    done
    IFS="$ORIGIFS"
    sed 's# | \[#\n\[#g;s#\] |#\]#g;s/ |$//' <<< "$NMWLPROFSOUT" | sed '/^\[[^]]*\]$/d'
else
    printf "\nAcquisition of admin privileges failed.\n"
fi
    else
echo "No way to acquire admin privileges found."
    fi
else
    echo "No NetworkManager profiles found."
fi

printf "\n##### Netplan config ####################\n\n"
for NPLANFILE in $(find /{lib,etc,run}/netplan -name "*.yaml" 2> /dev/null | sort); do
    NPLANFLCNT=$(egrep -v '^(#|$)' $NPLANFILE)
    if [ -n "$NPLANFLCNT" ]; then
printf "[%s]\n%s\n\n" "$NPLANFILE" "$NPLANFLCNT"
    fi
done

printf "\n##### iw reg get ########################\n\n"
if [ -x /sbin/iw ]; then
    if IWREGGET=$(iw reg get 2>&1) && [ -f /etc/timezone ]; then
REGION=$(cat /etc/timezone)
printf "Region: %s (based on set time zone)\n\n" "$REGION"
    fi
    echo "$IWREGGET"
else
    echo "'iw' is not installed (package \"iw\")."
fi

printf "\n##### iwlist channels ###################\n\n"
if [ -x /sbin/iwlist ]; then
    iwlist chan
else
    echo "'iwlist' is not installed (package \"wireless-tools\")."
fi

printf "\n##### iwlist scan #######################\n\n"
if [ -x /sbin/iwlist ]; then
    if [ -n "$SUDO" ]; then
trap "" 2 3
IWLISTSCAN=$($SUDO${KDESUDO+ -d} iwlist scan) && SUDOSUCCESS="yes" || SUDOSUCCESS="no"
trap 2 3
if [ "$SUDOSUCCESS" = "yes" ]; then
    if [[ $IWLISTSCAN = *Frequency:* ]]; then
printf "Channel occupancy:\n\n"
grep '^[ ]*Frequency:' <<< "$IWLISTSCAN" | sort | uniq -c | sed 's/^[ ]\+\([ ][0-9]\+\)[ ]\+/     \1   APs on   /'
echo
    fi
    grep -v '^[ ]*IE: Unknown:' <<< "$IWLISTSCAN"
else
    printf "\nAcquisition of admin privileges failed.\n"
fi
    else
echo "No way to acquire admin privileges found."
    fi
else
    echo "'iwlist' is not installed (package \"wireless-tools\")."
fi

printf "\n##### module infos ######################\n\n"
MODULES=$(egrep -o "^$MODMATCHES[^ ]*" <<< "$LSMOD")
for MODULE in $MODULES; do
    MODINFO=$(modinfo $MODULE | egrep -v "^$MODINFOEXCL:")
    printf "[%s]\n%s\n\n" "$MODULE" "$MODINFO"
done

printf "\n##### module parameters #################\n\n"
for MODULE in $MODULES; do
    if [ -d /sys/module/$MODULE/parameters ]; then
MODPARAMS=$(grep -H '^[[:graph:]]' /sys/module/$MODULE/parameters/* | sed 's#^.*/##;s/:/: /')
printf "[%s]\n%s\n\n" "$MODULE" "$MODPARAMS"
    fi
done

printf "\n##### /etc/modules ######################\n\n"
grep -v '^#' /etc/modules

printf "\n##### modprobe options ##################\n\n"
for MODPROBEFILE in $(find /etc/modprobe.{conf,d} -name "*.conf" -regextype posix-egrep -not -regex ".*$MODPROBEXCL.*" 2> /dev/null | sort); do
    MODPROBEOPTS=$(egrep -v '^(#|$)' $MODPROBEFILE)
    if [ -n "$MODPROBEOPTS" ]; then
printf "[%s]\n%s\n\n" "$MODPROBEFILE" "$MODPROBEOPTS"
    fi
done

printf "\n##### rc.local ##########################\n\n"
grep -v '^#' /etc/rc.local

printf "\n##### pm-utils ##########################\n\n"
for PMUTILSFILE in $(find /etc/pm/*.d \( -type f -o -type l \) -regextype posix-egrep -not -regex "$PMUTILSEXCL" | sort); do
    PMUTFLCONT=$(egrep -v '^(#|$)' $PMUTILSFILE)
    if [ -n "$PMUTFLCONT" ]; then
PMUTFLPERMS=$(stat -c "%a %U" $PMUTILSFILE)
printf "[%s] (%s)\n%s\n\n" "$PMUTILSFILE" "$PMUTFLPERMS" "$PMUTFLCONT"
    fi
done

printf "\n##### udev rules ########################\n\n"
for UDEVRLFILE in $(find /etc/udev/rules.d -name "*net*.rules" | sort); do
    UDEVRULES=$(grep -B1 '^[^#]' $UDEVRLFILE | egrep -v '^(--)?$')
    if [ -n "$UDEVRULES" ]; then
printf "[%s]\n%s\n\n" "$UDEVRLFILE" "$UDEVRULES"
    fi
done

printf "\n##### dmesg #############################\n\n"
dmesg | tail -n 100 | egrep "[[:punct:] ]($MODMATCHES|$IFACEMATCHES|$DMESGMATCHES)[^[:punct:] ]*[[:punct:] ]" | egrep -v "$DMESGEXCL" | uniq -cf 2 | sed 's/^[ ]\+1[ ]\+//;s/^[ ]\+\([0-9]\+\)[ ]\+\(.\+\)$/\2 (repeated \1 times)/'

printf "\n########## wireless info END ############\n\n"

exec 2>&4 4>&-
exec 1>&3 3>&-

##### MAC address masking #####

RESULTS=$(cat -s "$OUTPUTDIR/$FILEBASE.txt")$'\n'

ORIGIFS="$IFS"
IFS=$'\n'

IFACESIDS=($(sed -n "/\([[:alnum:]]\{2\}:\)\{5\}[[:alnum:]]\{2\}/ {/\(00:\)\{5\}00/! {s/^[0-9]\+: \([^ :]\+\):.*/'\1'/p; s/^\([^ :]\+\):\? .*/'\1'/p}}" <<< "$IFCONFIG"))
IFACESMACS=($(sed -n '/\(00:\)\{5\}00/! s#.*\(HWaddr\|link/[^ ]\+\|ether\) \(\([[:alnum:]]\{2\}:\)\{5\}[[:alnum:]]\{2\}\).*#\2#p' <<< "$IFCONFIG"))
IFACESIP6S=($(ip6-mac "${IFACESMACS[@]}"))

WLAPSIWLIDS=($(sed -n "/^[ ]*Cell [0-9]\+/,/^[ ]*ESSID:/ {/^[ ]*Cell [0-9]\+/h; /^[ ]*ESSID:/ {H;g;s/^[ ]*Cell 0\?\([0-9]\+\).*ESSID:\"\(.*\)\"$/'\2' [AC\1]/p}}" <<< "$IWLISTSCAN"))
WLAPSIWLMACS=($(sed -n 's/^[ ]*Cell [0-9]\+.*Address: \([^ ]\+\)/\1/p' <<< "$IWLISTSCAN"))
WLAPSIWLIP6S=($(ip6-mac "${WLAPSIWLMACS[@]}"))

WLAPSNMRAW=$(sed -n '/^##### NetworkManager info #####/,/^##### / {/^[ ]*Wireless Access Points/,/^$/ {/Wireless Access Points/d;s/^[ ]\+\*\?//;s/:[ ]\+/\t/;p}; /^SSID[ ]\+BSSID[ ]\+/,/^$/ {/^SSID[ ]\{2,\}BSSID[ ]\{2,\}/d;s/[ ]\{2,\}/\t/;p}}' <<< "$RESULTS")
WLAPSNMIDS=($(awk -F '\t' '{print "'\''" $1 "'\''"}' <<< "$WLAPSNMRAW"))
WLAPSNMMACS=($(grep -o '\([[:alnum:]]\{2\}:\)\{5\}[[:alnum:]]\{2\}' <<< "$WLAPSNMRAW"))
WLAPSNMIP6S=($(ip6-mac "${WLAPSNMMACS[@]}"))

IFS="$ORIGIFS"

for IFACENR in "${!IFACESMACS[@]}"; do
    MACMASKSED+="s;${IFACESMACS[$IFACENR]};<MAC ${IFACESIDS[$IFACENR]} [IF$(($IFACENR + 1))]>;I;"
    MACMASKSED+=" /${IFACESIP6S[$IFACENR]}/ s;${IFACESIP6S[$IFACENR]/#\\(::/\(};<IP6 ${IFACESIDS[$IFACENR]} [IF$(($IFACENR + 1))]>;I;"
    IFACEMACC=${IFACESMACS[$IFACENR]//:/}
    if [[ ${IFACESIDS[$IFACENR],,} =~ ${IFACEMACC,,} ]]; then
MACMASKSED+="s;\(${IFACESIDS[$IFACENR]:1:3}\)$IFACEMACC;\1<IF from MAC [IF$(($IFACENR + 1))]>;Ig;"
    fi
done

for WLAPIWLNR in "${!WLAPSIWLMACS[@]}"; do
    MACMASKSED+="s;${WLAPSIWLMACS[$WLAPIWLNR]};<MAC ${WLAPSIWLIDS[$WLAPIWLNR]}>;I;"
    MACMASKSED+=" /${WLAPSIWLIP6S[$WLAPIWLNR]}/ s;${WLAPSIWLIP6S[$WLAPIWLNR]/#\\(::/\(};<IP6 ${WLAPSIWLIDS[$WLAPIWLNR]}>;I;"
done

for WLAPNMNR in "${!WLAPSNMMACS[@]}"; do
    MACMASKSED+="s;${WLAPSNMMACS[$WLAPNMNR]};<MAC ${WLAPSNMIDS[$WLAPNMNR]} [AN$(($WLAPNMNR + 1))]>;I;"
    MACMASKSED+=" /${WLAPSNMIP6S[$WLAPNMNR]}/ s;${WLAPSNMIP6S[$WLAPNMNR]/#\\(::/\(};<IP6 ${WLAPSNMIDS[$WLAPNMNR]} [AN$(($WLAPNMNR + 1))]>;I;"
done

sed "$MACMASKSED /\([[:alnum:]]\{2\}:\)\{6,\}/! s/\([[:alnum:]]\{2\}:\)\{5\}[[:alnum:]]\{2\}/<MAC address>/g" <<< "$RESULTS" > "$OUTPUTDIR/$FILEBASE.txt"

##### The End #####

dialog_info "${TERMOUT+\n}Results saved in \"$OUTPUTDIR/$FILEBASE.txt\".${TERMOUT+\n}"

if (( $(stat -c %s "$OUTPUTDIR/$FILEBASE.txt") > 19968 )); then
    tar -czf "$OUTPUTDIR/$FILEBASE.tar.gz" -C "$OUTPUTDIR" "$FILEBASE.txt" && \
dialog_info "Results also archived in \"$OUTPUTDIR/$FILEBASE.tar.gz\",${DIALOGBREAK}as they exceed the 19.5 kB size limit for \".txt\" attachments${DIALOGBREAK}on the Ubuntu Forums.${TERMOUT+\n}" || \
dialog_error "Results exceed the 19.5 kB size limit for \".txt\" attachments${DIALOGBREAK}on the Ubuntu Forums, but archive could not be created.${TERMOUT+\n}"
fi

if [ -x /usr/bin/pastebinit ] && ping -nc 3 -w 6 -i 0.2 paste.ubuntu.com > /dev/null 2>&1; then
    PASTEBIN=$(dialog_question "Do you also want to post them${DIALOGBREAK}to your default 'pastebinit' provider?")
    if [[ ! $PASTEBIN =~ ^no?$ ]]; then
PASTERESULT=$(pastebinit -i "$OUTPUTDIR/$FILEBASE.txt" -f text 2>&1) && PASTESUCCESS="yes"
if [ "$PASTESUCCESS" = "yes" ]; then
    dialog_info "${TERMOUT+\n}Pastebin successful:\n\n${PASTERESULT}${TERMOUT+\n}"
else
    if [ -n "$PASTERESULT" ]; then
dialog_error "${TERMOUT+\n}Pastebin failed, error message is:\n\n${PASTERESULT}${TERMOUT+\n}"
    else
dialog_error "${TERMOUT+\n}Pastebin failed, no error message given.${TERMOUT+\n}"
    fi
fi
    else
echo
    fi
fi

andrea111

Sono arrivato tardi.
CitazionePoi ci sarebbe anche un secondo risultato che si chiama wireless-info ma non ha estensione .txt
È lo script di shell la cui esecuzione produce il file wireless-info.txt.
Non postarlo, non serve esaminarlo.

lsusb -t dice qualcosa che che m'intriga:
Citazione |__ Port 3: Dev 2, If 0, Class=Vendor Specific Class, Driver=rtsx_usb, 480M
    |__ Port 4: Dev 3, If 1, Class=Wireless, Driver=btusb, 12M
    |__ Port 4: Dev 3, If 0, Class=Wireless, Driver=btusb, 12M
gli ultimi due riguardano il bluetooth, il primo invece è quello che il lsusb normale dichiara come:
CitazioneBus 001 Device 003: ID 8087:0a2a Intel Corp.
solo che lì, nella descrizione, appare
CitazioneClass=Vendor Specific Class, Driver=rtsx_usb, 480M
Class=Vendor Specific Class (qualcosa di particolare della intel)
Driver=rtsx_usb (indica pure un driver)

M'intriga e provo a fare qualche ricerca su questo dispositivo di ID 8087:0a2a e su driver rtsx_usb.
Magari ha a che fare con lo standard Miracast (roba che serve a collegare il PC ad uno SMART-TV -- visualizza lo streamig del PC su un TV smart via wifi. (Hai visto mai che c'entri pure quello)

Intanto dò un'occhiata al wireless-info che hai postato.

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

nessuno

Citazione di: fabio.o il Mercoledì 20 Febbraio 2019, 18:38:35
le ho provate tutte tranne ubuntu, potrei provare ubuntu, magari lì sono già disponibili i nuovi kernel firmati...  credi che in ubuntu potrebbe andare meglio?
in tutte le distribuzioni che ho provato non funzionava il wifi, anche quelle debian-based
ho provato anche kali linux, ma il computer neanche si accende con quello... da solo una schermata nera
...

Una distribuzione con la quale puoi toglierti facilmente il dubbio è manjaro: https://manjaro.org/download/xfce/

Manjaro sta già al kernel 4.19 senza che tu debba fare niente, inoltre in fase di avvio della live su usb puoi scegliere se caricare o meno i driver non-free, puoi fare le prove che vuoi...

...Poi se non ti piace non la installi, ma intanto sai se con i kernel più nuovi cambia qualcosa...

andrea111

CitazioneClass=Vendor Specific Class (qualcosa di particolare della intel)
Driver=rtsx_usb (indica pure un driver)
Riguarda il lettore di schede. Niente di che.

Nota:
la intel di regola installa i suoi adattatori wifi sul bus PCI e quindi è inutile battere sull'USB per tirarlo fuori.
Le connettività dichiarate del portatile sono Wlan, Bluetooth e Miracast.
Il miracast è uno standard sviluppato da chrome e intel e basta e non è diffusissimo.
Il Miracast fa un uso intensivo del wifi - possibile che un PC con questa caratteristica dichiarata nemmeno rilevi una scheda wifi?
Mi chiedo se è proprio la mancanza dei driver per il miracast a "nascondere" l'adattatore wifi, ovvero, in quel portatile il wifi è costruito sul miracast e i suoi driver.

Può sembrare tirato per i capelli ma più ci penso e più lo vedo realistico.

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

fabio.o

#73
Dopo un grosso lavoro di firme e certificazioni del kernel sono riuscito a istallare senza errori il 4.19 e il 4.20.... E purtroppo anche cosi non rileva le reti....
Ho provato ububntu, xubuntu e manjaro ma nulla.....
Vabbé almeno ho il tethering bluetooth in caso .... :bonk:

E se lo smonto? Magari trovo la scheda e il suo nome/produttore?

nessuno

#74
...Se lo smonti poi lo puoi buttare, a 'sto punto rivendilo e recupera quello che puoi.

Vedi che HWINFO esiste anche nella versione "portable", che non si deve installare.

Se sei riuscito ad avviare il sistema con il 4.19 o il 4.20 vale sicuramente la pena di vedere cosa restituisce come output il comando:

lsusb e poi

lspci

il fatto che non sia ancora funzionante non significa obbligatoriamente che quel kernel non lo vede, magari lo vede e devi solo caricare il modulo.

P.S.

...magari anche:

sudo lshw


Edit:
l'alternativa più sbrigativa e più valida sembra essere più che mai una chiavetta wifi usb, magari una di quelle piccolissime, ne trovi anche da pochi euro...

(2) Edit:

Citazione di: andrea111 il Mercoledì 20 Febbraio 2019, 22:42:59
...
Mi chiedo se è proprio la mancanza dei driver per il miracast a "nascondere" l'adattatore wifi, ovvero, in quel portatile il wifi è costruito sul miracast e i suoi driver.

Può sembrare tirato per i capelli ma più ci penso e più lo vedo realistico.

... Potresti avere ragione.  ;)

"...     Una volta eliminato l'impossibile ciò che rimane, per quanto improbabile, dev'essere la verità"

(Cit. Sherlock Holmes)

Powered by EzPortal