SamyGO Extensions [v0.03.6] for c-series

Here are software that related with Samsung C series TVs, applications, programs that will run in your TV or computer...:!:This forum is NOT FOR USER QUESTIONS or Problems.

arris69
Official SamyGO Developer
Posts: 1700
Joined: Fri Oct 02, 2009 8:52 am
Location: Austria/Vienna (no Kangaroos here)
Contact:

Re: SamyGO Extensions [v0.03.6] for c-series

Post by arris69 »

gregoir3 wrote:I finally got Smb shares to be detected after I corrected the bug in /etc/rc.sysinit. Now however it shows all shares and not just the ones I granted access to. Also it has this annoying path like /Smb/192.168.0.1/"share name here". I just want it to show the shares I granted acces to and a friendly name. I think I should dive into the code but I already got lost in it several times.
you mean bug #2011_1 ? in rc.sysinit

you can write your own script and replace 04_04_samba.init like:

Code: Select all

#!/bin/sh
. /dtv/SGO.env

SERVER="10.0.0.1"
SHARES="Pictures Movies Music"
USER="klaus"
PASSWD="jsR5_frFsdf2"

case $1 in
        start)
        insmod $MOD_DIR/kernel/fs/cifs/cifs.ko
        for i in $SHARES ; do
                mkdir -p $MOUNT_PATH/$i
                /bin/mount -o user="$USER",password="$PASSWD",codepage=cp1250 -t cifs //$1/$i $MOUNT_PATH/$i
        done
        ;;
        stop)
        echo "what now?"
        ;;
        status)
        /bin/mount | grep cifs
        ;;
        *)
        echo "Usage: $0 {start|stop|status}" 1>&2
        ;;
esac
hth
arris
User avatar
decix
Posts: 95
Joined: Thu Dec 30, 2010 11:18 pm
Location: Germany

Re: SamyGO Extensions [v0.03.6] for c-series

Post by decix »

jjf353 wrote:I have a UE40C7700 and I get ssh working but nfs works not.
I used
SamyGO-All-Extensions-v0.03.6-r12-for-T-VALDEUC-20110103184650.zip

# mount -t nfs 192.168.1.24:/mnt/test /dtv/usb/sda1/media
mount: wrong fs type, bad option, bad superblock on 192.168.1.24:/mnt/test,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount.<type> helper program)
In some cases useful info is found in syslog - try
dmesg | tail or so
Same probleme here. Went back to r10 where NFS is still working.
arris69
Official SamyGO Developer
Posts: 1700
Joined: Fri Oct 02, 2009 8:52 am
Location: Austria/Vienna (no Kangaroos here)
Contact:

Re: SamyGO Extensions [v0.03.6] for c-series

Post by arris69 »

decix wrote:
jjf353 wrote:I have a UE40C7700 and I get ssh working but nfs works not.
I used
SamyGO-All-Extensions-v0.03.6-r12-for-T-VALDEUC-20110103184650.zip

# mount -t nfs 192.168.1.24:/mnt/test /dtv/usb/sda1/media
mount: wrong fs type, bad option, bad superblock on 192.168.1.24:/mnt/test,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount.<type> helper program)
In some cases useful info is found in syslog - try
dmesg | tail or so
Same probleme here. Went back to r10 where NFS is still working.
use

Code: Select all

/bin/mount
instead of

Code: Select all

mount
, but if you use the extensions in proper way nfs is automaticaly detected and mounted.
your tv should have nfs compiled into the kernel, check

Code: Select all

cat /proc/filesystems 
for debug:
call the 03_03_nfsmount.init script in verbose mode:

Code: Select all

sh -x <path_to_init.d>/03_03_nfsmount.init
hth
arris
Last edited by arris69 on Fri Jan 07, 2011 3:26 pm, edited 1 time in total.
Reason: added missing space in code
User avatar
decix
Posts: 95
Joined: Thu Dec 30, 2010 11:18 pm
Location: Germany

Re: SamyGO Extensions [v0.03.6] for c-series

Post by decix »

Thanks for your help, using "/bin/mount" instead of "mount" works fine ;-)
arris69
Official SamyGO Developer
Posts: 1700
Joined: Fri Oct 02, 2009 8:52 am
Location: Austria/Vienna (no Kangaroos here)
Contact:

Re: SamyGO Extensions [v0.03.6] for c-series

Post by arris69 »

gregoir3 wrote:Arris69; For some reason the script you posted also doesn't work for me...and I tried everything for hours.
start the script in verbose mode to see whats wrong

Code: Select all

sh -x <script>
arris
arris69
Official SamyGO Developer
Posts: 1700
Joined: Fri Oct 02, 2009 8:52 am
Location: Austria/Vienna (no Kangaroos here)
Contact:

Re: SamyGO Extensions [v0.03.6] for c-series

Post by arris69 »

gregoir3 wrote:

Code: Select all

/dtv/usb/sda1/SamyGO/etc/init.d$ sh -x 04_06_samb.init
+ . /dtv/SGO.env
+ SYSROOT=/dtv/usb/sda1/SamyGO
+ MOUNT_PATH=/dtv/usb/sdb
+ export MOD_DIR=/dtv/usb/sda1/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8
+ export TMPDIR=/dtv
+ export HOME=/mtd_wiselink
+ export SMB_CONF_PATH=/dtv/usb/sda1/SamyGO/etc/samba/smb.conf
+ LD_LIBRARY_PATH=/dtv/usb/sda1/SamyGO/opt/privateer/lib:/dtv/usb/sda1/SamyGO/opt/privateer/usr/lib:/dtv/usb/sda1/SamyGO/lib:/dtv/usb/sda1/SamyGO/usr/lib:
+ PATH=/dtv/usb/sda1/SamyGO/opt/privateer/sbin:/dtv/usb/sda1/SamyGO/opt/privateer/bin:/dtv/usb/sda1/SamyGO/opt/privateer/usr/bin:/dtv/usb/sda1/SamyGO/opt/privateer/usr/sbin:/dtv/usb/sda1/SamyGO/sbin:/dtv/usb/sda1/SamyGO/bin:/dtv/usb/sda1/SamyGO/usr/bin:/dtv/usb/sda1/SamyGO/usr/sbin:/sbin:/bin:/usr/sbin:/usr/bin
+ export ENV=/dtv/.ashrc
+ export FRAMEBUFFER=/dev/sam/fb0
+ SERVER=192.168.1.107
+ SHARES=photo video music
+ USER=nmt
+ PASSWD=
+ echo Usage: 04_06_samb.init {start|stop|status}
Usage: 04_06_samb.init {start|stop|status}
Sorry, nothing triggers me here.
my fault:

Code: Select all

sh -x 04_06_samb.init start
you have password for your shares?

arris

Post Reply

Return to “[C] Software”