Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Thu Dec 14, 2017 9:11 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 134 posts ]  Go to page Previous 15 6 7 8 9 Next
Author Message
PostPosted: Sun Jan 17, 2010 5:31 am 
Offline
Newbie

Joined: Mon Dec 21, 2009 9:00 am
Posts: 40
Hi itimpi,

I did what you asked and I got the following response.


BUFFALO INC. TeraStation series TS-TGL(IENARI)

TS-TGL99E login: myroot
root@TS-TGL99E:~# /etc/init.d/pcastd stop
Stop services: pcastd Scheduler
Scheduler: no process killed
root@TS-TGL99E:~# /etc/init.d/pcastd start
root@TS-TGL99E:~#

As I know not things about linux so I had no idea what it mean, so can you please tell me what it mean. If it not right, how do I config the PCast manually as per the README file.

THANKS


Top
   
PostPosted: Sun Jan 17, 2010 9:53 am 
Offline
Moderator
User avatar

Joined: Tue Jul 26, 2005 5:22 pm
Posts: 1123
Location: United Kingdom
The fact that you got no further output after the command to start pcastd means that Pcast is not correctly configured to startup. That means that the configurationn steps mentioned in the README are definitely required.

You would need to use the vi editor to amend the configuration files. Let me think about the best way to advise you to use it if you are not already familiar with vi.


Top
   
PostPosted: Sun Jan 17, 2010 11:26 am 
Offline
Moderator
User avatar

Joined: Tue Jul 26, 2005 5:22 pm
Posts: 1123
Location: United Kingdom
OK - see if this helps you:

Minimal vi Commands you need to know:
Code:
:q     Quit
:q!    Quit without saving
:w    Write out changes
x      Delete character under cursor
i       Enter insert mode at current cursor position
ESC  Exit insert mode
Move around the file using the arrow keys


Start editing the file cat /etc/melco/pcast_mp2000 using
Code:
vi /etc/melco/pcast_mp2000

Mine looks like the following:
Code:
server=on
media=/mnt/array1/share
limit_media=
limit_pass=

If you have not used the default share name you may need to alter the line starting 'media'

Then edit the file /etc/melco/info using
Code:
vi /etc/melco/info

Near the bottom there should be line that reads
Code:
pcast=on

If may say off rather than on. If so change it to on.

Having made these changes now try the command
Code:
/etc/init.d/pcastd start

You should get messages from the pcast daemon starting up.

Note that if you run the PCast GUI configuration again it may undo the changes you have made manually.

I hope that is enough to get you going!


Top
   
PostPosted: Sun Jan 17, 2010 9:48 pm 
Offline
Newbie

Joined: Mon Dec 21, 2009 9:00 am
Posts: 40
Hi itimpi

thanks for your clear instruction, but when I look into /etc/melco directory there is no pcast_mp2000 files to edit, what do I have to do?

Thanks


Top
   
PostPosted: Sun Jan 17, 2010 11:59 pm 
Offline
Moderator
User avatar

Joined: Tue Jul 26, 2005 5:22 pm
Posts: 1123
Location: United Kingdom
It appears you are correct in that the file is not included in the package!
I assume that a default one must get created at some point for any of my testing to have worked!

The easiest thing to do is to probably to create it manually. It only has the 4 lines I gave.

I will also add it to the package on the web site for future downloads.


Top
   
PostPosted: Mon Jan 18, 2010 10:16 am 
Offline
Newbie

Joined: Mon Dec 21, 2009 9:00 am
Posts: 40
Hi itimpi

still no show for me, my d-lind DSM 320 still can not see the pcast media server in the TeraPro, I can not work it out why! Followng are the edit file that I edited manually for you to exam to see if there is any thing that I may had been doing wrongly.

for pcast_mp2000

BUFFALO INC. TeraStation series TS-TGL(IENARI)

TS-TGL99E login: myroot
root@TS-TGL99E:~# vi /etc/melco/pcast_mp2000
server=on
media=/mnt/disk2/phimle
limit_media=
limit_pass=
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
root@TS-TGL99E:~#

then for info files

BUFFALO INC. TeraStation series TS-TGL(IENARI)

