Jump to content


Photo

Cardinfo-pli and newcs - problem


  • Please log in to reply
5 replies to this topic

#1 blzr

  • PLi® Core member
  • 2,269 posts

+118
Excellent

Posted 27 January 2009 - 11:25

Hi
I started using Newcs (1.62) recently and I found that CardInfo-pli does not work with this card server, so I have changed cardinfo-pli script a little:
if echo "$plist" | grep -q newcs ; then
    port3=`grep "<tcp_port>" /var/tuxbox/config/newcs.xml | sed "s/^.*<.*>\(.*\).*<.*>.*$/\1/"`
    [ -z "$port3" ] && port3=16000
    echo "NewCS SmartCard information$dash" >> $tf
    ( echo "NewCSpwd"
    sleep 1
    echo "sub -1/n" 
    ) | nc localhost $port3 >> $tf
added it to var/bin and it works :D
Then I found it has been discussed a year ago in this thread: http://www.pli-image...=5018&pid=55945
so I would like just remind You about this issue, maybe updated script could be implemented in jade2 release?
regards

Re: Cardinfo-pli and newcs - problem #2 bahry

  • Member
  • 2 posts

0
Neutral

Posted 27 January 2009 - 13:46

thanks its good info .
best regards.

Re: Cardinfo-pli and newcs - problem #3 dAF2000

  • PLi® Ex-Leden
  • 14,151 posts

+52
Good

Posted 27 January 2009 - 18:04

Thanks,
I will see if I can get this in Jade2.
Many answers to your question can be found in our wiki: http://openpli.org/wiki

Re: Cardinfo-pli and newcs - problem #4 dAF2000

  • PLi® Ex-Leden
  • 14,151 posts

+52
Good

Posted 28 January 2009 - 20:01

Done, will be in next image.
Many answers to your question can be found in our wiki: http://openpli.org/wiki

Re: Cardinfo-pli and newcs - problem #5 blzr

  • PLi® Core member
  • 2,269 posts

+118
Excellent

Posted 28 January 2009 - 20:40

Thanks, the best support as usual /images/smiley/grin.gif

Re: Cardinfo-pli and newcs - problem #6 tHUNDEr

  • Member
  • 3 posts

0
Neutral

Posted 19 March 2009 - 07:42

Hi,
I also changed cardinfo-pli.sh script. (Support for NewCS console password added, changed newcs debug port to default 1001, for echoes added "-e" switch to support escaped strings - new line in $dash)

-=tHUNDEr=-

Attached Files




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users