WDTV Forum - WDTV Media Player

WDTV 1 Forum Groups => Homebrew / Custom Firmware => Topic started by: WarezMyGF on August 03, 2010, 01:59:31 AM

Title: Wireless Networking (via D-Link DWA-140) with WDTV GEN1 for NOOBIES Tutorial
Post by: WarezMyGF on August 03, 2010, 01:59:31 AM
I recently purchased a used WDTV Gen1 off craigslist for $40. What a great device, but I got tired of having to transfer new videos to my USB hard drive, and then connecting it to the WDTV. What a waste of time.  ::)  I started researching and discovered that there is a way to mod this device for wireless network support! Basically, stream videos from a computer/NAS to the WDTV over the wireless network. ;D

After 20+ hours of reading... I was still kinda lost. I finally got everything working with xvid, divx and 720P x264 working flawlessly via wireless. I decided to write a step-by-step guide. Props go to tilerone, whom created an amazing guide in August 2009 similar to this but rather out of date now, and slightly different scenario from me. This guide is HEAVILY influenced from his original guide, so please thank him... not me.

Quick Assumptions/Facts:
- You are a noob to the WDTV, but have some computer experience.
- You are using a Windows Operating System (XP/Vista/7).
- You have the D-Link DWA-140 Wireless N USB Adapter (Any revision, B1 aka Revision 1 or the newest B2 aka Revision 2) (From my hours of research, this adapter is the best/fastest/most compatible/easiest to obtain in US wireless adapter) (Picked mine up for $12 on eBay)
- Using Windows file sharing to share out the videos to the WDTV. (Windows File Sharing = CIFS) (NFS gives the best performance, but I have been using CIFS just fine for up to 720P streams and it is the easiest to setup)

Hardware Needed:
- WDTV GEN1
- D-Link DWA-140 USB WIRELESS N ADAPTER (Any Revision)
- USB Flash Drive (Up to 2GB) (This must ALWAYS be connected to the WDTV, when wanting to use network support)
- Wireless Router (Wireless N recommended)

WARNING!!!
I am NOT responsible for anything crazy that might happen during the process of flashing the firmware. Nothing should go wrong and everything should work accordingly, BUT if it does… then it is possible to flash back to stock firmware by downloading the latest official firmware through WD's official website and then following this guide (http://root.unknown.sk/wdtv/wiki/doku.php?id=wdtv_firmware_hacks#flashing_process).


DO NOT AT ANY POINT TURN OFF OR REMOVE ANY USB DEVICE FROM YOUR WDTV UNIT WHILE CARRYING OUT THIS MOD.

Part 1: Flashing the WDTV

1) Reformat the USB flash drive to FAT32.

2) Download and extract to the root of the flash drive B-RAD's latest WDLXTV Firmware (http://rapidshare.com/files/303507898/1.03.01_B-RAD.CC_WDLXTV-0.5.8.1.zip)

You should now have only these files on the ROOT of your flash drive:

Code: [Select]
Changelog
net.config
net.mounts
README
S00custom-options
screen_saver.png
wdtv.bin
wdtv.ver
welcome_background_bg

3) Download and extract to the ROOT of the flash drive (same place you placed the WDLXTV firmware) keeping only ONE of the .bin files from HERE (http://www.sendspace.com/file/pttzbo) depending on your DWA-140 revision. If you have revision B1, then copy over "wireless-mod-rt.app.bin". For revision B2 copy over "wireless-mod-rt3070v2.app.bin".

4) You can now delete the following files from the root of the flash drive:

Code: [Select]
Changelog
README

The ROOT of your flash drive should now look like this:

Code: [Select]
net.config
net.mounts
RT2870STA.dat
S00custom-options
screen_saver.png
wdtv.bin
wdtv.ver
welcome_background_bg
wireless-mod-rt.app.bin (ONLY if you have revision B1)
wireless-mod-rt3070v2.app.bin (ONLY if you have revision B2)

5) Download and install to you PC 'Notepad++ - Current Version (http://notepad-plus-plus.org/download)' 

6) Now open the  'net.config' file on root using Notepad++. Scroll down to Line 37 where it says "# CHANGE VALUE BELOW BASED ON DWA140 REVISION". Change accordingly. Basically, if you have B1 then use "WLAN_LOAD=rt2870sta.ko" and "rt3070sta.ko" for B2.

7) Using Notepad++ again open up the file "RT2870STA.dat".

Just change the following two lines in regards to your personal network. This is for WPA2-PSK AES. Leave Channel field alone as it will automatically detect proper channel.

Code: [Select]
SSID=ENTER NETWORK NAME HERE
WPAPSK=ENTER NETWORK SECURITY KEY/PASSWORD HERE

Now SAVE the file.

8 ) Download and extract to the ROOT of the flash drive 'samba.app.bin (http://www.sendspace.com/file/gowwvr")'

Flash drive should now contain:

Code: [Select]
net.config
net.mounts
RT2870STA.dat
samba.app.bin
S00custom-options
screen_saver.png
wdtv.bin
wdtv.ver
welcome_background_bg
wireless-mod-rt.app.bin (ONLY if you have revision B1)
wireless-mod-rt3070v2.app.bin (ONLY if you have revision B2)

9) Use 'SAFELY REMOVE HARDWARE' to remove the flash drive.

10) The last part:
A) Turn off the WDTV unit by disconnecting the power plug.
B) Insert the Wireless adapter in the USB port to the left of the WDTV unit (USB1).
C) Insert the USB flash drive in to the rear of the WDTV unit (USB2).
D) Plug back in the power plug to the WDTV.
E) WAIT. Be patient. There is no need to press the power button on the remote as the unit will automatically turn on.

The WDTV will boot up slowly and do 1 of 2 things.
1) Boot as normal, once booted it will tell you there is an upgrade thus select UPGRADE.

*OR*

2) It will automatically go straight into the upgrade process.

BOTH ARE FINE DO NOT PANIC!

ONCE FIRMWARE IS UPGRADED THE WDTV UNIT WILL NOW REBOOT. :)
THIS WILL BE SLOW... DO NOT TOUCH ANYTHING WHILE THIS HAPPENS AS IT MAY TAKE 5 OR MORE MINUTES.
THE WDTV SCREENSAVER WILL APPEAR AND DISAPPEAR... KEEP WAITING.
WAIT.
WAIT.
WAIT.

Shortly after the WDTV should display an IP address. If it states "NO IP" then push the power button on the remote and wait 15 seconds before turning it back on. If you STILL can't get an IP address then try swapping the USB thumb drive with the Wireless adapter and reboot.

NOTE : Rebooting the WDTV unit means unplugging it from the wall and waiting 15 seconds before reconnecting... NOT just pushing the power button on the remote control.

WDTV should now be successfully flashed!!!   ;D ;D ;D


Part 2: Sharing folders on Windows 7, so that the WDTV can access them.

