Configuring ddclient

ddclient updates IP addresses at dynamic DNS services.

# install ddclient
$ sudo apt-get install ddclient

Configuring dyndns.com

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

Configuring namecheap.com

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

# namecheap.com 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

protocol=namecheap
use=web, web=dynamicdns.park-your-domain.com/getip, web-skip='IP Address'
server=dynamicdns.park-your-domain.com
login=baligena.com
password='36e39d6fief87be5e38c7d7507863'
@,www

# 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

run_dhclient="false"
run_ipup="false"
run_daemon="true"
daemon_interval="300"

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

source:

tags:
ddns, Dynamic DNS

Change Linksys WRT54G Default Gateway IP Address

Changing linksys local/default gateway ip address from 192.168.1.1 to 192.168.0.1

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

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 192.168.0.1
and if you run ipconfig in the command line you should see the default gateway as 192.168.0.1
http://x-v.it/n9dfjf
also see other parts of the software with same ip address such as http://x-v.it/fna6kj

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 192.168.1.1

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 192.168.0.1 to 192.168.1.1
log into you motorola router 192.168.0.1
Navigate to,
Basic-> Setup-> change Lan Ip address to 192.168.1.1
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
http://x-v.it/uploads/capit/sa/62/4k.jpg

resource:
http://broadband.custhelp.com/app/answers/detail/a_id/22215

Setting Up Linksys Router

Open the router settings by inserting in the browser 192.168.1.1

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)