WDLXTV App pack: samba.app.bin-0.2

Heres another app.bin pack for use in WDLXTV, my custom WDTV firmware. The following pack contains all the necessary binaries to enable SAMBA/CIFS network share mounting. This means you can now mount your Windows shared drives and watch them from your WDTV. I’ve also included a SAMBA server which will share the contents of your WDTV over the network, therefore you can have an easier way to get files to your WDTV.

Remember CIFS is much slower than NFS, so if you can get NFS working that is the preferred way to go. NFS will stream 1080p, whereas CIFS cannot.

Simply unzip samba.app.bin.zip, then place samba.app.bin onto a harddrive/flashdisk & boot your WDTV with the device connected.

You will now have an SAMBA server running and can mount your WDTV from any windows machine. You can also now mount your windows shares.

In order to have WDLXTV mount your windows shares at boot you must include a line similar to below inside of your net.mounts file.

xmount //ip/shareName label cifs user=XXX,password=YYY

Change ip to the ip of your windows machine.
Change shareName to the name of your windows share.
Change label to what you’d like the windows share to be mounted as.
Change XXX to your windows username.
Change YYY to your windows password.

Note: If the default smb.conf I provided is not what you desire you may supply your own, by placing it on the root of the drive with samba.app.bin. You may also save your custom smb.conf to /conf for persistent SAMBA settings


  • You must use WDLXTV-0.3+

  • The system will become unstable if you remove the device containing the app.bin while the wdtv is on.



* added dfree script to return available disk space.

** samba.app.bin 0.2 **

March 31st, 2009 12:23


“You must use WDLXTV-0.3 (rectifies password issue)”

Will it be available soon :D ?

Thanks in advance !

<<< edit: look one minute into the future from the time you posted this comment ;) –b-rad >>>

[...] Samba/CIFS support aka windows share mounting (requires Samba app pack) [...]

April 5th, 2009 22:46

I have problem mounting some cifs folders. I don’t know linux … just digging around on my own reading posts and wikipedia etc … I was able to mount some folders but not others. The first 3 works but the last 2 doesn’t.

Any tip? Does it have to do with nested folders?

xmount // DadaPC_Users cifs user=user,pass=pass

xmount // DadaPC_Public cifs user=user,pass=pass

xmount // SimpleShare cifs

xmount // RecordedTV cifs user=user ,pass=pass

xmount “// – MyBook” “MyBookQuotes” cifs user=user ,pass=pass

… thanks for working on the fw. It’s “kewl”!


<<< edit: user=user ,pass=pass is wrong. it must be user=user,pass=pass with no space between –b-rad >>>

April 6th, 2009 07:17

How can I change the file view from thumbnail to text list? Navigating the thumbnails is useless without placing pics for each movie. That’s just not worth the hassle. If this isn’t currently available, is anyone working on it? How can I help with the development?

<<< edit: well you go back to list view like you probably had it before the update. –b-rad >>>

April 6th, 2009 14:25

Just wanted to post a quick comment. Just wanted to say thank you for the great firmware and everything. Just got my WD TV yesterday have it flashed now. And running with a trendnet usb ethernet adapter.

I have installed the samba package on a usb thumb drive.

I have a question. I am able to connect to the samba server from my windows machine and browse the usb thumb drive so far.

Is there anyway to enable a username and password for the samba shares on the wd tv?

Meaning I would like to add a password to protect it from anyone being able to connect.

Thanks greatly in advance for any advice you can offer.


< << edit: I couldn't get user/pass auth to work for some reason. Right now it is configured so that with no username/password it is (should be) read only, if you supply username root then you get write access. Its a bit security through obscurity, but all that worked for me at the time. I might look into it in the future if I find time. --b-rad >>>

April 6th, 2009 14:49

Hey B-Rad thanks for the quick reply.

Whats the password default to connect as root then?

I can see my shares but like you said if I try to copy something over it wont let me gives the size is to large or something else, so appears to be read only.

Also the samba package above says it only works with 0.3 version of the firmware. I have 0.42 the newest installed, I couldnt find the older version download link.

Would this cause any problems?

If so where can I download the 0.3 version to downgrade so I can use the samba properly?

Thanks again,


<<< edit: root password is blank as you found out. I’ve corrected the page to state WDLXTV-0.3+ required. Check out wdtvforum for general support. –b-rad >>

April 13th, 2009 07:23


When I contect via PC Network (Vista) to WD (usb with root login) I can make new folder but not copy to usb drive an file. The message informs about not free spaces – but of course thera a lot of free spaces on drive

