Archive for the 'Linux' Category

WDS Bridging Experiences

At the moment, our best solution for network coverage to multiple buildings is wireless. I have been planning out various solutions to improve our system (fiber optics, dslam, or a better wireless setup) but wanted to share what we have now and how well it has worked in this particular area of our property.

WDS Repeating Map

The image above shows the main buildings that are being linked. The main router sits in an upstairs window and is a:

Linksys WRT300N

The three client WDS routers are also sitting in windows, and are on the first level of the buildings that they are in. They repeat the same SSID, and run on channel 11.

Buffalo WLI-TX4-G54HP

(2) Belkin F5D7230-4 routers

This setup has been going for weeks without an issue, and has served upwards of six families, a two person office, a fifteen to twenty person office, and a classroom with sixteen students.

We have other areas on the same property that have wireless access between buildings, but are nowhere near as complete as this arrangement. If we do end up using wireless to unify the property’s networks, then I will start looking into site to site links, multiple gateways, OLSR, and other mesh technologies. I have my doubts as to how well WDS scales. Has anyone had positive results with professional mesh solutions built on DD-WRT and Linksys hardware?

Posted by Karl Herrick on January 7th, 2010 in Wireless, Linux | No Comments »

Time Machine Size Limits

So I have this new My Book World Edition, and I set it up to allow for Time Machine backups. The problem? On OS X, Time Machine wants to eat up almost the entire amount of free space before it goes about deleting old files… (un)conveniently there is no option to restrict the size of the backups.

Never fear… I google’d a bunch and found that if you run the following command on the Mac doing the backups:

defaults write /Library/Preferences/com.apple.TimeMachine MaxSize 209715200

It doesn’t appear to do anything (or may possibly do something else that isn’t related to what I was after). :-)

So, I went about it in a different manner. If I clicked on the Time Machine icon (rotating clock) in the menu bar, and clicked “Enter Time Machine”… exited the GUI of Time Machine, and then opened terminal, I could do the following:

  1. Become root:
    sudo -s
  2. Goto the /Volumes directory, and look for which folder is mounted for Time Machine backups:
    cd /Volumes && ls -l
  3. Enter the folder that is mounted for Time Machine backups:
    cd $Mount_Point_For_Backups
  4. Look for the .sparsebundle file that is being used for backing up the workstation:
    ls -l
  5. Resize the sparsebundle file:
    hdiutil resize -size 200g $hostname.sparsebundle

The sparse image is then resized, and Time Machine will report that there is only around 200 gigabytes total available space rather than around a terabyte (which is the original size of the drive). :-)

Posted by Karl Herrick on January 2nd, 2010 in Backups, Apple, Linux, Bash | 1 Comment »

MBWE SSH access

Just setting up a My Book World Edition (1TB, WDH1NC10000) and would recommend the following steps after purchase for SSH access:

Now SSH into the MBWE using the username, “root”, with the default password, “welc0me”. After logging in, be sure to change passwords for the root user by issuing the command, “passwd”.

A few other things I noticed were necessary, if you want ssh access via public key authentication:

Posted by Karl Herrick on December 28th, 2009 in Linux, Bash | No Comments »

Office Compatibility

OpenOffice or Microsoft Office. Use either. It’s like OS X vs. Linux… whatever tool that is best for the job right?

Here’s how you can make the two play a little nicer…

OpenOffice

Users with older versions of Microsoft Office Products, including Word 2000/2002/2003, Excel 2000/2002/2003, PowerPoint 2000/2002/2003)

Users of Microsoft Office 2007

Posted by Karl Herrick on November 20th, 2009 in Apple, OpenOffice, Microsoft, Linux | No Comments »

The calendar has moved

So, I moved my calendars off of Apache/WebDAV and onto Google Calendar. Have I lost some control? Yes. Have I gained a huge amount of convenience. Definitely.

Google don’t fail me now!

Posted by Karl Herrick on November 1st, 2009 in Google, Linux | No Comments »