Author Topic: Introduction to Homebrew / Hacks for Beginners  (Read 154789 times)

June 09, 2009, 06:06:57 AM
Read 154789 times

redindian

  • Hero Member

  • Offline
  • *****

  • 643
    • True Font Family - Any font, any website, any browser
How about a sticky introduction thread?

(MOD - Here ya go!)  ;)

With some beginners info like the following.

FAQ:

http://wiki.wdtv.org/doku.php?id=wdtv_faq

WIKI:

http://wiki.wdtv.org/ (custom)
http://wdtv.wetpaint.com/ (general, also custom)

FIRMWARES:

http://wdtvforum.com/main/index.php?topic=446.0 (WDLXTV)
http://wdtvforum.com/main/index.php?topic=453.0 (ext3-boot)
http://wdtvforum.com/main/index.php?topic=964.0 (root.bin)

THEMES OSD MODS:

http://wdtvforum.com/main/index.php?topic=1039.0 (Enhancing OSD MOD)
http://wdtvforum.com/main/index.php?topic=745.0 (Theme tutorial)
http://wdtvforum.com/main/index.php?topic=668.0 (Juliojs theme & enhanced)
http://wdtvforum.com/main/index.php?topic=646.0 (Prototype preview)
http://wdtvforum.com/main/index.php?topic=889.0 (Prototype preview)

PLUGINS/ADDONS:

http://wdtvforum.com/main/index.php?topic=1087.0 (Apple Trailers)
http://wiki.wdtv.org/doku.php?id=wdtv_web_interface (Webserver)
http://wdtvforum.com/main/index.php?topic=1667.0 (Webserver addons, Clock, RSS, Weather, movie info, etc.)
http://wdtvforum.com/main/index.php?topic=824.0 (Remote control)
http://b-rad.cc/wdlxtv-app-packs (More application packs)
http://b-rad.cc/wdtv-optware-tips (Linux applications through optware)

DEVELOPERS:

http://wdtvforum.com/main/index.php?topic=982.0 (Event-osd, detect path to allow dynamic OSD)
http://wdtvforum.com/main/index.php?topic=1001.0 (Eiri: A Command Line and Network Interface to the IR Port)
http://wdtvforum.com/main/index.php?topic=930.0 (DMA OSD XML Reference)

OTHER:

http://wdtvforum.com/main/index.php?action=search

Just a quick list of what is out there at the moment. Sorry if I forgot anyone. These were the ones that first came to mind and I don't have time to list them all. :-)
« Last Edit: September 16, 2009, 06:51:07 AM by redindian »

June 10, 2009, 11:56:37 PM
Reply #1

Nisei

  • Full Member

  • Offline
  • ***

  • 117
etx3-boot 0.9.2
Arkview Gigabit ethernet adapter
Qnap TS-119 NAS with NFS share

June 14, 2009, 05:22:37 PM
Reply #2

JohnyB

  • Newbie

  • Offline
  • *

  • 22
This sticky is one of the best things for us non-programmers.  Thanks for creating it.

It would be greatly appreciated if someone could add a guide that includes the telnet commands and ftp commands that will get us to the folders that are referred to in some of the apps.  Speaking for myself, I am struggling to figure out how to navigate. 

Something else that would be usefull, would be some debugging tips (again using telnet or whatever) that will point us in the right direction when something doesn't work.


Thank-you
WDHTV <- TU2-ETG Gigabit Adapter <- DIR655 <- HTPC
firmware 1.02.07_B-RAD.CC_WDLXTV-0.5.3.2

June 16, 2009, 11:20:25 PM
Reply #3

redindian

  • Hero Member

  • Offline
  • *****

  • 643
    • True Font Family - Any font, any website, any browser
For FTP you can use any FTP program. Connect to 'wdtv' or the ip of the wdtv. Use 'root' for the username and no password.

For telnet use either the built in telnet application in windows:

- Start, Run, type 'telnet wdtv', enter
- Login with 'root' and no password

Or you can download putty which is a very good free telnet program
- Again, connect to wdtv (or the ip of the wdtv) and login with 'root' and no password

You then have root access to your wdtv under Linux. Just search on google for a busybox quickstart, or any linux shell manual. Most command accept '--help' or '-?' for more information. If you are familiar with dos, 'cd dir' is the same and 'ls *.jpg' is similar to 'dir *.jpg'. And you can complete dir/file names with [tab].

There is loads of good information on the web. That is how I got and learned everything. Good luck!
« Last Edit: June 20, 2009, 10:14:58 AM by redindian »

July 07, 2009, 01:06:10 AM
Reply #4

Jackson

  • Newbie

  • Offline
  • *

  • 32
For FTP you can use any FTP program. Connect to 'wdtv' or the ip of the wdtv. Use 'root' for the username and no password.


Oddly, I'm not having success with 'any' FTP client just one of the 3 FTP tools I use. 

Filezilla works for me, but neither FtpDrive and WinSCP are not making a connection to my WDTV despite me having had all 3 FTPs working with the FTP server on my Mediagate 450.  It's probably something I'm doing wrong but it's not obvious what, given that I seem to have demonstrated that I can configure the non-working tools with other devices so maybe I ought to know what I'm doing with the WDTV settings.....

Maybe someone could post their settings for FtpDrive and or WinSCP if they have got them working? Please. 

And post other FTP tools that work well.

I'd prefer to avoid FileZilla because it doesn't support a 'Move' file but forces me to FTP=copy and then delete manually - and when 'moving' a large number of files, it can be hard to keep track of what was successfully transferred.

Re telnet PuTTY works great as does the built in Telnet of Windows (you have to unhide it in Vista of course).  But PuTTY handles the text colouring and CURSES cursor movement better - I guess the terminal emulation is more complete.

July 24, 2009, 10:21:32 AM
Reply #5

mike2k8

  • Full Member

  • Offline
  • ***

  • 100
For FTP you can use any FTP program. Connect to 'wdtv' or the ip of the wdtv. Use 'root' for the username and no password.


Oddly, I'm not having success with 'any' FTP client just one of the 3 FTP tools I use. 

Filezilla works for me, but neither FtpDrive and WinSCP are not making a connection to my WDTV despite me having had all 3 FTPs working with the FTP server on my Mediagate 450.  It's probably something I'm doing wrong but it's not obvious what, given that I seem to have demonstrated that I can configure the non-working tools with other devices so maybe I ought to know what I'm doing with the WDTV settings.....

Maybe someone could post their settings for FtpDrive and or WinSCP if they have got them working? Please. 

And post other FTP tools that work well.

I'd prefer to avoid FileZilla because it doesn't support a 'Move' file but forces me to FTP=copy and then delete manually - and when 'moving' a large number of files, it can be hard to keep track of what was successfully transferred.

Re telnet PuTTY works great as does the built in Telnet of Windows (you have to unhide it in Vista of course).  But PuTTY handles the text colouring and CURSES cursor movement better - I guess the terminal emulation is more complete.

Some ftp clients don't seem to work for some reason with a login without password.
 
For example I am using the good old WS_FTP95LE, and it didn't work until I set a pasword for the root user. (In telnet session 'passwd')

WARNING: If you set a password and you ever forget it, you have no way to recover it, even flashing the firmware doesn't reset it. So you better put something easy to remember, for example 'root' (if you don't want to have a box you can connect to anymore.)

July 27, 2009, 06:35:50 AM
Reply #6

Jackson

  • Newbie

  • Offline
  • *

  • 32
Some ftp clients don't seem to work for some reason with a login without password.
 
For example I am using the good old WS_FTP95LE, and it didn't work until I set a pasword for the root user. (In telnet session 'passwd')

WARNING: If you set a password and you ever forget it, you have no way to recover it, even flashing the firmware doesn't reset it. So you better put something easy to remember, for example 'root' (if you don't want to have a box you can connect to anymore.)

I think I found the problem.  The FTP clients default to auto detection of the character set to use.  When I changed the 'auto' to DOS or equivalent rather than UTF8 I could get a connection so I've now got WinSCP working which does support a 'move'.  I suspect the different FTP softwares try to determine the 'auto' setting in different sequence and this affects success connecting.

FTPDrive I've also managed to get working with this trick so that the wdtv appears like a Z: 'disconnected' drive  but uses FTP to manipulate the files but this is really redundant since you can get a similar functionality by just enabling the samba.app.bin and navigating to \\wdtv in explorer.  Having said that while I could play, edit or delete files via the Samba share it seemed to give an error about insufficient space in the /tmp/media/usb mount point when I tried to copy/move a 4GB file from PC to the writable partition on the USB drive attached to the WDTV - the drive has 100s of GB free so it isn't the drive itself that is generating the error.  Until I get round this space error limitation, FTP seems to be the best option to move files from my PC to WDTV attached USB drive.

July 29, 2009, 10:32:20 AM
Reply #7

wooly

  • Newbie

  • Offline
  • *

  • 12
Did you have any luck with the out of space problem, I have the same issue and have run out of "fixes". Like you I am using FTP as a temporary solution

Wooly

July 30, 2009, 02:54:37 AM
Reply #8

Jackson

  • Newbie

  • Offline
  • *

  • 32
No I haven't yet found a solution that I've tested. 

But just found today that someone posted that you have to edit the samba.conf because the free space is being calculated for the parent mount on the WDTV not the actual drive hence the error.

Seemed to make sense but I haven't tried it out yet.

Search for the thread problem with SAMBA/CIFS- uploading in the WDTV general forum - the solution was posted by ask4help on April 22nd.

There seems to be a bit of downside in that you have to hard code your drive details in to the conf file which makes it unattractive if you want to swap drives in and out.  In an ideal world the free space problem could be solved some other way that didn't require manual editing but I'm not a linux guru to know if that is possible.

July 31, 2009, 07:16:23 AM
Reply #9

wooly

  • Newbie

  • Offline
  • *

  • 12

August 01, 2009, 04:43:40 AM
Reply #10

timeey

  • Jr. Member

  • Offline
  • **

  • 98
Hey,

someone has a link for a tutorial to extract/mount the wdtv.bin and make a new wdtv.bin after modifying (such b-rad and zorander did)? I knew it was here in the forum, but i can't find it anymore. I want to remove some started modules that i didn't need (for faster startup like the official firmware) and maybe add some stuff. Hope you can help me. Big thanks.

And maybe that link could be added in the first post.

November 04, 2009, 06:25:26 AM
Reply #11

suburbancore

  • Newbie

  • Offline
  • *

  • 10
Hey,

someone has a link for a tutorial to extract/mount the wdtv.bin and make a new wdtv.bin after modifying (such b-rad and zorander did)? I knew it was here in the forum, but i can't find it anymore. I want to remove some started modules that i didn't need (for faster startup like the official firmware) and maybe add some stuff. Hope you can help me. Big thanks.

And maybe that link could be added in the first post.

the process for mounting a .bin filesystem and modifying it is described very well in  step 4 here : http://wdtvforum.com/main/index.php?topic=1232.0

In that thread the .bin in question is the wireless mod however the process is the same

February 10, 2010, 12:45:28 PM
Reply #12

kess

  • Newbie

  • Offline
  • *

  • 3
hi there,

Please somebody help me. I looked through the perfect collected list, but...
I did not find out what firmware and apps needed for me.
I have an USB-ethernet adapter and I'd like to connect my wdtv to the router. (b-rad or zorander fw is good for it?)
I'd like use my wdtv with torrent client, if it is possible as a webserver.
I did not find a "howto", but it is possibe that it's my fault...

thanks

February 17, 2010, 02:46:20 AM
Reply #13

pacorob

  • Jr. Member

  • Offline
  • **

  • 69
  • Personal Text
    WDLXTV user
hi there,

Please somebody help me. I looked through the perfect collected list, but...
I did not find out what firmware and apps needed for me.
I have an USB-ethernet adapter and I'd like to connect my wdtv to the router. (b-rad or zorander fw is good for it?)
I'd like use my wdtv with torrent client, if it is possible as a webserver.
I did not find a "howto", but it is possibe that it's my fault...

thanks

I'm running a 'older' 0.5.6.1 from WDLTV that works perfectly with my WDTV (1st edition) and a wireless network stick from WDTV for exact apps and specs on my end see my signature.

You can grab the package and apps in 1 zip file from another topic here on the forum:
http://wdtvforum.com/main/index.php?topic=1598.msg35850#msg35850
for instructions see my post from December '09
for download files see my last post of today.

A small instruction is also there.
You only need to edit your network key in 1 file and upload all files to your usb stick and plug into your WDTV for detailed instruction see the other topic.


Firmw: WDLXTV 0.5.6.1
Apps: Webserver addons 0.2 (weather,rss), Upnp 0.2.2, Apple Trailers 0.3.3.1b, EventOSD r170, XBMC via Upnp 720p plays ok
Wireless USB Linksys wusb600n w. WPA2 (ralink rt2870)
USB Stick 16GB Sony FAT32 | W. Router: Linksys (Cisco) WRT160N

February 17, 2010, 11:53:16 PM
Reply #14

kess

  • Newbie

  • Offline
  • *

  • 3
thank ya
I'll check it and download