Configuring ddclient

ddclient updates IP addresses at dynamic DNS services.

# install ddclient
$ sudo apt-get install ddclient


Selected in the installation process and followed the prompts. Did not need to manually enter anything.


Enable Dynamic DNS for your domain
Login to your Namecheap control panel and enable dynamic DNS for your domain.
You’ll get a really long password string to use. Save that for now as you’ll need it later on.
namecheap dynamic dns password

$ sudo nano /etc/ddclient.conf

# example configuration
# the login is the domain name and password is the hash you saved in the prior step called ‘Dynamic DNS Password’.

# Configuration file for ddclient generated by debconf
# /etc/ddclient.conf

use=web,, web-skip='IP Address'

# remove cache
$ sudo rm /var/cache/ddclient/ddclient.cache

# force update, you may need to delete cache
$ sudo ddclient --daemon=0 --debug --verbose --noquiet

# another configuration file
$ sudo nano /etc/default/ddclient
# to enable automatic updates you must enable the daemon, see specified settings


# restart ddclient
$ sudo /etc/init.d/ddclient restart


ddns, Dynamic DNS

Change Linksys WRT54G Default Gateway IP Address

Changing linksys local/default gateway ip address from to

1. Connect an Ethernet cord to you router LAN and your computer
2. Login into the router by opening a browser and typing
3. Go to Setup-> basic setup
4. change “Local IP Address:” to

5. Unplug the power to the router and Ethernet cord from the computer and wait 30 seconds
6. Plug everything back and you should now be able to log into router with
and if you run ipconfig in the command line you should see the default gateway as
also see other parts of the software with same ip address such as

7. Unplug the Ethernet cord from the computer and see if you can connect to it wireless
8. Plug the router WAN to the modem for internet.
9. You’ll need to configure you linksys router to get internet

Setting Up Linksys Router

10. Done.

The reason I needed this was because I have two routers and they cannot have both the same gateway

How to change the motorola router

Motorola SBG6580 Router / Modem

Motorola SBG6580 Router / Modem

My router was recently changed and I tried to bridge it (act only as a modem) but it didn’t work. I had a perfect working Linksys router but my ISP had to changed my old modem to a 2 in 1 piece of shit Motorola SBG6580. The default gateway for the Motorola is different than the Linksys so I had to re-configure my server, which I did however there were some stuff that wasn’t working correctly. I didn’t know how to track it down or how to fix it so instead of going thru that headache I decided to change the Motorola default gateway/LAN IP address to what the Linksys was and it worked.

To change the LAN IP address from to
log into you motorola router
Navigate to,
Basic-> Setup-> change Lan Ip address to
then click apply. you wont be able to connect to wireless internet
so connect to the Ethernet cord and go to
Basic-> Setup-> click “Renew WAN LEASE”

Motorola SBG6580


Setting Up Linksys Router

Open the router settings by inserting in the browser

It will ask for a username and password, put that in.

Under Setup->Mac Address Clone select Enable and click on Clone Your PC’s MAC

Under Wireless->Basic Wireless Settings in Wireless Network Name (SSID): text box you can write the name for your internet.

For creating internet security:
Under Wireless->Wireless Security select Security Mode: as WEP.
Then write a Paraphrase and a Key 1 (password)