diff --git a/docs/scripts/getInfo_rapport.md b/docs/scripts/getInfo_rapport.md index bf8cd4c..0f315e5 100644 --- a/docs/scripts/getInfo_rapport.md +++ b/docs/scripts/getInfo_rapport.md @@ -1,80 +1,95 @@ -# getInfo 1.12.0 sur 1101HA / Linux +# getInfo sur 1101HA -Rapport au 03 sept. 2017 09:29 +0200 +Rapport du 11/10/2017 02:18 +0200 - [getInfo 2.1.0](https://frama.link/doc-getInfo) + +# Système et matériel ## système -CPU: **Intel Atom Z520 (1)(2) @ 0.8 - 1.3 GHz [60.0°C]** -GPU: **Intel Corporation System Controller Hub (SCH Poulsbo) Graphics Controller** -type de boot: **Legacy boot** -distribution: **Debian GNU/Linux 9 (stretch) 9.1** +| | | + --- | --- +CPU | **Intel Atom Z520 (1 core-2 threads) @ 0.8 - 1.3 GHz [48.0°C]** +GPU | **Intel Corporation System Controller Hub (SCH Poulsbo) Graphics Controller** +boot | **Legacy (mbr)** +distribution | **Debian GNU/Linux 9 (stretch) 9.1** +``` +architecture: 32bits, i686 +uname: 4.9.0-3-686-pae i686 GNU/Linux +BOOT_IMAGE=/boot/vmlinuz-4.9.0-3-686-pae + root=UUID=c7a795ce-71d8-4d01-b589-281593434b7f + ro +démon d'initialisation: systemd +résolution: 1366x768 @ 60Hz +serveur d'affichage: x11 +desktop (DE): +window manager: Metacity (Marco) +shell actif: bash 4.4.12(1) +shells installés: sh dash bash rbash +espace disque des partitions fixes montées (total, utilisé, dispo): 42Go 24Go 17Go +1 batterie présente: + BAT0: ASUS 1101HA Li-ion 4 200 mAh 11.10 V +dernier boot: 11/10/2017 02:13 +0200, uptime: depuis 5 mn +charge système depuis les 1, 5 et 15 dernières minutes: 0.83 1.62 0.87 +``` + + +## processeur ``` -architecture: 32bits, i686 -uname: 4.9.0-3-686-pae i686 GNU/Linux -BOOT_IMAGE=/boot/vmlinuz-4.9.0-3-686-pae, ro, quiet -résolution: 1366x768 @ 60Hz -serveur d'affichage: x11 -desktop (DE): MATE -window manager: Metacity (Marco) -shell actif: bash 4.4.12(1) -shells installés: sh dash bash rbash -disque(s): 11G / 43G (25%) -batteries(s): 100% [Full] -dernier boot: , uptime: depuis 2 semaines, 2 jours, 2 h, 29 mn +CPU: Intel Atom Z520 (1 core-2 threads) @ 0.8 - 1.3 GHz [48.0°C] +adressage: 32 bits physical, 32 bits virtual +bogomips: 2662.38 +``` + +flags cpu: +``` +fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon pebs bts aperfmperf eagerfpu pni dtes64 monitor ds_cpl vmx est tm2 ssse3 xtpr pdcm movbe lahf_lm tpr_shadow vnmi flexpriority dtherm ``` ## processeur / mémoire ``` -CPU: Intel Atom Z520 (1)(2) @ 0.8 - 1.3 GHz [60.0°C] -adressage: 32 bits physical, 32 bits virtual -bogomips: 2662.52 +mém.: totale utilisée disponible +ram : 994Mo 526Mo 273Mo -mémoire Ram utilisée/totale: 666Mo / 995Mo - -mémoire système: total used free shared buff/cache available -Mem: 995M 592M 92M 74M 310M 192M -Swap: 3,7G 307M 3,4G -Total: 4,7G 899M 3,5G -``` - -flags cpu: -``` -fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon pebs bts aperfmperf eagerfpu pni dtes64 monitor ds_cpl vmx est tm2 ssse3 xtpr pdcm movbe lahf_lm tpr_shadow vnmi flexpriority dtherm +mém.: totale utilisée disponible +swap: 3.7Go 39Mo 3.7Go +swappiness: 60 ``` ## graphisme -**GPU: Intel Corporation System Controller Hub (SCH Poulsbo) Graphics Controller** -**résolution: 1366x768 @ 60Hz** +| | | + --- | --- +GPU | **Intel Corporation System Controller Hub (SCH Poulsbo) Graphics Controller** -**lspci -nnvvv | grep -iEA 13 '^[0-9]+.*vga|display|3d'** (matériel) +**résolution: 1366x768 @ 60Hz** + +`lspci -nnv | grep -iEA 13 'vga|display|3d'` ``` 00:02.0 VGA compatible controller [0300]: Intel Corporation System Controller Hub (SCH Poulsbo) Graphics Controller [8086:8108] (rev 07) (prog-if 00 [VGA controller]) Subsystem: ASUSTeK Computer Inc. System Controller Hub (SCH Poulsbo) Graphics Controller [1043:83ce] - Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- - Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- + Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit- + Kernel driver in use: gma500 + Kernel modules: gma500_gfx ``` -**glxinfo | grep 'OpenGL version string:'** +`glxinfo | grep 'OpenGL version'` ``` -OpenGL version string: 3.0 Mesa 13.0.6 +OpenGL version string: 3.0 Mesa 13.0.6 ``` -**xrandr --query | grep '^ *[0-9]' | head -n 10** (10 premières résolutions possibles) +`xrandr --query | grep '^ *[0-9]' | head -n 10` (10 premières résolutions possibles) ``` 1366x768 60.02*+ 1360x768 59.80 59.96 @@ -85,37 +100,12 @@ OpenGL version string: 3.0 Mesa 13.0.6 960x600 60.00 960x540 59.99 800x600 60.00 60.32 56.25 - 840x525 60.01 59.88 + 840x525 60.01 59.88 ``` -**grep -E '\(WW\)|\(EE\)|\(NI\)|\(\?\?\)' /var/log/Xorg.*.log /home/user/.local/share/xorg/Xorg.*.log** (extrait xorg.log) -``` -/var/log/Xorg.0.log: (WW) warning, (EE) error, (NI) not implemented, (??) unknown. -/var/log/Xorg.0.log:[ 25.063] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist. -/var/log/Xorg.0.log:[ 25.373] (WW) Warning, couldn't open module psb -/var/log/Xorg.0.log:[ 25.373] (EE) Failed to load module "psb" (module does not exist, 0) -/var/log/Xorg.0.log:[ 25.374] (WW) Warning, couldn't open module psbdrv -/var/log/Xorg.0.log:[ 25.374] (EE) Failed to load module "psbdrv" (module does not exist, 0) -/var/log/Xorg.0.log:[ 25.596] (WW) Falling back to old probe method for fbdev -/var/log/Xorg.0.log:[ 25.610] (WW) Falling back to old probe method for vesa -/var/log/Xorg.0.log:[ 27.538] (EE) modeset(0): glamor initialization failed -/var/log/Xorg.0.log:[ 27.890] (EE) AIGLX: reverting to software rendering -/var/log/Xorg.1.log: (WW) warning, (EE) error, (NI) not implemented, (??) unknown. -/var/log/Xorg.1.log:[126490.922] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist. -/var/log/Xorg.1.log:[126491.821] (WW) Warning, couldn't open module psb -/var/log/Xorg.1.log:[126491.822] (EE) Failed to load module "psb" (module does not exist, 0) -/var/log/Xorg.1.log:[126491.823] (WW) Warning, couldn't open module psbdrv -/var/log/Xorg.1.log:[126491.823] (EE) Failed to load module "psbdrv" (module does not exist, 0) -/var/log/Xorg.1.log:[126491.936] (WW) Falling back to old probe method for fbdev -/var/log/Xorg.1.log:[126491.974] (WW) Falling back to old probe method for vesa -/var/log/Xorg.1.log:[126497.482] (EE) modeset(0): glamor initialization failed -/var/log/Xorg.1.log:[126497.921] (EE) AIGLX: reverting to software rendering -``` +### modules video - -### modules video - -liste non garantie complète +liste non garantie complète ``` cpufreq_conservative 16384 0 uvcvideo 77824 0 @@ -130,163 +120,279 @@ drm_kms_helper 114688 1 gma500_gfx drm 253952 4 gma500_gfx,drm_kms_helper i2c_algo_bit 16384 1 gma500_gfx video 36864 2 eeepc_laptop,gma500_gfx -usbcore 184320 6 uvcvideo,usbhid,ehci_hcd,uhci_hcd,btusb,ehci_pci +usbcore 184320 8 uvcvideo,usbhid,usb_storage,ehci_hcd,uhci_hcd,btusb,uas,ehci_pci ``` -## localisation +## batterie(s) -**grep -vE '#|^$' /etc/default/locale** ``` -LANG=fr_FR.UTF-8 -``` - -**cat /etc/timezone** -``` -Europe/Paris -``` - -**setxkbmap -query** -``` -rules: evdev -model: pc105 -layout: fr,fr -variant: oss, -options: terminate:ctrl_alt_bksp -``` - -**grep -vE '#|^$' /etc/default/keyboard** -``` -XKBMODEL="pc105" -XKBLAYOUT="fr" -XKBVARIANT="oss" -XKBOPTIONS="terminate:ctrl_alt_bksp" -BACKSPACE="guess" -``` - - -## sources list - -**grep -rvE '^#|^$' /etc/apt/sources.list /etc/apt/sources.list.d/*.list 2>/dev/null** -``` -/etc/apt/sources.list: deb http://deb.debian.org/debian/ stretch main contrib non-free -/etc/apt/sources.list: deb http://deb.debian.org/debian-security stretch/updates main contrib non-free -/etc/apt/sources.list: deb http://deb.debian.org/debian/ stretch-updates main contrib non-free -``` - -dernière mise à jour **apt**: mercredi 30 août 2017, 17:41:29 (UTC+0200) - -**5 paquet(s) installé(s) inutile(s)**, vous pouvez utiliser: `apt autoremove` -paquet(s) concerné(s): -``` -gir1.2-packagekitglib-1.0 packagekit-tools packagekit libpackagekit-glib2-18 python3-dbus [1.2.4-1+b1] -``` - -**des paquets devraient être mis à jour.** `apt list --upgradable` -``` -git/stable 1:2.11.0-3+deb9u1 i386 [upgradable from: 1:2.11.0-3] -git-man/stable 1:2.11.0-3+deb9u1 all [upgradable from: 1:2.11.0-3] -gitk/stable 1:2.11.0-3+deb9u1 all [upgradable from: 1:2.11.0-3] -libgd3/stable 2.2.4-2+deb9u1 i386 [upgradable from: 2.2.4-2] -libsoup-gnome2.4-1/stable 2.56.0-2+deb9u1 i386 [upgradable from: 2.56.0-2] -libsoup2.4-1/stable 2.56.0-2+deb9u1 i386 [upgradable from: 2.56.0-2] -linux-compiler-gcc-6-x86/stable 4.9.30-2+deb9u3 i386 [upgradable from: 4.9.30-2+deb9u2] -linux-headers-4.9.0-3-686-pae/stable 4.9.30-2+deb9u3 i386 [upgradable from: 4.9.30-2+deb9u2] -linux-headers-4.9.0-3-common/stable 4.9.30-2+deb9u3 all [upgradable from: 4.9.30-2+deb9u2] -linux-image-4.9.0-3-686-pae/stable 4.9.30-2+deb9u3 i386 [upgradable from: 4.9.30-2+deb9u2] -linux-kbuild-4.9/stable 4.9.30-2+deb9u3 i386 [upgradable from: 4.9.30-2+deb9u2] -linux-libc-dev/stable 4.9.30-2+deb9u3 i386 [upgradable from: 4.9.30-2+deb9u2] -``` - -il y a des **paquet(s) dans un état non installé**. ce n'est pas forcément grave, mais ça peut être examiné. -paquet(s) concerné(s): -``` -rc pavucontrol 3.0-3.1 -rc rtkit 0.11-4+b1 +BAT0: ASUS 1101HA Li-ion 4 200 mAh 11.10 V +pleine charge effective: 4 150 mAh, pleine charge théorique: 4 200 mAh => 98.8 % (indicateur santé) +totalement chargée ``` ## disque(s) -disque(s): 11G / 43G (25%) +``` +espace disque des partitions fixes montées (total, utilisé, dispo): 42Go 24Go 17Go +disque(s) fixe(s): sda +disque(s) amovible(s): sdb -**grep -vE '#|^$' /etc/fstab** (fstab) +disque: vendeur modèle n° serie révision +sda: ATA Hitachi HTS54321 090620FB02015CD5N3XA C40C +sdb: Single Flash Reader 058F63356336 1.00 +``` + +**types de disque** + +| ata | usb | mmc | nvme | +| :---: | :---: | :---: | :---: | +| sda | sdb | - | - | + +`df -h --output=source,target,fstype,size,used,avail,pcent --exclude=tmpfs --exclude=devtmpfs` (utilisation disques) +``` +Sys. de fichiers Monté sur Type Taille Utilisé Dispo Uti% +/dev/sda1 / ext4 14G 5,4G 7,6G 42% +/dev/sda5 /home ext4 28G 19G 9,3G 67% +/dev/sdb1 /media/kyodev/F27F-7515 vfat 30G 32K 30G 1% +``` + +`df -i --exclude=tmpfs --exclude=devtmpfs` (utilisation inoeuds) +``` +Sys. de fichiers Inœuds IUtil. ILibre IUti% Monté sur +/dev/sda1 915712 216314 699398 24% / +/dev/sda5 1831424 62014 1769410 4% /home +/dev/sdb1 0 0 0 - /media/kyodev/F27F-7515 +``` + +`lsblk -o NAME,FSTYPE,SIZE,LABEL,MOUNTPOINT,UUID` (disques) +``` +NAME FSTYPE SIZE LABEL MOUNTPOINT UUID +sda 149,1G +├─sda1 ext4 14G sys / c7a795ce-71d8-4d01-b589-281593434b7f +├─sda2 1K +├─sda3 ext4 103,4G sauvegarde b0b0d311-2c4c-4db5-a1ae-b3bd7720cdaf +├─sda5 ext4 28G home /home 426c6d02-3471-4158-b6f3-f1348c8c2d54 +└─sda6 swap 3,7G [SWAP] 3264f09c-87ed-4731-8132-3e929d120c65 +sdb 29,8G +└─sdb1 vfat 29,8G /media/kyodev/F27F-7515 F27F-7515 +``` + +`grep -vE '^[[:blank:]]*#|^$' /etc/fstab` (fstab) ``` UUID=c7a795ce-71d8-4d01-b589-281593434b7f / ext4 errors=remount-ro 0 1 UUID=426c6d02-3471-4158-b6f3-f1348c8c2d54 /home ext4 defaults 0 2 -/dev/sda6 none swap sw 0 0 +/dev/sda6 none swap sw 0 0 ``` -**lsblk -fi -o +SIZE -o +OWNER** (disques) +`grep -Ev '^[[:blank:]]*#|^$' /etc/initramfs-tools/conf.d/resume` (resume) ``` -NAME FSTYPE LABEL UUID MOUNTPOINT OWNER -sda root -|-sda1 ext4 sys c7a795ce-71d8-4d01-b589-281593434b7f / root -|-sda2 root -|-sda3 ext4 sauvegarde b0b0d311-2c4c-4db5-a1ae-b3bd7720cdaf root -|-sda5 ext4 home 426c6d02-3471-4158-b6f3-f1348c8c2d54 /home root -`-sda6 swap 3264f09c-87ed-4731-8132-3e929d120c65 [SWAP] root +RESUME=auto ``` -**df -h ...** (utilisation disques) + +## périphériques USB + +`lsusb` ``` -Sys. de fichiers Monté sur Type Taille Utilisé Dispo Uti% -/dev/sda1 / ext4 14G 5,0G 8,0G 39% -/dev/sda5 /home ext4 28G 5,3G 23G 20% +Bus 001 Device 005: ID 058f:6335 Alcor Micro Corp. SD/MMC Card Reader +Bus 001 Device 004: ID 13d3:5071 IMC Networks +Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub +Bus 004 Device 002: ID 0b05:b700 ASUSTek Computer, Inc. Broadcom Bluetooth 2.1 +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 002: ID 046d:c52f Logitech, Inc. Unifying Receiver +Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub ``` -**grep -Ev '#|^$' /etc/initramfs-tools/conf.d/resume** (resume) +`lsusb -t` ``` -RESUME=auto +/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M + |__ Port 2: Dev 2, If 0, Class=Wireless, Driver=btusb, 12M + |__ Port 2: Dev 2, If 1, Class=Wireless, Driver=btusb, 12M + |__ Port 2: Dev 2, If 2, Class=Vendor Specific Class, Driver=, 12M + |__ Port 2: Dev 2, If 3, Class=Application Specific Interface, Driver=, 12M +/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M +/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M + |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M + |__ Port 1: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 12M +/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/8p, 480M + |__ Port 7: Dev 4, If 0, Class=Video, Driver=uvcvideo, 480M + |__ Port 7: Dev 4, If 1, Class=Video, Driver=uvcvideo, 480M + |__ Port 8: Dev 5, If 0, Class=Mass Storage, Driver=usb-storage, 480M ``` -**types de disque** -* ata: sda -* usb: - -* mmc: - -* nvme: - +# Configuration et packages + +## localisation + +`grep -vE '#|^$' /etc/default/locale` +``` +LANG=fr_FR.UTF-8 +``` + +`cat /etc/timezone` +``` +Europe/Paris +``` + +`timedatectl status --no-pager` +``` + Local time: mer. 2017-10-11 02:18:13 CEST + Universal time: mer. 2017-10-11 00:18:13 UTC + RTC time: mer. 2017-10-11 00:18:13 + Time zone: Europe/Paris (CEST, +0200) + Network time on: yes +NTP synchronized: yes + RTC in local TZ: no +``` + +`setxkbmap -query` +``` +rules: evdev +model: pc105 +layout: fr,fr +variant: oss, +options: terminate:ctrl_alt_bksp +``` + +`grep -vE '#|^$' /etc/default/keyboard` +``` +XKBMODEL="pc105" +XKBLAYOUT="fr" +XKBVARIANT="oss" +XKBOPTIONS="terminate:ctrl_alt_bksp" +BACKSPACE="guess" +``` + + +## sources list + +`grep -rvE '^#|^$' /etc/apt/sources.list /etc/apt/sources.list.d/*.list 2>/dev/null` +``` +/etc/apt/sources.list: deb http://deb.debian.org/debian/ stretch main contrib non-free +/etc/apt/sources.list: deb http://deb.debian.org/debian-security stretch/updates main contrib non-free +/etc/apt/sources.list: deb http://deb.debian.org/debian/ stretch-updates main contrib non-free +``` + +nombre de paquets installés: **1680** + +dernière mise à jour apt: **30/09/2017 15:34 +0200** + +**6 paquet(s) installé(s) inutile(s)**, vous pouvez utiliser: `apt autoremove` +paquet(s) concerné(s): +``` +gir1.2-packagekitglib-1.0 packagekit-tools packagekit libpackagekit-glib2-18 +``` + +**61 paquets devraient être mis à jour:** +`apt list --upgradable` +``` +bind9-host/stable-updates 1:9.10.3.dfsg.P4-12.3+deb9u3 i386 [upgradable from: 1:9.10.3.dfsg.P4-12.3+deb9u2] +bluetooth/stable 5.43-2+deb9u1 all [upgradable from: 5.43-2] +... +samba-common-bin/stable 2:4.5.8+dfsg-2+deb9u2 i386 [upgradable from: 2:4.5.8+dfsg-2+deb9u1+b1] +samba-libs/stable 2:4.5.8+dfsg-2+deb9u2 i386 [upgradable from: 2:4.5.8+dfsg-2+deb9u1+b1] +``` + +il y a des **paquet(s) dans un état non installé**. ce n'est pas forcément grave, mais ça peut être examiné. +paquet(s) concerné(s): +``` +rc cron-apt 0.10.0 +rc pavucontrol 3.0-3.1 +rc rtkit 0.11-4+b1 +``` + + +# Réseau ## réseau -**IP locale(s):** -``` - 192.168.1.129/24 ( wlp1s0 ) (wifi) - fe80::96a8:dcbc:b798:370/64 ( wlp1s0 ) (wifi) -``` - -**Passerelle(s):** -``` - 192.168.1.5 ( wlp1s0 ) (wifi) -``` - -l'IP publique peut être connue avec: `./getInfo --ip` ou `getInfo --ip` (script installé) - -**lspci -nnk | grep -iEA 3 'network|ethernet'** +`lspci -nnv | grep -iEA 15 'network|ethernet` ``` 01:00.0 Network controller [0280]: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) [168c:002b] (rev 01) Subsystem: AzureWave AW-NE785 / AW-NE785H 802.11bgn Wireless Full or Half-size Mini PCIe Card [1a3b:1089] + Physical Slot: eeepc-wifi + Flags: bus master, fast devsel, latency 0, IRQ 17 + Memory at fbef0000 (64-bit, non-prefetchable) [size=64K] + Capabilities: [40] Power Management version 3 + Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit- + Capabilities: [60] Express Legacy Endpoint, MSI 00 + Capabilities: [100] Advanced Error Reporting + Capabilities: [140] Virtual Channel + Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-00 + Capabilities: [170] Power Budgeting Kernel driver in use: ath9k Kernel modules: ath9k 03:00.0 Ethernet controller [0200]: Qualcomm Atheros AR8132 Fast Ethernet [1969:1062] (rev c0) Subsystem: ASUSTeK Computer Inc. AR8132 Fast Ethernet [1043:14e5] + Flags: bus master, fast devsel, latency 0, IRQ 24 + Memory at fbfc0000 (64-bit, non-prefetchable) [size=256K] + I/O ports at e880 [size=128] + Capabilities: [40] Power Management version 3 + Capabilities: [48] MSI: Enable+ Count=1/1 Maskable- 64bit+ + Capabilities: [58] Express Endpoint, MSI 00 + Capabilities: [6c] Vital Product Data + Capabilities: [100] Advanced Error Reporting + Capabilities: [180] Device Serial Number ff-69-ec-c2-00-26-18-ff Kernel driver in use: atl1c - Kernel modules: atl1c + Kernel modules: atl1c ``` -**ip address** (ipv6 lien local, pas d'adresses MAC) +**IP locale(s):** +``` + 192.168.1.129/24 ( wlp1s0 ) (wifi) +``` + +* les adresses Mac peut être affichées avec `./getInfo --mac` ou `getInfo --mac` (script installé) +* l'IP publique peut être connue avec: `./getInfo --ip` ou `getInfo --ip` (script installé) + +**Passerelle(s):** +``` + 192.168.1.5 ( wlp1s0 ) +``` + +**interface prioritaire** +``` +192.168.1.129 +``` + +`ip address` (sans ipV6 et sans adresses MAC) ``` 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo - inet6 ::1/128 scope host 2: enp3s0: mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000 3: wlp1s0: mtu 1500 qdisc mq state UP group default qlen 1000 - inet 192.168.1.129/24 brd 192.168.1.255 scope global dynamic wlp1s0 - inet6 fe80::96a8:dcbc:b798:370/64 scope link + inet 192.168.1.129/24 brd 192.168.1.255 scope global dynamic wlp1s0 ``` -**iwconfig** +`ip route show` +``` +default via 192.168.1.5 dev wlp1s0 proto static metric 600 +169.254.0.0/16 dev wlp1s0 scope link metric 1000 +192.168.1.0/24 dev wlp1s0 proto kernel scope link src 192.168.1.129 metric 600 +``` + +`grep -Evr '#|^$' /etc/network/interfaces*` +``` +/etc/network/interfaces: source /etc/network/interfaces.d/* +/etc/network/interfaces: auto lo +/etc/network/interfaces: iface lo inet loopback +``` + +`cat /etc/resolv.conf` (serveurs de noms DNS utilisés) +``` +nameserver 37.187.16.17 +nameserver 52.174.55.168 +nameserver 80.67.169.12 +nameserver 80.67.169.40 +``` + +`iwconfig` ``` wlp1s0 IEEE 802.11 ESSID:"freemfi" Mode:Managed Frequency:2.452 GHz Access Point: 14:0C:76:54:74:91 @@ -294,34 +400,12 @@ wlp1s0 IEEE 802.11 ESSID:"freemfi" Retry short limit:7 RTS thr:off Fragment thr:off Encryption key:off Power Management:off - Link Quality=70/70 Signal level=-32 dBm + Link Quality=70/70 Signal level=-31 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 - Tx excessive retries:0 Invalid misc:79 Missed beacon:0 + Tx excessive retries:0 Invalid misc:53 Missed beacon:0 ``` -**/etc/network/interfaces** -``` -source /etc/network/interfaces.d/* -auto lo -iface lo inet loopback -``` - -**ip route show** -``` -default via 192.168.1.5 dev wlp1s0 proto static metric 600 -169.254.0.0/16 dev wlp1s0 scope link metric 1000 -192.168.1.0/24 dev wlp1s0 proto kernel scope link src 192.168.1.129 metric 600 -``` - -**/etc/resolv.conf** -``` -nameserver 37.187.16.17 -nameserver 52.174.55.168 -nameserver 80.67.169.12 -nameserver 80.67.169.40 -``` - -**iwlist chan** +`iwlist chan` ``` wlp1s0 14 channels in total; available frequencies : Channel 01 : 2.412 GHz @@ -338,17 +422,19 @@ wlp1s0 14 channels in total; available frequencies : Channel 12 : 2.467 GHz Channel 13 : 2.472 GHz Channel 14 : 2.484 GHz - Current Frequency:2.452 GHz (Channel 9) + Current Frequency:2.452 GHz (Channel 9) ``` -### network managers +* la configuration ssid utilisé peut être connue (si NetworkManager utilisé) avec `./getInfo --ssid` ou `getInfo --ssid` (script installé) + +### network managers installé(s): **NetworkManager** en fonctionnement: **/usr/sbin/NetworkManager --no-daemon** -### modules réseau +### modules réseau -liste non garantie complète +liste non garantie complète ``` ath9k 90112 0 ath9k_common 32768 1 ath9k @@ -357,135 +443,155 @@ ath 24576 3 ath9k_hw,ath9k,ath9k_common mac80211 548864 1 ath9k cfg80211 450560 4 mac80211,ath9k,ath,ath9k_common rfkill 20480 6 eeepc_laptop,bluetooth,cfg80211 -wmi 16384 0 +wmi 16384 0 ``` ## Network Manager -**grep -vE '#|^$' /var/lib/NetworkManager/NetworkManager.state** +`grep -vE '#|^$' /var/lib/NetworkManager/NetworkManager.state` ``` [main] NetworkingEnabled=true WirelessEnabled=true -WWANEnabled=true +WWANEnabled=true ``` -**grep -vE '#|^$' /etc/NetworkManager/NetworkManager.conf** +`grep -vE '#|^$' /etc/NetworkManager/NetworkManager.conf` ``` [main] plugins=ifupdown,keyfile [ifupdown] -managed=false +managed=false ``` ## wifis à proximité -**nmcli -f SSID,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY device wifi list** +`nmcli -f SSID,BSSID,MODE,CHAN,FREQ,RATE,SIGNAL,BARS,SECURITY device wifi list` ``` -SSID BSSID MODE CHAN FRÉQ DÉBIT SIGNAL BARS SÉCURITÉ -FreeWifi 14:0C:76:54:74:92 Infra 9 2452 MHz 54 Mo/s 100 ▂▄▆█ -- -FreeWifi_secure 14:0C:76:54:74:93 Infra 9 2452 MHz 54 Mo/s 100 ▂▄▆█ WPA2 802.1X -freemfi 14:0C:76:54:74:91 Infra 9 2452 MHz 54 Mo/s 87 ▂▄▆█ WPA2 -freebox_nono 14:0C:76:AF:F2:0A Infra 11 2462 MHz 54 Mo/s 45 ▂▄__ WEP -FreeWifi_secure 14:0C:76:AF:F2:0C Infra 11 2462 MHz 54 Mo/s 44 ▂▄__ WPA2 802.1X -Bbox-10913089 E8:BE:81:B1:FE:B0 Infra 1 2412 MHz 54 Mo/s 32 ▂▄__ WPA1 WPA2 -KLAC2Free F4:CA:E5:D2:6E:74 Infra 11 2462 MHz 54 Mo/s 32 ▂▄__ WPA2 -FreeWifi 14:0C:76:AF:F2:0B Infra 11 2462 MHz 54 Mo/s 30 ▂___ -- -FreeWifi_secure 14:0C:76:F5:95:CA Infra 3 2422 MHz 54 Mo/s 24 ▂___ WPA2 802.1X -FreeWifi_secure F4:CA:E5:D2:6E:76 Infra 11 2462 MHz 54 Mo/s 24 ▂___ WPA2 802.1X -FreeWifi 7A:13:8E:BD:A0:B6 Infra 7 2442 MHz 54 Mo/s 22 ▂___ -- -FreeWifi 00:24:D4:DF:07:E1 Infra 5 2432 MHz 54 Mo/s 20 ▂___ -- -Freebox-78167B 00:24:D4:DF:07:E0 Infra 5 2432 MHz 54 Mo/s 20 ▂___ WPA2 -Livebox-334E B4:A5:EF:D3:33:4C Infra 11 2462 MHz 54 Mo/s 20 ▂___ WPA2 -FreeWifi F4:CA:E5:D2:6E:75 Infra 11 2462 MHz 54 Mo/s 20 ▂___ -- -Livebox-05D8 48:83:C7:D9:05:D8 Infra 1 2412 MHz 54 Mo/s 19 ▂___ WPA1 WPA2 -FreeWifi_secure 00:24:D4:DF:07:E2 Infra 5 2432 MHz 54 Mo/s 17 ▂___ WPA2 802.1X -Livebox-FF8E 48:83:C7:65:FF:8E Infra 1 2412 MHz 54 Mo/s 12 ▂___ WPA1 WPA2 -DIRECT-B8-HP ENVY 5540 series C8:D3:FF:1B:45:B9 Infra 6 2437 MHz 54 Mo/s 10 ▂___ WPA2 -FreeWifi_secure E4:9E:12:0D:95:EC Infra 11 2462 MHz 54 Mo/s 5 ____ WPA2 802.1X +SSID BSSID MODE CHAN FRÉQ DÉBIT SIGNAL BARS SÉCURITÉ +FreeWifi 14:0C:76:54:74:92 Infra 9 2452 MHz 54 Mo/s 100 ▂▄▆█ -- +FreeWifi_secure 14:0C:76:54:74:93 Infra 9 2452 MHz 54 Mo/s 100 ▂▄▆█ WPA2 802.1X +freemfi 14:0C:76:54:74:91 Infra 9 2452 MHz 54 Mo/s 80 ▂▄▆_ WPA2 +KLAC2Free F4:CA:E5:D2:6E:74 Infra 11 2462 MHz 54 Mo/s 49 ▂▄__ WPA2 +FreeWifi F4:CA:E5:D2:6E:75 Infra 11 2462 MHz 54 Mo/s 39 ▂▄__ -- +FreeWifi_secure F4:CA:E5:D2:6E:76 Infra 11 2462 MHz 54 Mo/s 39 ▂▄__ WPA2 802.1X +freeboxcs F4:CA:E5:D9:4E:30 Infra 11 2462 MHz 54 Mo/s 35 ▂▄__ WPA1 +Freebox-78167B 00:24:D4:DF:07:E0 Infra 1 2412 MHz 54 Mo/s 34 ▂▄__ WPA2 +Bbox-10913089 E8:BE:81:B1:FE:B0 Infra 1 2412 MHz 54 Mo/s 32 ▂▄__ WPA1 WPA2 +FreeWifi_secure 14:0C:76:AF:F2:0C Infra 11 2462 MHz 54 Mo/s 32 ▂▄__ WPA2 802.1X +freebox_nono 14:0C:76:AF:F2:0A Infra 11 2462 MHz 54 Mo/s 30 ▂___ WEP +FreeWifi F4:CA:E5:D9:4E:31 Infra 11 2462 MHz 54 Mo/s 27 ▂___ -- +SFR-5798 40:65:A3:17:57:9E Infra 1 2412 MHz 54 Mo/s 25 ▂___ WPA1 WPA2 +FreeWifi 00:24:D4:DF:07:E1 Infra 1 2412 MHz 54 Mo/s 25 ▂___ -- +FreeWifi_secure 00:24:D4:DF:07:E2 Infra 1 2412 MHz 54 Mo/s 25 ▂___ WPA2 802.1X +sirimane F4:CA:E5:B0:DE:C0 Infra 11 2462 MHz 54 Mo/s 24 ▂___ WEP +FreeWifi_secure F4:CA:E5:D9:4E:32 Infra 11 2462 MHz 54 Mo/s 22 ▂___ WPA2 802.1X +FreeWifi 14:0C:76:AF:F2:0B Infra 11 2462 MHz 54 Mo/s 20 ▂___ -- +FreeWifi_secure 68:A3:78:05:B6:AB Infra 8 2447 MHz 54 Mo/s 19 ▂___ WPA2 802.1X +Livebox-CD70 48:83:C7:25:0E:80 Infra 11 2462 MHz 54 Mo/s 17 ▂___ WPA2 +orange 48:83:C7:25:0E:81 Infra 11 2462 MHz 54 Mo/s 17 ▂___ -- +-- 7A:13:8E:BD:A0:B5 Infra 7 2442 MHz 54 Mo/s 14 ▂___ WPA2 +FreeWifi 7A:13:8E:BD:A0:B6 Infra 7 2442 MHz 54 Mo/s 12 ▂___ -- +freeboxmimi 68:A3:78:05:B6:A9 Infra 8 2447 MHz 54 Mo/s 10 ▂___ WEP ``` -## périphériques USB +# Analyse -**lsusb** -``` -Bus 004 Device 004: ID 13d3:5071 IMC Networks -Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub -Bus 003 Device 018: ID 0b05:b700 ASUSTek Computer, Inc. Broadcom Bluetooth 2.1 -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 -Bus 001 Device 002: ID 046d:c52f Logitech, Inc. Unifying Receiver -Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub -``` +## Paquets non-libres -**lsusb -t** -``` -/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/8p, 480M - |__ Port 7: Dev 4, If 0, Class=Video, Driver=uvcvideo, 480M - |__ Port 7: Dev 4, If 1, Class=Video, Driver=uvcvideo, 480M -/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M - |__ Port 2: Dev 18, If 0, Class=Wireless, Driver=btusb, 12M - |__ Port 2: Dev 18, If 1, Class=Wireless, Driver=btusb, 12M - |__ Port 2: Dev 18, If 2, Class=Vendor Specific Class, Driver=, 12M - |__ Port 2: Dev 18, If 3, Class=Application Specific Interface, Driver=, 12M -/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M -/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M - |__ Port 2: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M - |__ Port 2: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 12M +`vrms` ``` + Non-free packages installed on 1101HA +firmware-realtek Binary firmware for Realtek wired/wifi/BT adapters + + Contrib packages installed on 1101HA + +alsa-firmware-loaders ALSA software loaders for specific hardware + + 1 non-free packages, 0.1% of 1683 installed packages. + 1 contrib packages, 0.1% of 1683 installed packages. +``` ## analyse boot -**durée de boot:** 5.735s (kernel) + 30.430s (espace utilisateur) = **36.166s** +**durée de boot:** 4.896s (kernel) + 29.526s (espace utilisateur) = **34.422s** -**systemd-analyze blame | head -n 20** +`systemd-analyze blame | head -n 20` ``` - 12.814s apt-daily.service - 6.352s NetworkManager-wait-online.service - 6.166s dev-sda1.device - 5.502s loadcpufreq.service - 5.316s ModemManager.service - 4.388s exim4.service - 4.276s accounts-daemon.service - 3.983s networking.service - 3.603s apt-daily-upgrade.service - 3.571s upower.service - 3.195s systemd-fsck@dev-disk-by-uuid-426c6d02-3471-4158-b6f3-f1348c8c2d54.service - 2.942s NetworkManager.service - 2.809s pppd-dns.service - 2.501s systemd-logind.service - 2.448s alsa-restore.service - 2.434s lm-sensors.service - 2.432s rsyslog.service - 2.340s bluetooth.service - 1.604s polkit.service - 1.110s keyboard-setup.service + 7.040s NetworkManager-wait-online.service + 6.556s dev-sda1.device + 6.359s apt-daily.service + 4.892s ModemManager.service + 4.630s exim4.service + 4.154s loadcpufreq.service + 4.105s NetworkManager.service + 3.224s systemd-rfkill.service + 3.133s upower.service + 2.972s networking.service + 2.114s accounts-daemon.service + 2.022s bluetooth.service + 1.783s rsyslog.service + 1.654s systemd-fsck@dev-disk-by-uuid-426c6d02-3471-4158-b6f3-f1348c8c2d54.service + 1.346s avahi-daemon.service + 1.289s keyboard-setup.service + 1.083s systemd-tmpfiles-setup-dev.service + 1.067s polkit.service + 1.014s systemd-modules-load.service + 904ms lm-sensors.service +``` + + +## journaux Xorg + +`grep -E '\(WW\)|\(EE\)|\(NI\)|\(\?\?\)' /var/log/Xorg.?.log /home/user/.local/share/xorg/Xorg.?.log` (xorg.log) +``` +/var/log/Xorg.0.log: (WW) warning, (EE) error, (NI) not implemented, (??) unknown. +/var/log/Xorg.0.log:[ 22.686] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist. +/var/log/Xorg.0.log:[ 23.255] (WW) Warning, couldn't open module psb +/var/log/Xorg.0.log:[ 23.255] (EE) Failed to load module "psb" (module does not exist, 0) +/var/log/Xorg.0.log:[ 23.256] (WW) Warning, couldn't open module psbdrv +/var/log/Xorg.0.log:[ 23.257] (EE) Failed to load module "psbdrv" (module does not exist, 0) +/var/log/Xorg.0.log:[ 23.358] (WW) Falling back to old probe method for fbdev +/var/log/Xorg.0.log:[ 23.367] (WW) Falling back to old probe method for vesa +/var/log/Xorg.0.log:[ 25.187] (EE) modeset(0): glamor initialization failed +/var/log/Xorg.0.log:[ 25.607] (EE) AIGLX: reverting to software rendering +/var/log/Xorg.1.log: (WW) warning, (EE) error, (NI) not implemented, (??) unknown. +/var/log/Xorg.1.log:[126490.922] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist. +/var/log/Xorg.1.log:[126491.821] (WW) Warning, couldn't open module psb +/var/log/Xorg.1.log:[126491.822] (EE) Failed to load module "psb" (module does not exist, 0) +/var/log/Xorg.1.log:[126491.823] (WW) Warning, couldn't open module psbdrv +/var/log/Xorg.1.log:[126491.823] (EE) Failed to load module "psbdrv" (module does not exist, 0) +/var/log/Xorg.1.log:[126491.936] (WW) Falling back to old probe method for fbdev +/var/log/Xorg.1.log:[126491.974] (WW) Falling back to old probe method for vesa +/var/log/Xorg.1.log:[126497.482] (EE) modeset(0): glamor initialization failed +/var/log/Xorg.1.log:[126497.921] (EE) AIGLX: reverting to software rendering ``` ## dmesg (erreur, warning ou critique) -**dmesg -l err** (erreur) +`dmesg -l warn` (warning) ``` -[ 12.549690] gma500 0000:00:02.0: trying to get vblank count for disabled pipe 0 -[ 12.549774] gma500 0000:00:02.0: trying to get vblank count for disabled pipe 0 -[ 17.764167] snd_hda_intel 0000:00:1b.0: azx_get_response timeout, switching to single_cmd mode: last cmd=0x015ba000 +[oct.11 02:12] pci 0000:03:00.0: [Firmware Bug]: disabling VPD access (can't determine size of non-standard VPD format) +[ +9,592659] pmd_set_huge: Cannot satisfy [mem 0x3f800000-0x3fa00000] with a huge-page mapping due to MTRR override. +[ +1,489372] uvcvideo 1-7:1.0: Entity type for entity Extension 2 was not initialized! +[ +0,000016] uvcvideo 1-7:1.0: Entity type for entity Processing 3 was not initialized! +[ +0,000010] uvcvideo 1-7:1.0: Entity type for entity Camera 1 was not initialized! ``` -**dmesg -l warn** (warning) +`dmesg -l err` (erreur) ``` -[ 0.390069] pci 0000:03:00.0: [Firmware Bug]: disabling VPD access (can't determine size of non-standard VPD format) -[ 7.717960] systemd[1]: rtkit-daemon.service: Cannot add dependency job, ignoring: Unit rtkit-daemon.service is masked. -[ 10.856343] pmd_set_huge: Cannot satisfy [mem 0x3f800000-0x3fa00000] with a huge-page mapping due to MTRR override. -[ 12.079187] uvcvideo 4-7:1.0: Entity type for entity Extension 2 was not initialized! -[ 12.079207] uvcvideo 4-7:1.0: Entity type for entity Processing 3 was not initialized! -[ 12.079220] uvcvideo 4-7:1.0: Entity type for entity Camera 1 was not initialized! -[ 13.052373] to colour frame buffer device 170x48 -[ 16.756173] snd_hda_intel 0000:00:1b.0: azx_get_response timeout, switching to polling mode: last cmd=0x015ba000 +[oct.11 02:12] gma500 0000:00:02.0: trying to get vblank count for disabled pipe 0 +[ +0,000094] gma500 0000:00:02.0: trying to get vblank count for disabled pipe 0 +[ +1,008976] sd 2:0:0:0: [sdb] No Caching mode page found +[ +0,000231] sd 2:0:0:0: [sdb] Assuming drive cache: write through ``` -[rapport getInfo v1.12.0](https://kyodev.frama.io/kyopages/scripts/getInfo/) +--- + +[getInfo 2.1.0](https://frama.link/doc-getInfo) - 11/10/2017 02:18 +0200 +