Any sugest?

<<< edit: go to wdtvforum for general support, theres lots of help there. –b-rad >>>

April 16th, 2009 11:31

I just flashed my firmware with WDLXTV with samba.app.bin-0.1 on my USB key. Do I need to now keep the USB key in the WDTV to stream video files via CFIS from my network (Dlink DNS-323)?

<<< edit: if you want CIFS functionality you will have to keep the key plugged in, that is where the module resides. Remove the key and its back to normal wdlxtv. –b-rad >>>

April 20th, 2009 21:56

Hi, first, thanks for your great work!

I’ve got a question about Samba, I noted that the server on the WDTV provides two shares “usb” and “usb-ro”. Is there a reason for the 2nd, read-only share or can I safely remove it from smb.conf?

Another thing, originally my WDTV came up with a different, random hostname at each boot. I was able to assign it a fixed hostname by editing the line “defaulthost” in “/conf/config”.


<<< edit: remove it if you desire, I made that so that no random bystanders could mount your wdtv shares r/w (and delete everything!) by default, the default share (with no username) is the r/o one for safety. –b-rad >>>

April 22nd, 2009 23:46

Hey B-Rad, fantastic work on the WDlxTV. I have a USB 2.0 2Gb memory key, formatted with either FAT or FAT32. Im using firmware 0.4.4 I find when i plug my usb key into either ports, the scan of the memory key keeps going. I have issues with the wd tv seeing the samba pack and/or the upnp pack. I have mannaged to connect once with the samba pack via cifs. If I do a power cycle of the unit, it wont connect again. I telnet into the wd tv run the xmount command, it comes back that the pack is not loaded or can not find the cifs/samba pack. Any ideas?

<<< edit: I’ll be releasing 0.5.2 later today, it fixes the issue you speak of. –b-rad >>>

April 24th, 2009 21:44

Hey B-Rad, the update works like a champ. have you heard of any dvd menu/player applications that can work with wdlxtv?

May 7th, 2009 00:36

Hi B-Rad
I am using Win 7 (7100) and a “Speed Dragon USB 2.0 10/100Mbps Ethernet” (MCS7830 based) and it can stream 1080p effortlessly. It seems CIFS can handle 1080p, contrary to what is stated by several other users. My problem, however, is that WD TV cannot play a movie after Win 7 has wakened up after sleep mode. After each sleep cycle I have to reboot WD TV to get an active connection so that I can play a movie file. (I can still see “folder.jpg” pictures after sleep move of the Win 7 computer without rebboting). Also, I see WDTV in “Network” in Win 7 and can even browse the (two) usb shares and in them I find the shares from my Win 7 computer.
Any idea why WDTV needs to reboot to be able to play movies after the Win 7 has wakened up from sleep? Is there a way to add an auto reconnect function in the net.mounts in order to avoid a full reboot od WDTV?

—Let me add to my previous post: I can browse all folders, see the movie files etc after Win 7 sleep cycle BUT the movies just will not start to play until after a full WD TV reboot.
Maybe the WD TV just shows a cache of files? Even when I try to start to play a file that was stopped and WD asks if I want to resume play where it last ended (before the sleep cycle) it will state that the file is missing (after wakeup from sleep.)

<<< edit: putting your windows to sleep mode will definitely mess with network connections. Maybe some time I’ll look into something to detect network share failure and attempts to reconnect, but its not very high on my list. –b-rad >>>

May 8th, 2009 13:57

hi. this is really fantastic stuff! Im a windows user and my knowledge of linux is pretty low. if I want to create a share on the wdtv, I create an smb.conf file

workgroup = BHN

case sensitive=no
guest ok=yes
comment = wdtv_root
read only = no

but when I attached I get access denied….any ideas please?

<<< edit: I’m not a windows user and don’t know much about windows particultars, wdtvforum.com would be a better place to ask. One thing that sticks out at me though is your path…the correct path should be /tmp/media/usb/USB2/26DE5070DE5039EF –b-rad >>>

May 21st, 2009 16:04

Hi and many thanks for your great job!
I use your firmware 0.5.2 with a trendnet Gigabit adapter and I have partitionned my WD passport in 2 partitions, one FAT partition containing the firmware files and one NTFS partition for video files.
When I try to access to this HDD from my PC, I can only write to the FAT partition . Impossible to send files to my NTFS partition => Access denied
I use the same type fo smb.conf file as the previous comment with path = /tmp/media/usb/USB1
Any idea please ?

<<< edit: Are you trying to send to the directory starting with a dot or the normal (non-writeable) one? –b-rad >>>

May 28th, 2009 07:45

Just so you now, i’m streaming 1080p stuff over samba with a Belkin USB/Lan adapter without any problem.
You may think about changing the “NFS will stream 1080p, whereas CIFS cannot.” part of the samba.app pack description…
Thanks for the great work anyway :)

<<< edit: gigE adapter by chance? Nice result! –b-rad >>>

May 30th, 2009 07:32

Hi, I’m using Mac OSX. My HDD is formated as HFS+ (wz register). I’m not able to mount the shared folders. I type xmount …. but I cannot see the folder in the WD.

Can you help me????

<<< edit: try wdtvforum for general help. –b-rad >>>

June 12th, 2009 08:17

Wasn’t sure where to post this comment, forgive me if it is beyond the scope of the fixes.

As a wish list is it possible to get the WD TV to work as a Apache, PHP MySQL server with a localhost browser interface incorporated that can be navigated by the remote?

I have a 1920px web based music database (artists, albums tracks) for playing albums through a browser and would like to run it on the WDTV. Would be happy to share the the website for development purposes.

<<< edit: refer to the firmware section of wdtvforum for advanced topics like this. short answer, not so easily. –b-rad >>>

June 17th, 2009 23:38

i tried to share wdtv-s usb1 drive. samba is running, smb.conf at the pendrive’s root, contains:

workgroup = workgroup

case sensitive=no
guest ok=yes
comment = wdtv_root
read only = no

When i browse this with XP, i find, but samba ask for username/password.

Any idea?

<<< edit: I’m not a windows user, so not many clues. try wdtvforum for general help. –b-rad >>>

[...] Samba/CIFS support aka windows share mounting (requires Samba app pack) [...]

June 27th, 2009 18:46

Your post notes that there shhould be a default smb.conf file included in the ZIP file. However, one is not included in the download:

“Note: If the default smb.conf I provided is not what you desire you may supply your own, by placing it on the root of the drive with samba.app.bin. You may also save your custom smb.conf to /conf for persistent SAMBA settings”

In addition, I’m unclear as to what difference placing the smb.conf at the top-level vs. in a /conf directory makes. If at the top-level, in what way is it non-persistent?

<<< edit: the smb.conf file is inside of the app.bin. Look for it in /apps/samba and copy it somewhere you can edit it. –b-rad >>>

July 2nd, 2009 03:28

When I copy the samba.app.bin package to my USB device and use the default settings (eg. no smb.conf file) I have troubles connecting to the shares from Windows.

Looking into the logfiles at /etc/samba/var/ I see something like this:
[2009/07/02 04:23:41, 0] lib/util_tdb.c:tdb_log(664)
tdb(/etc/samba/var/locks/ntforms.tdb): tdb_reopen: file dev/inode has changed!
[2009/07/02 04:23:41, 0] smbd/server.c:open_sockets_smbd(572)
tdb_reopen_all failed.
[2009/07/02 04:23:41, 0] lib/util.c:smb_panic(1633)
PANIC (pid 4504): tdb_reopen_all failed.
[2009/07/02 04:23:41, 0] lib/util.c:log_stack_trace(1787)
unable to produce a stack trace on this platform
[2009/07/02 04:23:41, 0] lib/fault.c:dump_core(181)
dumping core in /etc/samba/var/cores/smbd

And in the smbd.log file it states:
[1999/12/31 16:01:16, 0] smbd/server.c:main(986)
standard input is not a socket, assuming -D option
[2009/07/02 04:23:33, 0] lib/util_tdb.c:tdb_log(664)
tdb(/etc/samba/var/locks/ntforms.tdb): tdb_reopen: file dev/inode has changed!
[2009/07/02 04:23:33, 0] smbd/server.c:open_sockets_smbd(572)
tdb_reopen_all failed.
[2009/07/02 04:23:33, 0] lib/util.c:smb_panic(1633)
PANIC (pid 4352): tdb_reopen_all failed.
[2009/07/02 04:23:33, 0] lib/util.c:log_stack_trace(1787)
unable to produce a stack trace on this platform
[2009/07/02 04:23:33, 0] lib/fault.c:dump_core(181)
dumping core in /etc/samba/var/cores/smbd
[2009/07/02 04:23:33, 0] lib/util_tdb.c:tdb_log(664)
tdb(/etc/samba/var/locks/ntforms.tdb): tdb_reopen: file dev/inode has changed!
[2009/07/02 04:23:33, 0] smbd/server.c:open_sockets_smbd(572)
tdb_reopen_all failed.
[2009/07/02 04:23:33, 0] lib/util.c:smb_panic(1633)
PANIC (pid 4353): tdb_reopen_all failed.
[2009/07/02 04:23:33, 0] lib/util.c:log_stack_trace(1787)
unable to produce a stack trace on this platform
[2009/07/02 04:23:33, 0] lib/fault.c:dump_core(181)
dumping core in /etc/samba/var/cores/smbd

