contact

Posts Tagged ‘Airport Extreme Basestation’

time machine back up to remote macs over lan and internet

Sunday, April 5th, 2009

BACK UP OFTEN!!!!

Now that I have my mac mini set up as my home server I also wanted to backup its system drive to preserve all the configuration. I have an Airport extreme basestation that has a 500GB hard drive hooked up to it. I have used it to back up my mac book pro over the air and it worked just fine. When I tried to select it as the backup drive for my mac mini the time machine preference pane would crash every time. So I played arround with it and it appears that time machine is now able to backup to any afp:// file server. It is important that you mount it using the following instructions and not just click on it in the finder. It appears that apple does something differently when using the shares in finder.

Setting up time machine with a remote destination

This is done by pressing command + K in finder and using OS X built in ability to connect to different file servers

connect to server

connect to server

You might get prompted for user name and password. Once connected the afp source shows up in your finder.

afp source

afp source

In my case that is the airport extreme base station called chrillo.Airport with the hard drive. This could also be another mac. Now head over to your time machine preferences and the click the change drive button.

remote time machine backup

remote time machine backup

As you can see it shows up with its Ip address. In my case I used the internal Lan IP

western digital mybook pro edition 500GB shuts down at random

Tuesday, December 2nd, 2008
WD mybook 500GB pro edition

WD mybook 500GB pro edition

today my time machine backup broke again. I tried reformatting the drive, hooking it up to the computer directly, firewire, usb nothing worked. at first the computer sees the drive and is able to mount it but after a short time the drive simply turnes off during file transfers. I called up western digital techsupport to see how I can fix the problem:

the solution: the drive has a broken thermal control unit and this can only be fixed by getting your drive replaced.

so I signed up for western digitals RMA program and now I am waiting for a replacement drive to be shipped to me. the friendly tech support guy told me I might even get a mybook studio edition which would be quite nice. so I now I have to wait and see how this whole replacement things works out.

Update I @ 9.12.2008:

today I got a package from western digital. It had a probably used western digital 500GB studio edition in it. The being used part sucks I think but since I only sent in a mybook pro edition a used studio edition seems to be a fair trade. The inital setup worked just fine but about 5 attempts to create a new time machine backup failed. The disk mounts allright but at some point during the file transfer it simply shuts down again. if I then hit the power button at the back it comes back up and mounts again which the old one did not do. Anyhow this is just not right for a product with such a price and that is advertised to be “mad for a mac”. As I type time machine is backing up to the drive which is now hooked up to my airport extreme router. I will see if it will be able to complete the backup that way.

western digital 500 GB studio edition

western digital 500 GB studio edition

Update II @ 10.12.2008:

Over night the backup of time machine finished successfully to the drive hooked up to my airport extreme. This morning I reconnected the drive via firewire 800 and deleted the old stuff, did two small backups all without problems. I take the drive now as working, since it will be hooked up via usb to the router anyway. Now I have to send Western Digital my old disk or they will charge me for the new one.

Update III @ 10.12.2008 22:56

around noon the drive did not wake up for a backup until i pulled the power plug. So I called up tech support and told them about it. He advised me to to perform a firmware upgrade which i did. after that everything seemed normal. But After rebooting the mac, I tried to launch the backup and it froze my mac. no piece of software or hardware has ever frozen my mac. I mean seriously this is an external hard drive not a crappy external tv card with weird drivers or anything. any 5 ? usb drive can do what this 150 ? piece can’t. I currently try to continue the backup. its been in a preparing state for ever and just as I type this it started to copy data , and it really finished. great. wonder what happens in an hour when the next backup is due. Anyhow I will call up tech support tomorrow again and have the drive replaced again. This is supposed to be a reliable backup solution. luckily i have mac girlfriends macbook to backup my critical data. I don’t know what I would do if I really needed the drive for work or anything. man I hate tech support!

One thing I know now for sure is I will get an offsite online backup solution, backblaze will be my choice. its 50$ a year thats about 40 euros a year. 150? for a WD studio Edition / 40 ? = more than 3 years. thats longer than the warranty of these drives.

Update IV @ 11.12.2008 1:01

now the drive appears to be working again. it finished serveral backups just fine while powering down in between. I will keep the laptop running all night to see if it can keep it up till next morning.

Update V @ 11.12.2008 9:44

the drive has beend working all night. finishing several backups powering up and down. I will keep the drive for testing over the weekend and decide monday whether to send it back or not.

Update VI @ 16.12.2008 23:05

