Skip to content

enhanced config to select network interface by name. #120

Open
THKDev wants to merge 1 commit intoOpenPrinting:masterfrom
THKDev:inet-interface-by-name
Open

enhanced config to select network interface by name. #120
THKDev wants to merge 1 commit intoOpenPrinting:masterfrom
THKDev:inet-interface-by-name

Conversation

@THKDev
Copy link

@THKDev THKDev commented Jan 30, 2026

Need to advertise the right IP address over mDNS in case you have multiple interfaces or vlans.

Name of the interface (eg. eth0 or lo) or all or loopback
interface = vlan.1 # all | loopback | eth0 | vlan.1

…e the right IP address of the interface via mDNS.
@alexpevzner
Copy link
Member

Hi,

It will not work, if interface can change its address dynamically.

To implement it, you will have monitor as interface addresses are changed over time and update your configuration on a fly.

Also, I dont't like the systemd service dependency on the network-online.target - looks like it will prevent service from running if network is disabled, while ipp-usb actually don't need the network for its functionality and usable without network connection to drive the locally connected printers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants