Getting ADSL to your Airport Extreme

Apple is famed for it’s “it just works” technology, and for the most part that’s true. However, when it comes to the Apple Airport Extreme Base Station, it’s lack of a built-in DSL modem means you have a little figuring out to do if you want to use the Airport Extreme as part of an ‘internet connected’ network.

When my Netgear DGN2000 DSL wireless router expired a short time ago I decided to replace it with a Linksys WAG120N DSL wireless router. Great little device (so far) but it’s one drawback is that unlike the Airport Express which has three Gigabit Ethernet ports (1,000Mbps), the Linksys only has Fast Ethernet ports (100Mbps). Now I do large backups every day to two Synology NAS devices and they, like my Mac Pro are equipped with Gigabit Ethernet ports. Connecting them via the Linksys alone would just create a bottleneck and slow down my data transfers ten fold! Enter the Airport Extreme – the objective is to use the Airport Extreme as the centre of my wired network, but to also have internet access at the same time. Sure, I’m lucky enough to have two ethernet ports on the Mac Pro so I could connect one to the Airport Extreme and the other to the Linksys, but that’s messy plus not all Macs have two network ports. At it’s simplest, what I wanted was this…

AE Config 00

Basic Network Configuration

The first step is to set up the Linksys DSL router as normal, so connect the Mac to it via a cable and log in to it as per the manufacturers instructions. Give the DSL router your ISP details and configure it with an IP address of 192.168.1.1 and a subnet mask of 255.255.255.0. Next it’s a case of configuring the network settings on your Mac to talk directly to the DSL router, so enter System Preferences, choose Network and make sure that your Mac has an IP address (e.g. 192.168.1.4) on the same subnet as the DSL router, and tell it that the router it should talk to is at address 192.168.1.1. At this point you should have a simple network of your Mac and the DSL router and you should be able to surf the internet. Next I connected an ethernet cable to one of the Linksys routers four ports with the other end going to the ‘WAN” port on the Airport Extreme. Now it was a case of firing up the Airport Utility and manually configuring the Airport Extreme.

AE Config 05

Connect your Airport to your modem/router

In the Airport Utility, once it finds your Airport Extreme Base Station, highlight it and click on the Manual Setup button. Now click on the Ethernet tab at the top ans select Internet Connection. You should set Connect Using to Ethernet, and Connection Sharing to Off (Bridge Mode).

AE Config 01

Internet Connection settings

Now click on the TCP/IP button and choose to configure IPv4 Manually. Now it’s time to gve the Airport Extreme an IP address and tell it how to talk to the outside world.

Give the Airport Extreme an IP address of 192.168.1.2 and a subnet mask of 255.255.255.0 (same as the Linksys). For the Router entry, enter the address of the Linksys, i.e. 192.168.1.1, and for the DNS Server(s) do the same. Here you are telling the Airport Extreme that any traffic that is not for something on your home/local network (e.g. internet traffic), send it to the Linksys router.

AE Config 02

TCP/IP settings

At this point you should be able to save the settings and apply them to your Airport Extreme. The next step is to disconnect the network cable from your Mac to the DSL router, and instead connect the Mac directly to one of the ethernet ports on your Airport Extreme. Now you should find that you can still surf the web but your Mac is only connected to your Airport Extreme. You can then add devices (in my case the two NAS boxes) directly to the Airport Extreme so that they can talk to your Mac at gigabit speeds, rather than just the ‘fast’ speeds of the DSL router.

If you want to use a service like OpenDNS then there’s no reason why you can’t and it’s simply a case of adding the IP addresses of the two OpenDNS servers to your Network settings on your Mac, like so:

AE Config 03

OpenDNS settings on the Mac

I have since extended this setup with wireless and I currently have an XBox 360, a PS 3 Slim, a Nintendo Wii, a Mac Mini, an iPad WiFi and iPhone 3G, plus my Panasonic Viera TV all talking to the internet via this little network. The Linksys DSL router is currently providing the (802.11n) wireless service, but I’m looking at ways to use the Airport Extreme’s ability to provide 5Ghz wirelss to enhance this setup (i.e. avoid interference from my neighbours on the 2.4Ghz band).

More on that in another post…

Advertisements

Synology Diskstation DS108J – Jack of all trades

Wanting something to replace my large, noisy, energy guzzling Windows 2003 Server PC in the loft, and to free up my Mac Mini from a life of server servitude, my attention inevitably turned to the Synology Diskstation DS108J, given that it supports AFP, and the Synology website specifically talks about Mac compatibility rather than just adding it as a footnote as some manufacturers do.

Eco-friendly packaging

Eco-friendly packaging

This single-bay device is essentially an external disk enclosure with NAS built-in. You pop in your own hard disk (this model takes a single SATA disk, but there are IDE models and multi-bay models too) then work through some fairly quick and intuitive configuration screens and you’re done – the disk appears on your network. The range of things the Diskstation can do is almost mind boggling for a NAS device, plus there are a few features where you think “I’m really glad they thought of that”. Unfortunately it seems there’s a fly in the ointment, and a fairly large hairy one at that called AFP. But let’s start at the beginning…

