The week when my digital life was on hold

Last week I wrote about the arrival of my new Mac Mini, along with claims that “[my] digital life starts here”. Thankfully, unlike a chunk of my computing resource, my physical life doesn’t rely on Apple Support.

I was experiencing problems maintaining a steady Ethernet connection, initially whilst downloading OS X updates from Apple and then whilst copying data from a Windows XP PC. After a random time the connection would drop, with receive errors shown in the OS X Network Utility. The only way to break this cycle was to restart the computer after which time the network was once again available.

I spent almost two hours on the phone to Apple support staff, who were generally helpful, but seemed to be relying on scripted support sequences and an internal knowledge base. It seemed that all Apple really wanted to do was rule out the Apple hardware and point the blame on something else on the network. Sure enough, I couldn’t replicate the problem on a direct crossover cable (100Mbps full duplex), or via a 10Mbps half duplex hub, 100Mbps full duplex switch – just via a 100Mbps half duplex hub but crucially, the other devices on the network were all able to communicate with each other via the same hub with no errors at all. Only the Mac had a problem.

I finally snapped and said I wanted to return my shiny aluminium paperweight when the support analyst suggested I checked the firewall settings on the PC from where I was trying to copy data (I pointed out that if there was a firewall issue then no data at all would be copied – not several hundred megabytes before crashing and in any case the problem existed downloading updates from Apple’s website too).

After being advised to take my Mac to a hardware specialist 30 miles away (to see if there were any problems communicating with another Mac), I decided to rebuild it from the operating system install disks. The 14 Mac updates that took so long to install before (now 13 as one was a permanent BIOS update) were applied with just one error. It seemed that the problem was with the operating system as installed in the factory (presumably not a DVD installation, but performed using disk duplication software). Unfortunately, although it seems to take a lot longer before crashing now, the problem is still there when I connect via the hub, so I’ve added a switch just for the Mac (everything else is as it was before).

One thing I should say is that the guys who responded to my call for help on the Apple discussion forums were really helpful (I guess switching from Windows to OS X is something which Mac users would like to encourage).

So, now I’m up and running and my digital life can start. Just as well, because my new Fujitsu-Siemens S20-1W monitor turned up yesterday – 20.1″ of widescreen vision, at a resolution of 1680×1050, in a brushed aluminium case (no plastic here) and almost £200 less expensive than the Apple equivalent (I got it from Dabs.com for £365).

Fujitsu-Siemens S20-1W

Net neutrality is really important

The Internet was brought to us by the United States (when it was probably the best thing to come out of the cold war). Then Sir Tim Berners-Lee invented the web. Now we all rely on it and the telcos want to set up a two-tier Internet (maybe that really should be called Web 2.0!) with additional charges for access to high-speed content provision (we already pay more if we want a faster connection, now we may have to pay “tolls” for the extra lane on the “information superhighway”).

The cartoon below is the best illustration I’ve seen so far of what they are trying to do:

Net Neutrality

Various websites feature a recording of Senator Ted Stevens speaking in the US Senate on net neutrality (if you thought George Bush or Tony Blair were bumbling idiots, beleive me they have nothing on this guy). It’s worth listening to the whole clip but particularly from the 8′ 45” seconds point (“the Internet is a series of tubes” etc.) to see just what a poor grip on technology the US Senate has on this subject.

For, quite simply, the best-written desciption of why this is a big problem that affects all Internet users, read Sir Tim Berners-Lee’s blog post on net neutrality. There’s more information at Save the Internet.

Web 2.0 is being mis-sold

I’m not sure if its a good thing, but recently, I began to read more computing magazines. Many years back, when I was learning my trade, I used to read PC Plus but since then I’ve avoided the publications found in your average WH Smith because I found them to be far too consumer-focused and I consider that much of the advice given is far to simplistic and only tells half the story.

