With these settings I can plug my RPi into a router and it will configure a web URL to it’s routers IP address (although I haven’t set and UPNP stuff).
I’m using Namecheap so I simply combine this with this..
and it works! 🙂
I tested with
sudo ddclient -daemon=0 -debug -verbose -noquiet
Returns this at the bottom
SUCCESS: rpi: skipped: IP address was already set to 'My WAN IP'.
Also I edited my SSH config since apparently my home NAT router didn’t like keeping the connections alive. These settings went at the bottom of sshd_config – initially I used ServerAlive, which stopped SSH from working :/
Note: The RPi2 with officially supported Ubuntu is proving problematic, I want to move to something more reliable.
After installing Ubuntu on my RPi, I’ll now install Samba. This will allow USB drives attached to the RPi to be accessed by other computers, making the RPi into a NAS device.
- Install Samba:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install samba
- Duplicate original samba settings:
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.old
Continue reading “Install Samba on Ubuntu (on an RPi 2)”
Just to make things a bit nicer. I edited the template they gave with some CSS, just to make it look a bit nicer. It’s a saved as a .doc for security reasons, but its actually a .php…