From owner-freebsd-questions@FreeBSD.ORG Tue Dec 24 06:25:49 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 091BB88B for ; Tue, 24 Dec 2013 06:25:49 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BF6A912CA for ; Tue, 24 Dec 2013 06:25:48 +0000 (UTC) Received: from r56.edvax.de (port-92-195-127-162.dynamic.qsc.de [92.195.127.162]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id A1024252DD; Tue, 24 Dec 2013 07:25:40 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id rBO6PJaN001988; Tue, 24 Dec 2013 07:25:19 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 24 Dec 2013 07:25:19 +0100 From: Polytropon To: Kenneth Hatteland Subject: Re: Desktop system fails to show and play files from NAS Message-Id: <20131224072519.d0182971.freebsd@edvax.de> In-Reply-To: <52B88BEB.3030600@kleppnett.no> References: <52B88BEB.3030600@kleppnett.no> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Dec 2013 06:25:49 -0000 On Mon, 23 Dec 2013 20:15:55 +0100, Kenneth Hatteland wrote: > I have a desktop with 10.0 RC2 installed. On the network I have a WD > Mybook live 3TB NAS drive. Right now it is CIFS protocol I use to > connect to it. I have a problem playing mp3 files, watching movies and > opening pictures stored on the NAS from FreeBSD machines. It goes black > or does not start. On my ubuntu machines on the same system it functions > flawless. So I guess I am missing something. Anyone have a clue ? Yes, this is a DRM copy protection implemented in CIFS intended to annoy you for not using proper NFS access. :-) No, honestly: It seems that you can can access files per se, right? The drive is mounted and files show up, but opening causes some errors. In regards of video files ("go black" or "won't start") it might be a missing codec. What media player do you have installed, and does it have all the codecs enabled? I usually recommend using mplayer, and if you insist, with the gmplayer and skins added. For playing MP3 files, the same concept applies. Try something simple for diagnostics, like mpg123. Also make sure the mixer is set so you actually _hear_ something. Oh, and to start at a lower level, make sure your sound card is working. For image files... this is where things get interesting. There should be no restriction that prevents you from seeing them - except the actual image data isn't delivered properly. Here are some commands that you can try: % mount (to see where the CIFS drive is mounted, just to make sure) % stat /mnt/cifs/path/to/some/file (can the file be accessed?) % cp /mnt/cifs/path/to/some/file /dev/null (can the file be read?) % display /mnt/cifs/path/to/some/image.png (can the image be shown? requires ImageMagic) % mixer (is the volume set?) % mpg123 /mnt/cifs/path/to/some/music.mp3 (does MP3 play with a simple tool? requires mpg123) % mplayer /mnt/cifs/path/to/some/movie.avi (does video play? requires mplayer + codecs) If this all works at a "low level", the problem might be within a desktop environment. You should provide more details about the programs you're using and what you have already tried to diagnose the problem (usually with command examples and their output). Accessing files from a NAS, even when using CIFS instead of NFS, should not be a problem. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...