• Portada
    • Recientes
    • Usuarios
    • Registrarse
    • Conectarse

    Raspberry Pi Guide

    Programado Fijo Cerrado Movido General
    68 Mensajes 12 Posters 18.7k Visitas 1 Watching
    Cargando más mensajes
    • Más antiguo a más nuevo
    • Más nuevo a más antiguo
    • Mayor número de Votos
    Responder
    • Responder como tema
    Accede para responder
    Este tema ha sido borrado. Solo los usuarios que tengan privilegios de administración de temas pueden verlo.
    • YorusY Desconectado
      Yorus Veteranos HL @cobito
      Última edición por

      This post is being processed/translated. The original version will be shown:

      @cobito:

      Pues yo todavía no he configurado ningún sismtema de intercambio de archivos local ya que de momento lo gestiono todo por SSH que también admite el intercambio de archivos. Según lei hace poco, NFS se merienda en rendimiento a Samba, FTP o SSH. De hecho SSH desde ya os puedo decir que es bastante lento (tasas de algo más de 2 mbytes/s).

      Ahora acabo de configurar NFS en el sobremesa y ya puedo verlo desde el reproductor multimedia, no esperaba que fuera tan sencillo. El tema se resume poco mas o menos en:

      apt-get install nfs-common nfs-kernel-server
      gedit /etc/exports
      /etc/init.d/nfs-kernel-server restart 
      

      En exports lo que hacemos es añadir una linea como esta:

      /media/datos/share 192.168.1.10(rw,no_root_squash)
      

      donde ponemos el directorio a compartir y con quien queremos compartirlo, así como si se puede leer, escribir, etc… Y cada vez que hagamos un cambio reiniciamos el servicio.

      Esto en Mint, pero no creo que cambie mucho el nombre de los paquetes en Debian/Raspbian.

      Mi centro de operaciones
      Mi blog en HL

      hlbm signature

      deeiividD 1 Respuesta Última respuesta Responder Citar 0
      • deeiividD Desconectado
        deeiivid Veteranos HL @Yorus
        Última edición por

        This post is being processed/translated. The original version will be shown:

        PD: Cobito! muy bueno lo del monigote :ugly: no lo he dejado en paz hasta el final xD

        deeiividD 1 Respuesta Última respuesta Responder Citar 0
        • deeiividD Desconectado
          deeiivid Veteranos HL @deeiivid
          Última edición por

          This post is being processed/translated. The original version will be shown:

          Estoy probando el control por SSH en el servidor a traves de internet (no estoy donde esta el server ahora)
          y el rendimiento grafico es PESIMO, va mucho pero mucho mas lento que usando VNC y no entiendo porque…

          Aclaro que estoy ejecutando el cliente ssh desde OSX, que siendo de base UNIX y con Xquartz (gestor X11) debería ir bien no?

          cobitoC 1 Respuesta Última respuesta Responder Citar 0
          • cobitoC Desconectado
            cobito Administrador @deeiivid
            Última edición por

            This post is being processed/translated. The original version will be shown:

            @deeiivid:

            Estoy probando el control por SSH en el servidor a traves de internet (no estoy donde esta el server ahora)
            y el rendimiento grafico es PESIMO, va mucho pero mucho mas lento que usando VNC y no entiendo porque…

            Aclaro que estoy ejecutando el cliente ssh desde OSX, que siendo de base UNIX y con Xquartz (gestor X11) debería ir bien no?

            Con la Raspi, el rendimiento de lanzar aplicaciones gráficas por SSH es superior a lanzarlas localmente desde el entorno de escritorio. Y si no son aplicaciones con bibliotecas pesadas como las QT, no hay grandes diferencias entre acceder desde la red local o desde Internet.

            Si puedes, prueba desde un PC con Linux para descartar la configuración del server u otros problemas.

            Toda la actualidad en la portada de Hardlimit
            Mis cacharros

            hlbm signature

            deeiividD 1 Respuesta Última respuesta Responder Citar 0
            • deeiividD Desconectado
              deeiivid Veteranos HL @cobito
              Última edición por

              This post is being processed/translated. The original version will be shown:

              @cobito:

              Con la Raspi, el rendimiento de lanzar aplicaciones gráficas por SSH es superior a lanzarlas localmente desde el entorno de escritorio. Y si no son aplicaciones con bibliotecas pesadas como las QT, no hay grandes diferencias entre acceder desde la red local o desde Internet.

              Si puedes, prueba desde un PC con Linux para descartar la configuración del server u otros problemas.

              Lo he probado con el gestor de archivos de lxde y tambien con transmission y era una locura… Voy a correr knoppix y ver que tal...

              cobitoC 1 Respuesta Última respuesta Responder Citar 0
              • cobitoC Desconectado
                cobito Administrador @deeiivid
                Última edición por

                This post is being processed/translated. The original version will be shown:

                @deeiivid:

                Lo he probado con el gestor de archivos de lxde y tambien con transmission y era una locura… Voy a correr knoppix y ver que tal...

                Es raro. De todas formas en el caso de transmisssion lo más recomendable es que en el server ejecutes el demonio (o el cliente gráfico) y desde tu PC ejecutes el cliente remoto porque si ejecutas un programa gráfico por ssh y cierras la sesión, el programa se cierra también.

                Toda la actualidad en la portada de Hardlimit
                Mis cacharros

                hlbm signature

                deeiividD L 2 Respuestas Última respuesta Responder Citar 0
                • deeiividD Desconectado
                  deeiivid Veteranos HL @cobito
                  Última edición por

                  This post is being processed/translated. The original version will be shown:

                  @cobito:

                  Es raro. De todas formas en el caso de transmisssion lo más recomendable es que en el server ejecutes el demonio (o el cliente gráfico) y desde tu PC ejecutes el cliente remoto porque si ejecutas un programa gráfico por ssh y cierras la sesión, el programa se cierra también.

                  Si si, si el transmission lo tengo con el daemon, solo lo he probado para ver el rendimiento…
                  Por cierto, hay alguna forma de "matar" las X?
                  Por defecto en mi caso se encienden con el equipo... me gustaría cambiar eso.

                  Edito: solucionado. Pero ahora me encuentro con que no inicia por defecto programas como el transmission cuando lo enciendo... no es un problema muy grave pero bueno.

                  deeiividD 1 Respuesta Última respuesta Responder Citar 0
                  • deeiividD Desconectado
                    deeiivid Veteranos HL @deeiivid
                    Última edición por

                    This post is being processed/translated. The original version will be shown:

                    Tengo un problemita. No se que he hecho pero ahora no puedo iniciar servicios de X remotamente lakdsjaslkdjsld

                    me sale esto al iniciar:
                    _
                    Kromann-Hackintosh:~ kromann$ ssh kromann@192.168.1.24 -X
                    kromann@192.168.1.24's password:
                    Welcome to Ubuntu 12.10 (GNU/Linux 3.5.0-25-generic i686)

                    • Documentation: Official Ubuntu Documentation

                    Last login: Sun Feb 24 23:57:42 2013 from 192.168.1.69
                    /usr/bin/xauth: timeout in locking authority file /home/kromann/.Xauthority
                    kromann@kromann-server:~$
                    _

                    Y si intento iniciar un servicio X:
                    _kromann@kromann-server:~$ sudo pcmanfm
                    [sudo] password for kromann:
                    X11 connection rejected because of wrong authentication.
                    No se puede abrir el visor:
                    kromann@kromann-server:~$
                    _

                    Es solo con servicios de X…. no se como arreglarlo.

                    Edito: Ya lo he solucionado, aqui explico todo por si tenéis el mismo problema.

                    YorusY 1 Respuesta Última respuesta Responder Citar 0
                    • YorusY Desconectado
                      Yorus Veteranos HL @deeiivid
                      Última edición por

                      This post is being processed/translated. The original version will be shown:

                      Gracias por compartirlo, la verdad es que nunca he intentado ejecutar nada de las X de forma remota y me sonaba todo a chino.

                      Mi centro de operaciones
                      Mi blog en HL

                      hlbm signature

                      cobitoC 1 Respuesta Última respuesta Responder Citar 0
                      • cobitoC Desconectado
                        cobito Administrador @Yorus
                        Última edición por

                        This post is being processed/translated. The original version will be shown:

                        Lanzar aplicaciones gráficas con SSH no suele ser muy práctico para mi excepto cuando se trata del gestor de archivos. Tener a mano todas las unidades montadas y poder copiar, pegar, eliminar… a velocidad de crucero desde cualquier sitio es un gustazo.

                        Para todo lo demás: clientes remotos.

                        Toda la actualidad en la portada de Hardlimit
                        Mis cacharros

                        hlbm signature

                        YorusY 1 Respuesta Última respuesta Responder Citar 0
                        • YorusY Desconectado
                          Yorus Veteranos HL @cobito
                          Última edición por

                          This post is being processed/translated. The original version will be shown:

                          Hoy me ha venido bien tu guía, ya que los pasos de instalación que he seguido varían mucho respecto a lo que hice la primera vez. En mi caso descargaba un archivo que descomprimía directamente en la SD y al arrancar la Raspberry me hacía una instalación al estilo clásico de Debian Netinst descargando casi todo de internet y quedándome al final con un usuario root típico y un usuario normal.

                          Ahora he seguido tu guía y el único paso distinto es que he volcado la imagen a la SD a través de Linux.

                          Por cierto, me gusta el cambio de tu página, las nuevas fuentes se ven genial.

                          Mi centro de operaciones
                          Mi blog en HL

                          hlbm signature

                          cobitoC 1 Respuesta Última respuesta Responder Citar 0
                          • cobitoC Desconectado
                            cobito Administrador @Yorus
                            Última edición por

                            Well, here's another one with data corruption on the SD. I was updating the system when messages started appearing about problems with the file system. I rebooted but it wouldn't start up again. I put the card in a PC, ran an fsck and it had a lot of messed up i-nodes. I'll see if I can recover it and if not, format it.

                            I read somewhere that doing an overvolt fixes the problem. This is a real pain because now you have to go messing around with things that could fry the raspi. You have to be careful with backups. I hope I haven't lost my MySQL databases.

                            Toda la actualidad en la portada de Hardlimit
                            Mis cacharros

                            hlbm signature

                            YorusY 1 Respuesta Última respuesta Responder Citar 0
                            • YorusY Desconectado
                              Yorus Veteranos HL @cobito
                              Última edición por

                              I put a Panasonic SD class 6 4Gb in it and we'll see how long it lasts, because it has been on for several days but it is not working. I hope we don't have to fiddle with it much so that it doesn't cause more problems with the SD card.

                              Mi centro de operaciones
                              Mi blog en HL

                              hlbm signature

                              YorusY 1 Respuesta Última respuesta Responder Citar 0
                              • YorusY Desconectado
                                Yorus Veteranos HL @Yorus
                                Última edición por

                                I already have the transmission running at full capacity, but I have a question about how to access the data from another computer. I couldn't set up NFS because of some package that I can't remember that isn't available. I did set up SAMBA, although that only works for the local network.

                                What I need is to be able to access it even if it's through SSH using the file browser (nemo, nautilus or whatever it is) and many times I find that I can't do certain things because the user is not root. How do you usually do it? Do you give permissions to the normal user in those folders including the one of the web server? Or on the contrary do you create a real root user? Sometimes I get confused with this, and it's also not clear to me if it's better to give permissions to the external disk through fstab or giving permissions to the folder in which it is mounted, since I get confused when touching things and in the end I don't know which one makes it work well.

                                Mi centro de operaciones
                                Mi blog en HL

                                hlbm signature

                                cobitoC 1 Respuesta Última respuesta Responder Citar 0
                                • cobitoC Desconectado
                                  cobito Administrador @Yorus
                                  Última edición por

                                  Section 7.2 of the guide explains how to start an FTP server whose root directory is the root of the Raspi, so in principle you could access all your storage devices in /media.

                                  Section 10.1.3 explains how to manage files remotely using Dolphin (the KDE file manager) via SSH.

                                  The owner of your downloaded files should be 'pi' so using the technique in section 10.1.3 you will be able to do whatever you want with them.

                                  If you want to be able to manage files and folders whose owner is 'root','mysql' or any other different from 'pi' you will have to change the password of 'root' using the commands;
                                  sudo -s
                                  passwd root

                                  Once you have done that, you can use the procedure in section 10.1.3 again using 'root' as the username and the password you have set.

                                  I have not tried it, but I am sure that the file managers of other desktop environments also allow remote file management via SSH.

                                  Another possibility is to follow the procedure in 10.1.2. The only drawback is that you will only be able to manage as 'pi' since for some reason it is not possible to launch X applications like 'root' from SSH.

                                  Toda la actualidad en la portada de Hardlimit
                                  Mis cacharros

                                  hlbm signature

                                  YorusY 1 Respuesta Última respuesta Responder Citar 0
                                  • YorusY Desconectado
                                    Yorus Veteranos HL @cobito
                                    Última edición por

                                    It's curious, yesterday from the PC that is inside the local network I couldn't create files/folders inside the transmission downloads folder with SSH (but with Samba), but right now through the internet I can. I don't know what would happen, but in both PCs I use the same Linux and they are configured almost the same way. Where I don't have permissions is in /var/www, although I imagine it's about giving them and that's it, but I don't know if it's convenient or it's better to do the operations as root activating it as you said. By the way and for those who are interested, from Cinnamon (file browser Nemo) you would access with a simple sftp://pi@x.x.x.x/.

                                    Mi centro de operaciones
                                    Mi blog en HL

                                    hlbm signature

                                    deeiividD 1 Respuesta Última respuesta Responder Citar 0
                                    • deeiividD Desconectado
                                      deeiivid Veteranos HL @Yorus
                                      Última edición por

                                      As cobito told you, in the guide you have how to set up an ftp server.
                                      Although I recommend SFTP (FTP over SSH) since FTP servers, as I understand it, do not encrypt anything, not even the access key, so if you are going to enter from a network that you do not have totally controlled it is not entirely recommended.

                                      Regarding ROOT permissions when running the X's through SSH, I do not know about raspberrian but in debian I have no problems and with lubuntu I did not have any either. I run Pcmanfm without problems as root.

                                      YorusY 1 Respuesta Última respuesta Responder Citar 0
                                      • YorusY Desconectado
                                        Yorus Veteranos HL @deeiivid
                                        Última edición por

                                        What a streak I'm on. I was messing around with Apache and had decided to configure it to have the folder where the page is saved in the user's home instead of in /var/www, but with all the messing around I've done I've preferred to uninstall Apache and when I restart to make sure it doesn't accept SSH connections although it does ask for the password. As a curiosity, it does allow me to connect to the Transmission web interface.

                                        Well, I have to wait again until Wednesday or do 20 extra kms tomorrow to restart the machine correctly :mad:

                                        Mi centro de operaciones
                                        Mi blog en HL

                                        hlbm signature

                                        cobitoC 1 Respuesta Última respuesta Responder Citar 0
                                        • cobitoC Desconectado
                                          cobito Administrador @Yorus
                                          Última edición por

                                          @Yorus:

                                          What a streak I'm on. I was messing around with Apache and had decided to configure it to have the folder where the page is saved on the user's home instead of in /var/www, but with all the messing around I've done I've preferred to uninstall Apache and when I restarted to make sure it turns out that it doesn't accept SSH connections although it does ask for the password. As a curiosity it does allow me to connect to the Transmission web interface.

                                          So, I have to wait again until Wednesday or do 20 extra kms tomorrow to restart the machine correctly :mad:

                                          I feel identified. In my case the journey is 150 km. The curious thing is that sometimes it fixes itself. I think all this is related to the issue of SD card data corruption.

                                          In a couple of weeks I'll start investigating how to install Raspbian on the external hard drive to have the least possible access to the SD card.

                                          PD: Yorus, I edited your post without wanting to. I clicked edit instead of quote and I started writing as happily as if it were a new post :facepalm:. I left it exactly as it was.

                                          Toda la actualidad en la portada de Hardlimit
                                          Mis cacharros

                                          hlbm signature

                                          deeiividD 1 Respuesta Última respuesta Responder Citar 0
                                          • deeiividD Desconectado
                                            deeiivid Veteranos HL @cobito
                                            Última edición por

                                            @Yorus:

                                            What a streak I'm on. I was messing around with Apache and had decided to configure it to have the folder where the page is saved on the user's home instead of in /var/www, but with all the messing around I've done I preferred to uninstall Apache and when I restarted to make sure it turns out that it doesn't accept SSH connections although it does ask for the password. As a curiosity, it does allow me to connect to the Transmission web interface.

                                            So, I have to wait again until Wednesday or do 20 extra kms tomorrow to restart the machine properly :mad:

                                            I didn't think twice and told him to turn it off instead of restarting :ugly: :ugly:

                                            @cobito:

                                            I feel identified. In my case the journey is 150 km. The curious thing is that sometimes it fixes itself. I think all this is related to the issue of SD card data corruption.

                                            In a couple of weeks I'll start investigating how to install Raspbian on the external hard drive to have the least possible access to the SD card.

                                            PD: Yorus, I edited your post without meaning to. I clicked edit instead of quote and started writing as happily as if it were a new post :facepalm:. I left it exactly as it was.

                                            Exactly like me, 150 km. But well I waited for it to be my turn to go... because if not...

                                            I'm surprised by the amount of problems you're having with the SD issue... how is it possible so much data corruption? maybe it's a Raspbian thing?

                                            YorusY 1 Respuesta Última respuesta Responder Citar 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 1 / 4
                                            • First post
                                              Last post

                                            Foreros conectados [Conectados hoy]

                                            0 usuarios activos (0 miembros y 0 invitados).
                                            febesin, pAtO,

                                            Estadísticas de Hardlimit

                                            Los hardlimitianos han creado un total de 543.5k posts en 62.9k hilos.
                                            Somos un total de 34.9k miembros registrados.
                                            roymendez ha sido nuestro último fichaje.
                                            El récord de usuarios en linea fue de 123 y se produjo el Thu Jan 15 2026.