helloSystem / Utilities

Utilities written in PyQt5, meant for use with helloSystem
BSD 2-Clause "Simplified" License
28 stars 29 forks source link

Wired network management #191

Open grahamperrin opened 3 years ago

grahamperrin commented 3 years ago

Spun off from https://github.com/helloSystem/Menu/issues/23#issuecomment-765926726

Need a GUI for when:

Example (DHCP)

  1. Start the system offline
  2. make a wired connection to a DHCP network

– there's no interface to the connection.

Need to create the interface, and so on.

Reference

Thoughts

I shouldn't recommend writing an app from scratch (thin end of a wedge).

Instead, seek an existing app. Ideally one that can integrate with the global menu, although I don't view https://github.com/helloSystem/Menu as a strict requirement; an app amongst utilities should suffice.

grahamperrin commented 3 years ago

… an existing app. Ideally one that can integrate with the global menu, …

I meant, the system tray area of the global menu.

net-mgmt/networkmgr

image

… NetworkMgr is a Python GTK3 network manager for FreeBSD, GhostBSD, TrueOS and DragonFlyBSD. NetworkMgr support both netif and OpenRC network. …

Installed, but not apparent in the tray when running.

Re: https://github.com/helloSystem/ISO/issues/96#issue-783181529 if stalonetray runs before networkmgr then I get its GUI, but it's not a GUI to create/add/enable the required network interface:

Ethernet Network

– is greyed out.

probonopd commented 3 years ago

Possibly this functionality will get folded into https://github.com/helloSystem/Menu/issues/23.

https://github.com/GhostBSD/networkmgr

We need something like this in Qt or PyQt.

grahamperrin commented 3 years ago

… Need to create the interface, …

bsdconfig(8) is appealing but unless I'm missing something, it can't create a required interface.

I wondered whether sleeping then waking the computer might trigger something, but the computer did not wake.