Actually, this is very easy to accomplish. Hit 'c' while facing the storage block on the mothership, the one that will end up holding all the mined stuff. Click 'v' on the rail basic that the drone will end up connecting to. On the drone, click 'c' on the storage block, and 'v' on the rail...