GithubHelp home page GithubHelp logo

Comments (4)

Pack3tL0ss avatar Pack3tL0ss commented on July 30, 2024

@Doosty The AutoHotspot feature is disabling it. When no defined SSIDs are found and the ConsolePi goes into hotspot mode it enables ip forwarding. When it connects to a defined SSID it ensures the hotspot is disabled and disables ip forwarding.

You can disable autohotspot

  • change ConsolePi.yaml and disable the hotspot hotspot: false (just prevents it from being configured when you use consolepi-upgrade
  • sudo sysctl disable autohotspot

I also just pushed an improvement in v2023-6.5. You can upgrade using consolepi-upgrade. I added logic to the autohotspot script that will look for net.ip.ip_forward = 1 in the sysctl files. It will only disable ip_forwarding if there is not configuration defined that enables it. So it should persist now with or without autohotspot enabled.

from consolepi.

Doosty avatar Doosty commented on July 30, 2024

Thank you for the reply and update, however

  • i did consolepi-upgrade, rebooted, verified 2023-6.5 with consolepi-version, but it did not help with persisting the ipforwarding

I have

  • net.ipv4.ip_forward=1 set up in /etc/sysctl.conf & /etc/sysctl.d/99-tailscale.conf
  • sudo sysctl -p /etc/sysctl.d/99-tailscale.conf set up in /etc/rc.local & /etc/init.d/tailscale

Setting hotspot: false in /etc/ConsolePi/ConsolePi.yaml seems to work though. I dont need hotspot for now so it is ok. Thank you for the help.

from consolepi.

Pack3tL0ss avatar Pack3tL0ss commented on July 30, 2024

Thanks for the update. I'll re-test. Get it it to work with hotspot enabled.

from consolepi.

Pack3tL0ss avatar Pack3tL0ss commented on July 30, 2024

OK now (🔖 v2023-6.6) it should work with or without autohotspot.

from consolepi.

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.