ypy705 / rt-n56u

Automatically exported from code.google.com/p/rt-n56u
0 stars 0 forks source link

Firmware p10 and p11 media server not work #104

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Firmware update to p10
2. Firmware update to p11
3. rolled back to p9

What is the expected output? What do you see instead?

On both firmwares, p10 and p11, my players got no connection to the media 
server. I've disabled and enabled the media server again, but still no 
connection. Got the same problem on p11.

On p9 everything seems fine. Only the router sometimes displays folders on the 
blu-ray player which not exist at this location.

What version of the product are you using? On what operating system?
Windows 7, 64bit

Please provide any additional information below.

Original issue reported on code.google.com by flynn.ri...@googlemail.com on 11 Feb 2012 at 10:19

GoogleCodeExporter commented 9 years ago
Yes cause sine p10 the Media Server has been deleted in the firmware cause of 
the need of more space in the ram. But u can install the media server as extra 
anyway if u need. Just foolow this wonderful tutorial from soulblader: 
http://code.google.com/p/rt-n56u/wiki/MediaServer . 

Have Fun!

Original comment by chriscomit.CL@googlemail.com on 11 Feb 2012 at 11:43

GoogleCodeExporter commented 9 years ago
Thank you for the information.

Will the media server always be deleted in any future firmware?

Original comment by flynn.ri...@googlemail.com on 12 Feb 2012 at 1:07

GoogleCodeExporter commented 9 years ago
What can I do with my problem with the folders? A folder is completely missing, 
and another folder exists at one point where he should not be

Original comment by flynn.ri...@googlemail.com on 12 Feb 2012 at 1:26

GoogleCodeExporter commented 9 years ago
You are welcome! Yes it will be deleted in any future firmware.Only way to get 
it back is via optware but u can believe me that this is the very much better 
solution. Soulblader already compiled a out of the box package for minidlna aka 
media server. U just have to install it and it will works great. Is that easy?!

Original comment by chriscomit.CL@googlemail.com on 12 Feb 2012 at 1:27

GoogleCodeExporter commented 9 years ago
the first and last folder does (should) not exist

Original comment by flynn.ri...@googlemail.com on 12 Feb 2012 at 1:28

GoogleCodeExporter commented 9 years ago
Yea from my opinion i would say u have messed up your disks file system. Save 
all your data. Format disk with ext3 filesystem. Reattach the disk and upload 
the data again. For creating or changing or mounting folders use fdisk.

Original comment by chriscomit.CL@googlemail.com on 12 Feb 2012 at 1:33

GoogleCodeExporter commented 9 years ago
My filesystem is ext3. i also have the option enabled "Auto check filesystem at 
USB storage plug"

Original comment by flynn.ri...@googlemail.com on 12 Feb 2012 at 1:41

GoogleCodeExporter commented 9 years ago
I've looked to the installation guide and shit, thats to complicated for me :(( 

Original comment by flynn.ri...@googlemail.com on 12 Feb 2012 at 4:40

GoogleCodeExporter commented 9 years ago
It is also really complicated for me too. So far I couldn't make and I'm not so 
newbie about all that so you figure how hard it is. :/

Original comment by hackingt...@gmail.com on 12 Feb 2012 at 2:45

GoogleCodeExporter commented 9 years ago
I think i've to stay at the p9 firmware. But what can i do to solve the problem 
with the folders... do i have to restart something that the router will renew 
the folder structure?

Original comment by flynn.ri...@googlemail.com on 12 Feb 2012 at 3:22

GoogleCodeExporter commented 9 years ago
If you didn't change the path of minidlna db, just type in putty:
rm -r /media/AiDisk_a1/.dms
or
rm -r /tmp/harddisk/part0/.dms
or
rm -r /media/AiDisk_b1/.dms
or
rm -r /tmp/harddisk/part1/.dms
This will delete and rebuild the minidlna database but you will lose any saved 
bookmarks.

Original comment by Livi...@gmail.com on 12 Feb 2012 at 6:13

GoogleCodeExporter commented 9 years ago
I wroted above what u have to do to correct your problem with the folders. For 
minidlna u just have to do:

MiniDLNA

MiniDLNA (aka ReadyDLNA) is server software with the aim of being fully 
compliant with DLNA/UPnP-AV clients.

To install it simply type (in SSH Console!):

