[Samba] Can't get Win7 to mount
Rowland Penny
rpenny at samba.org
Wed Mar 5 11:04:55 UTC 2025
On Wed, 5 Mar 2025 02:04:59 -0600
Mike Brown via samba <samba at lists.samba.org> wrote:
> As an experiment, I thought I would try mounting from the new linux
> to the old linux. I was able to mount from the old to the new while
> working on fixing a bad hdd in the old linux. That mount worked
> great.
>
> But, when I tried to go from new to old, it failed:
>
> mount -t cifs -o username=brown //192.168.1.1/usenet-new
> /mnt/usenet-new
>
> resulted in:
>
> Unable to find suitable address.
>
> It asked for the password, but then gave the above error message.
> Another clue?
Possibly, but you are not using Samba here. While mount.cifs is in the
Samba git, it isn't a Samba product, but examining the mount.cifs
source code, it appears that message is coming from here in
'mount.cifs.c':
2307 if (!currentaddress) {
2308 fprintf(stderr, "Unable to find suitable address.\n");
2309 rc = parsed_info->nofail ? 0 : EX_FAIL;
2310 goto mount_exit;
2311 }
Just to check, are both servers in the same subnet '192.168.1.x' ?
Can you connect with smbclient ?
Start with 'smbclient -NL 192.168.1.1'
That should tell you what shares are available, then attempt to connect
with:
smbclient -U brown //192.168.1.1/usenet-new
You should get logged in and see:
Try "help" to get a list of possible commands.
smb: \>
It might help to see the smb.conf files from both machines.
Rowland
More information about the samba
mailing list