Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Ok, first, to answer your question about risk: There is no risk of damage to the router by simply trying to configure DLNA.
- 1: go to your routers webpage -> administration -> system:
- Enable JFFS partition: YES
- Format JFFS partition at next boot: YES (if you havent done step one before)
- 2: Save, and hit "Restart" button on the top of the router webpage.
- 3: After restarting router, go torouters webpage -> administration -> system:
- Enable JFFS partition: YES
- Format JFFS partition at next boot: NO
- Activate Telnet: YES
- 4: Save, and hit "Restart" button on the top of the router webpage.
- 5: Telnet to your router (e.g 192.168.1.1 or 10.0.0.1 is most common)
- 6: Connect a HDD or USB-stick to your router, it must be ext2/3 formatted or atleast have a ext2/3 partition on it. Use Minitool partition wizard if you use Windows to make a ext3 partition and set as primary, eventually you can have a second ntfs partition on the same HDD set to logic, label both of them before connecting it to router. You should be able to format/create an ext3 from the router through telnet aswell, but I dont know the commands for it - sorry.
- 7: Once HDD is connected, restart router with same method as before.
- 8: routers webpage -> USB application -> Servers senter:
- Activate DLNA-mediaserver: OFF
- Continue to Network-Samba / Cloud disk-submenu:
- Activate network share: ON
- In here you set up sharing as you like in your own taste, preferably with your mediafiles directories shared so you can copy to/from them from your PC.
- 9: Save and restart router like mentioned before.
- 10: When restarted, telnet (download puttytel or putty <- google it) to your routers ip-address (most common is 192.168.1.1 or 10.0.0.1), on port 23.
- Login with your routers webpage admin loginname/password.
- 11: Type cd /usr/sbin
- 12: entware-setup.sh
- 13: Follow whatever instructions comes on the screen.
- 14: When entware is installed restart router by typing:
- reboot
- 15: Telnet into router again after restart, then type:
- cd /opt/tmp
- wget http://entware.wl500g.info/binaries/entware/archive/minidlna_1.1.4-1b_entware.ipk
- opkg install ./minidlna_1.1.4-1b_entware.ipk
- opkg flag hold minidlna
- opkg install nano
- Thats a special version ryzhovau made for me today, which has the asus-router icon instead of the horrific penguin icon (when it shows on your TV).
- If all is done as above now, you will have minidlna installed, and it should start automatically, if not, you need to make a services-start script in your /jffs/scripts folder, like this:
- 1: telnet into router
- 2: type:
- cd /jffs/scripts
- nano services-start
- Now, in the editor that comes up, you insert:
- #!/bin/sh
- sleep 90
- /opt/etc/init.d/rc.unslung start
- then save with ctrl-x and "Y" to save contents.
- 3: (while still in /jffs/scripts):
- chmod a+rxw *
- cd ..
- chmod a+rxw *
- nano /opt/etc/minidlna.conf
- insert all the dirs and configurations you like in minidlna.conf - please refer to the manual of minidlna or google the settings / minidlna.conf to set it up correctly. now save as before with ctrl-x
- 4: Now, this is if you do NOT want minidlna to recreate the DB every time you restart, then type:
- nvram get dms_dbdir <- make a written note of the value it gives back
- if it says "/opt/var/minidlna", then you need to do the following:
- nvram set dms_dbdir=-1
- nvram commit
- this will prevent the routers boot-process for the inbuilt/bundled and now disabled minidlna to try and delete / clean out your current dbdir.
- If it does NOT say "/opt/var/minidlna" then you dont need to do that nvram-thing at all.
- Thats it, do a "reboot" and you're good to go.
- Sincerely Karmacom
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement