-
-
Notifications
You must be signed in to change notification settings - Fork 794
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Easily switch between wired AP and Wifi client AP mode #300
Comments
Tested successfully on the Pi Zero W with the Quick Installer. |
@billz - I'm attempting to use your |
@billz - I found an older discussion thread, issue #196, which basically asks for the same thing that I need. I saw your suggestion there:
I was able to change the WiFi interface to |
@Dude4Linux indeed, the default wifi interface can be changed in the config. In a future update I'll add the ability to set this via the UI. Predictable network interface names can be enabled/disabled with |
@billz - I tried using After upgrading to
and magically, it seems to work without needing to add any additional changes (that I'm aware of) and with predictable network names enabled. I'm currently planning to test the method in other situations to make sure that it's the only change required. |
Well, it turns out that I was wrong about the softlink above fixing the problem. I was working on an older RPi that had been upgraded from Jessie to Stretch. Restarting udev after making the change above, reactivated the rules and programs associated with The lines from
show that the link to I've tried to come up with a method that will work for both Jessie and Stretch. Currently, putting the following modified file in
This both replaces the original rule, TBH, I don't know enough about |
Tested with wired ethernet and as a wireless client ("managed" mode) using RPi 3B & Stretch Lite in 3 different scenarios:
Repeated tests 2 & 3 with RPi Zero W (Stretch Lite) also with Quick Installer. Stopping/starting AP presented no issues. AP in managed mode is observed to be stable on both RPi 3B and Pi Zero W. A sample throughput analysis on the Pi Zero W is below. Note: Simultaneous AP and managed mode Wifi uses a known-good default config. Changes to dhcp server settings in this mode are ignored. Feature branch merged into master. Please report any issues here. Thanks |
This has become a popular requested feature. The use case was captured well by @hallard who also described a procedure for enabling this on the RPi Zero W (later added to our FAQs).
I've done some work on a feature branch that enables this with a toggle switch on the Advanced tab of Configure hotspot. In addition to managing several configuration settings, the order and timing of starting up network services is important to avoid race conditions.
So far it's tested well on a Pi 3B+ with Stretch Lite.
Tracking this with PR #297.
Related issues: #272 #271 #181 #151 #78, #200 possibly #201
The text was updated successfully, but these errors were encountered: