SMB vs. APF

 

DEFINITIONS

AEBS – AirPort Extreme Base Station

AFP – Apple Filing Protocol

APX – AirPort Express

HDD – Hard Disk Drive

MBA – MacBook Air

SMB – Samba

 

HALLELUJAH! Thank God for the Apple Discussion forums. After 3.5 hours on the phone to Apple Technical Support, trolling through the online discussion forums has led me to the discovery of SMB vs. AFP connectivity issues.

After two weeks of trying to iron out the not-to-impressive wireless network, I had resigned to the fact that everytime I woke my MBA from sleep, I have a 70/30 percent chance of losing connectivity with my external HDD that is connected to my newly purchased AEBS.

 

 

Error message after waking computer from sleep

Error message after waking computer from sleep

 

 

 

Even taking the advise of a “product specialist” – to format my external hard drive to HFS+ (Mac OS Extended [Journaled]), AND making sure the Partitioned Map Scheme was GUID (I had it on Master Boot – which is better for Mac/Windows file sharing), selecting the external HDD to “mount” at start up/login (through System Preferences > Accounts > Login Items) and then resetting the whole system to balance out the various products (MBA, AEBS, external HDD and APX) – it did not guarantee the external HDD to be located under “Shared Devices” in the Finder window.

The product specialist did touch on a fact that my NETGEAR wireless modem could be dynamically reassigning a new IP address to AirPort whenever I woke the MBA from sleep – hence the AEBS not being able to “follow” the ever-changing IP address. One work-around was to assign a static IP address. But that would mean configuring the NETGEAR wireless modem router and a bunch of other things, to which Apple could not help me with.

 

So, the solution? Waking up my computer from sleep many times until I can see my external HDD under the “Shared Devices”. This involved waking, login out, login in, rebooting, resetting….and a combination of all those.

 

BUT oh, what a discovery! It is 1:22am and after reading a thread about connectivity issues relating to external HDD with AEBS, here is the revelation

 

Some users did not have problems with the Airdisk, other users report major problems, like lost connection after Macbook sleep. Why did some user reports this major problems and other say everything is fine: I think that’s because they use different filesystems on their Airdisk and therefore they use SMB OR AFP as connection protocol. I assume that user with Fat32 formated USB-disk did not have the same problems because the use SMB to connect to their disk. My disk is HFS+ formated and so Leopard (10.5.1) uses per default the AFP to connect. I have major problems especially after my Macbook wakes up from sleep modus, then I get the “connection lost” error and I am not able to reconnect to the Disk again. I have to reconnect the usb cable to the AEBS or restart the station. But I find out, that the SMB connection to the disk works fine, even if the AFP corrupts after the sleep modus

