Difference between revisions of "Talk:NMT:Apps"

From Lundman Wiki
Jump to: navigation, search
(INIT_NMT START)
(INIT_NMT START)
Line 108: Line 108:
 
Now i got home and tried again..
 
Now i got home and tried again..
 
Here`s the result:
 
Here`s the result:
 +
BusyBox v1.5.0 (2010-03-12 14:25:37 MYT) Built-in shell (ash)
 +
Enter 'help' for a list of built-in commands.
 +
/ # mkdir /mnt/temp
 +
/ # mount /dev/sda1 /mnt/temp
 +
/ # ln -s /mnt/temp/syb8634/ /mnt/
 +
/ # mkdir /opt/sybhttpd/localhost.drives/HARD_DISK
 +
/ # '''ln -s /opt/sybhttpd/localhost.drives/HARD_DISK /share'''
 +
/ # mount /dev/sda1 /opt/sybhttpd/localhost.drives/HARD_DISK
 +
/ # /etc/init_nmt start
 +
 +
SHAREROOT=/opt/sybhttpd/localhost.drives/HARD_DISK
 +
sh: 4: unknown operand
 +
/etc/init_nmt: line 246: cannot create /mnt/syb8634/server/php5server/httpd_inc.
 +
conf: Too many levels of symbolic links
 +
/
  
 
+
:: That could mean we have a link that links back to the original link.
 
+
:: I've not used this hack myself so I can't get you any further. If you are lucky lundman may spot this discussion and have a better idea of what to do, otherwise I suggest you bring this issue forth on the networkedmediatank.com forums where more people could have a look at it. / ~~
BusyBox v1.5.0 (2010-03-12 14:25:37 MYT) Built-in shell (ash)
 
 
 
Enter 'help' for a list of built-in commands.
 
 
 
 
 
 
 
/ # mkdir /mnt/temp
 
 
 
/ # mount /dev/sda1 /mnt/temp
 
 
 
/ # ln -s /mnt/temp/syb8634/ /mnt/
 
 
 
/ # mkdir /opt/sybhttpd/localhost.drives/HARD_DISK
 
 
 
/ # '''ln -s /opt/sybhttpd/localhost.drives/HARD_DISK /share'''
 
 
 
/ # mount /dev/sda1 /opt/sybhttpd/localhost.drives/HARD_DISK
 
 
 
/ # /etc/init_nmt start
 
 
 
SHAREROOT=/opt/sybhttpd/localhost.drives/HARD_DISK
 
 
 
sh: 4: unknown operand
 
 
 
/etc/init_nmt: line 246: cannot create /mnt/syb8634/server/php5server/httpd_inc.
 
conf: Too many levels of symbolic links
 
 
 
/
 

Revision as of 10:37, 12 August 2010

Help needed

Hi,

I don't know where I can add a discussion but I was wondering if someone can help me,

I have An IOBOX and I tried to install an internal HDD 1.5T. The operation failed and IOBOX said that NMT doesn't support this HDD yet.

Although the format failed, I successfully connected with telnet, formatted the partitions, unzipped the NMT software to the correct partition. I also managed to load the init_nmt script and restart gaya and now the NMT works.

The problem is that NMT doesn't start if I restart the IOBOX.

I think that the issue is related to the fact that my /dev/hda1 is mounted to /HARD_DISK_A1 and /dev/hda3 is mounted to /HARD_DISK_A3 although the correct mount is /nmt and /HARD_DISK and something with the /share.

I thought of changing the init scripts but I failed to do so (since the scripts are not saved).

can you help?

thanks, Gil

Hello Gil,

If the partition setup is correct for the NMT, the disk volume name is HARD_DISK. So if you get HARD_DISK_A1, _A3 etc, it will fail. Should this occur, the typical resolve (at least for common users) would be to make clean re-install of the disk. And make sure your box is on recent firmware. You could google or search the forum for your HDD (brand/model) to see if there is more info there.

/share is a link to /opt/sybhttpd/localhost.drives/HARD_DRIVE/

I think you'll get better response on the NMT forums.
Cheers --dc11ab 19:37, 15 January 2009 (JST)

INIT_NMT START

Dear.

I would really like to install apps on my external usb HDD, but I allways get this message after I type:

/etc/init_nmt start

Result is:


/ # ls

USB_DRIVE_A-1 dev lib opt sys var USB_DRIVE_A-2 etc linuxrc proc tmp USB_DRIVE_A-3 home mnt root upnp bin init modules sbin usr

/ # cd /opt/sybhttpd/localhost.drives/

/opt/sybhttpd/localhost.drives # ls

HARD_DISK NETWORK_SHARE USB_DRIVE_A-1 USB_DRIVE_A-2 USB_DRIVE_A-3

/opt/sybhttpd/localhost.drives # cd /

/ # /etc/init_nmt start

SHAREROOT=/opt/sybhttpd/localhost.drives/HARD_DISK sh: 3: unknown operand mkdir: cannot create directory '/share/Video': No such file or directory chmod: /share/Video: No such file or directory mkdir: cannot create directory '/share/Music': No such file or directory chmod: /share/Music: No such file or directory mkdir: cannot create directory '/share/Photo': No such file or directory chmod: /share/Photo: No such file or directory /etc/init_nmt: line 246: cannot create /mnt/syb8634/server/php5server/httpd_inc.conf: nonexistent directory

/ #

What could be wrong?

Thank you very much With regards

Data3

Hello Data3
What NMT model do you have (A110 etc)? What firmware revision?
From the looks of the output it may need an additional symlink for /share somewhere along:
# ln -s /opt/sybhttpd/localhost.drives/HARD_DISK /share
/dc11ab


NMT & FIRMWARE

Thank you very much on your quick response and srry on my broken english if I go wrong somewhere...

NMT: Popcorn A-110

FW: 01-17-100317-15-POP-403

My knowledge of Linux is less then zero and I see that I am not the only one with this kind of problem.

I`ll try to add this line when i arrive home and I`ll tell you what happend.

Thank you again!


ADDITIONAL SYMLINK FOR /SHARE

Now i got home and tried again.. Here`s the result:

BusyBox v1.5.0 (2010-03-12 14:25:37 MYT) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
/ # mkdir /mnt/temp
/ # mount /dev/sda1 /mnt/temp
/ # ln -s /mnt/temp/syb8634/ /mnt/
/ # mkdir /opt/sybhttpd/localhost.drives/HARD_DISK
/ # ln -s /opt/sybhttpd/localhost.drives/HARD_DISK /share
/ # mount /dev/sda1 /opt/sybhttpd/localhost.drives/HARD_DISK
/ # /etc/init_nmt start

SHAREROOT=/opt/sybhttpd/localhost.drives/HARD_DISK
sh: 4: unknown operand
/etc/init_nmt: line 246: cannot create /mnt/syb8634/server/php5server/httpd_inc. 
conf: Too many levels of symbolic links
/
That could mean we have a link that links back to the original link.
I've not used this hack myself so I can't get you any further. If you are lucky lundman may spot this discussion and have a better idea of what to do, otherwise I suggest you bring this issue forth on the networkedmediatank.com forums where more people could have a look at it. / ~~