Giter Site home page Giter Site logo

Comments (4)

theGuildHall avatar theGuildHall commented on June 12, 2024

Interesting issue.

Can you right click on the panel where your ping should be and select preferences? Might help to see what is there. Otherwise, if you haven't already, delete that panel and try it again.

from pwnbox.

Colenk avatar Colenk commented on June 12, 2024

Same problem as that man. Tried deleting the panel it did nothing. And as for the preferences, they are just standard. image

I was messing around with the vpnpanel script and trying formatting it to see if it was an issue displaying the decimal number.
I made it a float with a simple `printf "%.0f" and when using that as the echo instead I at least get the number 0 to show on the panel rather than nothing.
image
image

Is there anything else you could think of for why only that part is not showing? If you have any ideas for me to test, I'll gladly take them.

PS: My installation is stock from the guide other than a custom PS1 in my bashrc

from pwnbox.

Colenk avatar Colenk commented on June 12, 2024

UPDATE: Found the fix for the problem from someones fork of the repo. Credit to @Flameeeeee for committing the fix in his fork.

@Errorrist You have to edit your vpnpanel.sh.

Change gwip=$(route -n | grep tun0 | grep UG | tr -s " " | cut -d " " -f 2) to gwip=$(ip route | grep tun0 | grep via | cut -d " " -f 3)

For some reason the "route -n" command doesnt return output properly, while "ip route" does.

@theGuildHall I suggest possibly updating the readme for others that have the issue, or possibly just changing the script within the repo. Big thanks.

from pwnbox.

theGuildHall avatar theGuildHall commented on June 12, 2024

@Colenk glad you found the issue and how to fix it! I'll commit it now.

@Errorrist Please try it now! you can do a git pull or just copy the updated vpnpanel.sh

from pwnbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.