Recently, I’ve found that whilst reading trade publications such as IT Week will give me what I need to know from an industry perspective, I’m using more and more of the consumer-focused functionality built into the software on my PCs. I’ve also been relearning my trade as I try to become familiar with two non-Microsoft operating systems (SUSE Linux and Apple OS X) whilst rekindling my lost knowledge of PC hardware, so once again I have been reading the magazines that I shunned for so long. The trouble is, with their £6 cover prices (to justify the accompanying DVD which rarely has anything I want on it (or that I can’t download for free on the ‘net), I only really want to buy one a month and it seems to be difficult to get all I want from a single publication.

I did read Linux Format for a few months, but soon got tired of the Microsoft-bashing that took place (often from journalists who either run Windows under duress to work around a specific issue or never run Windows and associated applications because they can get all they need from an open source platform). I don’t believe that everything Microsoft does is good (far from it), but I do get annoyed when I see someone slating a perfectly good product because it was written by Microsoft and therefore it must be “evil”. Recently, my purchase of a Mac has led me to buy Mac Format and iCreate but by far and away the best general (cross-platform) PC magazine that I’ve found has been Personal Computer World.

One of the advantages of PCW is that it’s published by VNU business publications, so many of the writers are also contributors to the same trade publications that I respect already. I also like PCW because it has a mixture of hardware and software articles, just the right amount of advertising, and covers developments for all PC operating systems (although there is a slight bias towards Windows, representing its market position and therefore the largest chunk of the magazine’s readership); however, I still get annoyed by half-correct advice (often edited to save space, losing its full meaning in the process) and articles that have jumped on one bandwagon or another and seem to have lost the plot on the way. One of these was an article on Web 2.0 technologies in the July 2006 edition of PCW.

Web 2.0 is the current buzzword used to describe web services (rich websites that provide a service, that is consumed either by another application, or directly by a user via a web browser). I first came across the concept back in 2001 when Microsoft announced their .NET vision at a TechEd conference but others have extended the web services vision to include LAMP (Linux-Apache-MySQL-Perl/PHP/Python) applications and other platforms, in the process generating much media hype about the next Internet.

And that’s exactly my point. It’s all hype. There is no new Internet. Sir Tim Berners-Lee invented the world-wide web and browser-based applications have become widespread. Now that same platform is being used to develop new, rich, server-based applications and people are heralding a new dawn (or even worse, building up for a second .com frenzy). What has become known as Web 2.0 is not the next web, it’s simply a development of the vision that Berners-Lee had 15 years back, but now we’re all ready to use it (back in the early 1990s many business applications were character based and ran on an expensive server, whilst PC users were only just getting used toward processing and a GUI interface – we were only just getting used to the move from standalone PCs to LANs and would have struggled with the concept of massively connected systems at providing and consuming services from one another).

In fairness, Tim O’Reilly’s description of Web 2.0 is an interesting and thought-provoking article which I agree with in many ways but for every O’Reilly article there are a bunch of journalists who herald Web 2.0 as the “webtop”, replacing the desktop and even suggesting that Windows Vista will be the last edition of Windows. Whilst I have no doubt that Web 2.0 services will win the hearts and minds of consumers (hence why Microsoft is developing the Windows Live platform to complete with the giant of web services – Google) we are not about to see the death of the PC, to be replaced by a “dumb” browser terminal (anybody remember how thin clients were going to displace rich applications on the desktop?). Why not? Read on and I’ll explain why not.

Web services are a great idea, joining islands of information to enhance the Internet experience. We’ve already seem the development from static information pages to transactional data and web services take this to the next level; but despite the altruistic intentions of many Web 2.0 companies they also have to represent a viable business proposition. That means driving a revenue stream and (eventually) making a profit. If the venture capital that finances the web service (which is hemorrhaging cash until it gains sufficient presence to establish a revenue stream) dries up, where does my data go? I’m pretty sure it won’t find its way back to me but it may well end up at the next clearance sale of used IT equipment. My personal data may not be significant but if it was to fall into the wrong hands, it may include information that allows someone to steal my digital identity. Potentially worse, if one or more small businesses rely on the failed web service to operate, what happens to their data (and their business)?

I like my data to live on my computers – where I control it. Sure, maybe I’m a control freak, but I’m not alone in this view. I might put a few digital photos up on Flickr but I keep the originals where I know they are safe. I may trust my ISP to host a website for me, but I have an offline copy too. I don’t use my Google Mail account because I don’t want Google using my data to build a profile of my interests. And, if I fail to take backups, then I only have one person to blame when I lose my data.

Those are just a few examples from a tech-savvy consumer point of view but what about the corporate or government environment? You might accept that your bank, local council, and major government departments outsource their IT operations to an IT services company (they almost certainly do) but they will also make sure the necessary controls are in place. Their website might include functionality consumed from a web services provider but I wouldn’t expect confidential documents to be edited using Writely (the online word processor, now owned by Google), or financial data to be controlled using the Google Spreadsheets, any more than I would expect a business associate to contact me using a Hotmail e-mail address. Corporate and government organisations may consume some web services and will almost certainly provide more but they will not turn their internal operations over to the webtop.

Web 2.0 supporters claim that because all applications run in a browser then there will be less application support issues. Hmm. What does the browser run on? Yes, a lightweight operating system could well be developed to support just a browser but haven’t we all experienced buggy websites using dodgy scripting?

As long as corporates still use PCs as we know them today, there will be a market for Microsoft to sell Windows and Office for the desktop, along with supporting server infrastructure and application development platforms (including .NET – which is, after all, Microsoft’s vision for web services). Web 2.0’s webtop may well be on its way up, but it’s certainly not a replacement for the desktop.

Mac 101 and Switch 101

Last week I took delivery of my new Apple Macintosh. I’m still having some teething problems (more on that when I get a resolution to my networking issues) but right now the Mac is at home and I’m in a hotel in London, surfing and blogging from my Windows Vista notebook. Anyway, I just came across the Mac 101 and Switch 101 sections of the Apple website which are really cool resources for those who are getting used to a Mac for the first time (either as new computer users or switching from Windows respectively). Useful stuff.

I particularly like the Switch 101 tag line – “Lose Ctrl. Gain Command.”

Enabling Outlook Mobile Access for Exchange Server 2003

A few years ago I attended an Exchange Server 2003 overview presented by Microsoft UK and Conchango (where I subsequently worked for a while) and got to play with Outlook Mobile Access (OMA) using an emulated mobile phone connection. I was pretty impressed (these were the days before smartphones became a reality) but haven’t used the functionality since. Until last night that was, when (inspired by a mobility presentation which Jason Langridge gave at the Microsoft UK Security Summit a couple of days back) I was tweaking a few settings on my Exchange server and decided to enable OMA.

For those who are not familiar with OMA, it supports mobile microbrowser access to Exchange Server 2003 for browsers that use HTML, extensible HTML (XHTML), wireless application protocol (WAP) 2.x or compressed HTML (CHTML) with access to Inbox, Calendar, Contacts, and Tasks as well as a searchable global address list and searchable Inbox folders .

OMA Main Menu

My handset is a fairly simple Nokia 6021 (but it does everything that I need it to) and is not on the list of supported handsets but there’s an option in Exchange System Manager to enable unsupported devices. After enabling OMA in the mobile services global settings (and optionally enabling unsupported devices) browsing to the server and reading my messages should be as simple as initiating a GPRS connection from my phone to my Exchange server (but with /oma instead of /exchange) and logging on (SMTP forwarding is also available but it requires the use of a WAP gateway and additional settings to define the mobile carrier).

Unfortunately my browse request was greeted with the following error message:

A System error has occurred while processing your request. Please try again. If the problem persists, contact your administrator.

Additionally, Exchange Server logged the following error in the application event log:

Event Type: Error
Event Source: MSExchangeOMA
Event Category: (1000)
Event ID: 1503
Date: 06/07/2006
Time: 23:36:57
User: N/A
Computer:
servername
Description:
An unknown error occurred while processing the current request:
Message: The remote server returned an error: (403) Forbidden.
Source: Microsoft.Exchange.OMA.ExchangeDataProvider
Stack trace:
at Microsoft.Exchange.OMA.ExchangeDataProvider.OmaWebRequest.GetRequestStream()
at Microsoft.Exchange.OMA.ExchangeDataProvider.ExchangeServices.GetSpecialFolders()
at Microsoft.Exchange.OMA.ExchangeDataProvider.ExchangeServices..ctor(UserInfo user)

Message: Exception has been thrown by the target of an invocation.
Source: mscorlib
Stack trace:
at System.Reflection.RuntimeConstructorInfo.InternalInvoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean isBinderDefault)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at Microsoft.Exchange.OMA.UserInterface.Global.Session_Start(Object sender, EventArgs e)

