Blogging with Common Sense

Utils for Raspberry Pi 3

Some Useful commands using Raspberry Pi 3 and Raspbian:

  • Install Noobs

https://www.raspberrypi.org/learning/software-guide/quickstart/
https://github.com/raspberrypi/noobs/blob/master/README.md

  • Scan IP on PC – Install advanced-ip-scanner.

http://www.advanced-ip-scanner.com/

  • Restart\ shutdown

Restart: sudo reboot
Shutdown: sudo halt -h
sudo shutdown -h now (or sudo halt)

  • Update:

apt-get update
apt-get upgrade

  • Video

OpenELEC (Open Embedded Linux Entertainment Center) – http://openelec.tv

root/openelec
poweroff
http://wiki.openelec.tv/index.php/Ssh_commands

Kodihttp://www.wirelesshack.org/step-by-step-kodi-jarvis-and-exodus-install.html
https://www.raspberrypi.org/forums/viewtopic.php?t=99866
sudo apt-get update
sudo apt-get install kodi
..
kodi-standalone

OSMC (Open Source Media Center) – is based on the Kodi project: https://osmc.tv/download/

  • Configure network:

https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md

sudo iwlist wlan0 scan | grep WIFI_SSID
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

network={
ssid=”WIFI_SSID”
psk=”WIFI_Password”
}

ifconfig wlan0

sudo ifdown wlan0

sudo ifdown wlan0
sudo ifup wlan0

dhcpcd and dhcpcd-ui
wpa_gui

sudo iwlist wlan0 scan

search wifi-network

hostname -I

sudo service networking restart

sudo iwlist wlan0 scan | grep WIFI_SSID

network={
ssid=”WIFI_SSID”
psk=”WIFI_Password”
}

full:
wpa-ssid „WIFI_SSID”
wpa-psk „WIFI_Password”
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
auth_alg=OPEN

  • Remote:

https://www.raspberrypi.org/documentation/remote-access/
http://www.instructables.com/id/Setting-up-a-VNC-Server-on-your-Raspberry-Pi/?ALLSTEPS
RealVNC Viewerhttps://www.raspberrypi.org/documentation/remote-access/vnc/
sudo apt-get tightvncserver
tightvncserver
apt-get install xrdp

vncserver :1
sudo nano tightvnc.desktop”

No tv or monitor – headless mode – silent install:

https://raspberrypi.stackexchange.com/questions/15192/installing-raspbian-from-noobs-without-display
https://www.raspberrypi.org/forums/viewtopic.php?t=74176
http://lifehacker.com/set-up-a-raspberry-pi-zero-in-headless-mode-when-you-1745718922
http://www.circuitbasics.com/raspberry-pi-basics-setup-without-monitor-keyboard-headless-mode/
https://www.hackster.io/Anwaarullah/sharing-wifi-with-raspberry-pi-using-a-lan-cable-ae1f44
https://anwaarullah.wordpress.com/2013/08/12/sharing-wifi-internet-connection-with-raspberry-pi-through-lanethernet-headless-mode/

  • Automatic ip

http://weworkweplay.com/play/automatically-connect-a-raspberry-pi-to-a-wifi-network/
https://raspberrypi.stackexchange.com/questions/37920/how-do-i-set-up-networking-wifi-static-ip/37921#37921

  • Check free space: df -h
  • Ftp: apt-get install ftp

https://www.raspberrypi.org/documentation/remote-access/ftp.md

https://www.raspberrypi.org/documentation/remote-access/
pure-ftpd
user: upload

  • Permisson
    sudo chmod -R 777 /root/RetroPie/roms/amstradcpc
  •  Copy

$ cp src /home/usr/rapid/
Copy all files and directories in dev recursively to subdirectory bak:
$ cp -R dev bak
cp -R /home/pi/FTP ~/RetroPie/roms/atari2600#

mv ~/RetroPie/roms/atari2600/FTP ~/RetroPie/roms/atari2600

Update all files in current directory – copy only newer files to destination directory bak:
$ cp -u * ~/RetroPie/roms/atari2600#

  • – Ip: ping raspberrypi.local

hostname -I

sudo ifconfig
ifconfig -a

Config: raspi-config

Admin: sudo su

–  Create file: nano svnc.sh
–  Change user: sudo pi
exit
close desktop: pkill x

Quake 3 – https://www.raspberrypi.org/forums/viewtopic.php?f=78&t=18853
RetroPie – https://github.com/RetroPie/RetroPie-Setup/wiki/First-Installation
http://www.recalbox.com/
https://github.com/RetroPie/RetroPie-Setup/wiki/Manual-Installation
sudo service lightdm stop
emulationstation

/home/pi/RetroPie/roms
sudo chown -R ftpuser:ftpgroup /home/pi/RetroPie/roms

/home/pi/RetroPie/roms
~/RetroPie/roms

sudo chown -R ftpuser:ftpgroup ~/RetroPie/roms

Tablet as a screen
https://www.raspberrypi.org/forums/viewtopic.php?f=36&t=18916

ConnectBot https://play.google.com
Fing – Network Tools https://play.google.com
–––––––

  • – Free space: sudo apt-get clean

sudo apt-get install xrdp
sudo apt-get install omxplayer

But i may be installed already: Type
omxplayer -h

OpenELEC – Kodi
cat /proc/cpuinfo

df -h

––––
sudo apt-get install wicd
sudo apt-get update sudo apt-get dist-upgrade
https://www.raspberrypi.org/documentation/raspbian/updating.md

Games for Atari 2600 (Rambo):
Tennis: http://www.atarimania.com/game-atari-2600-vcs-tennis_s6744.html
Seaquest: http://www.atarimania.com/game-atari-2600-vcs-seaquest_s7004.html
Boxing: http://www.atarimania.com/game-atari-2600-vcs-boxing_s6901.html
Basketball: http://www.atarimania.com/game-atari-2600-vcs-basketball_s6742.html
Night Driver: http://www.atarimania.com/game-atari-2600-vcs-night-driver_s6880.html
Bowling: http://www.atarimania.com/game-atari-2600-vcs-bowling_s7059.html
top 100: http://www.atarimania.com/top-atari-atari-2600-vcs-_G_2_7.html
manual: http://www.atarimania.com/documents-atari-2600-vcs-manuals_2_2.html
Pics: http://technabob.com/blog/2009/07/20/rambo-tv-game/
Retropie – https://retropie.org.uk/

Lasă un răspuns

Completează mai jos detaliile despre tine sau dă clic pe un icon pentru autentificare:

Logo WordPress.com

Comentezi folosind contul tău WordPress.com. Dezautentificare / Schimbă )

Poză Twitter

Comentezi folosind contul tău Twitter. Dezautentificare / Schimbă )

Fotografie Facebook

Comentezi folosind contul tău Facebook. Dezautentificare / Schimbă )

Fotografie Google+

Comentezi folosind contul tău Google+. Dezautentificare / Schimbă )

Conectare la %s