TS-TGL99E login: myroot
root@TS-TGL99E:~# vi /etc/melco/info
string=TeraStation
timezone=9
codepage=CP437
lang=english
ntp=off
ntpserver=
ntp_old=
ntp_interval=1d
atalk=on
ftp=off
anonyftp=off
anonyftp_folder=
anonyftp_mode=write
printer_win=off
printer_mac=off
upnp=on
search_passwd=
init_passwd=on
raidfail_shutdown=on
mtu=1518
pcast=on
syslog_forward=off
syslog_forward_target=
"/etc/melco/info" line 1 of 33 --3%--

then check if it work

BUFFALO INC. TeraStation series TS-TGL(IENARI)

TS-TGL99E login: myroot
root@TS-TGL99E:~# /etc/init.d/pcastd start
Start services: pcastd Scheduler
pcastd 0.5.9 start.
key='server', value='on'
key='media', value='/mnt/disk2/phimle'
Set pcast_mp2000 seting media=global_param.public_root
key='limit_media', value=''
key='limit_pass', value=''
EOF Detect.
config '/etc/pcast/pcastd.conf' open.
key='server_port', value='8000'
key='client_language_code', value='sjis'
key='skin_root', value='/etc/pcast/theme/pcast'
key='us_skin_root', value='/etc/pcast/theme_kdw/pcast'
HwCtrlPid = [2122]
key='flag_unknown_extention_file_hide', value='true'
key='flag_image_viewer', value='false'
key='flag_daemon', value='true'
key='flag_debug_log_output', value='false'
EOF Detect.
Daemoning....
root@TS-TGL99E:~#

hope that you can help
thanks


Top
   
PostPosted: Wed Jan 20, 2010 3:04 pm 
Offline
Moderator
User avatar

Joined: Tue Jul 26, 2005 5:22 pm
Posts: 1123
Location: United Kingdom
I am not sure what to suggest as the startup messages suggest that PCast is starting up correctly. You could check this by pointing a browser at http://tsp_ip_address:8080 and see what happens. If you get output (albeit not formatted correctly) then PCast is running.

It is always possible that your media player is simply not compatible with PCast. PCast was produced befor the uPNP standard was finalised so I do not know how well it conforms. I have two Buffalo media players - the older one works fine with PCast while the newer one does not. That is one of the reasons I have switched to using the ushare media server as it works with both of my media players.


Top
   
PostPosted: Wed Jan 20, 2010 10:15 pm 
Offline
Newbie

Joined: Mon Dec 21, 2009 9:00 am
Posts: 40
Hi itimpi,

once again thanks for your help! I will try that when I get home after work.

just another question. Can my laptop with win 7 and connect to my home network wirelessly detect Pcast media server some how??

I had download Ushare but don't how to install into TeraPro. can you point me to the right direction? I try to get it from internet but could not find any things that can be usefull

thanks


Top
   
PostPosted: Fri Jan 22, 2010 8:46 am 
Offline
Newbie

Joined: Mon Dec 21, 2009 9:00 am
Posts: 40
hi itimpi,

I point my web browser to http://tsp_ip_address:8080, I had no output at all, it is mean that the PCast media server is not runing??

thanks


Top
   
PostPosted: Fri Jan 22, 2010 9:00 am 
Offline
Moderator
User avatar

Joined: Tue Jul 26, 2005 5:22 pm
Posts: 1123
Location: United Kingdom
Just a check - you did replace the 'tsp_ip_address' with the actual IP address of the TeraStation Pro?
Also I think that port number may be wrong - it is probably '8000' and not '8080'. I had changed mine from the default so that I could also run ushare which also tries to use port '8000' by default.

You could also try running the command
Code:
 ps -ef

to check that there are some jobs running showing they are for the 'pcastd' daemon.


Top
   
PostPosted: Fri Jan 22, 2010 12:14 pm 
Offline
Newbie

Joined: Mon Dec 21, 2009 9:00 am
Posts: 40
hi Itimpi

I had some output but video, music and photo tap are empty while I had alot of video and music and photo in my TeraPro, why is that?

ps -ef command give me this

BUFFALO INC. TeraStation series TS-TGL(IENARI)

TS-TGL99E login: myroot
root@TS-TGL99E:~# ps -ef
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 21:39 ? 00:00:04 init
root 2 1 0 21:39 ? 00:00:02 [keventd]
root 3 1 0 21:39 ? 00:00:00 [ksoftirqd_CPU0]
root 4 1 0 21:39 ? 00:00:00 [kswapd]
root 5 1 0 21:39 ? 00:00:00 [bdflush]
root 6 1 0 21:39 ? 00:00:00 [kupdated]
root 7 1 0 21:39 ? 00:00:00 [pagebufd]
root 8 1 0 21:39 ? 00:00:00 [xfslogd/0]
root 9 1 0 21:39 ? 00:00:00 [xfsdatad/0]
root 11 1 0 21:39 ? 00:00:00 [scsi_eh_0]
root 12 1 0 21:39 ? 00:00:00 [scsi_eh_1]
root 13 1 0 21:39 ? 00:00:00 [scsi_eh_2]
root 14 1 0 21:39 ? 00:00:00 [scsi_eh_3]
root 15 1 0 21:39 ? 00:00:00 [mtdblockd]
root 16 1 0 21:39 ? 00:00:00 [khubd]
root 20 1 0 21:39 ? 00:00:06 [mdrecoveryd]
root 21 1 0 21:39 ? 00:00:01 [raid1d]
root 22 1 0 21:39 ? 00:00:00 [raid1scand]
root 175 1 0 21:39 ? 00:00:00 [xfssyncd]
root 443 1 0 21:40 ? 00:00:00 dhcpcd -h TS-TGL99E -t 10 eth0
root 506 1 0 21:40 ? 00:00:00 [xfssyncd]
root 508 1 0 21:40 ? 00:00:00 [xfssyncd]
root 510 1 0 21:40 ? 00:00:00 [xfssyncd]
root 512 1 0 21:40 ? 00:00:00 [xfssyncd]
root 525 1 0 21:40 ? 00:00:00 /sbin/syslogd -m 0
root 529 1 0 21:40 ? 00:00:00 /sbin/klogd -x
root 532 1 0 21:40 ? 00:00:00 /usr/sbin/httpd
root 535 1 0 21:40 ? 00:00:00 /usr/sbin/inetd
root 545 1 0 21:40 ? 00:00:00 /usr/sbin/lsprcvd
root 550 532 0 21:40 ? 00:00:00 /usr/sbin/httpd
root 551 532 0 21:40 ? 00:00:00 /usr/sbin/httpd
root 552 532 0 21:40 ? 00:00:00 /usr/sbin/httpd
root 553 532 0 21:40 ? 00:00:00 /usr/sbin/httpd
root 556 532 0 21:40 ? 00:00:00 /usr/sbin/httpd
root 563 1 0 21:40 ? 00:00:00 /usr/sbin/atalkd -f /etc/atalk/a
root 567 1 0 21:40 ? 00:00:00 /usr/sbin/cron
root 571 1 0 21:40 ? 00:00:00 /usr/sbin/smbd -D
root 573 1 0 21:40 ? 00:00:00 /usr/sbin/nmbd -D
root 645 1 0 21:40 ? 00:00:07 /usr/local/PCast/Scheduler
root 647 645 0 21:40 ? 00:00:00 /usr/local/PCast/Scheduler
root 652 645 0 21:40 ? 00:00:00 /usr/local/PCast/Scheduler
root 653 1 0 21:40 ? 00:00:00 /usr/local/PCast/pcastd
root 655 652 0 21:40 ? 00:00:00 /usr/local/PCast/Scheduler
root 656 652 0 21:40 ? 00:00:00 /usr/local/PCast/Scheduler
root 657 653 0 21:40 ? 00:00:00 /usr/local/PCast/pcastd
root 659 652 0 21:40 ? 00:00:00 /usr/local/PCast/Scheduler
root 660 652 0 21:40 ? 00:00:00 /usr/local/PCast/Scheduler
root 663 647 0 21:40 ? 00:00:00 /usr/local/PCast/Scheduler
root 664 663 0 21:40 ? 00:00:00 /usr/local/PCast/Scheduler
root 678 1 0 21:40 ? 00:00:00 /bin/sh /usr/sbin/kernelmon
root 707 663 0 21:40 ? 00:00:00 /usr/local/PCast/Scheduler
root 729 663 0 21:40 ? 00:00:00 /usr/local/PCast/Scheduler
root 777 663 0 21:40 ? 00:00:00 /usr/local/PCast/Scheduler
root 833 1 0 21:40 ? 00:00:00 /usr/sbin/diskmon
root 838 1 0 21:40 ? 00:00:00 /usr/local/sbin/errevntmon
root 841 1 0 21:40 ? 00:00:00 /usr/sbin/logchkd
root 845 1 0 21:40 ? 00:00:00 /usr/sbin/miconmon
root 1098 678 0 21:40 ? 00:00:00 cat /proc/driver/kernevnt
root 1107 1 0 21:40 ? 00:00:00 /usr/sbin/admind
root 1125 1 0 21:40 ? 00:00:00 /usr/sbin/ls_servd -i eth0
root 1128 1 0 21:40 ? 00:00:00 /usr/sbin/processmon -p apservd
root 1150 1 0 21:40 ttyS0 00:00:00 /sbin/getty console
root 1159 1 0 21:41 ? 00:00:00 /usr/sbin/afpd -c 1000 -n TS-TGL
root 1184 532 0 21:42 ? 00:00:00 /usr/sbin/httpd
root 1185 532 0 21:42 ? 00:00:00 /usr/sbin/httpd
root 1186 532 0 21:42 ? 00:00:00 /usr/sbin/httpd
root 1187 532 0 21:42 ? 00:00:00 /usr/sbin/httpd
root 1188 532 0 21:42 ? 00:00:00 /usr/sbin/httpd
root 1312 535 0 21:55 ? 00:00:00 in.telnetd: 10.1.1.7
root 1313 1312 0 21:55 pts/0 00:00:00 -bash
root 1319 845 1 21:55 ? 00:00:00 sh -c miconapl -a temp_get |grep
root 1320 1319 1 21:55 ? 00:00:00 [miconapl]
root 1321 1319 1 21:55 ? 00:00:00 grep temp=
root 1322 1313 0 21:55 pts/0 00:00:00 ps -ef
root@TS-TGL99E:~#

