Crea sito
 

Esaminare accuratamente la connessione WiFi

25 febbraio, 2016 (22:37) | Linux | By: sargonsei

Verifica della connessione a Internet del portatile Lenovo R61 con Linux Mint 17.1 Cinnamon.

I comandi:

sudo lshw -c network # informazioni sulle schede di rete rilevate (PCI e USB)
lspci -knn | grep -iA2 net # Verifica la presenza di schede di rete integrate e relativo driver
lsusb

dmesg |grep -i ready # Visualizza il risultato dei tentativi di connettersi a Internet
cat /etc/NetworkManager/NetworkManager.conf # informazioni sul / dal Network Manager e sue connessioni configurate
cat /var/lib/NetworkManager/NetworkManager.state
ls -l /etc/NetworkManager/system-connections

nmcli device status # Status delle reti
cat /etc/network/interfaces # informazioni sulle schede di rete configurate “ignorate dal Network Manager”
ip addr
ifconfig
iwconfig # informazioni sulle schede di rete WIFI
rfkill list all
cat /etc/resolv.conf # informazioni sui server DNS configurati
route -n # tabella di routing
arp
ping -c 5 192.168.1.1 # raggiungibilità del proprio gateway (“router ADSL”)
ping -c 5 8.8.8.8 # raggiungibilità di un host su Internet (senza risoluzione via server DNS)
ping -c 5 google.it # raggiungibilità di un host su Internet (con risoluzione via server DNS)
sudo iwlist wlan0 scan | grep -i ssid # scansione delle reti WIFI nelle vicinanze
sudo iw wlan0 scan | grep -i ssid
nmcli device wifi list # Elenco Reti Wifi disponibili e relative caratteristiche

