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

Allow for a "hosts" file [Enhancement] #143

Open
DomGarguilo opened this issue Sep 5, 2023 · 2 comments
Open

Allow for a "hosts" file [Enhancement] #143

DomGarguilo opened this issue Sep 5, 2023 · 2 comments
Labels
enhancement New feature or request self-hosted

Comments

@DomGarguilo
Copy link

What problem is solved by the new feature
It would be cool to have a file that I can edit to set a list of known hosts and their device name.

Describe the feature
If I have a list of devices and their ip addresses already, I can just have the server pull the device name from that instead of randomly generating a new name for new hosts. Similar to an /etc/hosts file.

There might be something like this already where the device names are stored but I could not find it.

@DomGarguilo DomGarguilo added the enhancement New feature or request label Sep 5, 2023
@schlagmichdoch
Copy link
Owner

You already have the possibility to rename your device permanently which is implemented in such a way, that the edited name is never send to the server but only to connected devices directly and only saved on the device itself.
Is that not sufficient already?

Most devices do not have a static ip address anyway so I do not like the idea to link IP-address and name.
Also, all devices in your local network have the same public IP-address (IPv4) which is used by the PairDrop server for the auto discovery of devices in your local network.
When your feature would be implemented, all devices in your local network would have the same name.

What is the real problem that your feature request tries to solve?

@DomGarguilo
Copy link
Author

Also, all devices in your local network have the same public IP-address (IPv4) which is used by the PairDrop server for the auto discovery of devices in your local network. When your feature would be implemented, all devices in your local network would have the same name.

I meant local,private IPs not public IPs. If one is running PairDrop on their LAN without poking it through to the public internet. It works fine for each client to change all their names as needed but if I already have a list mapping the IPs on my LAN to a nickname of the device, I just thought it would be convenient to be able to use that to pre-fill the device names using that list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request self-hosted
Projects
None yet
Development

No branches or pull requests

2 participants