Sponsored links


Go Back   Sat Industry Forums > Dreambox > DB Images > Gemini images
Register FAQ Members List Calendar Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-09-2006
paNicas's Avatar
Registered User
 
Join Date: Sep 2005
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
paNicas is on a distinguished road
DB500 MaxVar 3.0 Usercript

hi,
i make simple Cs_usersacript.sh script in /var/script/ dir.
#!/bin/sh
echo "`telnet localhost 5555`"

so,
then i do it from console, i can see some info,
but then i start it from:
Blue b.>4>User script>Cs> Start (with Show)
im seeing blank page

whereis a problem?
Reply With Quote
Sponsored links
  #2 (permalink)  
Old 08-09-2006
Deaaaaaas's Avatar
Registered User
 
Join Date: Jan 2006
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Deaaaaaas is on a distinguished road
Re: DB500 MaxVar 3.0 Usercript

skip "echo" and just do this:

#!/bin/sh
telnet localhost 5555

i think that will help
Reply With Quote
  #3 (permalink)  
Old 08-09-2006
paNicas's Avatar
Registered User
 
Join Date: Sep 2005
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
paNicas is on a distinguished road
Re: DB500 MaxVar 3.0 Usercript

Quote:
Originally Posted by Deaaaaaas
skip "echo" and just do this:

#!/bin/sh
telnet localhost 5555

i think that will help
same effect - blank page

so it's oreginal Ecm script:
#!/bin/sh

if [ -e /tmp/ecm.info ]; then
cat /tmp/ecm.info
else
echo "No /tmp/ecm.info"
fi

i make like this:
#!/bin/sh

if [ -e /tmp/ecm.info ]; then
echo "`telnet localhost 5555`" >> /tmp/ecm.info
cat /tmp/ecm.info
else
echo "No /tmp/ecm.info"
fi

and then i exec Ecm script, i can see only Ecm message, no one line from my telnet info

Any ideas?
Reply With Quote
  #4 (permalink)  
Old 08-10-2006
Deaaaaaas's Avatar
Registered User
 
Join Date: Jan 2006
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Deaaaaaas is on a distinguished road
Re: DB500 MaxVar 3.0 Usercript

try this insted...

#!/bin/sh

touch /tmp/telnet.info

if [ -e /tmp/telnet.info ]; then
echo "`telnet localhost 5555`" >> /tmp/telnet.info
cat /tmp/telnet.info
else
echo "No /tmp/telnet.info"
fi

think that should work...
Reply With Quote
  #5 (permalink)  
Old 08-10-2006
Registered User
 
Join Date: Dec 2004
Posts: 100
Thanks: 0
Thanked 0 Times in 0 Posts
eolos68 is on a distinguished road
Re: DB500 MaxVar 3.0 Usercript

Quote:
Originally Posted by paNicas
hi,
i make simple Cs_usersacript.sh script in /var/script/ dir.
#!/bin/sh
echo "`telnet localhost 5555`"

so,
then i do it from console, i can see some info,
but then i start it from:
Blue b.>4>User script>Cs> Start (with Show)
im seeing blank page

whereis a problem?
Increase the sleep time in the userscript panel
If i remember correctly the default sleep time is 1 sec... increase until you see an output on screen (3-4 should work)
Reply With Quote
  #6 (permalink)  
Old 08-10-2006
paNicas's Avatar
Registered User
 
Join Date: Sep 2005
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
paNicas is on a distinguished road
Re: DB500 MaxVar 3.0 Usercript

Quote:
Originally Posted by eolos68
Increase the sleep time in the userscript panel
If i remember correctly the default sleep time is 1 sec... increase until you see an output on screen (3-4 should work)
set from 1 to 11 sec.
try like Deaaaaaas sad:

#!/bin/sh

touch /tmp/telnet.info

if [ -e /tmp/telnet.info ]; then
echo "`telnet localhost 5555`" >> /tmp/telnet.info
cat /tmp/telnet.info
else
echo "No /tmp/telnet.info"
fi

same result: BLANK PAGE
Reply With Quote
  #7 (permalink)  
Old 08-10-2006
Registered User
 
Join Date: Dec 2004
Posts: 100
Thanks: 0
Thanked 0 Times in 0 Posts
eolos68 is on a distinguished road
Re: DB500 MaxVar 3.0 Usercript

I have just test it with the above script and it works for me
Nevetheless if your still having problems try the attached plugin
Ftp both files in the plugin folder (755 for .sh)
Run telnet_info from the plugins menu

Thanks to pcd
Script Plugin
Attached Files
File Type: zip script_plugin.zip (312 Bytes, 3 views)
Reply With Quote
  #8 (permalink)  
Old 08-16-2006
paNicas's Avatar
Registered User
 
Join Date: Sep 2005
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
paNicas is on a distinguished road
Re: DB500 MaxVar 3.0 Usercript

echo "`telnet localhost 5555`"
works fine, Big thx

P.S.
telnet localhost 5555 , don't work
Reply With Quote
  #9 (permalink)  
Old 09-04-2006
Registered User
 
Join Date: May 2005
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
denniso is on a distinguished road
Re: DB500 MaxVar 3.0 Usercript

I'm quite sure that telnet is not a valid program name in Gemini 3.10 at least in the DM500 distributions. It means that you are not able to telnet out from your dreambox.
Reply With Quote
  #10 (permalink)  
Old 09-04-2006
paNicas's Avatar
Registered User
 
Join Date: Sep 2005
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
paNicas is on a distinguished road
Re: DB500 MaxVar 3.0 Usercript

Quote:
Originally Posted by denniso
I'm quite sure that telnet is not a valid program name in Gemini 3.10 at least in the DM500 distributions. It means that you are not able to telnet out from your dreambox.
i'm using MaxVar IMG, its maded by Gemini IMG and have telnet client program and bigger size of /var directory.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
any chance of a MaxVar? nWish PLI Images 4 07-26-2006 05:47 PM
/*/*/ Versioni MaxVar /*/*/ Openfirm1 Italiano Dreambox 14 05-31-2006 08:44 PM
No-IP DUC for db500 zenj Plugins 1 11-11-2005 07:27 PM
Db500 + Nfs gb2 DM-500s 0 02-19-2005 02:19 AM


All times are GMT +10. The time now is 02:18 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Page generated in 0.25682 seconds with 11 queries