# cat /etc/lsb-release
[code]DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.3 LTS"
# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
# lspci -k -nn | grep -A 3 -i net
06:04.0 Network controller [0280]: Intel Corporation PRO/Wireless 2200BG [Calexico2] Network Connection [8086:4220] (rev 05)
Subsystem: Intel Corporation WM3B2200BG Mini-PCI Card [8086:2701]
Kernel driver in use: ipw2200
Kernel modules: ipw2200
06:08.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL-8100/8101L/8139 PCI Fast Ethernet Adapter [10ec:8139] (rev 10)
Subsystem: Toshiba America Info Systems RTL-8100/8101L/8139 PCI Fast Ethernet Adapter [1179:ff31]
Kernel driver in use: 8139too
Kernel modules: 8139cp, 8139too
# sudo lshw -C network
*-network:0
description: Interface réseau sans fil
produit: PRO/Wireless 2200BG [Calexico2] Network Connection
fabriquant: Intel Corporation
identifiant matériel: 4
information bus: pci@0000:06:04.0
nom logique: eth1
version: 05
numéro de série: 00:13:ce:5d:b3:10
bits: 32 bits
horloge: 33MHz
fonctionnalités: pm bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ipw2200 driverversion=1.2.2kmprq firmware=ABG:9.0.5.27 (Dec 12 2007) ip=192.168.1.98 latency=32 link=yes maxlatency=24 mingnt=3 multicast=yes wireless=IEEE 802.11bg
ressources: irq:17 mémoire:b0101000-b0101fff
*-network:1
description: Ethernet interface
produit: RTL-8100/8101L/8139 PCI Fast Ethernet Adapter
fabriquant: Realtek Semiconductor Co., Ltd.
identifiant matériel: 8
information bus: pci@0000:06:08.0
nom logique: eth0
version: 10
numéro de série: 00:c0:9f:e5:65:de
taille: 100Mbit/s
capacité: 100Mbit/s
bits: 32 bits
horloge: 33MHz
fonctionnalités: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=8139too driverversion=0.9.28 duplex=full ip=192.168.1.68 latency=32 link=yes maxlatency=64 mingnt=32 multicast=yes port=MII speed=100Mbit/s
ressources: irq:16 portE/S:2000(taille=256) mémoire:b0102000-b01020ff
# lsmod
Module Size Used by
michael_mic 16384 4
arc4 16384 2
lib80211_crypt_tkip 20480 1
lib80211_crypt_ccmp 16384 1
joydev 20480 0
input_leds 16384 0
snd_hda_codec_hdmi 49152 1
serio_raw 16384 0
ipw2200 143360 0
libipw 36864 1 ipw2200
snd_hda_codec_realtek 73728 1
lib80211 16384 3 lib80211_crypt_ccmp,lib80211_crypt_tkip,libipw
snd_hda_codec_generic 69632 1 snd_hda_codec_realtek
pcmcia 57344 0
cfg80211 499712 2 libipw,ipw2200
snd_hda_intel 36864 3
snd_hda_codec 118784 4 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel
yenta_socket 45056 0
snd_hda_core 61440 5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
pcmcia_rsrc 20480 1 yenta_socket
snd_hwdep 16384 1 snd_hda_codec
pcmcia_core 24576 3 pcmcia,pcmcia_rsrc,yenta_socket
snd_pcm 94208 4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_core
snd_seq_midi 16384 0
lpc_ich 20480 0
snd_seq_midi_event 16384 1 snd_seq_midi
snd_rawmidi 28672 1 snd_seq_midi
snd_seq 57344 2 snd_seq_midi_event,snd_seq_midi
snd_seq_device 16384 3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer 32768 2 snd_pcm,snd_seq
snd 69632 17 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_seq_device
soundcore 16384 1 snd
shpchp 32768 0
mac_hid 16384 0
parport_pc 32768 0
ppdev 20480 0
lp 20480 0
parport 45056 3 lp,ppdev,parport_pc
autofs4 40960 2
i915 1130496 3
i2c_algo_bit 16384 1 i915
drm_kms_helper 139264 1 i915
syscopyarea 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
8139too 32768 0
fb_sys_fops 16384 1 drm_kms_helper
psmouse 118784 0
8139cp 28672 0
drm 311296 5 i915,drm_kms_helper
mii 16384 2 8139cp,8139too
pata_acpi 16384 0
fjes 28672 0
video 40960 1 i915
# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
eth1 IEEE 802.11bg ESSID:"SFR_84B0"
Mode:Managed Frequency:2.437 GHz Access Point: 44:CE:7D:4B:84:B4
Bit Rate:54 Mb/s Tx-Power=20 dBm Sensitivity=8/0
Retry limit:7 RTS thr:off Fragment thr:off
Power Management:on
Link Quality=92/100 Signal level=-35 dBm Noise level=-88 dBm
Rx invalid nwid:0 Rx invalid crypt:4 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
# ifconfig -a (merci à toutafai)
eth0 Link encap:Ethernet HWaddr 00:c0:9f:e5:65:de
inet adr:192.168.1.68 Bcast:192.168.1.255 Masque:255.255.255.0
adr inet6: fe80::efc8:e53e:d162:1909/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Packets reçus:10530 erreurs:1 :1 overruns:1 frame:0
TX packets:8964 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
Octets reçus:8139931 (8.1 MB) Octets transmis:4685170 (4.6 MB)
eth1 Link encap:Ethernet HWaddr 00:13:ce:5d:b3:10
inet adr:192.168.1.98 Bcast:192.168.1.255 Masque:255.255.255.0
adr inet6: fe80::c85a:471d:302e:7e05/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Packets reçus:4366 erreurs:4 :4 overruns:0 frame:0
TX packets:110 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
Octets reçus:1393081 (1.3 MB) Octets transmis:12854 (12.8 KB)
lo Link encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
adr inet6: ::1/128 Scope:Hôte
UP LOOPBACK RUNNING MTU:65536 Metric:1
Packets reçus:759 erreurs:0 :0 overruns:0 frame:0
TX packets:759 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1
Octets reçus:61001 (61.0 KB) Octets transmis:61001 (61.0 KB)
# sudo iwlist scan
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
eth1 Scan completed :
Cell 01 - Address: 4C:09:B4:14:CA:D1
ESSID:"Livebox-CAD1"
Protocol:IEEE 802.11bg
Mode:Master
Frequency:2.412 GHz (Channel 1)
Encryption key:on
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; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Quality=71/100 Signal level=-57 dBm
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
Extra: Last beacon: 192ms ago
Cell 02 - Address: 42:09:B4:14:CA:D1
ESSID:"orange"
Protocol:IEEE 802.11bg
Mode:Master
Frequency:2.412 GHz (Channel 1)
Encryption key:off
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; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Quality=71/100 Signal level=-57 dBm
Extra: Last beacon: 188ms ago
Cell 03 - Address: 44:CE:7D:4B:84:B4
ESSID:"SFR_84B0"
Protocol:IEEE 802.11bg
Mode:Master
Frequency:2.437 GHz (Channel 6)
Encryption key:on
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; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Quality=92/100 Signal level=-35 dBm
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
Extra: Last beacon: 104ms ago
# uname -r -m
4.4.0-98-generic i686
# cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
# nm-tool
La commande « nm-tool » est introuvable, vouliez-vous dire :
La commande « dm-tool » du paquet « lightdm » (main)
nm-tool : commande introuvable
# nmcli dev wifi
* SSID MODE CHAN DÉBIT SIGNAL BARS SÉCURITÉ
* SFR_84B0 Infra 6 54 Mo/s 93 ▂▄▆█ WPA1
orange Infra 1 54 Mo/s 72 ▂▄▆_
Livebox-CAD1 Infra 1 54 Mo/s 69 ▂▄▆_ WPA1 WPA2
# nmcli connection
NOM UUID TYPE PÉRIPHÉRIQUE
Connexion filaire 1 cedaeba3-d699-35ee-a07c-53863c669895 802-3-ethernet eth0
SFR_84B0 7a2041bc-8798-4db6-8424-09fffa2ba754 802-11-wireless eth1
AndroidAP 133e5d08-4eb5-43d2-89bc-8100805ea0ce 802-11-wireless --
Bbox-133D7EEF 39e49204-87f4-4d6a-b9d4-92f83e1f85d8 802-11-wireless --
Livebox-CAD1 2131adff-a8fd-4d00-8db4-d6d18e070e25 802-11-wireless --
# nmcli connection status
Syntaxe : nmcli connection { COMMAND | help }
COMMAND := { show | up | down | add | modify | edit | delete | monitor | reload | load }
show [--active] [--order <order spec>]
show [--active] [id | uuid | path | apath] <ID> ...
up [[id | uuid | path] <ID>] [ifname <ifname>] [ap <BSSID>] [passwd-file <file with passwords>]
down [id | uuid | path | apath] <ID> ...
add COMMON_OPTIONS TYPE_SPECIFIC_OPTIONS SLAVE_OPTIONS IP_OPTIONS [-- ([+|-]<setting>.<property> <value>)+]
modify [--temporary] [id | uuid | path] <ID> ([+|-]<setting>.<property> <value>)+
clone [--temporary] [id | uuid | path ] <ID> <new name>
edit [id | uuid | path] <ID>
edit [type <new_con_type>] [con-name <new_con_name>]
delete [id | uuid | path] <ID>
monitor [id | uuid | path] <ID> ...
reload
load <filename> [ <filename>... ]
import [--temporary] type <type> file <file to import>
export [id | uuid | path] <ID> [<output file>]
Erreur : « status » n'est pas une commande « connection » valide.
# sudo rfkill list
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no[/code]