# ipkg install http://rt-n56u.googlecode.com/files/minidlna_1.0.23-2_mipsel.ipk 

You can optionally change configureation file, but actually it is not required:

# nano /opt/etc/minidlna.conf

Start the server:

# /opt/etc/init.d/S40minidlna start

Original comment by chriscomit.CL@googlemail.com on 12 Feb 2012 at 6:22

GoogleCodeExporter commented 9 years ago
Yea use Livis method its the better one!

Original comment by chriscomit.CL@googlemail.com on 12 Feb 2012 at 6:23

GoogleCodeExporter commented 9 years ago
v1.0.23 has by default another path, if you get not found error when typing:
rm -r /media/AiDisk_a1/.dms
or
rm -r /tmp/harddisk/part0/.dms
or
rm -r /media/AiDisk_b1/.dms
or
rm -r /tmp/harddisk/part1/.dms

just replace .dms with files.db:
rm -r /media/AiDisk_a1/files.db ...

First stop minidlna 1.0.22:
/opt/etc/init.d/S95minidlna stop
remove .dms
than start
/opt/etc/init.d/S95minidlna start

If is v1.0.23:
/opt/etc/init.d/S98minidlna stop
remove files.db
than start again
/opt/etc/init.d/S98minidlna start

Original comment by Livi...@gmail.com on 13 Feb 2012 at 9:58

GoogleCodeExporter commented 9 years ago
after I reset the database of the router and the router has re-read the files 
of the HDD, everything works fine again.

I've used the commands:

rm -r /media/AiDisk_a1/.dms
or
rm -r /tmp/harddisk/part0/.dms

Original comment by flynn.ri...@googlemail.com on 14 Feb 2012 at 7:45

GoogleCodeExporter commented 9 years ago
All
1) Please use minidlna_1.0.23-2_mipsel.ipk from this site.
2) For auto-remove database files, edit header in /opt/etc/init.d/S98minidlna

# database update mode on start (0-no update, 1-update added new objects, 
2-full recreate database)
DB_UPDATE_MODE=0

Original comment by andy.pad...@gmail.com on 15 Feb 2012 at 7:02

GoogleCodeExporter commented 9 years ago
I tried to install the minidlna package. But everytime if i type the command:

# ipkg install http://rt-n56u.googlecode.com/files/minidlna_1.0.23-2_mipsel.ipk 

in the putty (SSH- Console) i get the messege:

-sh: ipkg: not found

Original comment by flynn.ri...@googlemail.com on 16 Feb 2012 at 7:03

GoogleCodeExporter commented 9 years ago
Seems like optware are not enabled or mounted, try to delete opt folder and 
install again minidlna and other packages if previous installed like 
transmission, sftp, upnpd...
rm -r /media/AiDisk_a1/opt
ipkg update
ipkg install http://rt-n56u.googlecode.com/files/minidlna_1.0.23-2_mipsel.ipk
/opt/etc/init.d/S98minidlna start

Original comment by Livi...@gmail.com on 16 Feb 2012 at 7:41

GoogleCodeExporter commented 9 years ago
my second try shows nothing. After inserting the command, it just shows a new 
paragraph to type in a new command.

Original comment by flynn.ri...@googlemail.com on 16 Feb 2012 at 7:46

GoogleCodeExporter commented 9 years ago
The option "Allow Optware" is enabled in the router settings

Original comment by flynn.ri...@googlemail.com on 16 Feb 2012 at 8:06

GoogleCodeExporter commented 9 years ago
Reinstall all from scratch, upload p11 firmware again, restore factory settings 
before and after. Format hdd to EXT3 and follow wiki optware guide.

Original comment by Livi...@gmail.com on 17 Feb 2012 at 4:46

GoogleCodeExporter commented 9 years ago
As a note:
---------

Guys DO NOT remove anything until you are completely sure that applications 
from disk are not running!!!

If you want to reinstall 'everything', it is better to remove your disk using 
web interface. Then log in to router using the terminal. Then mount partition 
which contains 'opt' folder. For example:

# mkdir /media/AiDisk_a1
# mount -t ext3 /dev/sda1 /media/AiDisk_a1

Then you can:

# rm -rf /media/AiDisk_a1/opt/*
# umount /media/AiDisk_a1
# rm -rf /media/AiDiSk_a1

Then just plug off usb disk and plug in it again.

# ipkg update

That's the correct way, I think!.. =)