Message: Exception of type Microsoft.Exchange.OMA.DataProviderInterface.ProviderException was thrown.
EventMessage:
UserMessage: A System error has occurred while processing your request. Please try again. If the problem persists, contact your administrator.
Source: Microsoft.Exchange.OMA.UserInterface
Stack trace:
at Microsoft.Exchange.OMA.UserInterface.Global.Session_Start(Object sender, EventArgs e)
at System.Web.SessionState.SessionStateModule.RaiseOnStart(EventArgs e)
at System.Web.SessionState.SessionStateModule.CompleteAcquireState()
at System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData)
at System.Web.AsyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Microsoft knowledge base article 898131 suggested that the on-screen error may have been related to multiple server identities and incorrect host headers for the OMA website; however I didn’t find that to be the case (that is to say that the resolution I found works regardless of whether or not I change the host headers to include the NetBIOS name of my server, which is accessed externally using a totally different name). Microsoft knowledge base article 817379 was much more useful as it seems the issue is related to the fact that my server is only accessible using an SSL connection, forms-based authentication is enabled and I don’t have a dedicated front-end server. Following Microsoft’s advice to create a secondary virtual directory for Exchange that does not require SSL (/exchange-oma), and then adding a registry value to point to the new virtual directory resolved the issue for me.

I still access the server using HTTPS to https://exchangeservername/oma (external HTTP connections cannot reach my Exchange server) but this fix resolves the internal operations between OMA, the OWA templates and DAV on the mailbox server.

To read more about configuring OMA, an OMA 2003 tutorial is available at MSExchange.org. It’s also possible to test OMA using the Nokia mobile browser and WAP gateway simulators (which is what I used for the screenshot shown above).

Accessing a public Internet connection from a virtual machine without getting charged twice

Last night, I stayed away on business in a hotel with broadband Internet access in my room (1.5Mbps according to a bandwidth speed test). Having paid almost as much for a 24 hour connection as I pay for a month at home, I decided to remain in my hotel room this morning and take advantage of a fast connection, rather than competing for a meagre amount of bandwidth in the office.

That sounds fair enough, but as I’m now working (rather than just surfing the ‘net and writing new blog posts) I also need to access corporate applications and data. My notebook PC is running Windows Vista but my corporate desktop runs in a Windows XP virtual machine using the VMware Player, so whereas last night I’d been using the host machine to access the Internet, this morning I need to use the virtual machine too.

The host PC is still working with the hotel ISP‘s systems but when I originally connected with the virtual machine (which is normally configured for bridged networking to logically separate the guest and host machines so it has it’s own IP address) I was presented with a welcome page which invited me to pay again for access.

Quickly changing the VMware Player’s Ethernet connection from a bridged connection to a NAT connection, disconnecting and reconnecting the Ethernet connection and then running ipconfig -release and ipconfig -renew in the virtual machine gave the Windows XP guest a new NATted IP address and me the ability to access the Internet from either the virtual guest or the physical host machine. Unfortunately I still can’t create a VPN connection to the company network (probably something to do with the NAT) but I can live with that for a few hours.

Apparently, my digital life starts here

A few years ago, I bought one of the original Apple iMac G3s. I tried to love it, but I found the operating system too difficult to live with and eventually I sold it to my mate Stuart (after it had sat idle for a year or so).

iMac G3

Nowadays, Macs are based on standard PC hardware and BSD Unix, so I decided to get myself a Mac Mini for all my digital media work (the Intel Core Duo 1.66GHz model), although I do intend to dual boot OS X and Windows XP (mostly out of idle curiosity)… and one day I might manage to install Linux on it too.