Solution – (Go > Connect to server > smb://IP-ADDRESS/….. ).

 

Now comes a time of testing this SMB connection out. I have added both SMB and AFP to be connected to the server, and when I wake this computer from sleep in the morning, I will do some more vigorous testing (waking from sleep, login out/in, rebooting). My bet is that the AFP will be corrupted and that the SMB will still have a strong and stable connection.

Wish me luck!

The Ghosts of Old Macs

The Ghosts of Macs

…Out with the old….and in with the new…

When you get a Mac, the first thing you noticed when you turn it on, it just works.

This has been the motto of the Apple company since the mid 90’s. And although this works most of the time, the slew of new products and their relevant software has eroded this mantra…somewhat. As an “out-of-the-box” experience, it still holds true. There is no multiple “authorization” steps, or rebooting. Switch it on, and it automatically connects to your existing network, wirelessly.

Once the administrator account has been set, and you tinkle with the preferences, the software update loads up and you are required to install the necessarily new security and/or software updates. No incompatibility issues encountered.

Or more importantly, no more BSOD.

However, with the introduction to substandard software (MobileMe anyone? Can you hear me? No? Has my contacts been ‘pushed’ yet?), crippling firmware (Remote Disc, Time Machine) and buggy hardware (AirPort Extreme), my faith in the Apple mantra has waned.

Take into these two accounts. With the introduction of my new MacBook Air, the puny internal drive required a whole new upgrade of hardware. I decided to replace my aging (18 months) MacBook with the Air as my primary computer, while retaining all my data and information. This required a way of accessing my media file located externally from my internal drive.

In comes in first problem.

Deciding against the crippling Time Capsule (it’s ability to decrease your networks speeds considerably while preparing to back up) or its limiting function as ONLY the servant of Time Machine, and not as a NAS, I passed it up in favour of the AirPort Extreme. The lesser cousin, if not the original, had the ability of connecting printers and external hard drives through it’s one (another limiting factor) USB port – thus allowing the computers on the same network to access them, wirelessly.

In theory this sounds great, but in practice has resulted in migraines, 3.5 hours of calls to the Apple technical support line and many hours configuring, reconfiguring and researching on the internet on the way around the multitude of problems encountered.

This resulted in abrupt server disconnections, chaotic incorrect linkage of files through various media settings, corrupt data and a rather ad hoc “network”. It has been more trouble than its worth. However, theoretically speaking, it is a dream. I can wirelessly browse my entire music collection all residing on the external drive on my iPhone, and then selecting it to play wirelessly to my speakers.

Yes, when it works, it’s the most satisfying moment. When it doesn’t, I am music-less. The sound of silence is roaring. And half the capabilities of my “desktop” is lost. All because of an unknown setting through my DSL/cable wireless modem, AirPort Extreme and my MacBook Air. It should be on the same network, it should be able to recognise each other, it should have my external drive mounted onto my computer always. But it doesn’t.

When it works, it causes an jubilant elation of accomplishment. When it doesn’t, it only causes frustration and heartache.

Which brings me to the second issue – the software provided to work around the limiting capabilities of the MacBook Air.

Remote Disc. This is the most disabling, piece of shit I’ve ever encountered/installed. In theory, it shares the optical drive of one computer (be it a Mac or PC, a DVD or CD drive) with your brand new spanking optical drive-free MacBook Air. It has only one ability – install purchased software for the MacBook Air.

It cannot stream a DVD movie, play audio CDs, rip music or burn.

Ok. Since I only wanted to install iWorks 08 that I had purchased from the Apple Store onto my MacBook Air, I assumed it would be fine using my ‘redundant’ MacBook. I installed it, had to reboot (that is odd. Macs aren’t known for their requirement to reboot after installation of software, except for major software updates) and fired it up.

The MacBook Air could recognise the shared DVD drive, but could not receive authorisation. After tinkering with the options, it had me baffled. Assuming it was the difference in operating system (Tiger vs. Leopard), I did a software update, noticed there was more updates for the ‘DVD or CD Sharing’ capabilities for Tiger and installed them.

It still wouldn’t work.

In pure desperation, I tried an ancient PC, running Windows XP. I installed the software and guess what? It didn’t ask me to reboot! On a Windows machine! How ludicrous! I was astounded. The I pop in the iWorks 08 installation disc into the DVD drive and powered up my MacBook Air. Yes, it could recognise there was something to share. Yes it sent out a request for authorisation. And yes, the Windows machine accepted the request.

In 3 minutes, I had the new Apple iWorks 08 software installed onto my MacBook Air. And all it took was a Windows machine. How embarrassing.

I could have purchased an overpriced external “Superdrive” for $139 to install the software, but also have the ability to do any other optical drive can: watch DVDs, listen to audio CDs, rip music, burn discs….but then, it’s USB powered drive is only workable on a MacBook Air. How crippling is that? Apparently it has nothing to do with the power source of the Superdrive, but a change in the BUS internally – which could be rectified with a firmware update. But will that happen? No.

One can hope that Apple will fix up its growing list of failures – MobileMe, Remote Disc, AirPort Extreme and Time Capsule. As I tentatively embrace my new system setup, I am wondering about the ghost of my old MacBook…and relive the simplicity of having everything on one piece of device. But that is the price you pay for a wireless setup on the most sexiest machines I’ve ever typed on.

..Below is a transcript between myself and my patient on Friday afternoon…

A woman comes in for a pelvic ultrasound scan
I ask her what’s wrong
She wants to know something about months

“Bleeding for months?” I ask

“No, we need to find out the months”

“The what?”

“You know..”

“Ah, no…”

*awkward silence*

“I’m pregnant!” she finally blurted out

“OH I see…you want to know your dates?”

“Yes..how many months I am”

“OK”

So I scan her…

“Is this your first scan for this pregnancy?”

“No”

“Oh! how many scans have you had?”

“4″

“FOUR?! They would have found out your due date…”

“Oh no! They were for my previous children…”

:|

“OK…SO, is this the FIRST scan for THIS pregnancy?”

“Yes!”

“OK!”

*scanning…scanning*

“OK…you’re about 12w1day…”

“Ok…so, how many months does that make me?”

:|

“We don’t go by months, weeks are far more accurate…”

So I tell her again…

“You are 12w1d…”

She repeats slowly…

“12 weeks……1 day……so does that make me 1 month pregnant?”

………….
…………….

*more awkward silence…*

“There are roughly 4 weeks to a month…so that would make you…..?”

*nervous laughter*

“Goodbye!”

A 3kg object is released from rest.
At the foot of the ramp is a spring of force constant k=100 N/m. The object is placed next to the spring, compressing it a distance x before coming to rest.

(a) Find x
(b) Does the object continue to move after it comes to rest? If yes, how high will it go up the slope before it comes to rest?

Answer: no. There is a duck in the way.

Top marks Sam if you were in my class.

photo

Volume repair. The volume bin map information and free volume block count available had not quite add up. Don’t ask me precisely what this means, but it has affected internet connection. Actually, how Safari handles browsing.

The symptoms – the browser “hangs” only after a few minutes of browsing. No server connection error messages displayed. Other program requiring internet connection continues to process away, providing information as required.

However booting up in the single-user mode and running a system check like / sbin/fsck -fy automatically detects minor errors and modifies the system files.

Voila! All is well with the MacBook now. Life continues.

photo

photo

I have a confession to make. Wait for it. Shhhhhh. But I’m a fanboy.

I revel in delight at the seemless integration of products that bear no resemblance to the edible fruit it lends it’s name to.

The aesthetically designed casings, the strong placement of the logo, the marketing hype and strategy all lead to a desirable brand.

But what makes it ultimately appealing is it’s ease of use. It just plains works. No jargon authorization. No buggy software. And no more BSOD.

That coupled with the Gen Y’s quick adaptation to technology and brand status, makes Apple a global leader in computing. And in music. And in TV. Oh, and in mobile phones.

So much so, endless Mac “converts” preach to the masses on a daily scale. Why hire a sales and marketing team when you have the best marketing team in your fanboys?

Alas, who will continue to pit PC guy next to Mac guy? ;)

The inaugural post, written on the iPhone comes at a time my Safari has “lost” internet connection with the outside world. Left to my own naked devices, I can somehow remotely connect through my wifi.

But how does this happen? The signal is strong. IM programs continue to run. Mail continue to pour through. Yet internet browsing cannot be accomplished.

Once again, the iPhone saves the day. I guess this post is two-fold – 1) to keep this blog iPhone-centric, and 2) to be one step constantly online and updated.

Technology is always around us. It will never leave, no matter how intricate, delicate or seemless or unseen. You may not understand it, but you must appreciate it.

The sewers belch me up
The heavens spit me out
From ethers tragic I am born again
And now I’m with you now
Inside your world of wow
To move in desires made of deadly pretends
Till the end times begin

Is it bright where you are
Have the people changed
Does it make you happy you’re so strange
And in your darkest hour, I hold secrets flame
You can watch the world devoured in it’s pain
Strange

Climb my ribcage to
The replays run for you
Unhook my lights to peek behind the flash
For I am crystal chrome
I am shatter dome
I am kremlin king of angels avenged

To destroy the end