Archives de catégorie : Non classé

Install kivy on macOS

sudo port install python36 py36-pip sudo port select –set python python36 sudo port select –set python3 python36 sudo port select –set pip pip36 sudo port install libsdl2 +python36 libsdl2_image +python36 libsdl2_ttf +python36 libsdl2_mixer +python36 sudo pip install Cython==0.26.1 sudo pip … Continuer la lecture

Publié dans Non classé | Commentaires fermés sur Install kivy on macOS

perl local error

echo « LC_ALL=en_US.UTF-8 » >> /etc/environment echo « LANG=en_US.UTF-8 » >> /etc/environment locale-gen en_US.UTF-8 fr_FR.UTF-8 dpkg-reconfigure locales

Publié dans Non classé | Commentaires fermés sur perl local error

Réactiver l’écran avec un D2700DC

Pour réactiver l’écran, il faut changer le jumper marron, puis redémarrer.

Publié dans Geek, Non classé | Commentaires fermés sur Réactiver l’écran avec un D2700DC

Écran au démarrage avec un D2700DC

Pour faire fonction l’écran avec un D2700DC, il faut rajouter la ligne suivante dans le fichier /etc/default/grub : GRUB_CMDLINE_LINUX_DEFAULT= »vmalloc=256MB video=LVDS-1:d » Puis exécuter : update-grub

Publié dans Geek, Non classé | Commentaires fermés sur Écran au démarrage avec un D2700DC

VNC Raspberry sur l’écran principal

sudo apt-get install x11vnc libxtst-dev x11vnc -display :0 -passwd « a »

Publié dans Geek, Non classé, Raspberry | Commentaires fermés sur VNC Raspberry sur l’écran principal

VNC raspberry pi

apt-get install netatalk avahi-daemon tightvncserver /etc/avahi/services/afpd.service: <?xml version= »1.0″ standalone=’no’?><!–*-nxml-*–> <!DOCTYPE service-group SYSTEM « avahi-service.dtd »> <service-group> <name replace-wildcards= »yes »>%h</name> <service> <type>_afpovertcp._tcp</type> <port>548</port> </service> </service-group> /etc/init.d/tightvncserver: #!/bin/bash # /etc/init.d/tightvncserver # # Carry out specific functions when asked to by the system case « $1 » in … Continuer la lecture

Publié dans Geek, Non classé, Raspberry | Commentaires fermés sur VNC raspberry pi

Wifi sur linux (raspberry pi)

/etc/network/interfaces # interfaces(5) file used by ifup(8) and ifdown(8) # Please note that this file is written to be used with dhcpcd # For static IP, consult /etc/dhcpcd.conf and ‘man dhcpcd.conf’ # Include files from /etc/network/interfaces.d: source-directory /etc/network/interfaces.d auto lo … Continuer la lecture

Publié dans Geek, Non classé, Raspberry | Commentaires fermés sur Wifi sur linux (raspberry pi)

Debian router

/etc/network/interfaces auto eth0:0 iface eth0:0 inet static address 192.168.170.86 netmask 255.255.255.0 broadcast 192.168.170.255 #!/bin/sh PATH=/usr/sbin:/sbin:/bin:/usr/bin # # delete all existing rules. # iptables -F iptables -t nat -F iptables -t mangle -F iptables -X # Always accept loopback traffic iptables … Continuer la lecture

Publié dans Non classé | Commentaires fermés sur Debian router

Augmenter une partition raspberrypi/beaglebone

fdisk -l Puis : fdisk /dev/mmcblk0 p pour afficher les partitions d pour supprimer la partition à redimensionner n pour rajouter la partition à redimensionner (la partition doit se commencer au même endroit qu’avant) w pour valider resize2fs /dev/mmcblk0p3 https://projects.drogon.net/raspberry-pi/initial-setup1/

Publié dans Non classé | Commentaires fermés sur Augmenter une partition raspberrypi/beaglebone

mdns avec ssh

#!/bin/sh dns-sd -P « Phosphore Synology » _daap._tcp local 3689 localhost.local. \ 127.0.0.1 « Arbitrary text record » & trap « kill $! » 0 1 2 15 ssh -C -N -L 3689:localhost:3689 root@phosphore

Publié dans Non classé | Commentaires fermés sur mdns avec ssh