I decided to give the drive another chance over the long weekend I had, and it worked. no more hickups, i open the lid of my macbook pro, i hear the drive power up, time machine does what it needs to do, the back up is finished, exactly ten minutes later the drive powers down. I mailed back my old mybook pro. hopefully it gets there before the holidays otherwise western digital is going to charge me the ridiculous amount of 384 dollars for the new 500GB studio edition which is like 150 ? at amazon. but I have faith in the postal service. I hope the drive lasts till I get my new mac mini server once the new models arrive at macworld in january. At this point I am totally clueless which external harddrives to get to extend the storage of the server, since I do not want to trust Western Digital with my really important data.

Update VII @ 22.09.2009 19:21

I have used the drive now since the last update without any further problems. I have been on vacation the last 2 weeks and after coming back, it powered up, backed up more than 13 Gigabytes and went back to sleep like a charm. This is how I want things to work.

I will keep updating this post as things progress.

Apple Airport Extreme Basestation and Wake On Lan

Monday, September 15th, 2008

In order to cut down on energy usage I wanted my allwayson windows XP server to hibernate when not in use. My network adapter supports wakeOnLan and I also had it configured in a minute. Make sure Wake on Lan is activated in your Bios as well as in the configuration menu of the networking card.

Wake On Lan settings on the server

Wake On Lan settings on the server

wake on land settings - energy management

be sure to check all three boxes. The last box makes sure your pc does not wake up from random networking traiffc.

this is what it looks like on a mac

this is what it looks like on a mac

Then I go to my macbook pro and fire up this tool http://gsd.di.uminho.pt/jpo/software/wakeonlan/ which is a small free but fully functional wake on lan tool for macs that is able to send the so called magic packets that wake up a computer in standby or hibernation mode. There are a ton of tools like this for windows as well. google is your friend.

wake550

So within the network everything works just fine. I put in the mac address and the broadcasting IP which usually is something like 192.168.x.255 and hit go. seconds later my server is booting up. very nice.

Wake on Lan over the internet through a Airport Extreme basestation is a different story. In theory all you had to do is forward the UDP port 9 to the broadcasting IP of 192.168.x.255. So any magic package that hits your router on the wan port is automatically broadcasted over your local network in order to find the machine that needs to be powered up. pretty simple in theory.

1. Update 4.5.2009

2. Update 20.5.2009

Wake on lan over the internet

It is possible to do it over the internet on the long run. The important thing to understand is that the Airport extreme basestation still will not allow any broadcasting of outside traffic. It can be done however if you manually specifiy the ip address for the computer that should wake up. your are very likely to have your Airport Extreme Basestation hand out IP addresses to devices using DHCP. Your computer needs an IP reservation that will give it the same Ip every time it is on, so the magic package will always reach the correct machine. you can make such a reservation in the Airport utility at internet –> DHCP. The AEBS will only remeber the computer with the IP reservation for a short amount of time so it is not a long term solution.

Ip reservation

You need the computers mac address to make this reservation, usually something like this xx:xx:xx:xx:xx:xx. Then head over to you computer’s network settings and asign the same IP you just reserverd manually to the computer.

manual ip

Now you have to forward the UDP 9 port in the airport utility. Unlike previously assumed you do not want to forward it to the broadcasting IP but to the specific IP you asigned to the computer.

forwarding the udp 9 port

forwarding the udp 9 port

http://ifatwww.et.uni-magdeburg.de/wol/

http://stephan.mestrona.net/wol/

here is a really good german explaination of the entire issue.

Bottom Line:

it is possible to use wake on lan within your local network/subnet if you have an Apple Airport Extreme Basestation, but it is not possible to wake up your machine over the internet since the AEBS will not forword the magic packages coming in at the UDP 9 Port.

It is possible to do wake on lan over the internet and on your local lan with your airport extreme basestation. Thanks a bunch for the commenter who came up with this idea!

It is possible to do wake a lan over the internet but after a short time the AEBS “forgets” the link to the computer and it will not work any more. Sry for the messy post, I will clean it up once I have figuered the damn problem out!

Mac OS X Leopard – Time Machine & Airdisk after 10.5.3 Update

Wednesday, June 4th, 2008

I run a Airport Extreme basestation with a western digital My Book 500GB USB harddrive attached to it and since 10.5.2 it has been possible to do wireless backup, with a few draw backs. I had to mount the drive manually each time I wanted to perform a back and the back ups took considerably longer than they used to over fire wire but it was working. After I upgraded to 10.5.3 Time Machine kept on telling me

The drive could not be mounted

even though it was already mounted and Time Machine could access it for back ups. I read up on the problem and found some fairly complicated solutions but in fact it is really easy to solve the problem:

Simply go to system preferences and Time Machine and choose select drive and reselect your Airdisk. Not only that Time Machine will continue your old back up but it now also mounts the drive all by it self which which completly automates the Backup process.

I now enjoy Time Capsule like backup without having had to spend a the extra money.