MacBook Pro DNS lookup failures over WiFi

I spent a long time today struggling to work out why DNS lookups were failing on a MacBook Pro while connected over Airport WiFi, but not when using an ethernet connection to the same router.

It turns out that although the Airport connection looked perfectly normal, when I went into System Preferences -> Sharing, it showed that Internet Sharing was enabled. The AirPort status icon in the menu bar did not show that Internet Sharing was enabled, but sure enough as soon as I unchecked the box everything was back to normal.

Apple Leopard fail!

Microsoft – leave me alone!

I have received a rather bizarre email from Microsoft:

Dear Windows Live User,

We are contacting you regarding your communication preference settings
for Windows Live and MSN.

Currently, your settings do not allow Microsoft to send you promotional
information or survey invitations about Windows Live and MSN. We would
like to communicate important product updates to you, so if you would
like to change your settings, please visit your account profile here
to change your preferences.

Sincerely,
The Windows Live Team

I wonder – what part of do not send me junk do they not understand?

BT eFrame 1000 dissected – part 2

My quest to unravel the hidden mysteries of the eFrame 1000’s proprietary protocols has been successful and I will start to share my initial findings.

The first significant discovery was that the frame acts as a client and connects to the PC server in response to specially formed broadcast packets or status requests. It also uses standard FTP to retrieve files from the PC.

To discover any photo frames on the network, the PC sends a broadcast UDP message to port 21900 and then waits for a response. The content of the message is as follows:

Search,PF110-PC,PF110-DEV,20021,21901,shuttle,shuttle,PF110,QmitwPF,1,192.168.1.2

  • The 1st parameter (Search) is the command
  • The 2nd & 3rd parameters (PF110) appear to be internal names for the eFrame
  • The 4th parameter (20021) is the port number that the FTP server is listening on
  • The 5th parameter (21901) is the port number that the message server is listening on
  • The 6th & 7th parameters (‘shuttle’ in this case) is the name of the PC server
  • The 8th parameter (PF110) is the FTP username
  • The 9th parameter (QmitwPF) is the FTP password
  • The 10th parameter (192.168.1.2) is the IP address of the server

When the frame receives this message, it responds to the server address and messaging port number with a message similar to the following:

Register,PF110-DEV,PF110,PC,21902,RegisterStatus,20021,21902,0829004123,”000829004123″,PhotoFrame,PhotoFrame,1,192.168.1.3

This message contains the port number of the frame’s messaging service and the device’s unique ID / serial number.

The PC server may also send status request messages:

Read,PF110-PC,PF110-DEV,21901,SystemStatus

To which the frame responds with:

Read-Resp,PF110-DEV,PF110-PC,21902,SystemStatus,0,0829004123,”000829004123″,1.0.0      ,53446460

The response contains the serial number / ID of the frame and the firmware version.

The following status request prompts the frame to report back the amount of free internal storage:

Read,PF110-PC,PF110-DEV,21901,StorageStatus

A typical response from the frame is as follows:

Read-Resp,PF110-DEV,PF110-PC,21902,StorageStatus,0,130990080,128073728

I have written some Perl scripts to automate the frame discovery, registration and file transfer which I will attach shortly.

Totally Society – very special offers

Check out this special offer as seen in Totally Society (“The UK’s local celebrity magazine”):

John Lewis

Wow – I bet people have been flocking to Wycombe for the prospect of a free second coffee.

So how do you set about claiming this incredible offer?

The Totally Society Card is a privilege card that offers benefits to local customers. Hundreds of local businesses have joined the scheme and offer discounts and special offers to cardholders.

To become a Totally cardholder there is a one-off enrolment fee of just £25.

Somehow I don’t think Martin Lewis will be interested in this one.