From owner-freebsd-questions@FreeBSD.ORG Mon Aug 14 05:39:51 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 39E4B16A4DA for ; Mon, 14 Aug 2006 05:39:51 +0000 (UTC) (envelope-from atom.powers@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61DCD43D60 for ; Mon, 14 Aug 2006 05:39:41 +0000 (GMT) (envelope-from atom.powers@gmail.com) Received: by py-out-1112.google.com with SMTP id c59so1068162pyc for ; Sun, 13 Aug 2006 22:39:41 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=htBXsJId46fceDWm1W7cgsfuQfE2HjAvJGSGryX4VLVTFXLXOxU/uaxHkRkdfXp4rOutdIZdLKV4hIlW4/LIWggJJ5gSR9unl71P9dK3jQO7jXwVx5h+ANMMAIhWQImb513NuQtbhZWFR+W7QumgP01o9oSC+KDLmeYJveIbd9c= Received: by 10.35.63.2 with SMTP id q2mr12492392pyk; Sun, 13 Aug 2006 22:39:41 -0700 (PDT) Received: by 10.35.110.8 with HTTP; Sun, 13 Aug 2006 22:39:41 -0700 (PDT) Message-ID: Date: Sun, 13 Aug 2006 22:39:41 -0700 From: "Atom Powers" To: "Snuk the Great" In-Reply-To: <7187c79e0608131811h1e57ee94i42b43a3e6f525bef@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7187c79e0608131811h1e57ee94i42b43a3e6f525bef@mail.gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Samba wont mount if my access point on windows is active X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Aug 2006 05:39:51 -0000 On 8/13/06, Snuk the Great wrote: > Hello, > This has me puzzeled. Tonight I could not find out why my freeBSD machine > could not mount a windows share. Whenever I tried it the shell would just > freeze. After a few hours I tried disabling my wireless Access Point on the > windows machine and now I was able to mount the mount the share. After this > I tried a bunch of things to make mount work even when the Acces Point was > on, like changing the IP adress of the AP, but no luck. > First I figured it might be a port issue, so I tried forcing Samba to go > through a different port, but again no luck. My guess is that your shell isn't freezing, it's just in a very long wait state. MS Windows, and samba, tend to do this when they are waiting for name resolution. > Let me explain my setup a bit: > My pc and the freeBSD machine are in a LAN. > This LAN has acces to the internet. > My pc has a WLAN card which server as a Wireless Access Point. > I use my pc to share the LAN with my Access Point, so this as well has acces > to the internet. > I am out of ideas what to trie/do. So I was hoping you guys can give me a > nudge in the right direction. > Check your name resolution first. Samba and windows both have tools to troubleshoot NetBIOS name resolution. Do you have a WINS server? If you haven't configured a WINS server samba/windows will use a broadcast to ask "the network" what names are available, this can be problematic on almost any network. Try appending a `&` to the end of the mount command, or press CTL+z after you start it to send it to the background. You should get your shell back so you can watch the samba log files. -- -- Perfection is just a word I use occasionally with mustard. --Atom Powers--