General NAS-Central Forums

Welcome to the NAS community
It is currently Sat Jan 20, 2018 11:07 pm

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Thu Sep 02, 2010 12:12 pm 
Offline

Joined: Thu Sep 02, 2010 11:32 am
Posts: 4
Hi,

Thanks to NAS-Central, Mijzelf and everyone for a great wiki/forum.

As I am running 2.064 had to do a manual telnet did a few thing a little different.

Telnet:

For the telnet password (/etc/passwd) to work I removed "/" at the end of the password:
root:$1$$goRzr7Z2nQvrAoiRJGUhr:0:0:root:/root:/bin/bash

btw: The password didn't work the first time for me, so I used the web frontend to set the password for the 'nascentral' account then I copied it to the root.

For the shadow password (/etc/shadow) added a '*' to match the others:
nascentral:*:14517:0:99999:7:::

Modifying twonky:
Copied of the ini in the default location (/usr/local/TwonkyVision)
Modified the ini with enableweb=2, change the file name to twonkyvision-mediaserver-fixed.ini
Modified the /etc/init.d/twonky
INIFILE="${WORKDIR}/twonkyvision-mediaserver-fixed.ini"

Outstanding:
* resolve issues with my ps3 to read the files correctly via the twonky (upgrade?)
* investigate adding NFS to NAS
* upgrade of twonkymedia server to version 6?
* upload throughput\data rate is 8-10MB/sec


Top
 Profile  
 
PostPosted: Thu Sep 02, 2010 12:37 pm 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6126
Quote:
As I am running 2.064 had to do a manual telnet

Did you get your box with 2.064 on it, or didn't you install telnet the easy way when you had the chance? Anyway, I'll look if I can provide a 'telnet enabling' update which works with 2.064
Quote:
* investigate adding NFS to NAS

Haven't tested it yet, but I *think* you can enable apt, install nfsd server
Code:
apt-get install nfs-kernel-server nfs-common portmap
and use the kernel modules nfsd.ko and exportfs.ko from my modules tarball.


Top
 Profile  
 
PostPosted: Sat Sep 04, 2010 1:00 am 
Offline

Joined: Thu Sep 02, 2010 11:32 am
Posts: 4
Hi,

My device start with 2.040, i upgrade to 2.064 in a attempt to fix my ps3 issue & before find nas-central.
Thanks for the NFS details, I will give it a go and report back.
-----

I did some damage to my device and had to rollback.
People if you get a chance while the device is connected to your linux box, perform a backup using dd or pcopy of the Linux partition (sdc1 for me).
-----

Quote:
For the telnet password (/etc/passwd) to work I removed "/" at the end of the password:

Going to take back my telnet password issue, must of been me. The second time I did it it all worked. Still leaving the shadow password in place to see the impact.
-----

Investigating mediatomb (http://mediatomb.cc) instead of twonky as my media server. will test and report back.

mediatomb-common: The main package consisting of the MediaTomb binary and all files necessary to run MediaTomb from the command line as a regular user. The other packages depend on this package, so it is needed in all cases.
mediatomb-daemon: This package has additional files to allow MediaTomb to start as a daemon at startup. Use this package if you want to run MediaTomb at boot time.

PS3 needs in config.xml <protocolInfo extend="yes"/>

DO NOT install the "mediatomb" package... bad things will happen :cry:


Top
 Profile  
 
PostPosted: Sat Sep 04, 2010 2:25 am 
Offline

Joined: Thu Sep 02, 2010 11:32 am
Posts: 4
Hi Mijzelf

I attempted to extract the modules nfsd.ko and exportfs.ko from the modules tarball.
I received this error..

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Exiting with failure status due to previous errors

could you re upload them?

cheers
jezzo


Top
 Profile  
 
PostPosted: Sat Sep 04, 2010 3:38 am 
Offline

Joined: Thu Sep 02, 2010 11:32 am
Posts: 4
Managed to get access the modules.tgz
used the archive mounter in ubuntu to gain access to the files :-)

Mediatomb installed and up, letting it do a index of the files.

more info to follow.

cheers


Top
 Profile  
 
PostPosted: Sat Sep 04, 2010 8:51 am 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6126
jezzo wrote:
Managed to get access the modules.tgzused the archive mounter in ubuntu to gain access to the files

The file is bzip2'ed and not gzipped. I renamed the tarball to reflect that status.


Top
 Profile  
 
PostPosted: Wed Dec 07, 2011 11:59 pm 
Offline

Joined: Wed Dec 07, 2011 5:13 am
Posts: 3
Was there ever any success enabling NFS using these modules on 2.064? I unpacked the modules and tried loading nfsd but end up with some unresolved symbols that I can't track down:

# insmod kernel/fs/exportfs/exportfs.ko
# insmod kernel/net/sunrpc/sunrpc.ko
# insmod kernel/fs/lockd/lockd.ko
# insmod kernel/net/sunrpc/auth_gss/auth_rpcgss.ko
# insmod kernel/fs/nfsd/nfsd.ko
# dmesg | grep nfsd
nfsd: Unknown symbol posix_acl_from_mode
nfsd: Unknown symbol posix_acl_from_xattr
nfsd: Unknown symbol posix_acl_valid
nfsd: Unknown symbol posix_acl_alloc
nfsd: Unknown symbol posix_acl_to_xattr

Would it be possible to build a loadable module (e.g. posix_acl.ko) to provide these functions? Or is replacing the kernel as described in the NFS twiki the only solution?


Top
 Profile  
 
PostPosted: Thu Dec 08, 2011 10:43 am 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6126
From the wiki:
Wiki wrote:
To get a nfs server running you'll need kernel support. The stock kernel isn't able to load the needed modules,


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group