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

Manually enter IP Address of Android phone #1677

Closed
knuxyl opened this issue Sep 16, 2023 · 1 comment
Closed

Manually enter IP Address of Android phone #1677

knuxyl opened this issue Sep 16, 2023 · 1 comment
Labels
enhancement A request for a feature or additional functionality triage An issue that needs confirmation and labeling

Comments

@knuxyl
Copy link

knuxyl commented Sep 16, 2023

Describe your request

The scanning process for GSConnect currently only scans the local connection subnet, which will always fail for me.

I have an android phone hosting a wireless access point, which an openwrt router connects to, and my PC is connected to the openwrt router. My phone is my internet, and the wifi access point configuration on Android is not configured properly for an entire home internet network, so I connect with another router.

I have static routes setup on the router so I am able to connect to the phone with adb from the openwrt subnet.

openwrt is in the 10.0.X.X range, phone hotspot is in the 192.168.X.X range. Devices connected to openwrt can successfully communicate with the phone and devices in the 192.168.X.X range.

GSConnect only scans the 10.0.X.X range (the subnet the PC is on) and will never find the phone ip address.

Proposed solution

I need to be able to manually put in the ip subnet for the phone to be able to connect, which should be a very simple implementation. Being able to specify the subnet to search would be preferrable as the hotspot subnet changes on every reset. This could be combined with being able to manually specify the ip address instead of just the range to search.

Alternatives

Having GSConnect scan the local subnet will never work for this scenario.

I may be able to set a static lease/route and translate a local ip address to the phone ip address, but due to new changes in Android, the hotspot ip subnet changes everytime it is reset, so this is not a viable option. There are no alternatives. Changing the IP subnet/address in GSConnect would be much easier than manually changing routes and leases in openwrt on every hotspot reset.

GSConnect version

55

Installed from

OS package manager

GNOME Shell version

44.4

Linux distribution/release

Debian testing (trixie/sid) Kernel 6.4.0-4-amd64

Additional context

I do not have KDE so I do not know if KDEConnect has this functionality but I doubt it. This feature will not be a fundamental change in features for KDEConnect, this is a basic setting that could be implemented without needing KDEConnect to support it first.

@knuxyl knuxyl added the enhancement A request for a feature or additional functionality label Sep 16, 2023
@github-actions github-actions bot added the triage An issue that needs confirmation and labeling label Sep 16, 2023
@knuxyl
Copy link
Author

knuxyl commented Sep 16, 2023

GSConnects hamburger menu is not very clear on selections. Display Mode looks like it is the submenu of Connect to... which made me think Connect to wasn't a button but rather a section. It's working now.
Screenshot from 2023-09-16 09-32-57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A request for a feature or additional functionality triage An issue that needs confirmation and labeling
Projects
None yet
Development

No branches or pull requests

1 participant