SamyGO Extensions [v0.03.6]

Here are software that related with Samsung B series TVs. Like hex editors, new version of BusyBox or internal software, app programs that will run in your TV hardware.:!:This forum is NOT FOR USER QUESTIONS or Problems.

steve-austin
Posts: 79
Joined: Tue Oct 20, 2009 8:04 pm

Re: SamyGO Extensions [v0.03.5 Beta]

Post by steve-austin »

About my problem with HD channel, it's ok with the new version with bugfixes ;)
55B650 and 37B650 with patched firmware
flo-ogb
Posts: 23
Joined: Sun Sep 19, 2010 9:43 am

Re: SamyGO Extensions [v0.03.5 Beta]

Post by flo-ogb »

There is a problem with the regex for extracting the NFS shares:

Code: Select all

# S_MOUNTS=$(showmount --no-headers -e $i | cut -d " " -f1)    
S_MOUNTS=$(showmount --no-headers -e $i | sed 's/^\(.*\) *\*/\1/')
It fails to match shares that are restricted by hostname or address properly, causing it to mount the hostname as another share (or at least it creates the dir and fails to mount).

Example:

Code: Select all

flo@taco:~$ showmount --no-headers -e ticonderoga 
/tftpboot/ubuntu_10.10-beta *
/tftpboot/ubuntu_10.04.1-64 *
/tftpboot/ubuntu_10.04.1    *
/media/data/music           *
/media/data/exchange        *
/media/data/diskless/player 192.168.8.3
and running that though sed gives us

Code: Select all

flo@taco:~$ showmount --no-headers -e ticonderoga | sed 's/^\(.*\) *\*/\1/'
/tftpboot/ubuntu_10.10-beta 
/tftpboot/ubuntu_10.04.1-64 
/tftpboot/ubuntu_10.04.1    
/media/data/music           
/media/data/exchange        
/media/data/diskless/player 192.168.8.3
see last line, we need to match for the whitespace i guess or is it possible to export dirs with spaces in them?
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.5 Beta]

Post by arris69 »

flo-ogb wrote:There is a problem with the regex for extracting the NFS shares:

Code: Select all

# S_MOUNTS=$(showmount --no-headers -e $i | cut -d " " -f1)    
S_MOUNTS=$(showmount --no-headers -e $i | sed 's/^\(.*\) *\*/\1/')
It fails to match shares that are restricted by hostname or address properly, causing it to mount the hostname as another share (or at least it creates the dir and fails to mount).

Example:

Code: Select all

flo@taco:~$ showmount --no-headers -e ticonderoga 
/tftpboot/ubuntu_10.10-beta *
/tftpboot/ubuntu_10.04.1-64 *
/tftpboot/ubuntu_10.04.1    *
/media/data/music           *
/media/data/exchange        *
/media/data/diskless/player 192.168.8.3
and running that though sed gives us

Code: Select all

flo@taco:~$ showmount --no-headers -e ticonderoga | sed 's/^\(.*\) *\*/\1/'
/tftpboot/ubuntu_10.10-beta 
/tftpboot/ubuntu_10.04.1-64 
/tftpboot/ubuntu_10.04.1    
/media/data/music           
/media/data/exchange        
/media/data/diskless/player 192.168.8.3
see last line, we need to match for the whitespace i guess or is it possible to export dirs with spaces in them?
you can make exports with spaces in name, but i'm not shure you can access them ;-)

you can change the sed command to:

Code: Select all

 sed 's/^\(.*\) .*/\1/'
i hope if you export to multiple hosts isn't separeted by spaces in showmounts output.

thnx
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.5 Beta]

Post by arris69 »

@ultramaximum
can you pls. check the output of commands here:

thnx
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.5 Beta]

Post by arris69 »

ultramaximum wrote:
arris69 wrote:@ultramaximum
can you pls. check the output of commands here:

thnx
arris
this is the log
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2010.10.31 10:14:40 =~=~=~=~=~=~=~=~=~=~=~=
...
Thank you!
if you repeat the same procedure than what you get if you execute

Code: Select all

smbclient -s /dtv/usb/sda1/SamyGO/etc/samba/smb.conf -U maruxos -L 192.168.1.2
you should get a password prompt -> enter your password and hit enter
is 192.168.1.2 your win machine?

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.5 Beta]

Post by arris69 »

ultramaximum wrote:...

Code: Select all

# smbclient -s /dtv/usb/sda1/SamyGO/etc/samba/smb.conf -U maruxos -L 192.168.1.2creating lame upcase table
creating lame lowcase table
Enter maruxos's password:
session setup failed: SUCCESS - 0
yes, .1.2 is shared folder server
https://bugs.launchpad.net/ubuntu/+sour ... bug/458637 comment #23 ff.
http://social.technet.microsoft.com/For ... 79a5597527

so may remove windows Live Sign-In Assistant (whatever it is, hope you don't need it) helps.

arris

Post Reply

Return to “[B] Software”