[Leaplist] what is the easiest way to connect my Ubuntu box to a WindozeXP(SP2) machine on my home network

William A. Mahaffey III wam at hiwaay.net
Sat Dec 29 21:45:55 GMT 2007


Aaron Morrison wrote:
> Share the folder(s) on the WinXP machine and use Samba on the Linux 
> box to access them.
>
> Not used a GUI to play with share in a long while, but you should be 
> able to do something like this in the address bar:
>
> smb://WinXPMachineName/ShareName
>
> the "smb:"  might be "smbfs:"
> or it might even be "cifs:"
>
> otherwise you will have to run mount from a command line.
>
> mount -t smbfs //winxpmachinename/sharename /local/mount/directory
>
> --am

It is indeed CIFS w/ any reasonably current Linux. You will also 
probably have to use sudo to do the mount:

sudo /sbin/mount.cifs //$host/$share $mount-pt -o 
credentials=$HOME/.smbAuth,ro,soft

w/ $host, $share, etc. filled in as you need them. FC6 & later have some 
additional complexities w/ sudo, I don't know about ubuntu .... YMMV & 
all that.

-- 

	William A. Mahaffey III

 ----------------------------------------------------------------------

	"The M1 Garand is without doubt the finest implement of war
	 ever devised by man."
                           -- Gen. George S. Patton Jr.



More information about the Leaplist mailing list