Mounting an XP share in FreeBSD

Donald J. O'Neill donaldj1066 at fastmail.fm
Mon Nov 1 18:00:12 PST 2004


On Monday 01 November 2004 04:29 pm, jason wrote:
> Gareth wrote:
> > Hi all,
> >
> > I've been experiencing some problems mounting a Windows XP SP2
> > share in FreeBSD 4.10. My samba version is samba-2.2.8a_2. I
> > have turned off the firewall on the windows machine, and all
> > traffic on the FreeBSD machine's internal 192.168.0 subnet
> > flows freely.
> >
> > I am trying to mount a share called 'backups' on the windoze
> > machine with the following command:
> > mount_smbfs -I 192.168.0.11 //guest at 192.168.0.11/backups
> > /mnt/backups/
> >
> > ... i am prompted for a password and i enter it. I then get
> > this message: mount_smbfs: unable to open connection: syserr =
> > Connection reset by peer
> >
> > If I give mount_smbfs the -N switch it makes no difference. The
> > connection keeps getting reset. I can ping the windows machine
> > and the windows machine can browse the samba shares on the
> > FreeBSD machine.
> >
> > Can anyone offer a helping hand?
> >
> > Thanks,
> > Gareth
> >
> >
> > _______________________________________________
>
> It should be mount_smbfs -I 192.168.0.11
> //guest at machine_name/backups /mnt/backups.  The machine_name
> could be the ip, but do you see your machine named 192.... when
> in network neighborhood?  Or is it something like windows_box or
> whatever?
> _______________________________________________

A slight correction on the above: Do you actually have a guest 
account the the XPbox that is active? Generally they are not and 
you have to use an actual account and password on the XPbox. If you 
have the name of the XP box in /etc/hosts you can use the name 
rather than the IP.

 mount_smbfs -I WinBox //user_name at WinBox/backups /mnt

Don


-- 
Donald J. O'Neill
donaldj1066 at fastmail.fm


More information about the freebsd-questions mailing list