Connection is impossible. Any clues what this could be?

<<< edit: i’m neither a windows user or a samba expert. Your best bet would be to ask over at wdtvforum. –b-rad >>>

July 31st, 2009 05:55

I have the WDLXTV 0.5.5 with App pack: samba.app.bin-0.2 and SSH access. I can access the wdtv with putty. I cannot access my mapped samba drives on the tv screen. I added the following lines in the net.mounts:

xmount //MyBookWorld/Filme Filme cifs user=WDTV,pass=wdtv
xmount //MyBookWorld/Musik Musik cifs user=WDTV,pass=wdtv
xmount //MyBookWorld/Sicherung Sicherung cifs user=WDTV,pass=wdtv
xmount //MyBookWorld/Temp Temp cifs user=WDTV,pass=wdtv


Can You help me where is my missconfiguration?


<<< edit: go to folder view. –b-rad >>>

August 2nd, 2009 01:53

First of all thank you for your great firmware!

The samba app itself works great, but I’m experiencing a problem with the spin down, when it is installed. my wd-elements 1TB hdd (ext3) spins up after about 30 seconds after I forced a spin down (by sdparm or the power button on the remote control). their seems to be a bug querying data from the harddisk.
after removing the samba.bin spin down works fine again.

additionaly: how can you add users to the etc/passwd, as this is mounted read only? can you make it a symlink in the next firmware?

again: thanks for the great firmware (despite the minor problems)

<<< edit: a drive containing app.bins should not be put to sleep/removed as that will cause system instability. Additional users is unsupported currently, I don’t see much point in that. –b-rad >>>

August 4th, 2009 20:22

b-rad – thank you for making the WDTV the best streamer around.
I set up samba server, and my 500GB drive is divided to 250GB ext3 and 250GB ntfs. Naturally, the ntfs is read-only, and the ext3 is writeable (after changing the smb.conf file to the exact paths of the partitions).
Question: when I transfer new files to the ext3 partition, I have to reboot the unit for it to rescan the drives and discover the files. Is it possible to implement a rescan order?

<<< edit: yes, and its coming within the hour ;-) –b-rad >>>

[...] Descarga | Web [...]

[...] Samba/CIFS support aka windows share mounting (requires Samba app pack) [...]

Jeff (Da Moose)
October 2nd, 2009 06:42

WDLXTV is absolutely incredible!

Here are a few observations for folks using NTFS Drives:

• You have to remount the drive to enable write, use:

o mount -t ntfs-3g /dev/sda2 /tmp/media/==Enter Path here==

o add this command to one of the startup scripts in /tmp/init.d so it remounts automatically every time

• The samba server would not work until I commented out the line:

# guest account = NOBODY

as it kept giving me a smbd.pid error in my log files (in /etc/samba/var)

Thanks again b-rad!!!!

<<< edit: Thanks for the tip. The file to place his mount line in would be either /conf/S00user-script or S00custom-options (off a device containing app-bins). –b-rad >>>

[...] Download the samba app package, unpack it and place the file samba.app.bin on the USB [...]

[...] Samba/CIFS support aka windows share mounting (requires Samba app pack) [...]

October 20th, 2009 20:21

[...]           http://b-rad.cc/609/wdlxtv-app-pack-samba [...]

October 23rd, 2009 23:48

I am moving from Zorander’s ext3-boot to your WDLXTV 0.5.7 and a few odd things seem to be happening.
1) Even though I set the host to wdtv, the name on the network is wdtv-95ba0. Any idea why?
2) Zorander’s firmware automagically exported any drives as samba shares. Is there any way to do this – I’ve had to add the drives in the smb.conf manually.

Apart from these 2 quirks though, this is a nice stable little firmware. Congratulations.

<<< edit: point 1: config_tool -c defaultHOST=whatever
point 2: might look into that.
–b-rad >>>

October 25th, 2009 20:24

