Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.
Results 1 to 2 of 2

Thread: IP_Checker Plugin

  1. #1
    dsayers's Avatar
    Title
    Senior Member
    Join Date
    Mar 2016
    Posts
    1,368
    Thanks
    387
    Thanked 504 Times in 353 Posts

    IP_Checker Plugin

    A simple plugin to check the external IP Address of your box, this can be used to check if your VPN is working as the external IP Address should change when turning OpenVPN on and off.


    FTP the ipk to tmp



    To install it on box


    OpenATV
    Menu... setup... software management... install local extension
    memory/tmp
    Press ok on the package
    press green to install.




    OpenVIX
    Menu > setup > VIX > Iplkg install or install loca extenrions
    memory/tmp
    Press ok on the package
    press green to install.

    Press Menu, plugins and you should see IP Checker press ok on the plugin and it should run a simple IP check script

    You should get something like this I have removed part of my IP address

    IP Checker.jpg

    For users interested in the contents of the script

    Code:
    echo "Ip Adress is"
    wget -qO- http://ipecho.net/plain;echo
    Attached Files Attached Files

  2. The Following 8 Users Say Thank You to dsayers For This Useful Post:

    abu baniaz (11-03-18),Alankellyeire (26-04-18),duoduo (12-03-18),john doe (12-03-18),kryton (12-03-18),widar (24-05-21),Willo3092 (12-03-18),wullboy (12-03-18)

  3. #2
    dsayers's Avatar
    Title
    Senior Member
    Join Date
    Mar 2016
    Posts
    1,368
    Thanks
    387
    Thanked 504 Times in 353 Posts
    Updated version 4 with .py files to work on python 3

    Code:
    https://github.com/davesayers2014/plugins/blob/master/enigma2-plugin-extensions-ipchecker_004_all.ipk?raw=true
    Edit
    The script from version 3 includes

    Code:
    echo
    echo "LOCAL IP ADDRESS IS:"
    echo
    ip route get 8.8.8.8| grep src| sed 's/.*src \(.*\)$/\1/g'
    echo
    echo
    echo
    echo "EXTERNAL IP ADDRESS IS:"
    echo
    wget -qO- http://ipecho.net/plain;echo
    echo
    Local IP address is your box IP address and external IP address is your router or VPN address
    Last edited by dsayers; 24-05-21 at 11:37. Reason: Added more information

  4. The Following 3 Users Say Thank You to dsayers For This Useful Post:

    Clabs (25-05-21),gws (24-05-21),Willo3092 (24-05-21)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.