From owner-freebsd-questions@freebsd.org Fri Mar 18 15:27:15 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A3AE9AD575A for ; Fri, 18 Mar 2016 15:27:15 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-188.static.stls.mo.charter.com [24.240.198.188]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6C981B36 for ; Fri, 18 Mar 2016 15:27:14 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.local (localhost [10.9.5.2]) by webmail.dweimer.net (8.15.2/8.15.2) with ESMTPS id u2IFRDlO006788 (version=TLSv1.2 cipher=DHE-RSA-CHACHA20-POLY1305 bits=256 verify=NO) for ; Fri, 18 Mar 2016 10:27:13 -0500 (CDT) (envelope-from dweimer@dweimer.net) Received: (from www@localhost) by webmail.dweimer.local (8.15.2/8.15.2/Submit) id u2IFRDUj006787; Fri, 18 Mar 2016 10:27:13 -0500 (CDT) (envelope-from dweimer@dweimer.net) X-Authentication-Warning: webmail.dweimer.local: www set sender to dweimer@dweimer.net using -f To: FreeBSD Questions Subject: Troubleshooting smbfs mount NetBIOS name resolution MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 18 Mar 2016 10:27:13 -0500 From: dweimer Organization: dweimer.net Reply-To: dweimer@dweimer.net Mail-Reply-To: dweimer@dweimer.net Message-ID: <083f0d154aa9f2ea1087eb39c0e170db@dweimer.net> X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/1.2-beta X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Mar 2016 15:27:15 -0000 I am having an issue mounting smbfs shares on my system. mount_smbfs: can't get server address: syserr = Can't assign requested address I know its failing the NetBIOS name resolutioni, but I don't know why, and cona't find a way to troubleshoot it. the fstab entries are: //SMBFS@workstation/Music /jails/webmail/ROOT/smbfs/workstation/Music smbfs rw,late,-N,noauto 0 0 //SMBFS@workstation/Documents /jails/webmail/ROOT/smbfs/workstation/Documents smbfs rw,late,-N,noauto 0 0 //SMBFS@workstation/Downloads /jails/webmail/ROOT/smbfs/workstation/Downloads smbfs rw,late,-N,noauto 0 0 //SMBFS@workstation/Pictures /jails/webmail/ROOT/smbfs/workstation/Pictures smbfs rw,late,-N,noauto 0 0 //SMBFS@workstation/Videos /jails/webmail/ROOT/smbfs/workstation/Videos smbfs rw,late,-N,noauto 0 0 I can work around it simply by using the -I switch mount_smbfs -I workstation //SMBFS@workstation/Music /jails/webmail/ROOT/smbfs/workstation/Music Every way I can think to test name resolution works, for both the short and fqdns name for the host, and I have an entry for it in /etc/nsmb.conf for it. [WORKSTATION:SMBFS] password=$$[**snip**] addr=10.9.5.66 There is an entry in the hosts file for this machine, think that was added some time back due to issues with smbfs mounts. Anyone have any ideas on how to troubleshoot the NetBIOS name resolution? -- Thanks, Dean E. Weimer http://www.dweimer.net/