Mounting an XP share in FreeBSD

Gareth freebsd at ubersoft.co.za
Tue Nov 2 02:33:22 PST 2004


> 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
>>
>>
>> _______________________________________________
>> freebsd-questions at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to 
>> "freebsd-questions-unsubscribe at freebsd.org"
>>
>>>Jason wrote:
>>>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?

Aah! Thanks Jason.

Weird, i get the following message if i use the IP as the machine name:
"mount_smbfs: unable to open connection: syserr = Connection reset by peer"
...but if i give the machine name as the actual windows machine name then 
all is fine, regardless of the username i specify. I didn't think it would 
make the difference.

Thanks for your response.

Cheers,
Gareth




More information about the freebsd-questions mailing list