Thanks for your help, much appreciated. The wired connection will suit me fine just now. Unless the problems are to do with the iMac's Ethernet port, in which case at least I will have discovered the fault!
The issue by the way involved a dodgy connection which sometimes worked, sometimes...