For the casual home user, the DS108J looks like the ideal model with a price tag of around

What's in the box?

What's in the box?

£95+VAT. I ordered one from Novatech together with a Samsung SpinPoint 1Tb SATA drive (HD103UJ), which according to the Synology compatibility list is OK and doesn’t have any hibernation issues in this setup.  I’ve also used this same model of hard drive in various PCs and it’s always performed well. Assembling the device is simplicity itself, just slide the two halves of the enclosure apart, fit the drive then put it back together, a real no-brainer that took all of two minutes. Plug in the power and ethernet cables and you’re good to go. The manual is (supplied on disk) is good with one or two minor exceptions, and given the intuitive Diskstation Manager 2.0 software which presents a beautifully designed Ajax interface via your browser, all you really need to know is what address your Diskstation is at. There’s also a wizard to help with the initial setup so it’s incredibly easy to get this thing online. Build quality is nice and solid, although the unit has a slightly 70’s design look about it if you ask me – perhaps if they got the Apple designers to give this the once over?

Easy as (SATA) pie.

Easy as (SATA) pie!

Once I’d set up the basics, the first job was to copy around 380Gb of data on to the device as my first ‘backup’. Doing a drag & drop file copy using PathFinder, I could see that with an estimated transfer rate of just 6MB/sec over 100MB ethernet, this was going to be a slow process. Thoughtfully Synology has equipped the DS108J with three USB ports and an ‘instant USB copy’ button. All that’s needed is to connect a USB drive and press the button and the entire contents of the USB drive will be copied to the Diskstation under a (pre-configured) folder of your choice. The only gotcha is that the USB drive must be formatted using FAT for the Diskstation to recognize it for this operation. As luck would have it, I had my data on just such a drive so I plugged it in and off it went.

Copying 380Gb of data from my Freecom 500Gb USB hard drive using the wired connection took a few minutes short of a staggering 24 hours (yes, twenty four hours), which I wasn’t expecting. Armed with this I set about running some speed tests. I use Super Flexible File Synchronizer to run daily, weekly and monthly backups to various locations. One particular backup is an incremental backup of a local folder on the Mac Pro containg around 50,900 files totalling 239Gb. The software scans the target directory and then presents a list of what has changed and needs backing up, so I decided to test this step using identical sets of files on the local and target drives, and here are my results:

  1. Lacie d2Quadra 1Tb FireWire 800 – 1m 09.1s
  2. Mac Mini 1.83GHz, 2Gb attached Freecom 500Gb USB drive, AFP share via 100Mb ethernet – 2m 27.1s
  3. D-Link DNS-323 NAS, SMB share via 100Mb ethernet – 5m 10.4s
  4. Synology Diskstation DS108J & Samsung SpinPoint 1Tb, AFP share via 100Mb ethernet – 23m 29.7s!!
  5. Synology Diskstation DS108J & Samsung SpinPoint 1Tb, SMB share via 100Mb ethernet – 6m 11.8s

The closest comparison is obviously between my trusty old D-Link DNS-323 NAS box and the Diskstation from which you can see that the Synology took well over four times as long when using AFP, but only slightly longer when using SMB. Currently I’m puzzled as to why this is other than it being down to the Linux implementation of AFP, which I know from my attempts to get it working under OpenSUSE can be pretty painful. I should mention that I was running these tests with all the extra features of the DS108J like media sharing, photo sharing, FTP, etc., switched off. Switching these features on may slow the performance of the Diskstation, but hopefully not by an appreciale amount. My next task will be to investigate whether or not there is any way to improve on these figures? To be fair the Synology website does show it’s own performance figures and rates the DS108J as 2 out of 5 ‘blobs’ compared with the DS107+ which sports a faster processor and more memory but costs another £65+VAT. The figures here suggest that uploads to the DS108J take almost twice as long as for the DS107+, while for downloads the DS108J achieves around 65% of what the DS107+ can manage.

Bursting with features!

Bursting with features!

There is so much more I could write about the DS018J given it’s huge range of features, but there are plenty of reviews out there, plus the Synology website covers these features pretty well. Just look at the left-hand side of the screenshot to see what sort of things this gadget will do. One thing I did notice in the manual about printer sharing (you can connect a printer to one of the DS108J’s USB ports and access it over the network), is that this will only work for Macs when using PostScript. It’s not a feature I plan on trying given that my Canon ip4000 is already attached directly to the Mac and if I need to share it, I’ll probably do so via the Mac. Also I found that when directly connecting a USB drive to use the one-button disk copy function, it would only work using the port on the front of the unit next to the button itself, which isn’t mentioned in the manual.

I’ll have a look at the other features of this device in due course, but for now it’s a definite thumbs up – if you’re a Mac user looking for a cheap yet flexible NAS device, the the DS108J fits the bill, and gives you plenty of options to play with. Incidentally, with UPnP DMA turned on, the Diskstation appeared on my XBox 360. I haven’t tried out streaming yet, (currently I use Connect360 on the Mac and it works really well), but that’s something else to keep me busy this weekend.