Hi b-rad, thanks for the quick reply.

I thought I’d already done the “config tool” bit. I’ll try again and let you know.

Many thanks.

November 2nd, 2009 13:34

Hi b-rad,

How can I flash the samba.app.bin to the main memory so that I can free up the usb slot. Thanks.

<<< edit: You can’t, the samba.app.bin is more than half the size of the internal NAND flash. It will never happen. –b-rad >>>

January 6th, 2010 17:57

I need some help. I have mine with WDTVLX 5.8.1, wireless-mod.app.bin, samba.app.bin-0.2. I got wireless working, and samba too, i can even access the usb device to the wdtv and copy some files (pics), but the wdtv keeps saying “scanning the attached usb device” them it freez, and i have to unplugged.

<<< edit: disable media library & re-enable it, should fix you. –b-rad >>>

January 31st, 2010 06:14

please, upload this file on a different mirror… rapidshare is ever more often unavailable to free users, please !

February 5th, 2010 07:14

Agree with realtebo, any chance of putting this (and all your other releases) on BitTorrent?


<<< edit: I won’t be, but anyone else is welcome to put the files anywhere they want them. –b-rad >>>

February 24th, 2010 07:03

If my shared folders do not require password, can I leave the username and password blank (i.e. user=,password=) or I have to use guest account (i.e. user=guest,password)?


<<< edit: Wouldn’t it have been easier to just try instead of waiting 2 months for me to notice this unanswered comment and say yes? –b-rad >>>

April 20th, 2010 06:29

how can we see that an xmount is correct configured?

<<< edit: uhmmm…well if it appears in the OSD then I’d say its safe to assume it worked. –b-rad >>>

May 20th, 2010 09:09

I have the latest WDLXTV, 5.8.1, I can see the Host on the network, I can see all the files in the ‘usb-ro’ share, but when I try to access the protected ‘usb’ share, Win7 won’t accept the ID/PASS. i have tried blank, root…

Any fixes to this?

Is there any way to change that password?

<<< edit: forum.wdlxtv.com –b-rad >>>

June 2nd, 2010 05:35

Cant get this working with windows 7 at all. wdtv errors and doesnt recognise cifs when I try it.

<<< edit: Refer to forum.wdlxtv.com for support. –b-rad >>>

June 6th, 2010 03:19

Hi B-rad and thanks for all the work you did for us !

I downloaded samba app pack and unzip it to root folder of my USB key but it is still not loaded :

Jun 6 11:10:50 WDTV-f59e6 user.warn xmount: CIFS/Samba mount failed! download samba.app.bin from http://b-rad.cc

The same thing appends with nfs app pack nor ssh app pack.
Here is my USB key (16Go NTFS) root folder :


WDLX firmware is 1.03.01.WDLXTV-

Thanks you for your kind help

<<< edit: Refer to forum.wdlxtv.com for support. I can say that NTFS devices are not suggested to be used as app.bin holders on wdtv gen1. –b-rad >>>

June 20th, 2010 10:52

Hi B-rad. I flashed my Gen 1 WDTV last night with WDLXTV-5.8.1 along with the latest samba.app.bin. I got everything working when I started up the WDTV with the USB flash drive attached. But when I don’t have my USB attached to the WDTV, I’m unable to access my network share again.

Do I always need the USB flash drive containing the samba.app.bin connected to the WDTV in order for the network share to be accessed?


<<< edit: Correct, if you want an app.bin to function it must be attached at all times. You need a device plugged in locally to see xmount’d shares anyways. –b-rad >>>

July 6th, 2010 11:53

seems like rapidshare does not host the file anymore, pls reupload

September 9th, 2010 13:19

Trying to access the non-read only share on the WDTV. What are the default user-name and password for it?

September 11th, 2010 09:42


first of all thanks for your great work, my WDTV is running very well with your firmware!

Just one thing: I try to run the samba.app.bin, but no “network share menu” appears in the WDTV menu.

Do I need a smb.conf, ’cause there was no, neither in the firmware package, nor with the samba.app.bin!

Thank you and many greetz from Germany! :-)


October 14th, 2010 15:32

Which version of Samba is the App pack based on?

Is it one of the ones that can be patched? Or has it been patched?

Because I know there’s an issue with Samba and Microsoft’s new security arrangements… basically anyone running Live 2011 can’t use their shares properly on a Live or Live Plus, because the version of Samba that WD used, is one of the ones that can’t be patched.

October 14th, 2010 16:11