{"id":1969,"date":"2020-12-30T10:14:17","date_gmt":"2020-12-30T09:14:17","guid":{"rendered":"http:\/\/blogperso.union31.fr\/?p=1969"},"modified":"2020-12-30T10:15:30","modified_gmt":"2020-12-30T09:15:30","slug":"gns3-console-pour-un-linux-sous-virtualbox","status":"publish","type":"post","link":"https:\/\/blogperso.union31.fr\/?p=1969","title":{"rendered":"GNS3 : console pour un Linux sous VirtualBox"},"content":{"rendered":"\n<p>L&rsquo;objectif est de pouvoir lancer la console d&rsquo;une VM sous GNS3 \u00e0 l&rsquo;ext\u00e9rieur de la VM. Dit diff\u00e9rement, se connecter via le port s\u00e9rie de la VM.<\/p>\n\n\n\n<p>Pour cela, aller dans le fichier de configuration GRUB \/etc\/default\/grub :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># If you change this file, run 'update-grub' afterwards to update\n# \/boot\/grub\/grub.cfg.\n# For full documentation of the options in this file, see:\n#   info -f grub -n 'Simple configuration'\n\nGRUB_DEFAULT=0\nGRUB_TIMEOUT=5\nGRUB_DISTRIBUTOR=`lsb_release -i -s 2> \/dev\/null || echo Debian`\nGRUB_CMDLINE_LINUX_DEFAULT=\"quiet\"\n<strong>GRUB_CMDLINE_LINUX=\"console=tty1 console=ttyS0,115200\"\nGRUB_TERMINAL=\"console serial\"\nGRUB_SERIAL_COMMAND=\"serial --speed=115200 --unit=0 --word=8 --parity=no --stop==\n1\"\n<\/strong><\/code><\/pre>\n\n\n\n<p>Sauvez puis puis tapez la commande suivante :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>grub-mkconfig -o \/boot\/grub\/grub.cfg<\/code><\/pre>\n\n\n\n<p>Rebooter et il sera possible de lancer une console dans le menu GNS3 de la machine virtuelle :<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"886\" height=\"526\" src=\"http:\/\/blogperso.union31.fr\/wp-content\/uploads\/2020\/12\/Sans-titre.png\" alt=\"\" class=\"wp-image-1970\" srcset=\"https:\/\/blogperso.union31.fr\/wp-content\/uploads\/2020\/12\/Sans-titre.png 886w, https:\/\/blogperso.union31.fr\/wp-content\/uploads\/2020\/12\/Sans-titre-300x178.png 300w, https:\/\/blogperso.union31.fr\/wp-content\/uploads\/2020\/12\/Sans-titre-768x456.png 768w\" sizes=\"auto, (max-width: 886px) 100vw, 886px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>L&rsquo;objectif est de pouvoir lancer la console d&rsquo;une VM sous GNS3 \u00e0 l&rsquo;ext\u00e9rieur de la VM. Dit diff\u00e9rement, se connecter via le port s\u00e9rie de la VM. Pour cela, aller dans le fichier de configuration GRUB \/etc\/default\/grub : Sauvez puis<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-1969","post","type-post","status-publish","format-standard","hentry","category-_systeme"],"_links":{"self":[{"href":"https:\/\/blogperso.union31.fr\/index.php?rest_route=\/wp\/v2\/posts\/1969","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogperso.union31.fr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogperso.union31.fr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogperso.union31.fr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blogperso.union31.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1969"}],"version-history":[{"count":1,"href":"https:\/\/blogperso.union31.fr\/index.php?rest_route=\/wp\/v2\/posts\/1969\/revisions"}],"predecessor-version":[{"id":1971,"href":"https:\/\/blogperso.union31.fr\/index.php?rest_route=\/wp\/v2\/posts\/1969\/revisions\/1971"}],"wp:attachment":[{"href":"https:\/\/blogperso.union31.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1969"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogperso.union31.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1969"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogperso.union31.fr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1969"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}