Blogging with Common Sense

Ultimele

Utils for Raspberry Pi 3

Some usefull 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

– 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

– Scan IP on PC – Install advanced-ip-scanner.
http://www.advanced-ip-scanner.com/

– Remote:
https://www.raspberrypi.org/documentation/remote-access/
http://www.instructables.com/id/Setting-up-a-VNC-Server-on-your-Raspberry-Pi/?ALLSTEPS
– RealVNC Viewer – https://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

– Restart: sudo reboot
– Shut down: sudo halt -h
sudo shutdown -h now (or sudo halt)

– Update:
apt-get update
apt-get upgrade

– 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

 

– Documentation:
https://www.raspberrypi.org/documentation/

– Games
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

– Video
Kodi – http://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

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

– Backup SD card:
https://www.raspberrypi.org/documentation/linux/filesystem/backup.md
http://lifehacker.com/how-to-clone-your-raspberry-pi-sd-card-for-super-easy-r-1261113524

– Windows cmd:
ipconfig /all
arp -a
–––––––

– 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

 

–––-
– 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/

How to stream SoapCast to your TV

How to stream SoapCast to your TV without HDMI or VGA cable:

1. Install Serviio media server – http://serviio.org/download

2. Install SoapCasthttp://www.sopcast.com or http://download.cnet.com

3. Open some stream with SoapCast.

4. Open Servio console – select tabs: Library -> Online sources

Press Add button –
Source type: Live stream
Source url: http://127.0.0.1:8902
Display name: Live SopCast Stream
Press Add button.
# You can use another Display name
http://127.0.0.1:8902 is url stream from SopCast.

5. Open Servio console – select tabs: Library -> Online sources
At Preferred online content quality select High.

6. In Servio console select tab -> Presentation
– select Category name/Visibility and Disable all
Audio – Disable all
Image – Disable all
Video – Disable all

After that select Category name/Visibility:
Video – Display content only
Video – Folders – Display content only
Video – Online – Display content only

7. In Servio console select tab Library -> Shared foldersForce refresh button.

8. Connect the TV to your computer or to same network, open your TV -> select Source -> serviio (all share) -> Online stream and use Live Serviio Stream

9. Check other useful sources:
http://forum.serviio.org
http://www.sopcast.com
http://wiki.serviio.org
http://forum.serviio.org

For a better experience use a stream in HD.

If your TV doesn’t see the PC then select: Status – Network Settings – Bound IP adress and choose your network card.

Other problems.

.

SKRILLEX + ALVIN RISK – TRY IT OUT

Cosmic Gate feat. Tiff Lacey – Open Your Heart

Massive Attack (feat. Mos Def) – I Against I

Johnny Cash – Hurt

Parra for Cuva ft. Anna Naklab – Wicked Games

Subcarpaţi – Codrule, mărite domn