Script: Samba share from multi fixed servers

Ideas and dreaming will go this forum

vuhothang
Posts: 70
Joined: Tue Feb 26, 2013 7:14 am
Location: Viet Nam

Re: Script: Samba share from multi fixed servers

Post by vuhothang »

Dear All!

How to test samba and nfs working on TV? I was install SamyGO widget, i was using this script samba share, now on source have samygo virt usb but no connected device?

But i happy with new event! My NAS is Buffalo LS-CHL V2 with firmware shonk 1.64a1, i was reinstall twonky server from 6.0.43 to 7.2.1 and now my TV EH5300 can't play mkv via allshare with 1080p/DTS audio and many mkv. But so bad with many video record by Canon Cameras (720p, 1080p) (this file not supported).

I want direct access file via samba because loading time so long, my NAS have many video, picture, video file!

I will reinstall firmware on TV and install with news SamyGO.zip and test again!
UA40Eh5300 modi to UE46Eh5300 with DVB-TC
UA32EH4003 try to using DVB-C
Hoffy
Posts: 20
Joined: Sat Apr 06, 2013 12:49 pm

Re: Script: Samba share from multi fixed servers

Post by Hoffy »

Ok. Been trying for weeks now and still cannot get network shares to work.

I have updated Widget to latest 3/5/2013. Widget autostarts & I have telnet access.

I'm trying to access a Dreambox on the same network @ ip 10.0.0.100
For those of you that aren't familiar with a Dreambox, it is essentially a set top box for DTV & DVB-S running linux.

I can search for the Dreambox on my WIndows 7 machine, and it turns up in the Network as DM8000. If I check the properties of the hard drive, it shows as an Windows NT 4.9 Server.

I was always under the impression that this was a samba server. Am I incorrect??

I have edited both nfs and samba init scripts the same way. Now I have an nfs folder in Virtual drive. I can select the nfs folder, then the 10.0.0.100 folder. This is where it stops. It will not browse the files on the hdd in the dreambox.
The structure is within /hdd I have 4 folders with videos of different types (e.g. folder names: Recordings, Movies). I should be able to enter the directory 10.0.0.100/hdd/Movies but it does not appear.

I assume, since I have the ip listed in nfs folder and that no smb folder appears, that the share is in fact an nfs share?

Any advice you could share would be greatly appreciated. I have trolled through many of the posts and wiki articles trying to understand if and what I am doing wrong.

The Widget is fantastic and works every time now. I feel I'm just making a mistake, or don't quite understand the language correctly.

Regards,
Hoffy.
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: Script: Samba share from multi fixed servers

Post by juusso »

Re-install widget (today`s release), replace your samba.init and give me the output to:

Code: Select all

/mnt/etc/init.d/03_03_samba.init start
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
Hoffy
Posts: 20
Joined: Sat Apr 06, 2013 12:49 pm

Re: Script: Samba share from multi fixed servers

Post by Hoffy »

Hi juuso.

What would be the best way to execute that command from a windows 7 machine.

Putty?
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: Script: Samba share from multi fixed servers

Post by juusso »

Install new widget and use putty telnet on 23 port.
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
Hoffy
Posts: 20
Joined: Sat Apr 06, 2013 12:49 pm

Re: Script: Samba share from multi fixed servers

Post by Hoffy »

I'm guessing you meant 04_04_samba.init.

In putty, this is the output I get

: not foundit.d/04_04_samba.init: /mtd_rwarea/smb_userdata: line 1: ?USER=root

With the dreambox, there is no user name or password that I'm aware of for accessing the shares.

I originally had smb_userdata empty. I tried entering the telnet password for the Dreambox also, but still same outcome.

Thanks for your help.
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: Script: Samba share from multi fixed servers

Post by juusso »

you can edit your script and comment out those lines:

Code: Select all

[ -z $USER ] && exit 1
[ -z $PASSWD ] && exit 1
Should be

Code: Select all

#[ -z $USER ] && exit 1
#[ -z $PASSWD ] && exit 1
Now your script does not ext if you`re using empty user and password variables.
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
Hoffy
Posts: 20
Joined: Sat Apr 06, 2013 12:49 pm

Re: Script: Samba share from multi fixed servers

Post by Hoffy »

Ahh. Cool.

Didn't think of that.

Will give it a try and let you know how it goes.

Cheers.
Hoffy
Posts: 20
Joined: Sat Apr 06, 2013 12:49 pm

Re: Script: Samba share from multi fixed servers

Post by Hoffy »

Awesome. Looks like it is going to work now.

TV is still showing loading after 5 minutes, but the directory on TV /dtv/usb/sdj/smb/10.0.0.100/Harddisk is populating with all my files.

Will wait to see if it eventually finishes loading

Thanks heaps for your help.
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: Script: Samba share from multi fixed servers

Post by juusso »

what is your TV and firmware name-number?
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE

Post Reply

Return to “[E] Brainstorm”