How to get sound over HDMI to VGA working when using a TV

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
sudo nano /boot/config.txt
sudo nano /boot/config.txt
sudo nano /boot/config.txt
Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
hdmi_force_hotplug=1
hdmi_drive=2
hdmi_force_hotplug=1 hdmi_drive=2
hdmi_force_hotplug=1
hdmi_drive=2

References :
https://www.element14.com/community/thread/18205/l/how-to-get-sound-over-hdmi-working-when-using-a-tv?displayFullThread=true
http://raspberrypi.stackexchange.com/questions/2169/how-do-i-force-the-raspberry-pi-to-turn-on-hdmi

How to give your Raspberry Pi a Static IP Address

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
sudo nano /etc/network/interfaces
sudo nano /etc/network/interfaces
sudo nano /etc/network/interfaces
Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
auto eth0
iface eth0 inet static
address 192.168.1.81
netmask 255.255.255.0
gateway 192.168.1.254
auto eth0 iface eth0 inet static address 192.168.1.81 netmask 255.255.255.0 gateway 192.168.1.254
auto eth0
iface eth0 inet static
address 192.168.1.81
netmask 255.255.255.0
gateway 192.168.1.254
Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
sudo rm /var/lib/dhcp/*
sudo rm /var/lib/dhcp/*
sudo rm /var/lib/dhcp/*
Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
sudo reboot
sudo reboot
sudo reboot
Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
ifconfig
ifconfig
ifconfig

References :
http://www.modmypi.com/blog/tutorial-how-to-give-your-raspberry-pi-a-static-ip-address

Enabling Remote Desktop Access with xrdp on a Raspberry Pi

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
sudo apt-get install xrdp
sudo apt-get install xrdp
sudo apt-get install xrdp

Default username and password :

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
username:pi
password:raspberry
username:pi password:raspberry
username:pi
password:raspberry

then restart xrdp.

References :
https://www.maketecheasier.com/enabling-remote-desktop-access-on-raspberry-pi/
http://j.tlns.be/2015/02/04/getting-started-with-the-raspberry-pi-2-for-net-developers/