Original comment by d...@soulblader.com on 17 Feb 2012 at 6:09

GoogleCodeExporter commented 9 years ago
Check the speling of file name - web referrence here doesn't show name 
correctly 

name is not 
minidlna 1.0.23-2 mipsel.ipk

but 
minidlna_1.0.23-2_mipsel.ipk

Original comment by modus2...@inbox.ru on 18 Feb 2012 at 12:49

GoogleCodeExporter commented 9 years ago
After hours and hours, now i got the package installed. *puhh* Now i'm testing 
it. Thanks very much to everyone who helped me in this dicussion. I've created 
a new opt folder on the second HDD (AiDisk_b1) which is plugged in. This HDD is 
actually empty, apart of the optware files. Can i now delet this files again, 
or are the files still required for the functionallity of the minidlna?

Original comment by flynn.ri...@googlemail.com on 23 Feb 2012 at 6:20

GoogleCodeExporter commented 9 years ago
If i can delet the opt folder, how can i do that? I've no rights to delet it 
via file explorer.

Original comment by flynn.ri...@googlemail.com on 23 Feb 2012 at 6:25

GoogleCodeExporter commented 9 years ago
I've played one movie from the HDD over Blu-Ray Player. At first it looked 
good. But after 20 or 30 minutes the movie started to lag/stock. I rolled back 
to p9 firmware. But i still try to delete the opt folder. But i cant. It tells 
me i've not the rights to do that.

Original comment by flynn.ri...@googlemail.com on 23 Feb 2012 at 7:41

GoogleCodeExporter commented 9 years ago
Delete of the folder opt: solved

Lag/Stocking Movies: open

Original comment by flynn.ri...@googlemail.com on 23 Feb 2012 at 7:55

GoogleCodeExporter commented 9 years ago
I've unplugged the second 3,5" HDD, now the lags seems to be away. It is 
possible that the second HDD could be the reason for that? I also notice that 
the transfer rates of the second HDD are very low. The first HDD has up to 
12MBit/s. The second only up to 1,5-2MBit/s

Original comment by flynn.ri...@googlemail.com on 23 Feb 2012 at 8:30

GoogleCodeExporter commented 9 years ago
can u please tell us what r u going to do, what it must look like at the end?

if u try to connect 2 HDD's to ur router - it's a bad idea
if u want to make some experiment, try to check ur slow hdd with ur OS tools, 
or connect ur HDD to different port

if u connected second HDD just for OPT dir - bad idea

Original comment by overdoz...@gmail.com on 23 Feb 2012 at 10:26

GoogleCodeExporter commented 9 years ago
I wanted to connect a second hard drive for files, because my first hard drive 
is nearly full. Both hard drives have a separate power supply. The opt folder 
was on the first hard drive.

Original comment by flynn.ri...@googlemail.com on 23 Feb 2012 at 4:20

GoogleCodeExporter commented 9 years ago
as i already said: 2 hdd's is a bad idea, they may fail, u will not loose files 
but 4e. during copy operation hdd may become inacessible... thats not so bad as 
it seems if u copy one big file (.mkv) - u will just need to start procedure 
again and again and again, till kopying is done, but if u copy 10000 files, it 
may become real trouble, when u cant copy files u need, and if u need them fast.

have u checked ur HDD on errors? do u have new harddrives or old ones, from ur 
old computer, maybe IDE?

actually i want to know how big they are, maybe u just need to by one?

if there no errors on it, and its reading speeds r low - i dont recommend to 
use this hdd also.

there is also costy solution - buy NAS - it will be much more faster

Original comment by overdoz...@gmail.com on 23 Feb 2012 at 5:06

GoogleCodeExporter commented 9 years ago
Both HDDs are new one. Both USB 3.0 SATA drives. 2TB and 1TB of capacity. I've 
no errors, I was just surprised that the speed of the second hard drive 
(plugged on the second USB port of the router) is very slow. Too bad that the 
router can not handle two HDDs at once.

Original comment by flynn.ri...@googlemail.com on 23 Feb 2012 at 5:21

GoogleCodeExporter commented 9 years ago
'ipkg not found' bug was successfully fixed in 8d-p2 firmware (will be 
available soon). 
MiniDLNA package was removed from firmware, but it could be installed frome the 
project repository. Read MediaServerWiki and CommonTips to learn more.

Original comment by d...@soulblader.com on 1 Mar 2012 at 4:25