Skip to content

Instantly share code, notes, and snippets.

@brunokruse
Created October 21, 2014 01:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brunokruse/7c37177893609f3dfee7 to your computer and use it in GitHub Desktop.
Save brunokruse/7c37177893609f3dfee7 to your computer and use it in GitHub Desktop.
[ notes ]
- installing tightvnc
sudo apt-get install tightvncserver (and vnc viewer on client)
- configuring raspberry pi hostname
raspberry pi name:
sudo nano /etc/dhcp/dhclient.conf
hostname ckpi
Add the line
send host-name "raspberrypi";
- Two things to check (assuming your machine is called my-machine, you can change this as appropriate):
That the /etc/hostname file contains just the name of the machine.
That /etc/hosts has an entry for localhost. It should have something like:
127.0.0.1 localhost.localdomain localhost
127.0.1.1 my-machine
- You can force a refresh by
disabling/enabling the ethernet port
sudo ifdown eth0 (wlan0)
sudo ifup eth0 (wlan0)
- scan all ip's in network
ping 192.168.1.255
arp -a (address resolution protocol)
- starting vnc automatically
cd /home/pi
cd .config
mkdir autostart
cd autostart
nano tightvnc.desktop
[Desktop Entry]
Type=Application
Name=TightVNC
Exec=vncserver :1
StartupNotify=false
[ tutorials ]
http://www.suntimebox.com/raspberry-pi-course-part-1/
-- change password
passwd pi
-- release dhcp
sudo dhclient -v -r wlan0
- get a new ip
sudo dhclient -v wlan0
---
Download NOOBS
http://www.raspberrypi.org/downloads/
First Commands
sudo apt-get update
sudo apt-get upgrade
File Sharing - Samba
http://www.openframeworks.cc/setup/raspberrypi/Raspberry-Pi-SMB.html
sudo apt-get install samba samba-common-bin
Get Ip
/sbin/ifconfig
Textmate / Sublime Text
[ Hans On ]
Hello World LED - Python
[ remember ]
install yeoman
install grunt
install generator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment