Comments (4)
@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 useconsolepi-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.
Thank you for the reply and update, however
- i did
consolepi-upgrade
, rebooted, verified 2023-6.5 withconsolepi-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.
Thanks for the update. I'll re-test. Get it it to work with hotspot enabled.
from consolepi.
OK now (🔖 v2023-6.6) it should work with or without autohotspot.
from consolepi.
Related Issues (20)
- TypeError when adding console HOT 2
- AttributeError when renaming device HOT 2
- Include drivers for Aruba 9000 Series gateway series HOT 4
- FTDI missing serial numbers HOT 2
- consolepi-mdnsreg failed HOT 6
- Custom baud rates for different serial consoles? HOT 1
- Latest RaspberryPi OS uses incompatible python version HOT 1
- Cannot change Hotspot SSID HOT 2
- Menu will not load HOT 3
- Installation fails on Pi 1B Buster HOT 2
- Integration of serial ports ttySC0 + ttySC1 to local serial adapter list? HOT 4
- zero 2 W Install hung up HOT 2
- Aliases take over serial port names HOT 5
- Install errors out HOT 3
- Error HASH not match from the requirements file HOT 1
- Hardware-Serial via PCI not detected. HOT 4
- Console-menu issue HOT 2
- Bluetooth connection on Windows 11 HOT 1
- Refactor ESPHome Power Logic to Also Support Home Assistant
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from consolepi.