This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
informatica:hp_z230_400sb_centos7_3 [2021/08/23 11:55] miquel [Configuració de la xarxa de l'espectròmetre] |
informatica:hp_z230_400sb_centos7_3 [2021/08/24 15:42] (current) miquel [Comprovació de les rutes] |
||
|---|---|---|---|
| Line 65: | Line 65: | ||
| ===== Connexió i configuració dels dos monitors ===== | ===== Connexió i configuració dels dos monitors ===== | ||
| - | <WRAP todo> | + | Connecto |
| - | Aprofitar les instruccions | + | |
| - | </ | + | * HP LE2202x |
| + | * Pantalla principal | ||
| + | * Característiques tècniques: 21,5 polsades (16:9), resolució: 1920 x 1080 @ 60.0 Hz, entrades: DVI-D & VGA. | ||
| + | * HP LA1951g | ||
| + | * Pantalla secundària | ||
| + | * Característiques tècniques: 19 polsades (5:4), resolució: 1280 x 1024 @ 75 Hz, entrades: DVID-D & VGA. | ||
| ===== Configuració de KDE ===== | ===== Configuració de KDE ===== | ||
| Line 79: | Line 84: | ||
| </ | </ | ||
| - | ===== Configurar | + | ===== Configurar |
| - | + | ||
| - | <WRAP todo> | + | |
| - | Aprofitar les instruccions a [[informatica: | + | |
| - | </ | + | |
| ==== Configuració de la xarxa UAB ==== | ==== Configuració de la xarxa UAB ==== | ||
| Line 179: | Line 180: | ||
| # cat ifcfg-UAB-LAN | # cat ifcfg-UAB-LAN | ||
| - | HWADDR=50: | ||
| TYPE=Ethernet | TYPE=Ethernet | ||
| + | NAME=UAB-LAN | ||
| + | UUID=5f23e0c4-ba38-4644-98e3-c8a8fc3f3c62 | ||
| + | HWADDR=50: | ||
| PROXY_METHOD=none | PROXY_METHOD=none | ||
| BROWSER_ONLY=no | BROWSER_ONLY=no | ||
| - | ETHTOOL_OPTS=" | ||
| BOOTPROTO=none | BOOTPROTO=none | ||
| DEFROUTE=yes | DEFROUTE=yes | ||
| IPV4_FAILURE_FATAL=yes | IPV4_FAILURE_FATAL=yes | ||
| - | IPV6INIT=no | ||
| - | NAME=UAB-LAN | ||
| - | UUID=5f23e0c4-ba38-4644-98e3-c8a8fc3f3c62 | ||
| ONBOOT=yes | ONBOOT=yes | ||
| - | USERS=sermnadmin | ||
| IPADDR=158.109.54.214 | IPADDR=158.109.54.214 | ||
| PREFIX=20 | PREFIX=20 | ||
| - | GATEWAY=158.109.48.0 | + | GATEWAY=158.109.48.1 |
| - | DNS1=158.109.254.130 | + | DNS1=158.109.0.36 |
| - | DNS2=158.109.0.36 | + | DNS2=158.109.254.130 |
| - | DOMAIN=uab.es | + | DOMAIN=" |
| + | IPV6INIT=no | ||
| + | IPV6_AUTOCONF=yes | ||
| + | IPV6_DEFROUTE=yes | ||
| + | IPV6_FAILURE_FATAL=no | ||
| + | IPV6_ADDR_GEN_MODE=stable-privacy | ||
| + | IPV6_PRIVACY=no | ||
| </ | </ | ||
| Line 225: | Line 229: | ||
| </ | </ | ||
| - | Per ara, com que aquest dispositiu no està connectat, no puc comprovar | + | Comprovo |
| - | + | ||
| - | <WRAP todo> | + | |
| < | < | ||
| # ping -c 5 spect | # ping -c 5 spect | ||
| PING spect (149.236.99.90) 56(84) bytes of data. | PING spect (149.236.99.90) 56(84) bytes of data. | ||
| - | 64 bytes from spect (149.236.99.90): | + | 64 bytes from spect (149.236.99.90): |
| - | 64 bytes from spect (149.236.99.90): | + | 64 bytes from spect (149.236.99.90): |
| - | 64 bytes from spect (149.236.99.90): | + | 64 bytes from spect (149.236.99.90): |
| - | 64 bytes from spect (149.236.99.90): | + | 64 bytes from spect (149.236.99.90): |
| - | 64 bytes from spect (149.236.99.90): | + | 64 bytes from spect (149.236.99.90): |
| --- spect ping statistics --- | --- spect ping statistics --- | ||
| - | 5 packets transmitted, | + | 5 packets transmitted, |
| - | rtt min/ | + | rtt min/ |
| </ | </ | ||
| - | |||
| - | </ | ||
| - | |||
| ==== Comprovació de les rutes ==== | ==== Comprovació de les rutes ==== | ||
| Line 252: | Line 251: | ||
| < | < | ||
| # nmcli device status | # nmcli device status | ||
| - | DEVICE | + | DEVICE |
| - | enp1s0 | + | eno1 |
| - | enp55s9 | + | ens3 |
| - | lo | + | lo loopback |
| # ping -c 5 spect | # ping -c 5 spect | ||
| PING spect (149.236.99.90) 56(84) bytes of data. | PING spect (149.236.99.90) 56(84) bytes of data. | ||
| - | 64 bytes from spect (149.236.99.90): | + | 64 bytes from spect (149.236.99.90): |
| - | 64 bytes from spect (149.236.99.90): | + | 64 bytes from spect (149.236.99.90): |
| - | 64 bytes from spect (149.236.99.90): | + | 64 bytes from spect (149.236.99.90): |
| - | 64 bytes from spect (149.236.99.90): | + | 64 bytes from spect (149.236.99.90): |
| - | 64 bytes from spect (149.236.99.90): | + | 64 bytes from spect (149.236.99.90): |
| --- spect ping statistics --- | --- spect ping statistics --- | ||
| 5 packets transmitted, | 5 packets transmitted, | ||
| - | rtt min/ | + | rtt min/ |
| # ping -c 5 gw.uab.cat | # ping -c 5 gw.uab.cat | ||
| PING gw.uab.cat (158.109.0.3) 56(84) bytes of data. | PING gw.uab.cat (158.109.0.3) 56(84) bytes of data. | ||
| - | 64 bytes from gw.uab.es (158.109.0.3): | + | 64 bytes from gw.uab.es (158.109.0.3): |
| - | 64 bytes from gw.uab.es (158.109.0.3): | + | 64 bytes from gw.uab.es (158.109.0.3): |
| - | 64 bytes from gw.uab.es (158.109.0.3): | + | 64 bytes from gw.uab.es (158.109.0.3): |
| - | 64 bytes from gw.uab.es (158.109.0.3): | + | 64 bytes from gw.uab.es (158.109.0.3): |
| - | 64 bytes from gw.uab.es (158.109.0.3): | + | 64 bytes from gw.uab.es (158.109.0.3): |
| --- gw.uab.cat ping statistics --- | --- gw.uab.cat ping statistics --- | ||
| - | 5 packets transmitted, | + | 5 packets transmitted, |
| - | rtt min/ | + | rtt min/ |
| </ | </ | ||
| - | comprovo les rutes definides i veig que són les correctes, | + | comprovo les rutes definides i veig que hi són les correctes, |
| < | < | ||
| Line 288: | Line 287: | ||
| Kernel IP routing table | Kernel IP routing table | ||
| Destination | Destination | ||
| - | default | + | default |
| - | 149.236.99.0 | + | 149.236.99.0 |
| - | 158.109.48.0 | + | 158.109.48.0 |
| - | link-local | + | link-local |
| - | [root@cie-56-18 NetworkManager]# route -n | + | # route -n |
| Kernel IP routing table | Kernel IP routing table | ||
| Destination | Destination | ||
| - | 0.0.0.0 | + | 0.0.0.0 |
| - | 149.236.99.0 | + | 149.236.99.0 |
| - | 158.109.48.0 | + | 158.109.48.0 |
| - | 169.254.0.0 | + | 169.254.0.0 |
| + | </ | ||
| + | |||
| + | però que hi ha una ('' | ||
| + | |||
| + | < | ||
| + | # route del -net 169.254.0.0 netmask 255.255.0.0 dev ens3 metric 1002 | ||
| + | |||
| + | # route -n | ||
| + | Kernel IP routing table | ||
| + | Destination | ||
| + | 0.0.0.0 | ||
| + | 149.236.99.0 | ||
| + | 158.109.48.0 | ||
| + | |||
| + | # route | ||
| + | Kernel IP routing table | ||
| + | Destination | ||
| + | default | ||
| + | 149.236.99.0 | ||
| + | 158.109.48.0 | ||
| + | </ | ||
| + | |||
| + | Un cop eliminada, les rutes definides són les correctes. | ||
| + | |||
| + | ==== Enllaços d' | ||
| + | |||
| + | * [[https:// | ||
| + | |||
| + | |||
| + | ===== Eliminar els kernels més antics ===== | ||
| + | |||
| + | Al llarg del procés d' | ||
| + | |||
| + | < | ||
| + | # uname -snr | ||
| + | Linux cie-54-214.uab.cat 3.10.0-1160.25.1.el7.x86_64 | ||
| + | |||
| + | # awk -F\' ' | ||
| + | 0 : CentOS Linux (3.10.0-1160.25.1.el7.x86_64) 7 (Core) | ||
| + | 1 : CentOS Linux (3.10.0-1160.21.1.el7.x86_64) 7 (Core) | ||
| + | 2 : CentOS Linux (3.10.0-1160.36.2.el7.x86_64) 7 (Core) | ||
| + | 3 : CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core) | ||
| + | 4 : CentOS Linux (0-rescue-e70caa6a85d0497ab6302fee0744e4f5) 7 (Core) | ||
| + | </ | ||
| + | |||
| + | i ara ocupen espai a la partició '' | ||
| + | |||
| + | < | ||
| + | # df -hl | ||
| + | Filesystem | ||
| + | [...] | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | [...] | ||
| + | </ | ||
| + | |||
| + | Per eliminar els més antics, faig servir la comanda ''# | ||
| + | |||
| + | < | ||
| + | # package-cleanup --oldkernels --downloadonly | ||
| + | Loaded plugins: fastestmirror, | ||
| + | --> Running transaction check | ||
| + | ---> Package kernel.x86_64 0: | ||
| + | ---> Package kernel.x86_64 0: | ||
| + | ---> Package kernel-devel.x86_64 0: | ||
| + | ---> Package kernel-devel.x86_64 0: | ||
| + | --> Finished Dependency Resolution | ||
| + | |||
| + | Dependencies Resolved | ||
| + | |||
| + | ====================================================================================================================== | ||
| + | | ||
| + | ====================================================================================================================== | ||
| + | Removing: | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | |||
| + | Transaction Summary | ||
| + | ====================================================================================================================== | ||
| + | Remove | ||
| + | |||
| + | Installed size: 205 M | ||
| + | Background downloading packages, then exiting: | ||
| + | exiting because " | ||
| + | </ | ||
| + | |||
| + | Un cop convençut dels canvis proposats, executo la comanda '' | ||
| + | |||
| + | < | ||
| + | # package-cleanup --oldkernels | ||
| + | Loaded plugins: fastestmirror, | ||
| + | --> Running transaction check | ||
| + | ---> Package kernel.x86_64 0: | ||
| + | ---> Package kernel.x86_64 0: | ||
| + | ---> Package kernel-devel.x86_64 0: | ||
| + | ---> Package kernel-devel.x86_64 0: | ||
| + | --> Finished Dependency Resolution | ||
| + | |||
| + | Dependencies Resolved | ||
| + | |||
| + | ====================================================================================================================== | ||
| + | | ||
| + | ====================================================================================================================== | ||
| + | Removing: | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | |||
| + | Transaction Summary | ||
| + | ====================================================================================================================== | ||
| + | Remove | ||
| + | |||
| + | Installed size: 205 M | ||
| + | Is this ok [y/N]: y | ||
| + | Downloading packages: | ||
| + | Running transaction check | ||
| + | Running transaction test | ||
| + | Transaction test succeeded | ||
| + | Running transaction | ||
| + | Warning: RPMDB altered outside of yum. | ||
| + | Erasing | ||
| + | Erasing | ||
| + | Erasing | ||
| + | Erasing | ||
| + | Verifying | ||
| + | Verifying | ||
| + | Verifying | ||
| + | Verifying | ||
| + | |||
| + | Removed: | ||
| + | kernel.x86_64 0: | ||
| + | kernel-devel.x86_64 0: | ||
| + | |||
| + | Complete! | ||
| + | </ | ||
| + | |||
| + | i comprovo l' | ||
| + | |||
| + | < | ||
| + | # df -hl | ||
| + | Filesystem | ||
| + | [...] | ||
| + | / | ||
| + | / | ||
| + | [...] | ||
| </ | </ | ||