Apple’s UK distribution centre is only about 25 miles away from my house and although there is no next day shipping option, the guys at the Apple Store told me that they would assign my order a priority for fast dispatch (hoping that it would arrive next day). Priority! Pah! No such thing; however was dispatched within 24 hours and the man from UPS delivered it yesterday afternoon (still a day before Apple’s official estimate, but I had really wanted to get my hands on it before the weekend). Unfortunately, work got in the way of me playing with my new toy and I couldn’t do anything with it until yesterday evening.

Once I’d opened the outer packaging, I just had to take a picture of it all still boxed up (when was the last time you saw any other PC arrive in such attractive packaging?) – according to the printing on the back of the box “your digital life starts here”.

My new Mac.  Still in the box.  Look at all that gorgeous packaging

Once unboxed, setting everything up was really simple – after just a few questions (language, country/region, keyboard layout and a few other options) I was up and running; however the OS X software update utility told me that there were 14 updates to apply.

It all looked simple enough, but the Mac kept losing its Ethernet connection each time I tried to download and install all of the available updates (not even caching them, so it had to start the entire list of downloads again each time). After various restarts (to kick the Ethernet connection back into life) and resorting to installing updates a few at a time I’ve nearly got it working. I’m trying hard to be objective about OS X (I will try and live with it for a while before I install Windows XP on the Mac) but this initial experience has soured things slightly.

Still, it is a very attractive PC, and once I’ve transferred the data from my old PC I will have liberated quite a lot of desk space. Just enough to fill with a nice widescreen LCD monitor I think…

Photoshop 7 crashes on startup

Back at the end of 2003 I experienced a problem with Adobe Photoshop 7 crashing on a Windows XP machine. Since then, everything has been fine, but tonight the problem re-emerged so I dug out my old notes (which predate this blog) to try and find the answer.

Basically, when starting Photoshop, the splash screen displays as components are loaded and then nothing else appears (not even an error message).

Luckily, when this happened to me a few years back, I found a forum post with the answer to the problem – hold down the Ctrl, Alt and Shift keys whilst launching Photoshop (this will allow the settings file to be deleted and recreated). It’s worked twice for me now, hopefully blogging about it here will help someone else out too.

Configuring an HP MSA1000 using a serial cable

Earlier today, I needed to configure an HP StorageWorks Modular Storage Array (MSA) 1000 which I’ll be using for SAN storage over the next few weeks. Nothing too difficult about that, except that I wanted to access the SAN via the command line interface (CLI) and that meant using a serial cable to connect to the MSA controller. Each controller has what looks like an RJ45 Ethernet connection on the front, but standard Ethernet cables don’t fit. Fortunately I found the console cable that had been delivered with the SAN and found that it uses a slightly unusual variation of an RJ45 connection, which further research indicates is called an RJ45Z. The only noticeable difference (apart from how the connector is wired internally), is an extra notch on one side, as shown in the picture below:

RJ45Z

Incidentally, once the connection is made from a standard RS232 serial port to the MSA (most modern notebook PCs don’t have a serial port – I had to use an IBM USB-serial/parallel adapter), accessing the CLI simply involves starting Windows HyperTerminal with the following connection settings:

  • Connect using: comportidentifier (e.g. COM1)
  • Bits per second: 19200
  • Data bits: 8
  • Parity: None
  • Stop bits: 1
  • Flow control: None

Once connected, it may be necessary to press the Enter key until the CLI> prompt is displayed, after which commands can be issued to configure the MSA.

Further details can be found in the HP StorageWorks Modular Smart Array 1000/1500cs Command Line Interface manual (just in case, like me, you found this information using Google before you got around to reading the manual that came on a CD with the MSA!).

Running multiple versions of Internet Explorer side-by-side

I’ve written previously about using user agent spoofing to make Microsoft Internet Explorer (IE) 7 and Mozilla Firefox behave like legacy versions of IE but I just stumbled across this nifty method of running multiple versions of IE side-by-side. I haven’t tried it out yet and it’s unsupported by Microsoft but it sounds like an interesting idea for next time I’m doing some website development work.