0

help with script (bypass proxy)

hi. 

i have a running xd1032 device works fine. 

i want to use the SetProxybypass function that is available in the latest firmware (i upadted the machine).

this setting is available only via script and not with brightauthor.

how can i make a script to add only this setting ? 

thank you !

8 comments

  • 0
    Avatar
    Lyndon

    I've attached a plugin for you to test including screenshots showing how to add it to brightauthor, and how to send the proxy command. 

    proxy!hostname!hostname!hostname

    The plugin will add hostsnames included to the proxy bypass list.

     proxy_bypass_add_plugin.JPG

     

     proxybypass_command.JPG

     

  • 0
    Avatar
    Vince

    Can you provided a sample script that show how to set a fix IP address?

     

    ie:

     

    nc = CreateObject("roNetworkConfiguration", 0)
    nc.SetDHCP()
    nc.SetProxy("http://proxy.cool.org:80/")
    nc.SetProxyBypass("10.10.10.1")    >> ? this does not seem to work

    nc.SetProxyBypass("http://10.10.10.1:8080")   >> Does not work
    ok=nc.Apply()

  • 0
    Avatar
    Lyndon

    If you're using brightauthor, why do you need to set the ip thorugh the plugin. You can create setup files using brightauthor. The plugin ws attached here along with directions. Are you not using brightauthor or a plugin, but need a standalone script?

  • 0
    Avatar
    Vince

    This is a standalone script.

  • 0
    Avatar
    BrTran

    Hello BrightSign I´ve tried to use the script above but after putting in the script my BrightSign XD232 stucks in boot loop with error led red.

    I´ve set my BrightSign device as "Networked with Local File Networking" .

    Im using a proxy server with authentification and I have two zones with rss feeds. One feed is in our network and the other one is in www. When I do preview it works fine but after publishing it to BrightSign device the rss feed in our network doesnt show up.  

    Is it possible to use the proxy with authentification for one feed and for the other one not?

    I added the script to File -> Presentation Properties -> Autorun like in the first picture but how do I come to the second picture? We are not using interactive mode.

    BrightAuthor V 4.3.0.16

    I appreciate any help/hints  . Thanks in advance!

  • 0
    Avatar
    BrTran

    Doesnt work for me..I wrote a comment but seems like no one approved it

  • 0
    Avatar
    Shaun

    Vince,

    nc = CreateObject("roNetworkConfiguration", 0)

    ignorelist  = CreateObject("roArray", 1, false)

    ignorelist.Push("10.10.10.1")

    nc.SetDHCP()

    nc.SetProxy("http://proxy.cool.org:80/")
    nc.SetProxyBypass(ignorelist)  

    ok=nc.Apply()

  • 0
    Avatar
    Niels Brunsgaard

    I have 2 questions regarding proxy configuration via standalone script:

    1. How do I delete an existing proxy configuration?
    2. What's the syntax to include multiple networks in the bypass list? I've tried these 2 variants and neither seem to work:
      Variant A:
           ignorelist.Push("10.0.0.0/8", "192.168.0.0/16")
      Variant B:
           ignorelist.Push("10.0.0.0/8")
           ignorelist.Push("192.168.0.0/16")

     

Please sign in to leave a comment.