-
-
Notifications
You must be signed in to change notification settings - Fork 496
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
Configure Wifi as fallback LAN for Ethernet link not connected at boot #265
Comments
Would also like to support the notion of providing simultaneous connectivity/bridging the two connections, regardless of whether or not the wifi is infrastructure, adhoc, or AP mode. |
@WolfganP @spiderkeys |
Hi, nice feature and can be really helpful. Tested five different units (chips: 1x TI, 2x ralink, 1x realtek, 1x atheros), not only one will work. |
probably best to let the kernel detect, then test for presence of wlan0. |
From what I read at http://raspberrypi.stackexchange.com/questions/8851/setting-up-wifi-and-ethernet it seems that declaring both interfaces and keeping the proper credentials at wpa_supplicant.conf will work (plus disabling the hotplugging capability). |
Yep, thats the plan. I'am aiming to start work on this later tonight and tomorrow. My son is staying at his nans for the night, so I will get some time to really dig into this :). |
Great! |
@rhkean @WolfganP
We will let the kernel decide which connection is being utilized, when both are active. Heres the commit: Fourdee@3f532cb |
Removal of ifmetric to fix: https://github.com/Fourdee/DietPi/issues/515#issuecomment-247798038, breaks this ticket. New method required. |
Bonding: http://dietpi.com/phpbb/viewtopic.php?f=9&t=340&start=20#p4417
|
Hello Everyone, greetings from Colombia! Currently my Diet-pi is setup with the Hotspot package, using a Wifi dongle (wlan0) and Ethernet (eth0) as internet source. I'm interested on adding a second WiFi adapter (wlan1) as I wish to be able to switch to wlan1 if internet eth0 gets disconnected. (or maybe bonding both eth0 and wlan1 ) This is my current setup:
From your previous post:
Thank you! |
As per https://github.com/Fourdee/DietPi/issues/264
As a basic connectivity model for DietPi, change the concept of current exclusive LAN connection (Eth OR Wifi) to a priority based one (activate wifi with preconfigured credentials if wired ethernet not present at boot)
It may later be expanded to simultaneous connectivity / both links active model if worthy.
The text was updated successfully, but these errors were encountered: