Microsoft, what’s my MAC address?

Using MAC address filtering to add an extra layer of security to your WiFi network?

Need to know the MAC address of your shiny new Windows Phone 7 device?

You’re out of luck!

There is a rather illuminating discussion on Microsoft Answers – MAC address for WP7 Devices – that sheds light on the issue…

A WP7 customer asks:

I wanted to connect my WP7 device to my home WiFi. However, I will need to know the MAC address of the WP7 before I can connect.

Can anyone let me know where to get it?

Johan van Mierlo (a Microsoft MVP Windows Phone Specialist) replies with:

Yup, they only way is to make sure your wireless network is visible, connect with WEP or other security and afterward make your network invisible again.

Another couple of customers comment:

seems like microsoft just “forgot” to implement that…

I cannot believe this was missed..

My thoughts exactly.

Microsoft, are you for real? You don’t exactly have a great track record when it comes to security and the only way of obtaining the WiFi MAC address of a WP7 device is to disable security?

A leopard never changes its spots!

Tru.ly mad.ly deep.ly

A quick comment on the hoo-ha regarding .ly (Libyan) domain names.

The recent controversy started when the ‘owner’ of the vb.ly domain name found that her adult content link shortening service was terminated without notice, because it was being used for “activities/purpose not permitted under Libyan law”. The other partner in the vb.ly domain name posted an article titled “The .ly domain space to be considered unsafe“. No shit!

What made anyone think a Libyan domain name was going to be “safe”? When you lease a domain name from a foreign registry you are totally beholden to their rules – and whims.

I registered a .me domain name (the allocated top level domain for Montenegro), which is managed by a Montenegrin joint venture. It’s a great name but I do half expect that it could stop working one day and so I don’t use it for mission critical purposes.

The hypocrisy of the Americans is laughable. USA has been an enemy of the Gaddafi regime in Libya ever since he seized power after a coup d’état in 1970. They bombed the capital Tripoli in 1986 and were highly critical of the Scottish government’s decision to release Lockerbie bomber al-Megrahi (a Libyan national).

The United States only restored full diplomatic relations with Libya in 2006, but somehow seem perfectly comfortable with developing web businesses that are totally dependent on Libya’s fragile domain name registry.

How services such as bit.ly and ad.ly have attracted millions of dollars in VC funding when they are built on such potentially unstable foundations is a mystery.

Go figure!

Squeezebox Server on a budget

Looking for an inexpensive, quiet and low-power Squeezebox Server?

The O2 Joggler is a rebadged version of a OpenPeak OpenFrame 7″ touch-screen device. It has an Intel Atom Z520 CPU running at 1.3Ghz, 512Mb of RAM and 1GB of internal flash storage. You can also run it as a fully functioning Squeezebox Server!

Here’s how:

  • First check that your Joggler is running the latest 26635.S3 (Jun 25 2010) software, if it’s not then update
  • You will need telnet access, so download this Joggler telnet hack
  • Unpack the Zip archive to the root of a USB stick formatted in FAT16 or FAT32
  • Unplug the Joggler, insert the USB stick, then power on again and wait!
  • When the Joggler reboots it will have telnet enabled 🙂
  • Telnet to the IP address of your Joggler and login with the username ‘letmein’
  • Download Logitech’s Squeezebox Server v7.5.1 and save to your PC desktop

Now use these commands to download and install flipflip’s Squeezebox server wrapper:

cd /media
mkdir /media/ssods4 /opt
ln -s /media/ssods4 /opt/ssods4
cd /opt/ssods4
wget http://oinkzwurgl.org/downloads/ssods/ssods-4.9.1-i686.tar.gz
tar -xzvpf ssods-4.9.1-i686.tar.gz
echo "ssods:*:1000:1000:ssods:/opt/ssods4:" >> /etc/passwd
echo "ssods:*:1000:" >> /etc/group
LC_ALL= /opt/ssods4/etc/init.d/rc.ssods start

Assuming all the above has gone ok, you can now open a browser and finish the Squeezebox server installation:

  • Open a web browser on your PC and enter the URL of your Joggler, e.g. http://192.168.1.65:9099/
  • Follow the instructions in SSOXX to upload the squeezeboxserver-7.5.1.tgz file you downloaded earlier and then install the SqueezeCenter tar ball
  • When it’s finished you should see Success messages like the screenshot below
  • Now just click on ‘Start SqueezeboxServer’ to fire it up

If you are going to use your Joggler as a dedicated Squeezebox Server then you might want to make the following tweaks to ensure that it all starts up automatically and unnecessary processes are disabled:

  • Edit  /etc/init.d/boot.d/S99boot.hacks and add the line ‘LC_ALL= /opt/ssods4/etc/init.d/rc.ssods start’ in the starthacks() function, just after the telnetd line should be fine (my S99boot.hacks additions are at the end of this post)
  • Go into the SSOXX settings tab and make sure that autostart is enabled
  • Stop the X11 server and O2 GUI from loading by commenting out the following two lines from the end of /etc/init.d/rcS
cd /openpeak/tango
./run &
  • Disable automatic software updating to ensure that all your good work is not undone in the future:
echo "127.0.0.1 localhost applog.openpeak.net o2.openpeak.com o2.openpeak.co.uk" > /etc/hosts

I want to keep my Joggler in a cupboard and forget all about it, so I have no use for the display.
To save power I switch the screen off entirely, to do this I use Starter’s driver patches:

cd /media
wget http://get.intanet.com/dl/brightness.sh
wget http://get.intanet.com/dl/bp
./brightness.sh allowscreenoff 1
./brightness.sh negativevalues 1

Add the following line to /etc/init.d/boot.d/S99boot.hacks:

/bin/echo "-3">/proc/blctrl"

If you want to mount a Samba/CIFS share (like a NAS mount) you will need to download the cifs.ko kernel module and add that to the startup file.

The starthacks() function in my /etc/init.d/boot.d/S99boot.hacks startup file now looks like this:

starthacks()
{
  # enable telnet
  /usr/sbin/telnetd
  # load CIFS kernel module
  /sbin/insmod /media/cifs.ko
  /bin/sleep 2
  # mount network share
  /bin/mount -t cifs //192.168.1.2/musicshare /mnt/music -o user=music,password=secret
  /bin/sleep 2
  # disable screen
  /bin/echo "-3">/proc/blctrl
  # start SSOXX and Squeezebox Server
  LC_ALL= /opt/ssods4/etc/init.d/rc.ssods start
}

Reboot your Joggler for the display driver patches to load.

"Just avoid holding it in that way"

Those were the words of advice offered by Apple CEO Steve Jobs to a customer who emailed Jobs after experiencing antenna performance issues with his new iPhone 4 purchase.

What’s going on Apple?

When the original iPhone went on sale in June 2007 it changed the mobile industry overnight. This is not an overstatement. The traditional mobile handset manufacturers had become lazy and lethargic, churning out what was essentially the same product year after year with minor tweaks and trendy colour variants. Apple’s original iPhone product was nothing short of revolutionary in terms of user interface, style and engineering.

Apple were allowed to capitalise on their advancements because lazy handset vendors were unprepared and unable to react quickly enough. Many attempts were made to duplicate iPhone’s innovative touch screen user interface, most notably the much heralded Palm Pre, but none of them could claim to be a success. But that was then.

It took another relative newbie to the world of mobile devices to mount a serious challenge to Apple’s dominance – and that was the mighty Google. While Apple was content with making minor improvements to their devices, Google was plotting a revolution of their own.

Step up Google’s Android platform. Android has slowly gained momentum and adoption in the smartphone marketplace and recent handsets such as HTC’s Desire have finally become a credible alternative to iPhone.

Some would argue that Android’s capabilities have actually surpassed those of iOS (the new name for iPhone’s operating system). Credit for that in part is due to the decision to release Android as Open Source, while iOS has remained proprietary and tightly controlled by Apple – much to the chagrin of mobile application developers. In the first quarter of 2010 Android devices outsold Apple for the first time – and by quite some margin. Apple’s reaction was to sue HTC.

iPhone 4 Fail

So what of iPhone 4? Apple are in the unusual position of playing catch-up but this latest addition to the iPhone line up has failed to impress. Apple’s marketing campaign for iPhone 4 claims “This changes everything. Again.” Something has definitely changed, but not in a good way.

One day after the official iPhone 4 launch and customers are already complaining of poor antenna performance, yellow tinted displays and the ease of accidentally smashing iPhone’s “ultradurable” aluminosilicate glass panels. These problems would ordinarily have been identified during pre-release testing, but Apple’s paranoia dictates that test devices cannot be used without their protective plastic shroud and so early adopters have unwittingly become iPhone 4’s beta testers. There are parallels here with Microsoft’s old approach to product development, this is not something that Apple consumers are used to.

Customers forgave the original iPhone for its idiosyncrasies, restrictive capabilities and lack of features because it was something very special. Now there are many new mobile handsets that can justifiably claim to be special. iPhone 4 and the iOS 4 software update have brought iPhone up to a comparable specification level, but iPhone has lost its crown as the undisputed smartphone champion and the next generation are snapping at its heels.

Apple AirPort trusted networks list

I was tearing my hair out trying to understand why my MacBook repeatedly joined a WiFi network, despite my removing the SSID from the preferred networks list and deleting the AirPort network password from the System Keychain. I was attempting to force my MacBook to only associate with the 5GHz version of a WiFi network (on an Airport Extreme Base Station), but no matter what I did I would find that the MacBook occasionally reverted to associating with the original 2GHz SSID again.

The mystery was solved with the discovery that as well as the WiFi Preferred Networks list, there is a hidden trusted networks list buried deep within Mac OS X. Even if you remove a network SSID from the visible lists, your MacBook can still silently associate with previously saved networks.

Mac OS X retains WiFi network information and authentication credentials in the com.apple.airport.preferences.plist file which is located in the /Library/Preferences/SystemConfiguration folder.

To remove WiFi networks, either delete the individual networks from the KnownNetworks key using Property List Editor, or delete the file altogether and allow AirPort to rebuild it. It’s probably a good idea to turn AirPort off before editing the file.

There is an old Apple knowledge base article – AirPort: How to reset the trusted networks list – which also describes this.