turn wlan0 on when eth0 is not connected

Recommended Posts


I would like to set my opi+2e to connect to wlan0 if eth0 is not connected, and back to eth0 when eth0 is connected.

Please suggest me how to configure

/etc/network/interfaces configuration for the same.

thanks in adv.

Share this post

Link to post
Share on other sites

i have 3 different wifi connection to connect to so i need wpa_supplicant to work with

can you please suggest me ho to config in such case with same static ip ( eth0, and wlan0)


and yes i tried above,

after doing than still my lan and wifi both get connected.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.