{"id":1345,"date":"2018-10-27T08:10:57","date_gmt":"2018-10-27T13:10:57","guid":{"rendered":"http:\/\/blog.espol.edu.ec\/edelros\/?p=1345"},"modified":"2025-09-11T16:25:29","modified_gmt":"2025-09-11T21:25:29","slug":"raspberry-pi-os-conexion-remota","status":"publish","type":"post","link":"https:\/\/blog.espol.edu.ec\/girni\/raspberry-pi-os-conexion-remota\/","title":{"rendered":"4. Raspberry Pi OS - Conexi\u00f3n remota"},"content":{"rendered":"<h2>1. Terminal remoto - ssh<\/h2>\n<p>Desde otro computador en <strong>la red local<\/strong> se puede usar un terminal y ejecutar la la instrucci\u00f3n con el usuario \"pi\" y direcci\u00f3n_IP del \"servidor\":<\/p>\n<pre>ssh pi<span class=\"\">@<strong><em>direccion_IP<\/em><\/strong><\/span>\r\n<\/pre>\n<p>se pedir\u00e1 la contrase\u00f1a del usuario <code>pi<\/code>, sustituir con la <code>direcci\u00f3n IP<\/code> donde se encuentra operativo el broker Mqtt.<\/p>\n<p>Una vez ingresado, para obtener la direcci\u00f3n IP del dispositivo desde un\u00a0 terminal en el escritorio raspbian y escribir:<\/p>\n<pre>ifconfig\r\n<\/pre>\n<p><strong><em>Referencia<\/em><\/strong>: <a href=\"https:\/\/www.raspberrypi.org\/documentation\/remote-access\/ssh\/README.md\">https:\/\/www.raspberrypi.org\/documentation\/remote-access\/ssh\/README.md<\/a><\/p>\n<hr \/>\n<h2>2. Conexi\u00f3n remota con\u00a0Raspberry Pi Connect<\/h2>\n<p>Permite la <strong>conexi\u00f3n remota<\/strong> usando un navegador de internet el servicio hasta el 2025 no indica costos. <strong>Connect<\/strong> se encarga autom\u00e1ticamente de la configuraci\u00f3n.<\/p>\n<p>En la PC, se requiere registrar desde el siguiente enlace<\/p>\n<p><a href=\"https:\/\/www.raspberrypi.com\/software\/connect\/\">https:\/\/www.raspberrypi.com\/software\/connect\/<\/a><\/p>\n<p>En el Raspberry Pi, debe instalar usando:<\/p>\n<pre>sudo apt install rpi-connect<\/pre>\n<p>y activarlo desde el terminal con,<\/p>\n<pre>rpi-connect on<\/pre>\n<p>Para el registro, <strong>desde el escritorio del Raspberry Pi<\/strong>, inicie en el navegador en la direcci\u00f3n anterior. Se preguntar\u00e1 el nombre para el dispositivo y todo listo.<\/p>\n<p><a href=\"https:\/\/www.raspberrypi.com\/documentation\/services\/connect.html\">https:\/\/www.raspberrypi.com\/documentation\/services\/connect.html<\/a><\/p>\n<p><a href=\"http:\/\/blog.espol.edu.ec\/girni\/files\/2018\/10\/Raspberry_Connect01.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4191\" src=\"http:\/\/blog.espol.edu.ec\/girni\/files\/2018\/10\/Raspberry_Connect01.png\" alt=\"Raspberry Pi Connect 01\" width=\"816\" height=\"535\" srcset=\"https:\/\/blog.espol.edu.ec\/girni\/files\/2018\/10\/Raspberry_Connect01.png 816w, https:\/\/blog.espol.edu.ec\/girni\/files\/2018\/10\/Raspberry_Connect01-300x197.png 300w, https:\/\/blog.espol.edu.ec\/girni\/files\/2018\/10\/Raspberry_Connect01-768x504.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p><em><strong>Referencia<\/strong><\/em>:\u00a0<a href=\"https:\/\/www.raspberrypi.com\/documentation\/computers\/remote-access.html#raspberry-pi-connect\">https:\/\/www.raspberrypi.com\/documentation\/computers\/remote-access.html#raspberry-pi-connect<\/a><\/p>\n<hr \/>\n<h2>3. Escritorio remoto con VNC<\/h2>\n<p>RealVNC permite una conexi\u00f3n local hacia el escritorio del Raspberry Pi usando la direcci\u00f3n IP.<\/p>\n<p>Puede activar el servicio VNC en el Raspberry Pi desde el terminal o usando un terminal remoto (ssh) con la instrucci\u00f3n:<\/p>\n<pre>sudo raspi-config<\/pre>\n<p>navegar hasta <strong>interfases<\/strong>, y seleccionar <strong>VNC<\/strong> con '<em>yes<\/em>'.<\/p>\n<pre>\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524 Raspberry Pi Software Configuration Tool (raspi-config) \u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\r\n\u2502                                                                         \u2502\r\n\u2502  I1 SSH         Enable\/disable remote command line access using SSH     \u2502\r\n\u2502  I2 RPi Connect Enable\/disable Raspberry Pi Connect                     \u2502\r\n\u2502  <strong>I3 VNC         Enable\/disable graphical remote desktop access <\/strong>         \u2502\r\n\u2502  I4 SPI         Enable\/disable automatic loading of SPI kernel module   \u2502\r\n\u2502  I5 I2C         Enable\/disable automatic loading of I2C kernel module   \u2502\r\n\u2502  I6 Serial Port Enable\/disable shell messages on the serial connection  \u2502\r\n\u2502  I7 1-Wire      Enable\/disable one-wire interface                       \u2502\r\n\u2502  I8 Remote GPIO Enable\/disable remote access to GPIO pins               \u2502\r\n\u2502                                                                         \u2502\r\n\u2502  select                                       Back                      \u2502\r\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\r\n<\/pre>\n<p>Use una aplicaci\u00f3n VNC cliente, por ejemplo desde Windows para ingresar de forma remota, descargue desde:<\/p>\n<p><a href=\"https:\/\/www.realvnc.com\/es\/connect\/download\/viewer\/\">https:\/\/www.realvnc.com\/es\/connect\/download\/viewer\/<\/a><\/p>\n<p><a href=\"http:\/\/blog.espol.edu.ec\/girni\/files\/2018\/10\/Raspberry_RealVnc01.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4190\" src=\"http:\/\/blog.espol.edu.ec\/girni\/files\/2018\/10\/Raspberry_RealVnc01.png\" alt=\"Raspberry Pi RealVnc 01\" width=\"882\" height=\"627\" srcset=\"https:\/\/blog.espol.edu.ec\/girni\/files\/2018\/10\/Raspberry_RealVnc01.png 882w, https:\/\/blog.espol.edu.ec\/girni\/files\/2018\/10\/Raspberry_RealVnc01-300x213.png 300w, https:\/\/blog.espol.edu.ec\/girni\/files\/2018\/10\/Raspberry_RealVnc01-768x546.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p><strong>Referencia<\/strong>:<a href=\"https:\/\/www.raspberrypi.org\/documentation\/remote-access\/vnc\/\">https:\/\/www.raspberrypi.org\/documentation\/remote-access\/vnc\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. Terminal remoto - ssh Desde otro computador en la red local se puede usar un terminal y ejecutar la la instrucci\u00f3n con el usuario \"pi\" y direcci\u00f3n_IP del \"servidor\": ssh pi@direccion_IP se pedir\u00e1 la contrase\u00f1a del usuario pi, sustituir con la direcci\u00f3n IP donde se encuentra operativo el broker Mqtt. Una vez ingresado, para &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/blog.espol.edu.ec\/girni\/raspberry-pi-os-conexion-remota\/\" class=\"more-link\">Continuar leyendo<span class=\"screen-reader-text\"> \"4. Raspberry Pi OS - Conexi\u00f3n remota\"<\/span><\/a><\/p>\n","protected":false},"author":8043,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1434742],"tags":[1293414,1434742],"class_list":["post-1345","post","type-post","status-publish","format-standard","hentry","category-raspberry-pi","tag-broker","tag-raspberry-pi"],"_links":{"self":[{"href":"https:\/\/blog.espol.edu.ec\/girni\/wp-json\/wp\/v2\/posts\/1345","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.espol.edu.ec\/girni\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.espol.edu.ec\/girni\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.espol.edu.ec\/girni\/wp-json\/wp\/v2\/users\/8043"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.espol.edu.ec\/girni\/wp-json\/wp\/v2\/comments?post=1345"}],"version-history":[{"count":7,"href":"https:\/\/blog.espol.edu.ec\/girni\/wp-json\/wp\/v2\/posts\/1345\/revisions"}],"predecessor-version":[{"id":4203,"href":"https:\/\/blog.espol.edu.ec\/girni\/wp-json\/wp\/v2\/posts\/1345\/revisions\/4203"}],"wp:attachment":[{"href":"https:\/\/blog.espol.edu.ec\/girni\/wp-json\/wp\/v2\/media?parent=1345"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.espol.edu.ec\/girni\/wp-json\/wp\/v2\/categories?post=1345"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.espol.edu.ec\/girni\/wp-json\/wp\/v2\/tags?post=1345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}