I’ve been given the task at work to mirror all of our websites on-to our local development server. I knew instantly that I needed to use something like rsync but was unsure how to use it. Also rsync runs over SSH and requires human intervention to enter the login password for the remote server over SSH. As I want the mirror to update daily I would need to setup a cron job but that could not work as the rsync command rqquires someone to type in a password.
After Googling I found this fantastic article at How to Forge: Mirror Your Web Site With rsync. It gives an extensive step-by-step guide on how to setup mirroring using rsync, configuring the servers so that rsync does not require a password when connecting to remote server, and how to setup the cron jobs.
Cameron Networking, Operating Systems backup, cron, Linux, mirror, rsync, SSH
Found a fantastic guide at crucialp.com on how to copy files in Linux from one server to another using various techniques including SCP, rsync and tar (over SSH).
Check it out: How to Copy Files Across a Network/Internet in UNIX/LINUX (Redhat, Debian, FreeBSD, etc) – scp tar rsync
Cameron Networking, Operating Systems Copying Files, Linux, SSH
If you have a Netgear WNR2000 router like I do you might find that some computers and devices won’t connect to the internet. You maybe receive messages like the following:
Windows: Limited or no Connectivity
or
OS X: Alert: No internet connection
I had this problem for weeks, I tried updating the firmware to the latest version but this had no effect. The only way I could fix the problem was by restarting the router. The router would then assign an IP addresses but then a few hours later the computers would drop off the wireless and then when they try to reconnect the router would not assign them an IP.
After reading countless posts on the internet I found the solution to my problem in a post on the Netgear forums.
So what’s the solution?
Well it turns out that one of the settings for the DHCP service on the router defaults to the wrong value. Under the LAN Setup section of the routers web administration interface The RIP Version setting was set to Disabled for me and according to the documentation the default should be RIP-2, see below snippet from the routers own documentation:
RIP Version. This controls the format and the broadcasting method of the RIP packets that the router sends. (It recognizes both formats when receiving.) By default, this is set to RIP-2.
RIP-1 is universally supported. RIP-2 carries more information
Changing the value of the RIP Version from Disabled to RIP_2B under the LAN Setup section fixed the issue for me. Hope this helps.
Cameron Networking, Operating Systems DHCP, Netgear, WNR2000