Skip to content

Instantly share code, notes, and snippets.

@jlyon
Last active December 24, 2015 21:09
Show Gist options
  • Save jlyon/6863804 to your computer and use it in GitHub Desktop.
Save jlyon/6863804 to your computer and use it in GitHub Desktop.
My notes on XBMC and pi. Includes noip.com installation

Connect via ssh (get current ip)

  • home ip is usually 192.168.1.16
  • work ip is usually 192.168.1.145

get the ip of pi (look for debian)

nmap -sV -p 22 192.168.1.1-255

Look for something like

Nmap scan report for 192.168.1.185
Host is up (0.0087s latency).
PORT   STATE SERVICE VERSION
22/tcp open  ssh     Dropbear sshd 0.51 (protocol 2.0)
Service Info: OS: Linux; CPE: cpe:/o:linux:kernel

Install noip

From: http://raspberrypihelp.net/tutorials/29-raspberry-pi-no-ip-tutorial

sudo apt-get install make gcc
mkdir /home/pi/noip
cd /home/pi/noip
wget http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz
tar vzxf noip-duc-linux.tar.gz
cd noip-2.1.9-1
sudo make
sudo make install 

noip can be started with:

sudo /usr/local/bin/noip2

To make noip load on boot, edit the crontab: sudo crontab -e, adding:

@reboot sudo /usr/local/bin/noip2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment