Disclaimer

I am not responsible if your devices send you back in time, explodes, implodes, bricks or flies into space from the use of any software I put up.

Search

Saturday, November 2, 2013

A Simple How to use MiniDLNA on OpenWRT

SSH/Telnet into the Router
The configuration file is located at /etc/config/minidlna
The database file is located at /var/run/minidlna/files.db
An example config file as shown below:

config minidlna 'config'
    option port '8200'
    option interface 'br-lan'
    option db_dir '/var/run/minidlna'
    option log_dir '/var/log'
    option inotify '1'
    option model_number '1'
    option root_container '.'
    option album_art_names 'Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg/AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg/Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg'
    option enabled '1'
    list media_dir '/home/Share/Movies/'
    option notify_interval '3600'
    option friendly_name 'MiniDLNA Server'
    option serial '13847284'

You can change the friendly_name which will be displayed in your network on Windows 7.
Also you can change the media directory.
It should be located on your external harddisk.
The example above shows it is at /home/Share/Movies/
What happens when your files does not show?

First check if the service is started or do the following

/etc/init.d/minidlna enable && /etc/init.d/minidlna start
/etc/init.d/miniupnpd enable && /etc/init.d/miniupnpd start

If it still does not show the files but you can access the collection it means the database has been populated with an empty file.
To rectify the issue delete the database file do:

rm /var/run/minidlna/files.db

Then restart MiniDLNA and it will rescan your Harddisk Drive for Media

/etc/init.d/mindlna restart

Friday, November 1, 2013

OpenWRT TL-WDR3600/4300/4310 Release

Finally after some testing and being quite satisfied by the results I release the firmware for TL-WDR3600/4300/4310.
Although they seemed like 3 Router but they are actually based on the same SoC Platform.
WDR4310 is the China Local version, WDR4300 is the International version and WDR3600 is the International version with 1 antenna not connected.
Basically after customizing the configs and build flags (it is targeted at mips74kc processor) it can achieve 400+Mbps after disabling MSS Fix and Layer 7 Filtering.
Binaries and Source available here.
Revert to factory also available in the backup folder.
Note that factory firmware due to the use of the Atheros Switch Hardware NAT module can achieve higher rates of 800+Mbps compared to OpenWRT.
The feature set in this firmware is identical to that of TL-WR1043ND that I have compiled.
Any brilliant feedback is welcome =)