Archive for the ‘Mac’ Category

Disabling Ethernet Prevents Mac OS X From Waking

Tuesday, July 7th, 2009

Problem: When MacBook lid is closed, fan continues to spin and MacBook becomes very hot.

Description: When in use the MacBook fan behaves as expected. On closing the lid to put the MacBook sleep, the fan continues to spin and the base of the machine becomes very hot.

Opening the lid displays a black screen. No mouse or login screen displayed. Fan continues to spin at what seems to be maximum RPM. Closing the lid again does not stop the fan from spinning.

Only available option is to hold the power button to shut down the system.

On pressing the power button to restart the system, the MacBook starts, displays grey start up screen for a second or two and then restarts automatically. MacBook then starts normally.

Once the user logins, the system works as normal again. Putting the system to sleep, causes the problem to reoccur.

Solution: The user deactivated the Ethernet interface within System Preferences -> Network. Reactivating the Ethernet interface and restarting the machine resolved the problem.

(Who’d have thought that disabling the Ethernet interface would prevent the system from sleeping? Certainly not me when I decided to do so.)

Watch The Newgrange Winter Solistice On-Line

Saturday, December 20th, 2008

The Office of Public Works will be streaming the Winter Solstice live from Newgrange. The broadcast will require Windows Media Player, so those of you on a Mac can use the User Agent Plugin for Firefox and Flip4Mac to watch.

The broadcast is available from 08:30 on Sunday 21st.

Edit: Just as I posted this, an article from The Irish Times appeared in my feed reader with more details about the “rebuild” of Newgrange in the 1960’s.

Slow-Mo Mac OS X Expose Shortcut Key

Thursday, June 12th, 2008

The Function Keys F3 – F9 in Mac OS X gives you access to the various Exposé “views”. For example, pressing F3 on my MacBook shows all open application windows. (Depending on your Mac, the function keys may be mapped differently. Check System Preferences – Exposé & Spaces for a full list.)

While trying to figure out a keyboard shortcut, I happened upon a neat little “feature” of Leopard. By holding down the Shift key while pressing a function key gives a nice little slo-mo version of the Exposé transition.

I know that’s not a great explanation, but give it a try and you’ll see what I mean.

Stress

Sunday, March 16th, 2008

It’s been a tiring couple of weeks. First there was moving house, then there was my MacBook problems, and then RAG week came along. It’s just been one stressful event after another.

I’m still not fully unpacked, but for various reasons out of my control, it looks like I’ll have to move again in the next couple of weeks. I’m not happy about having to move again. In fact, I’m pretty pissed off about it, so I’ll have to carefully consider where I want to go.

My new MacBook arrived last week. It has a slightly different keyboard layout to my previous one, so I’m still trying to get used to that. Thanks to Time Machine I was able to copy all my data, settings and applications from the old machine to the new one with very little fuss. All I really need to do now is remove the extra memory from my old MacBook and put it in to this one. Maybe tomorrow.

The replacement keyboard I ordered arrived the other day. As I had already removed the original keyboard, I had the new one on in a couple of minutes. So that’s another problem solved. But it has raised another issue: I now have two MacBooks, and seeing as I can only use one at a time, I think I’ll sell the old one. It’s just about a year old and now in perfect working order. I also have a top of the range Windows desktop that I want to get rid of. If anyone is interested, drop me a line.

MacBook Update

Thursday, March 6th, 2008

After a bit of work, I’ve managed to get my MacBook up and running. It’s not what you’d call “portable” any more, but it does work. The problem seems to be that keyboard is damaged, and it’s shorting out the powerboard. Because of this, the adaptor won’t power the mainboard or charge the battery.

With the keyboard off, the battery charges OK and the rest of the system seems to be OK. The only other minor problem is that the power button is built into keyboard, which means that the system can’t be powered on, even with the battery charged. The solution seems to be to connect the adaptor and touch the connecting cable from the keyboard to the mainboard, and voilà the system starts.

I’ve ordered a replacement keyboard, so that should sort out the problem, (fingers crossed!). For €70 (including shipping), it’s worth replacing. Now I have a replacement keyboard and a replacement MacBook in transit, so it’s decision time – do I keep the new MacBook and sell my old one, or do I repair the old one and return the new to Apple? Decisions, decisions, decisions.

As a side note, there’s a great guide to disassembling your Mac available from the iFixIt website.

The Most Interesting Announcement at MacWorld?

Wednesday, January 16th, 2008

Steve Jobs has made his keynote speech at MacWorld and the blogosphere is alive with the news of the MacBook Air, updated iTunes and iPhone software, but personally I think the most interesting announcement was that of the new Time Capsule.

Time Capsule is an Airport wireless router with an inbuilt 500GB or 1TB hard-drive. It’s available for pre-order now, but won’t be shipping until February. Costing €299 for the 500GB model and €499 for the 1TB version, considering the specs, it does represent decent value for money.

While integrating a wireless router and a server grade hard-disk may be a stroke of genius, the fact that the Time Capsule is specifically designed to work with Leopard’s Time Machine is what makes it so intriguing. If you’ve been following this blog, you’ll know that I, along with a large proportion of Leopard users, have been experiencing problems using Time Machine to backup to a NAS drive. This announcement confirms that using Time Machine to backup to a a network drive will be possible.

With Mac OS 10.5.1 this particular set-up won’t work, so either the 10.5.2 Leopard update that’s on the way will enable this functionality, or Time Capsule will be provided with the requisite software. Although new versions of iTunes and Quicktime are available for download now, there’s no sign of the 10.5.2 update yet. Given that Time Capsule won’t be shipping until February, we may be waiting a while yet for Apple to make this release available.

