Register

Welcome to the RDI-Board Community.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.


Donate Now Goal amount for this month: 100 EUR, Received: 100 EUR (100%)
Donate to support this site...

Results 1 to 3 of 3
  1. #1
    Banned Teacher
    RDI - Board Banned Avatar

    Join Date
    Feb 2006
    Posts
    135
    Posts Thanks / Likes

    Smile N to CSP connector script

    de lene sa nu bag liniile manual am facut un script mic
    nano n2csp
    aruncati scriptul de mai jos in el
    ########################################
    echo "<newcamd-connector name=\"$2-$3\" profile=\"${20}\" enabled= \"true\" metric=\"1\" debug=\"true\">" >>conectori
    echo "<des-key>${6} ${7} ${8} ${9} ${10} ${11} ${12} ${13} ${14} ${15} ${16} ${17} ${18} ${19}</des-key>">>conectori
    echo "<host>$2</host>">>conectori
    echo "<port>$3</port>">>conectori
    echo "<user>$4</user>">>conectori
    echo "<password>$5</password>">>conectori
    echo "<default-client-id>43 43</default-client-id>">>conectori
    echo "<asynchronous>true</asynchronous>">>conectori
    echo "</newcamd-connector>">>conectori

    ###################
    chmod +x n2csp
    ./n2csp N:blabla.com 1111 user pass 01 02 03 04 05 06 07 08 09 10 11 12 13 14 PROFIL-CSP

    le salveaza in fisierul conectori de acolo il aruncati in proxy.xml


    stiu ca nu folosesc multi csp dar..e ceva pt cine are multe N si nu vrea sa le bage manual

  2. #2
    Moderator Expert
    Join Date
    Apr 2003
    Location
    Wild West
    Posts
    2,529
    Posts Thanks / Likes

    Default

    Doar ca multi merg pe conectori externi nu in proxy.xml si multi folosesc des key diferit, de altfel nici nu e nevoie sa pui acolo des key default odata ce se poate seta general in proxy.xml.

    Oricum e binevenit pentru incepatori in CSP.

  3. #3
    Banned Teacher
    RDI - Board Banned Avatar

    Join Date
    Feb 2006
    Posts
    135
    Posts Thanks / Likes

    Default des key

    pai nu e default des-key
    aia o citeste din linia N
    si am vazut ca poti pune proxy.xml si userii remote pe un site dar nu tot fisierul asta il pui pe site?
    Oricum sunt la inceput si eu ...vad eu ce iese dar si cu scriptul asta tot am o gramada de lucru cu liniile astea...dar si cand o sa fie gata.....sper sa duca 500-1000 de connectori.

 

 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Back to Top