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
On Wed, Mar 05, 2025 at 11:04:55AM +0000, Rowland Penny via samba wrote:> > Just to check, are both servers in the same subnet '192.168.1.x' ?Yes.> Can you connect with smbclient ? > > Start with 'smbclient -NL 192.168.1.1'mrvideo.ZROOT <27> smbclient -NL 192.168.1.1 Connection to 192.168.1.1 failed (Error NT_STATUS_HOST_UNREACHABLE) mrvideo.ZROOT <28> ping 192.168.1.1 PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data. 64 bytes from 192.168.1.1: icmp_seq=1 ttl=63 time=0.378 ms Now this is really confusing. I can run smbclient against 192.168.1.11 from 192.168.1.1 and it connects just fine. I guess the host unreachable is not what I normally think of being unreachable.> It might help to see the smb.conf files from both machines.192.168.1.11: Server role: ROLE_STANDALONE # Global parameters [global] log file = /var/log/samba/log.%m max log size = 50 security = USER server string = Linux Samba Server workgroup = VIDIOT idmap config * : backend = tdb cups options = raw hosts allow = 127. 192.168.1. [homes] browseable = No comment = Home Directories read only = No [usenet] comment = Linux usenet area path = /WebDisk/share_download/usenet read only = No [video] comment = Video Files Workspace path = /WebDisk/ftp/pub read only = No [website] comment = Web Server HTML Area guest ok = Yes path = /WebDisk/http/htdocs/vidiot read only = No [webdisk] comment = Web Server WebDisk Area guest ok = Yes path = /WebDisk read only = No [tmp] comment = Temporary file space guest ok = Yes path = /WebDisk/tmp read only = No 192.168.1.1: Server role: ROLE_STANDALONE # Global parameters [global] disable netbios = Yes <-- also tried with this commented out printcap name = cups security = USER server string = Linux Samba Server workgroup = VIDIOT idmap config * : backend = tdb cups options = raw hosts allow = 127. 192.168.1. [homes] browseable = No comment = Home Directories inherit acls = Yes read only = No valid users = %S %D%w%S [usenet-new] comment = Linux usenet area path = /WebDisk/share_download/usenet read only = No [printers] browseable = No comment = All Printers create mask = 0600 path = /var/tmp printable = Yes [print$] comment = Printer Drivers create mask = 0664 directory mask = 0775 force group = @printadmin path = /var/lib/samba/drivers write list = @printadmin root MB -- e-mail: vidiot at vidiot.com | vidiot at vidiot.net /~\ The ASCII 6082066843 at email.uscc.net (140 char limit) \ / Ribbon Campaign Visit - URL: http://vidiot.com/ X Against http://vidiot.net/ / \ HTML Email GEORDI: "Data, could you try being a little more positive..." DATA: "I hope we die quickly!" (Star Trek: Picard - 4/13/23)