Large Leopard Update on the Way?

Thursday, January 3rd, 2008

According to a couple of different mac rumour sites, Apple released the latest update to Leopard – 10.5.2 – to developers last month. This update weighs in at a hefty 350MB and includes over 70 fixes. With SMB and Finder and being mentioned as getting updates, lets hope that my network drive problems are at an end.

The update should be available from the 15th January or so, as Apple are expected to announce new hardware and software at the Macworld Expo on this date.

The Quick Way to Connect to a Network Drive using Mac OS 10.5 Leopard

Tuesday, December 18th, 2007

I’ve posted a few times about the problems I’ve had connecting to a network drive using Leopard. Previously I posted about how Leopard was able to connect to a network drive, but wouldn’t show the contents of the shared folder. After a lot of testing, and a bit of luck, I followed that up with a post on how I was able to browse the folders on my network drive. Now, I’ve found a way to connect to my network drive and browse the folders almost immediately. Although this method may sound a bit convoluted, there are just four steps. As I only have my MacBook to test with, I can’t guarantee that this will work for you, but I don’t see any reason why it shouldn’t.

Step One

Connect to your network drive in the usual manner. Either use the Command-K shortcut, or from the Menu Bar use Go -> Connect to Server. In either case, you’ll be presented with a Connect to Server dialog box. The server address should be specified as:

smb://network.drive.ip.address

Click the Connect button and wait for Finder to connect to your network drive. If you have more than one shared folder set up on the drive you’ll be prompted for the folder that you want to connect to. Once Leopard has connected to the shared folder a new Finder window should open.

Step Two

Open Terminal from Applications -> Utilities -> Terminal. At the prompt, type the following command:

sudo smbclient -L NETWORK_DRIVE_NAME

The NETWORK_DRIVE_NAME refers to the the Windows name for your drive and is usually set using the configuration interface for the drive – this may be a web interface or an application, the exact details will depend on your specific drive. When you press Return, you’ll be prompted for your password. Type your password and press Return again. When you run this command, you should get a response like this:

Receiving SMB: Server stopped responding
session request to NETWORK_DRIVE_NAME failed (Call returned zero bytes (EOF))
Receiving SMB: Server stopped responding
session request to *SMBSERVER failed (Call returned zero bytes (EOF))

Although the Samba Client returns with an error message, don’t worry, you’re still on track to be able to browse the drive contents.

Step Three

Restart the Finder. This is achieved by typing the following command in Terminal:

sudo killall Finder

Once this command has been entered, the Leopard Finder will restart. You’ll notice that your Desktop icons disappear, as will any open Finder Windows. Your Desktop icons should reappear almost immediately.

Step Four

Repeat Step Three:

sudo killall Finder

Open a Finder Window, and under the Shared section your network drive should be listed. Click the drive name, and then double-click the shared folder name. You should now be able to browse the contents of the drive.

Important Notes

  • I don’t know why, but the Finder has to be restarted twice for this work.
  • The Terminal commands must be run using sudo or as root (using su), even if you are logged in as an adminsitrator. If you are an administrator, you’ll be able to run the smbclient command and the killall command, but the process just won’t work.
  • I have no idea why this works, or how, I just know that it does work for me.
  • I’d recommend that you close all open programs while doing this, just in case. Using the killall command may have some strange effects on open programs, or lead to system instability.
  • Once again, I haven’t been able to test this on any other system other than my own, so your milage may vary.

Changing the Contrast on a MacBook

Friday, December 14th, 2007

While I was playing around with the Keyboard Shortcuts for the previous post, I noticed that there’s a shortcut for adjusting the contrast on my MacBook. I’ve been looking for a way to do this for ages, and it turns out that it’s possible to do this with a shortcut, albeit, not a very obvious one:

To increase the contrast use: Ctrl-Alt-Command-. (that’s a full stop)
To decrease the contrast use: Ctrl-Alt-Command-, (and that’s a comma)

I’ve changed them to Ctrl-Alt-PgUp and Ctrl-Alt-PgDn on my Mac – it’s so much easier to remember.

Using Tab to Select Dialog Box Buttons in Mac OS X

Friday, December 14th, 2007

One of the things that has annoyed me about Mac OS is the behaviour of the Tab key. When presented with a dialog box with multiple buttons, pressing the Tab key will not allow you to shift focus from one button to the next. Thankfully this default behaviour can be changed.

 

Dialog Box with Tab Key Disabled

Figure 1: Dialog box with Tab key disabled

 

In System Properties, open the Keyboard & Mouse settings and click on the Keyboard Settings section. At the bottom of the screen is an option for Full Keyboard Access.

 

System Properties - Keyboard & Mouse - Keyboard Shortcuts

Figure 2: System Properties – Keyboard & Mouse – Keyboard Shortcuts

 

In this section there is the option for using the Tab key to move focus between a) Text boxes and lists only, or b) All controls. Click the radio button for the second option, and the Tab key will now allow you to tab between all the available dialog box buttons. On a MacBook you can also use the following shortcut key to turn on/ off this behaviour: ^fn F7

 

Dialog Box with Tab Key Enabled

Figure 3: Dialog Box with Tab Key Enabled

 

Once this option has been enabled you should be able to use the Tab key to highlight any of the available buttons. One word of caution though: if you select a different button than the already highlighted default, then you must use the spacebar to “press” it. Using the Enter or Return keys will always “press” the default button.