Monthly Shaarli

All links of one month in a single page.

August, 2017

465k patients told to visit doctor to patch critical pacemaker vulnerability | Ars Technica - Oros links

Bonjour ! Respirez bien, on va mettre à jour le firmware ! Vous savez ce truc qui quand il plante y a plus rien qui marche !
Pas détendu ?

Randy Coleman - "Bohemian Rhapsody" - YouTube - Bill2's Links

Ha ouais, il est carrément bon ce gars !

FDN - Fournisseur d'Accès à Internet associatif depuis 1992

Coude :
Résolveurs DNS ouverts

Pour lutter contre la censure sur Internet, FDN fait le choix de mettre à disposition de toutes et tous des résolveurs DNS récursifs ouverts. 

Ils sont disponibles aux adresses IPv4 et IPv6 suivantes :

ns0.fdn.fr : 80.67.169.12 ou 2001:910:800::12
ns1.fdn.fr : 80.67.169.40 ou 2001:910:800::40
Contravention -Il est interdit de stationner devant son propre garage | service-public.fr
thumbnail

Ultra foutage de gueule.

linux - How to get the IPV4 address for an interface from /proc - Unix & Linux Stack Exchange
thumbnail

The table is pretty intelligible doing a mere, first comes the Main: and then Local:

cat /proc/net/fib_trie

or to see your network, IP addresses and netmask:

cat /proc/net/fib_trie | grep "|--" | egrep -v "0.0.0.0| 127."
|-- 193.136.1.0
|-- 193.136.1.2
|-- 193.136.1.255
|-- 193.136.1.0
|-- 193.136.1.2
|-- 193.136.1.255

grep '32 host LOCAL' -B 1 /proc/net/fib_trie | grep -Po '|-- \K(.*)' | grep -v '127.0.0.1' | sort | uniq | tr '\n' ' '

sinon via une commande propre : "hostname --all-ip-addresses || hostname -I"

» Certaines espèces d’abeilles officiellement reconnues en voie de disparition - ~ sweet ~

J'ai aussi lu ce bouquin, c'est passionnant !

Réponse à "20 raisons de ne pas voyager en Islande" - Librement-Vôtre

Autopromo

Note: coupure de ma river

Désolé pour ceux qui utilisent ma river. La machine est à genou. Je m'en occupe d'ici peu.

Reboot without power cycle? - Ask Ubuntu
thumbnail

C'est top :
One method may be to boot into a new kernel using kexec

apt-get install kexec-tools
dpkg-reconfigure kexec-tools

This should in theory make reboots kexec into a new kernel to do a reboot without rebooting the machine

Miracle : les Français seraient entrés dans l'ère de la "déconsommation"
thumbnail

Une bonne nouvelle !

Bonjour DGCCRF, je souhaite parler à Orange, stp - GuiGui's Show

Avis pertinent et intéressant sur l'offre fibre Orange.

How to shrink a VMDK: Shrinking a virtual disk in VMware ESXi - Matt Wharton

How to shrink a VMDK: Shrinking a virtual disk in VMware ESXi
Posted in Computing, VMware

First open up Disk Management in Computer Management in your guest Windows environment.

Right click the volume on the disk you want to shrink.

Windows will inform you the maximum amount it can shrink the disk by. Choose an amount that you wish to actually shrink it by and click Shrink.

shrinkF

Windows will start the shrinking process and it might take some time and appear to be hanging as Windows will actually be defragmenting the disk in order to consolidate the free space towards the end of the disk before resizing the volume.

Once it is done and you are satisfied that the volume on the disk is the size you want it then you need to shut down the VM.

SSH into the host and copy the VMDK file to make a backup of it, just the descriptor file not the flat file.

cp vmname.vmdk vmname-original.vmdk

Open up the VMDK file in a text editor and find the line that describes the size of the flat file. Similar to the following

Extent description

RW 209715200 VMFS “vmname-flat.vmdk”

The number is the size of the virtual disk in terms of disk sectors, where each sector is 512 bytes. So a 100GB virtual disk is 209715200 sectors.

You will need to change this number to correspond to the new disk size where x = size in GB

vmdk_size = [x * (1024*1024*1024)] / 512

I have chosen to shrink my disk to 60gb, so my new Extent description now reads as follows:

Extent description

RW 125829120 VMFS “vmname-flat.vmdk”

You now need to clone the drive to get it to the new size:

vmkfstools -i vmname.vmdk vmname-new.vmdk

The bit we are interested in is the newly created vmname-new-flat.vmdk file.

Rename the old flat file from vmname-flat.vmdk to vmname-flat-old.vmdk

and rename the vmname-new-flat.vmdk file to vmname-flat.vmdk

Start the VM up and it should show the new smaller disk. When you are satisfied that everything is working you can now delete the old unneeded files from your datastore.

Firefox 57 : Les extensions sont toutes cassées! - BecauseOfProg - Choses vues, sur le web et ailleurs
On ne naît pas fille « par défaut »
thumbnail

Encore un super article !

Mettre à jour Debian 7 vers Debian 12
thumbnail

#debian 7->8
apt-get update
apt-get upgrade
sed -i.$(date +%y%m%d-%H%M%S).bak 's/wheezy/jessie/' /etc/apt/sources.list
apt-get update
apt-get upgrade
apt-get dist-upgrade
reboot

#debian 8->9
apt update
apt full-upgrade
sed -i.$(date +%y%m%d-%H%M%S).bak 's/jessie/stretch/' /etc/apt/sources.list
apt update
apt full-upgrade
reboot

#debian 9->10
apt update
apt full-upgrade
sed -i.$(date +%y%m%d-%H%M%S).bak 's/stretch/buster/' /etc/apt/sources.list
apt update
apt full-upgrade
reboot

#debian 10-> 11
apt update
apt upgrade
sudo sed -i 's/buster/bullseye/g' /etc/apt/sources.list
sudo sed -i 's/buster/bullseye/g' /etc/apt/sources.list.d/*.list
sudo sed -i 's#/debian-security bullseye/updates# bullseye-security#g' /etc/apt/sources.list
apt update
apt full-upgrade
apt autoremove
reboot

#debian 11-> 12
apt update
apt upgrade
sudo sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list
sudo sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list.d/*.list
sudo sed -i 's#/debian-security bullseye-updates# bookworm-security#g' /etc/apt/sources.list
apt update
apt upgrade --without-new-pkgs
apt full-upgrade
apt autoremove
reboot

Qui a dit que Linux c'était dur ?