try
mount volume "afp://username:password@192.168.254.101/Macintosh HD"
end try
open script editor and paste the above, using your stuff...That's it. Save it as an app in applescript and chose it in login preferences, put it in dock. etc. You can mount any share point with this method. very fast and reliable. and FREE!!!!
Volume Mounter
for mounting AFP and SMB volumes
Version: 4.1d0