sudo iwlist scan # Elenco Reti Wifi disponibili e relative caratteristiche per esteso
sudo cat /etc/NetworkManager/system-connections/* # Elenco Reti Wifi configurate e relative caratteristiche
nmcli device list iface wlan0 # Elenco Reti Wifi configurate e relative caratteristiche

L’output

[email protected]:~$ sudo lshw -c network # informazioni sulle schede di rete rilevate (PCI e USB)

[sudo] password for mint17c64bit: 
  *-network               
       description: Ethernet interface
       product: 82566MC Gigabit Network Connection
       vendor: Intel Corporation
       physical id: 19
       bus info: [email protected]:00:19.0
       logical name: eth0
       version: 03
       serial: 00:15:58:cb:e3:11
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=2.3.2-k firmware=0.3-0 latency=0 link=no multicast=yes port=twisted pair
       resources: irq:46 memory:fe200000-fe21ffff memory:fe224000-fe224fff ioport:1800(size=32)
  *-network
       description: Wireless interface
       product: PRO/Wireless 4965 AG or AGN [Kedron] Network Connection
       vendor: Intel Corporation
       physical id: 0
       bus info: [email protected]:03:00.0
       logical name: wlan0
       version: 61
       serial: 00:1d:e0:0a:4b:c5
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwl4965 driverversion=3.13.0-37-generic firmware=228.61.2.24 ip=192.168.1.103 latency=0 link=yes multicast=yes wireless=IEEE 802.11abgn
       resources: irq:50 memory:df2fe000-df2fffff

[email protected]:~$ lspci -knn | grep -iA2 net # Verifica la presenza di schede di rete integrate e relativo driver

00:19.0 Ethernet controller [0200]: Intel Corporation 82566MC Gigabit Network Connection [8086:104d] (rev 03)
	Subsystem: Lenovo Device [17aa:20ba]
	Kernel driver in use: e1000e
--
03:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection [8086:4230] (rev 61)
	Subsystem: Intel Corporation Lenovo ThinkPad T61 [8086:1111]
	Kernel driver in use: iwl4965

[email protected]:~$ lsusb

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 04b3:4485 IBM Corp. Serial Converter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 003: ID 147e:2016 Upek Biometric Touchchip/Touchstrip Fingerprint Sensor
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

[email protected]:~$

 

[email protected]:~$ dmesg |grep -i ready # Visualizza il risultato dei tentativi di connettersi a Internet

[   20.877467] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   28.136297] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   28.140372] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   28.381107] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   28.381520] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   32.904178] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

[email protected]:~$ cat /etc/NetworkManager/NetworkManager.conf # informazioni sul / dal Network Manager e sue connessioni configurate

[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq

no-auto-default=00:15:58:CB:E3:11,

[ifupdown]
managed=false

[email protected]:~$ cat /var/lib/NetworkManager/NetworkManager.state

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

[email protected]:~$
ls -l /etc/NetworkManager/system-connections

totale 16
-rw------- 1 root root 358 apr 10  2015 Connessione HUAWEI Y330-U01 automatica
-rw------- 1 root root 366 set 28 18:30 Connessione TP-LINK_2.4GHz_928511 automatica
-rw------- 1 root root 279 set 21 07:51 Connessione via cavo 1
-rw------- 1 root root 257 lug 22  2014 Wind Non-business

[email protected]:~$

 

[email protected]:~$ nmcli

device status # Status delle reti
DEVICE     TIPO              STATO        
wlan0      802-11-wireless   collegato    
eth0       802-3-ethernet    non disponibile

[email protected]:~$ cat /etc/network/interfaces # informazioni sulle schede di rete configurate “ignorate dal Network Manager”

# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

[email protected]:~$ ip addr

1: lo:  mtu 65536 qdisc noqueue state UNKNOWN group default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    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: eth0:  mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether 00:15:58:cb:e3:11 brd ff:ff:ff:ff:ff:ff
3: wlan0:  mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 00:1d:e0:0a:4b:c5 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.103/24 brd 192.168.1.255 scope global wlan0
       valid_lft forever preferred_lft forever
    inet6 fe80::21d:e0ff:fe0a:4bc5/64 scope link 
       valid_lft forever preferred_lft forever

[email protected]:~$ ifconfig

eth0      Link encap:Ethernet  IndirizzoHW 00:15:58:cb:e3:11  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisioni:0 txqueuelen:1000 
          Byte RX:0 (0.0 B)  Byte TX:0 (0.0 B)
          Interrupt:20 Memoria:fe200000-fe220000 

lo        Link encap:Loopback locale  
          indirizzo inet:127.0.0.1  Maschera:255.0.0.0
          indirizzo inet6: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:708 errors:0 dropped:0 overruns:0 frame:0
          TX packets:708 errors:0 dropped:0 overruns:0 carrier:0
          collisioni:0 txqueuelen:0 
          Byte RX:71096 (71.0 KB)  Byte TX:71096 (71.0 KB)

wlan0     Link encap:Ethernet  IndirizzoHW 00:1d:e0:0a:4b:c5  
          indirizzo inet:192.168.1.103  Bcast:192.168.1.255  Maschera:255.255.255.0
          indirizzo inet6: fe80::21d:e0ff:fe0a:4bc5/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7599 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5294 errors:0 dropped:0 overruns:0 carrier:0
          collisioni:0 txqueuelen:1000 
          Byte RX:7091301 (7.0 MB)  Byte TX:667311 (667.3 KB)

[email protected]:~$ iwconfig # informazioni sulle schede di rete WIFI

eth0      no wireless extensions.

lo        no wireless extensions.

wlan0     IEEE 802.11abgn  ESSID:"TP-LINK_2.4GHz_928511"  
          Mode:Managed  Frequency:2.447 GHz  Access Point: 30:B5:C2:92:85:11   
          Bit Rate=1 Mb/s   Tx-Power=15 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=42/70  Signal level=-68 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:810  Invalid misc:192   Missed beacon:0

[email protected]:~$ rfkill list all

1: tpacpi_bluetooth_sw: Bluetooth
	Soft blocked: yes
	Hard blocked: no
2: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no

[email protected]:~$ cat /etc/resolv.conf # informazioni sui server DNS configurati

# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1

[email protected]:~$ route -n # tabella di routing

Tabella di routing IP del kernel
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 wlan0
192.168.1.0     0.0.0.0         255.255.255.0   U     9      0        0 wlan0

[email protected]:~$ arp

Indirizzo TipoHW IndirizzoHW Flag Maschera Interfaccia
192.168.1.1              ether   30:b5:c2:92:85:11   C                     wlan0

[email protected]:~$ ping -c 5 192.168.1.1 # raggiungibilità del proprio gateway (“router ADSL”)

PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=1.52 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=1.90 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=1.48 ms
64 bytes from 192.168.1.1: icmp_seq=4 ttl=64 time=2.34 ms
64 bytes from 192.168.1.1: icmp_seq=5 ttl=64 time=2.14 ms

--- 192.168.1.1 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4005ms
rtt min/avg/max/mdev = 1.481/1.879/2.345/0.341 ms

[email protected]:~$ ping -c 5 8.8.8.8 # raggiungibilità di un host su Internet (senza risoluzione via server DNS)

PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=43 time=50.8 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=43 time=48.6 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=43 time=45.9 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=43 time=45.0 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=43 time=43.9 ms

--- 8.8.8.8 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4005ms
rtt min/avg/max/mdev = 43.966/46.883/50.816/2.507 ms

[email protected]:~$ ping -c 5 google.it # raggiungibilità di un host su Internet (con risoluzione via server DNS)

PING google.it (173.194.116.191) 56(84) bytes of data.
64 bytes from fra07s63-in-f31.1e100.net (173.194.116.191): icmp_seq=1 ttl=53 time=45.3 ms
64 bytes from fra07s63-in-f31.1e100.net (173.194.116.191): icmp_seq=2 ttl=53 time=43.3 ms
64 bytes from fra07s63-in-f31.1e100.net (173.194.116.191): icmp_seq=3 ttl=53 time=40.9 ms
64 bytes from fra07s63-in-f31.1e100.net (173.194.116.191): icmp_seq=4 ttl=53 time=40.2 ms
64 bytes from fra07s63-in-f31.1e100.net (173.194.116.191): icmp_seq=5 ttl=53 time=39.3 ms

--- google.it ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4005ms
rtt min/avg/max/mdev = 39.308/41.836/45.384/2.221 ms

[email protected]:~$ sudo iwlist wlan0 scan | grep -i ssid # scansione delle reti WIFI nelle vicinanze

                    ESSID:"TP-LINK_2.4GHz_928511"
                    ESSID:"FASTWEB2013"
                    ESSID:"WIND WiFi-8f4c"
                    ESSID:"TP-LINK_5GHz_928513"

[email protected]:~$ sudo iw wlan0 scan | grep -i ssid

	SSID: TP-LINK_2.4GHz_928511
	SSID: FASTWEB2013
	SSID: WIND WiFi-8f4c
	SSID: TP-LINK_5GHz_928513

[email protected]:~$ nmcli device wifi list

SSID                              BSSID               MODALITÀ         FREQ       VELOCITÀ   SEGNALE  SICUREZZA  ATTIVO  
'FASTWEB2013'                     00:14:7F:09:89:B6   Infrastruttura   2412 MHz   54 MB/s    54       WPA        no      
'TP-LINK_5GHz_928513'             30:B5:C2:92:85:13   Infrastruttura   5180 MHz   54 MB/s    40       WPA2       no      
'WIND WiFi-8f4c'                  0C:37:DC:27:8F:4C   Infrastruttura   2412 MHz   54 MB/s    32       WPA WPA2   no      
'TP-LINK_2.4GHz_928511'           30:B5:C2:92:85:11   Infrastruttura   2447 MHz   54 MB/s    58       WPA2       sì      

[email protected]:~$ sudo iwlist scan # Elenco Reti Wifi disponibili e relative caratteristiche per esteso

eth0      Interface doesn't support scanning.

lo        Interface doesn't support scanning.

wlan0     Scan completed :
          Cell 01 - Address: 30:B5:C2:92:85:11
                    Channel:8
                    Frequency:2.447 GHz (Channel 8)
                    Quality=34/70  Signal level=-76 dBm  
                    Encryption key:on
                    ESSID:"TP-LINK_2.4GHz_928511"
                    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=000000d0cc7cb4d4
                    Extra: Last beacon: 56ms ago
                    IE: Unknown: 001554502D4C494E4B5F322E3447487A5F393238353131
                    IE: Unknown: 010882848B960C121824
                    IE: Unknown: 030108
                    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: 2D1AAF011BFFFFFF00000000000000000001000000000406E6470D00
                    IE: Unknown: 3D1608080400000000000000000000000000000000000000
                    IE: Unknown: 4A0E14000A002C01C800140005001900
                    IE: Unknown: 7F080100000000000040
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
                    IE: Unknown: DD0900037F01010000FF7F
                    IE: Unknown: DD920050F204104A0001101044000101103B000103104700100000000000001000000030B5C29285101021000754502D4C494E4B1023000941726368657220443710240003312E301042000C3330423543323932383531311054000800060050F204000110110009417263686572204437100800020086103C000100104900140024E26002000101600000020001600100020001
          Cell 02 - Address: 00:14:7F:09:89:B6
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=30/70  Signal level=-80 dBm  
                    Encryption key:on
                    ESSID:"FASTWEB2013"
                    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=00000215abb38101
                    Extra: Last beacon: 56ms ago
                    IE: Unknown: 000B4641535457454232303133
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 030101
                    IE: Unknown: 2A0100
                    IE: Unknown: 2F0100
                    IE: Unknown: 32040C121860
                    IE: Unknown: DD060010180200F0
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP
                        Authentication Suites (1) : PSK
          Cell 03 - Address: 30:B5:C2:92:85:13
                    Channel:36
                    Frequency:5.18 GHz (Channel 36)
                    Quality=30/70  Signal level=-80 dBm  
                    Encryption key:on
                    ESSID:"TP-LINK_5GHz_928513"
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
                              36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=000000d0cc6f4f88
                    Extra: Last beacon: 56ms ago
                    IE: Unknown: 001354502D4C494E4B5F3547487A5F393238353133
                    IE: Unknown: 01088C129824B048606C
                    IE: Unknown: 030124
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 2D1AEF091BFFFFFF0000000000000000000100000000000000000000
                    IE: Unknown: 3D16240D0000000000000000000000000000000000000000
                    IE: Unknown: 7F080000000000000040
                    IE: Unknown: BF0CB2018033EAFF0000EAFF0000
                    IE: Unknown: C005012A00FCFF
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
                    IE: Unknown: DD0900037F01010000FF7F
                    IE: Unknown: DD920050F204104A0001101044000101103B000103104700100000000000001000000030B5C29285101021000754502D4C494E4B1023000941726368657220443710240003312E301042000C3330423543323932383531311054000800060050F204000110110009417263686572204437100800020086103C000100104900140024E26002000101600000020001600100020001
          Cell 04 - Address: 0C:37:DC:27:8F:4C
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=25/70  Signal level=-85 dBm  
                    Encryption key:on
                    ESSID:"WIND WiFi-8f4c"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
                              11 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=0000004ad29d49c9
                    Extra: Last beacon: 56ms ago
                    IE: Unknown: 000E57494E4420576946692D38663463
                    IE: Unknown: 010882848B0C12961824
                    IE: Unknown: 030101
                    IE: Unknown: 0706495420010D14
                    IE: Unknown: 2A0100
                    IE: Unknown: 32043048606C
                    IE: Unknown: 2D1A2C0000FF00000000000000000000008000000000000000000000
                    IE: Unknown: 3D1601000100000000000000000000000000000000000000
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
          Cell 05 - Address: 00:8C:54:6B:F8:4B
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=22/70  Signal level=-88 dBm  
                    Encryption key:on
                    ESSID:"Telecom-74184773"
                    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=000003e7e89aee24
                    Extra: Last beacon: 56ms ago
                    IE: Unknown: 001054656C65636F6D2D3734313834373733
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 03010B
                    IE: Unknown: 2A0104
                    IE: Unknown: 2F0104
                    IE: Unknown: 32040C121860
                    IE: Unknown: 0B050100210000
                    IE: Unknown: 7F03000008
                    IE: Unknown: DD090010180201000C0000
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101040003A4000027A4000042435E0062322F00

[email protected]:~$ sudo cat /etc/NetworkManager/system-connections/* # Elenco Reti Wifi configurate e relative caratteristiche

[connection]
id=Connessione HUAWEI Y330-U01 automatica
uuid=e3d07845-91d1-4c59-a1eb-618e6d208f9d
type=802-11-wireless

[802-11-wireless]
ssid=HUAWEI Y330-U01
mode=infrastructure
mac-address=00:1D:E0:0A:4B:C5
security=802-11-wireless-security

[802-11-wireless-security]
key-mgmt=wpa-psk
auth-alg=open
psk=39f773b31d1d

[ipv4]
method=auto

[ipv6]
method=auto
[connection]
id=Connessione TP-LINK_2.4GHz_928511 automatica
uuid=d1fda4fd-c921-4790-9ccf-3875beebfd3b
type=802-11-wireless

[802-11-wireless]
ssid=TP-LINK_2.4GHz_928511
mode=infrastructure
mac-address=00:1D:E0:0A:4B:C5
security=802-11-wireless-security

[802-11-wireless-security]
key-mgmt=wpa-psk
auth-alg=open
psk=49778410

[ipv4]
method=auto

[ipv6]
method=auto
[802-3-ethernet]
duplex=full
mac-address=00:15:58:CB:E3:11

[connection]
id=Connessione via cavo 1
uuid=a6e275b8-c29a-4efd-b832-623a19fdbbab
type=802-3-ethernet
timestamp=1442814552

[ipv6]
method=auto

[ipv4]
method=auto
dns=8.8.8.8;8.8.4.4;
ignore-auto-dns=true
may-fail=false
[connection]
id=Wind Non-business
uuid=48e5eb3a-c599-4779-b7f7-fc03e14e1b9e
type=gsm
autoconnect=false

[gsm]
number=*99#
username=Wind
password=Wind
apn=internet.wind

[ppp]
lcp-echo-failure=5
lcp-echo-interval=30

[serial]
baud=115200

[ipv4]
method=auto

[email protected]:~$ nmcli device list iface wlan0 # Elenco Reti Wifi configurate e relative caratteristiche

GENERAL.DEVICE:                         wlan0
GENERAL.TIPO:                           802-11-wireless
GENERAL.VENDOR:                         Intel Corporation
GENERAL.PRODOTTO:                       Lenovo ThinkPad T61
GENERAL.DRIVER:                         iwl4965
GENERAL.VERSIONE-DRIVER:                3.13.0-37-generic
GENERAL.VERSIONE-FIRMWARE:              228.61.2.24
GENERAL.HWADDR:                         00:1D:E0:0A:4B:C5
GENERAL.STATO:                          100 (collegato)
GENERAL.MOTIVO:                         0 (Nessun motivo specificato)
GENERAL.UDI:                            /sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/net/wlan0
GENERAL.IP-IFACE:                       wlan0
GENERAL.NM-MANAGED:                     sì
GENERAL.CONN-AUTOMATICA:                sì
GENERAL.FIRMWARE-MANCANTE:              no
GENERAL.CONNESSIONE:                    /org/freedesktop/NetworkManager/ActiveConnection/0
CAPABILITIES.RILEVAMENTO-PORTANTE:      no
CAPABILITIES.VELOCITÀ:                 1 Mb/s
CONNECTIONS.PERC-CONNESSIONI-DISPONIBILI:/org/freedesktop/NetworkManager/Settings/{3}
CONNECTIONS.CONNESSIONI-DISPONIBILI[1]: d1fda4fd-c921-4790-9ccf-3875beebfd3b | Connessione TP-LINK_2.4GHz_928511 automatica
WIFI-PROPERTIES.WEP:                    sì
WIFI-PROPERTIES.WPA:                    sì
WIFI-PROPERTIES.WPA2:                   sì
WIFI-PROPERTIES.TKIP:                   sì
WIFI-PROPERTIES.CCMP:                   sì
WIFI-PROPERTIES.AP:                     no
WIFI-PROPERTIES.ADHOC:                  sì
AP[1].SSID:                             'FASTWEB2013'
AP[1].BSSID:                            00:14:7F:09:89:B6
AP[1].MODALITÀ:                        Infrastruttura
AP[1].FREQ:                             2412 MHz
AP[1].VELOCITÀ:                        54 MB/s
AP[1].SEGNALE:                          54
AP[1].SICUREZZA:                        WPA
AP[1].ATTIVO:                           no
AP[2].SSID:                             'TP-LINK_5GHz_928513'
AP[2].BSSID:                            30:B5:C2:92:85:13
AP[2].MODALITÀ:                        Infrastruttura
AP[2].FREQ:                             5180 MHz
AP[2].VELOCITÀ:                        54 MB/s
AP[2].SEGNALE:                          40
AP[2].SICUREZZA:                        WPA2
AP[2].ATTIVO:                           no
AP[3].SSID:                             'WIND WiFi-8f4c'
AP[3].BSSID:                            0C:37:DC:27:8F:4C
AP[3].MODALITÀ:                        Infrastruttura
AP[3].FREQ:                             2412 MHz
AP[3].VELOCITÀ:                        54 MB/s
AP[3].SEGNALE:                          32
AP[3].SICUREZZA:                        WPA WPA2
AP[3].ATTIVO:                           no
AP[4].SSID:                             'TP-LINK_2.4GHz_928511'
AP[4].BSSID:                            30:B5:C2:92:85:11
AP[4].MODALITÀ:                        Infrastruttura
AP[4].FREQ:                             2447 MHz
AP[4].VELOCITÀ:                        54 MB/s
AP[4].SEGNALE:                          51
AP[4].SICUREZZA:                        WPA2
AP[4].ATTIVO:                           sì
AP[5].SSID:                             'Telecom-74184773'
AP[5].BSSID:                            00:8C:54:6B:F8:4B
AP[5].MODALITÀ:                        Infrastruttura
AP[5].FREQ:                             2462 MHz
AP[5].VELOCITÀ:                        54 MB/s
AP[5].SEGNALE:                          20
AP[5].SICUREZZA:                        WPA
AP[5].ATTIVO:                           no
IP4.INDIRIZZO[1]:                       ip = 192.168.1.103/24, gw = 192.168.1.1
IP4.DNS[1]:                             192.168.1.1
DHCP4.OPZIONE[1]:                       expiry = 1456732107
DHCP4.OPZIONE[2]:                       broadcast_address = 192.168.1.255
DHCP4.OPZIONE[3]:                       dhcp_message_type = 5
DHCP4.OPZIONE[4]:                       routers = 192.168.1.1
DHCP4.OPZIONE[5]:                       dhcp_lease_time = 86400
DHCP4.OPZIONE[6]:                       ip_address = 192.168.1.103
DHCP4.OPZIONE[7]:                       subnet_mask = 255.255.255.0
DHCP4.OPZIONE[8]:                       domain_name_servers = 192.168.1.1 0.0.0.0
DHCP4.OPZIONE[9]:                       network_number = 192.168.1.0
DHCP4.OPZIONE[10]:                      dhcp_server_identifier = 192.168.1.1

[email protected]:~$