what does it mean?

to this stage, I think d-link DSM 320 media player is not compatible with PCast, I have to wait for the ushare then.

thanks.


Top
   
PostPosted: Fri Jan 22, 2010 12:52 pm 
Offline
Moderator
User avatar

Joined: Tue Jul 26, 2005 5:22 pm
Posts: 1123
Location: United Kingdom
If you get those tabs showing up then I would expect that should be able to drill down at least one level.

You might want to check that the path set in /etc/melco/pcast_mp2000 is correct for the base of your meda are? That path is also displayed in the output shown when you issue the command
/etc/init.d/pcastd restart
if that is an easier way of finding where the daemon is looking for media.


Top
   
PostPosted: Sun Jan 24, 2010 11:23 am 
Offline
Newbie

Joined: Mon Dec 21, 2009 9:00 am
Posts: 40
itimpi

after edit the /etc/melco/pcast_mp2000 again, I now can see all my vedio and music files. but they are not playable on the web browser interface.

I had given a Twonky a try, it very easy to install, my d-link DSM 320 can see the server straight away and show all media files in good order. A catch is that I have to pay $30.00 after 30 days trial.

I would like to give Ushare a try when it become avarible.

lastly I would like to thanks all your help in the last few week, I had learn a gread deal of new things from you.

thanks again


Top
   
PostPosted: Sun Jan 24, 2010 10:16 pm 
Offline
Moderator
User avatar

Joined: Tue Jul 26, 2005 5:22 pm
Posts: 1123
Location: United Kingdom
They are not meant to be playable via the web browser. That is just a check that PCast is actually functioning.

Instead of Twonky you could try the uShare media server (I am uploading a revised build in a few hours) which is fully UPNP and DLNA compliant and therefore I would expect it to work.


Top
   
PostPosted: Sun Jan 24, 2010 11:14 pm 
Offline
Newbie

Joined: Mon Dec 21, 2009 9:00 am
Posts: 40
great itimpi! thanks for that :biglol: :biglol: :biglol: :up:


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 134 posts ]  Go to page Previous 15 6 7 8 9 Next

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 7 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:
Powered by phpBB® Forum Software © phpBB Limited