Follow this great GUIDE (http://www.howtogeek.com/howto/windows-7/share-files-and-printers-between-windows-7-and-xp/), but ignore the printer parts.


Part 3: Common Fixes

1. Remote control is sluggish/unresponsive!

Here is the FIX (http://b-rad.cc/1017/wdlxtv-enhanced-wdtv-firmware-0-5-8/"). Scroll down to the section after the changelog where it says "Importantly:" in bold.

It worked perfectly for me!


I hope this guide helps others.

Thanks to:
B-RAD
TILERONE (Format of guide was from him)
Compulsive Liar
Zorander
disco
uKER

Anyone else that was missed!

-WarezMyGF
Title: Re: Wireless Networking (via D-Link DWA-140) with WDTV GEN1 for NOOBIES Tutorial
Post by: WarezMyGF on August 03, 2010, 02:02:21 AM

Reserved for future. Perhaps a FAQ's? :c)
Title: Re: Wireless Networking (via D-Link DWA-140) with WDTV GEN1 for NOOBIES Tutorial
Post by: ledan on September 08, 2010, 06:30:24 AM
Any moirror for this file: wireless-mod-rt3070v2.app.bin
Title: Re: Wireless Networking (via D-Link DWA-140) with WDTV GEN1 for NOOBIES Tutorial
Post by: WarezMyGF on September 17, 2010, 07:40:18 PM
I have finally finished up the guide and updated all dead links.

I will most likely not return here unless I have problems with my WDTV, or get a Live one day. :c)

Best of luck to all and I hope this guide will be useful for others.
Title: Re: Wireless Networking (via D-Link DWA-140) with WDTV GEN1 for NOOBIES Tutorial
Post by: demon_firefox on September 19, 2010, 03:00:25 AM
Awesome tutorial, thanks a lot!
Unfortunatly I still have some questions before I'm going to buy the D-Link WLAN device:

1. The german Amazon has two DWA-140 devices in their inventory. Therefore I'm not sure which one I should pick:
   http://www.amazon.de/D-Link-DWA-140-Wireless-N-USB-Stick/dp/tech-data/B000PE8ONG
   http://www.amazon.de/D-Link-DWA-140-Wireless-N-Stick-Mbit/dp/tech-data/B000RZGJMQ
   1.1 Does the DWA-140 work with other WLAN-Routers?
2. Since the WDTV has just two USB-Ports it would be nice to know if I can connect the usb stick with the firmware and the wlan stick via a usb hub to one usb port of the WDTV.
3. Is the WDLXTV compatible with Optware, Webserver and Webserver Addons?
   3.1 What are the differences of "Webserver" and "Webserver Addons"? Do I need both packages?

Thanks a lot in advance.
Regards,
Demon_firefox
Title: Re: Wireless Networking (via D-Link DWA-140) with WDTV GEN1 for NOOBIES Tutorial
Post by: WarezMyGF on October 19, 2010, 08:38:16 PM
Awesome tutorial, thanks a lot!
Unfortunatly I still have some questions before I'm going to buy the D-Link WLAN device:

1. The german Amazon has two DWA-140 devices in their inventory. Therefore I'm not sure which one I should pick:
   http://www.amazon.de/D-Link-DWA-140-Wireless-N-USB-Stick/dp/tech-data/B000PE8ONG
   http://www.amazon.de/D-Link-DWA-140-Wireless-N-Stick-Mbit/dp/tech-data/B000RZGJMQ
   1.1 Does the DWA-140 work with other WLAN-Routers?
2. Since the WDTV has just two USB-Ports it would be nice to know if I can connect the usb stick with the firmware and the wlan stick via a usb hub to one usb port of the WDTV.
3. Is the WDLXTV compatible with Optware, Webserver and Webserver Addons?
   3.1 What are the differences of "Webserver" and "Webserver Addons"? Do I need both packages?

Thanks a lot in advance.
Regards,
Demon_firefox

Sorry for the late reply! To answer your questions.

1. Any DWA-140 is fine, I would just get the cheapest. I have the first revision and it works like a champ.
2. A USB hub will work fine.
3. I am not sure about these addons as I don't use them.

Good luck!
Title: Re: Wireless Networking (via D-Link DWA-140) with WDTV GEN1 for NOOBIES Tutorial
Post by: d_redkin on November 15, 2010, 10:37:38 AM
Dear sir !

May i kindly ask you to make the image of yours boot flash downloadable? In fact i have done all the staff in the way you told in yours post, but i still cant get the ip. My equipement is : DWA-140 rev 1, unsafe WI-FI with no encription (selection by MAC )

Thanks in advance.

Sorry my poor English
Title: Re: Wireless Networking (via D-Link DWA-140) with WDTV GEN1 for NOOBIES Tutorial
Post by: xwishmasterx on November 17, 2010, 02:50:34 AM
d_redkin>>

I think I got mine working by seeting the wirelessmode to 0 ("WirelessMode=0") in RT2870STA.dat

Title: Re: Wireless Networking (via D-Link DWA-140) with WDTV GEN1 for NOOBIES Tutorial
Post by: Teleport on January 04, 2011, 05:55:48 AM
Anyone in the UK.

I've just bought an Edimax unit (EW-7711UAN) from ebuyer an £12.99 and got it working with the WDTV.
Is has the same chipset at the D-Link so uses the RT2879STA.dat driver.
Title: Re: Wireless Networking (via D-Link DWA-140) with WDTV GEN1 for NOOBIES Tutorial
Post by: Skiguitje on January 06, 2011, 12:16:20 PM

Hi there!

So i've managed to set it all up and it is working. Only the movies I play from the shared folder have a really slow playback on the wdtv... How can I improve the streaming speed?

Many thank in advance for awnsering..
Title: Re: Wireless Networking (via D-Link DWA-140) with WDTV GEN1 for NOOBIES Tutorial
Post by: Zemanel on January 26, 2012, 06:09:49 AM
Hi

I cant download the 'samba.app.bin'. someone know another link to do it?

thnx
Title: Re: Wireless Networking (via D-Link DWA-140) with WDTV GEN1 for NOOBIES Tutorial
Post by: uKER on February 04, 2012, 05:31:30 AM
Thanks for this great guide.
I haven't been able to make this work yet, but here's some stuff that could help improve this guide:

On step 3, it should read "Download and extract to the ROOT of the flash drive (same place you placed the WDLXTV firmware) keeping only ONE of the .bin files". The current text makes it seem like you should only extract the .bin file.

On step 8, the link is dead, and could be changed to this: https://rapidshare.com/files/222297336/samba.app.bin-0.2.zip

On step 10, it should make mention of the possibility that you already have the latest version of WDLXTV flashed into the device, which will cause the player to not find updated firmware. Then it should explain or link to the steps to force a flash (ie, edit wdtvlive.ver).

On part 2, the URL in the link to the sharing guide has a quotation mark at the end which causes it to lead to a 404 error.

Then, it is not mentioned is whether the flashing is somehow used to incorporate the config into the device, or it's there just to ensure WDLXTV is installed on the player. Most importantly, what steps are necessary to tweak the config. Say, if you needed to change or remove the Wi-Fi password, does one have to reflash?

Well, thanks again for the guide.
Will report back when I get this working.
Title: Re: Wireless Networking (via D-Link DWA-140) with WDTV GEN1 for NOOBIES Tutorial
Post by: wadb on March 07, 2012, 09:32:20 AM
Hi!
Step 3 says:
"3) Download and extract to the ROOT of the flash drive (same place you placed the WDLXTV firmware) ONE of the .bin files from HERE depending on your DWA-140 revision. If you have revision B1, then copy over "wireless-mod-rt.app.bin". For revision B2 copy over "wireless-mod-rt3070v2.app.bin"."
...But link is broken, I need .DAT files, do you have another link? Thank you so much.
Title: Re: Wireless Networking (via D-Link DWA-140) with WDTV GEN1 for NOOBIES Tutorial
Post by: xwishmasterx on March 10, 2012, 02:38:55 AM
I just tried uploading some files, never tried before so let me know if download isn't working :)

https://rapidshare.com/files/21062746/DWA-140-bin-dat.rar

(Included the 'wireless-mod-rt3070v2.app.bin' and 'RT2870STA.dat' files)

I have used these with my DWA-140 dongle and it worked perfectly)
Title: Re: Wireless Networking (via D-Link DWA-140) with WDTV GEN1 for NOOBIES Tutorial
Post by: wadb on March 21, 2012, 04:30:29 AM

Thank you so much! Yesterday finally I did it. Was no difficult with a well configured .dat file.  ;D
Title: Re: Wireless Networking (via D-Link DWA-140) with WDTV GEN1 for NOOBIES Tutorial
Post by: marmoto on March 26, 2012, 06:06:35 AM
Hi WarezMyGF,

I've just bought a d-link dwa140 B3, and doesn't work.... Any ideas?

Thanks in advanced!
Title: Re: Wireless Networking (via D-Link DWA-140) with WDTV GEN1 for NOOBIES Tutorial
Post by: wutwut on March 30, 2012, 08:50:02 AM
Hi WarezMyGF,

I've just bought a d-link dwa140 B3, and doesn't work.... Any ideas?

Thanks in advanced!

Got the same problem.
Drivers for revision B3 does not exist at the moment even on d-links homepage from what i can see(Linux drivers), was thinking of build a own app.bin but thats not possible cause of that probably?

Maybe if someone could sneak a peak at their chinese/korean website since they usually have the drivers that microsoft repress.
Title: Re: Wireless Networking (via D-Link DWA-140) with WDTV GEN1 for NOOBIES Tutorial
Post by: marmoto on April 09, 2012, 06:54:45 AM
I found the drivers, and..... What's next?  ???
What must do I now?
Title: Re: Wireless Networking (via D-Link DWA-140) with WDTV GEN1 for NOOBIES Tutorial
Post by: Jochiehans on April 11, 2012, 10:00:43 AM
Hi,

I have just received my DWA 140 wireless adapter . So far I have not been able to get it working with a WDTV version 1.

Most likely the cause is that that the adapter is version B3. This seems to need a rt5370.ko driver instead of the rt2870.ko driver for version B2.

Can anyone explain to me how I can get this driver implemented?

Thanks so much
Title: Re: Wireless Networking (via D-Link DWA-140) with WDTV GEN1 for NOOBIES Tutorial
Post by: davmrls on June 18, 2012, 06:31:21 PM
Please help...
I have a question about editing the net.config file......in the tutorial it says.."Now open the  'net.config' file on root using Notepad++. Scroll down to Line 37 where it says "# CHANGE VALUE BELOW BASED ON DWA140 REVISION". Change accordingly. Basically, if you have B1 then use "WLAN_LOAD=rt2870sta.ko" and "rt3070sta.ko" for B2.", in my net.config file there is nothing in line 36 or 37 only goes up to line 35 which says, #SUPPRESS_OTHERS=yes....nothing after this. Any help would be greatly appreciated.
Title: Re: Wireless Networking (via D-Link DWA-140) with WDTV GEN1 for NOOBIES Tutorial
Post by: davmrls on June 19, 2012, 12:12:50 PM
HELP Please!

Can someone please help me getting this wdtv 1s gen to work with the wireless adapter, I can't get an ip. I have the dlink dwa-140 b2 and tried everything in the tutorial and I still cannot get it working. Any help would be appreciated. Thanks is advance... :(
Title: Re: Wireless Networking (via D-Link DWA-140) with WDTV GEN1 for NOOBIES Tutorial
Post by: davmrls on June 20, 2012, 03:03:53 PM
No Forum Help!!
This is one of the worst forums I been at....nobody seems to want to help around here! I guess I have to try and find my answers else where!
Title: Re: Wireless Networking (via D-Link DWA-140) with WDTV GEN1 for NOOBIES Tutorial
Post by: Rev Drew on June 20, 2012, 04:24:16 PM
why should anyone help, all the info you need is in this thread.
I used it to get mine networked way back when it was put on here.

patience is required, it's not easy (by times) and it's certainly not a task for everyone



my wdtv 1st Gen is sitting in a corner somewhere but if I was to put an adapter in it and turn it on it would still work.
I can't bring myself to get rid of it...
Title: Re: Wireless Networking (via D-Link DWA-140) with WDTV GEN1 for NOOBIES Tutorial
Post by: marmoto on June 23, 2012, 01:59:35 AM
Hi all!! Good news!!

DWA 140 B3 working!!

http://forum.wdlxtv.com/viewtopic.php?f=30&t=6673&p=59596#p58196

Title: Re: Wireless Networking (via D-Link DWA-140) with WDTV GEN1 for NOOBIES Tutorial
Post by: kaisersoze on December 27, 2012, 11:27:45 AM
Can somebody re-upload "wireless-mod-rt3070v2.app.bin" ??

I can't find it anymore, not here on the forum not with Google. I have a D-LINK DWA125 rev 1 which uses the same chipset.

Many thanks if someone still has it.
Title: Re: Wireless Networking (via D-Link DWA-140) with WDTV GEN1 for NOOBIES Tutorial
Post by: WarezMyGF on February 18, 2013, 12:28:43 PM
I have updated the guide with working links. I apologize for the late response, as I have since moved on to the WDTV Live.

My WDTV Gen1 is sitting in the closet, collecting dust. Can't answer anymore questions as it is has been too long to remember anything. :c/
Title: Re: Wireless Networking (via D-Link DWA-140) with WDTV GEN1 for NOOBIES Tutorial
Post by: frenzy on May 19, 2013, 02:57:49 AM
Hi everyone,

I need some help. I think the problem is not specifically related to the wireless networking setup although I am trying to make it work. So, as I wasn't able to download all the files needed for wireless networking to work some time before (the links were dead..), I have installed only 1.03.01_B-RAD.CC_WDLXTV-0.5.8.1 custom firmware without wireless-mod-rt5370.app.bin (I bought dwa-140 B3). Today I prepared all the files needed and updated the version file. The wdtv correctly recognized the new version and the firmware update process started, but as soon at it finished it recognized the new version again, as if it hadn't updated it a minute ago. I supposed it maybe had to do something with the thing that the b-rad.app file was actually the same so wdtv figured it doesn't need to update. But  then I tried to do the same with official WDTV_1_03_01 firmware (I have increased the version again), and the problem was the same: wdtv recognized the new firmware version, started the upgrade process, rebooted and then wanted to upgrade again. So I guess I cannot flash the wdtv after I installed the 1.03.01_B-RAD.CC_WDLXTV-0.5.8.1. Is this true?

Thanks for Your help in advance.
Title: Re: Wireless Networking (via D-Link DWA-140) with WDTV GEN1 for NOOBIES Tutorial
Post by: RavRob on May 19, 2013, 03:35:12 AM
Just remove the USB from the WDTV after the update.  It keeps reading your USB and find an updated version on it and wants to update again....
Title: Re: Wireless Networking (via D-Link DWA-140) with WDTV GEN1 for NOOBIES Tutorial
Post by: frenzy on May 19, 2013, 10:55:43 AM
Ah, ofcourse, it reads the correct version of the currently installed firmware and figures it is lower then specified in the .ver file. Everything works now, even the IP part. Thanks to everyone, especially RavRob for quick response:)
Title: Re: Wireless Networking (via D-Link DWA-140) with WDTV GEN1 for NOOBIES Tutorial
Post by: RavRob on May 19, 2013, 06:13:08 PM
NP glad you got it.
Title: Re: Wireless Networking (via D-Link DWA-140) with WDTV GEN1 for NOOBIES Tutorial
Post by: kpm on August 08, 2013, 04:59:17 PM
Am I missing something?

I just found these forums a week ago and thought I'd follow this tutorial to see if I could get this working. I bought a DWA-140 B2 from ebay for $11, downloaded all the files (I hope), flashed my WDTV Gen 1 and crossed my fingers.

It shows me the IP address when it turns on. Then it sits there forever with a spinner at the top of the screen where it shows "Scanning the attached USB device..."

If I try to look through the videos, the only thing showing is the RT2870STA.dat file that is on the USB flash drive. Is it eventually going to find the shared folders on my desktop? From my desktop, my WDTV shows up in networking as "WDTV-659A1", so I know it's connecting.

Would I be better off using Ext3-boot?

If anyone still monitors these forums, would you advise please?
Title: Re: Wireless Networking (via D-Link DWA-140) with WDTV GEN1 for NOOBIES Tutorial
Post by: Stach on July 14, 2014, 10:37:59 AM
I am very late to the WDTV gen1 party, but does anyone know of a working link for Step #2 the B-RAD firmware (filename = "1.03.01_B-RAD.CC_WDLXTV-0.5.8.1.zip")?

Also, the link to the file for Step #3 is missing as well, can anyone help with that as well?

Thanks in advance for your help!
Stach
Title: Re: Wireless Networking (via D-Link DWA-140) with WDTV GEN1 for NOOBIES Tutorial
Post by: Rev Drew on July 15, 2014, 02:13:26 AM
I think I have the files you need.
I am just heading out for work, I will upload them when I get back, likely Thursday or Friday...
Title: Re: Wireless Networking (via D-Link DWA-140) with WDTV GEN1 for NOOBIES Tutorial
Post by: C00PER on December 07, 2014, 01:32:32 AM
Can someone upload me a file from step nr. 3 or send me an active link ?
Please, need it urgently !


Thanks !
Title: Re: Wireless Networking (via D-Link DWA-140) with WDTV GEN1 for NOOBIES Tutorial
Post by: Rev Drew on December 08, 2014, 03:46:42 AM
guess I forgot about this before...

anyway, here is what I have:
Code: [Select]
https://www.mediafire.com/folder/jc46t1vx908h2/Gen1