Skip to content
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

[Feature] Automatic switchover #64

Closed
Crushless opened this issue Jun 17, 2021 · 2 comments
Closed

[Feature] Automatic switchover #64

Crushless opened this issue Jun 17, 2021 · 2 comments
Assignees
Labels
feature New feature or request

Comments

@Crushless
Copy link

When using a notebook, and you often have to switch locations (sometimes with available wired networking, sometimes without), networkmgr should automatically switch between wired and WiFi network interfaces, and prioritize a wired interface, if connected. If a network interface is setup with DHCP, this should be handled automatically. Nameserver and default route should also be automatically adjusted to use the desired interface.

Today, you have to manually disable one interface, and sometimes the other interface too and re-enable the desired interface to get it working. In an modern, dynamic working environment this is not very convenient.

@project-bot project-bot bot added this to Needs triage Backlog in Development Planning Jun 17, 2021
@ericbsd ericbsd changed the title Automatic switchover [Feature] Automatic switchover Jun 17, 2021
@ericbsd ericbsd moved this from Needs triage Backlog to To do Backlog in Development Planning Jun 17, 2021
@ericbsd ericbsd added the feature New feature or request label Jun 17, 2021
@ericbsd
Copy link
Member

ericbsd commented Jun 17, 2021

Note to myself devd should handle this with

notify 0 {
	match "system"		"IFNET";
	match "type"		"LINK_DONW";
	media-type		"ethernet";
        *
}

and

notify 0 {
	match "system"		"IFNET";
	match "subsystem"	"!(usbus|wlan)[0-9]+";
	match "type"		"LINK_DONW";
        *
};

@ericbsd
Copy link
Member

ericbsd commented Jun 26, 2021

Completed

@ericbsd ericbsd closed this as completed Jun 26, 2021
@project-bot project-bot bot moved this from In Progress to Ticket Closed in Development Planning Jun 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
No open projects
Development Planning
  
Ticket Closed
Development

No branches or pull requests

2 participants