-
Notifications
You must be signed in to change notification settings - Fork 34
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
[BUG] lan-search for printers does not work on Windows 11 #152
Labels
bug
Something isn't working
Comments
treitmayr
changed the title
[BUG]
[BUG] lan-search for printers does not work on Windows 11
Feb 18, 2024
anselor
pushed a commit
to anselor/ankermake-m5-protocol
that referenced
this issue
Mar 15, 2024
This fixes issue Ankermgmt#152.
anselor
pushed a commit
to anselor/ankermake-m5-protocol
that referenced
this issue
Mar 16, 2024
This fixes issue Ankermgmt#152.
anselor
pushed a commit
to anselor/ankermake-m5-protocol
that referenced
this issue
May 23, 2024
This fixes issue Ankermgmt#152.
robertbaker
pushed a commit
to robertbaker/ankermake-m5-protocol
that referenced
this issue
Sep 19, 2024
This fixes issue Ankermgmt#152.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
During further investigation for PR #150 and Issue #142 I noticed, that
ankerctl.py lan-search
does not work as expected on Windows 11 in that no printer is found even though the host is on the same network as the printer and the printer is turned on.From Linux computers, the printer could be found without issues.
To Reproduce
Steps to reproduce the behavior:
ankerctl.py lan-search
on a Windows 11 computerExpected behavior
The printer should be detected just the same as on a Linux machine.
Desktop (please complete the following information):
Initial Analysis
The following observations where done:
So the solution for a Windows code path might be to determine all local network addresses and send out the broadcast individually from each of these addresses. I already found a library ifaddr which seems to do the job well according to initial tests.
The text was updated successfully, but these errors were encountered: