robinpaulson / SimpleRT

Simple Reverse Tethering utility for Android
GNU General Public License v3.0
899 stars 101 forks source link

Allow a way to select IP addresses/ranges #56

Open manoflinux opened 4 years ago

manoflinux commented 4 years ago

great app but more control over the ips it hands out would be a nice touch. Would like to be able to give a phone a dedicated 10. ip instead of the kinda sequential ones you hand out now, and any other devices will get a different non dedicated ips. I think this is better than gnirehtet because its runs on linux boxes with two network cards with no problems, gnirehtet relies on adb which doesn't like two network cards in linux at least my configuration of them. SimpleRT just works.

robinpaulson commented 2 years ago

Hi @manoflinux this is a valid request, I'll have a think about it. I'm still getting to know the project, I'll have a look around the code, see what's what.

I've seen gnirehtet too. The name is terrible and great all at the same time..... Maybe they have some ideas we can pinch (and credit, of course!).

manoflinux commented 2 years ago

Thanks! I forgot about this, I still use simpleRT, its very handy. yea if you could implement a simple mac address(?) to ip table it reads from a file or something that would be awesome, but I am fine with any solution.

robinpaulson commented 2 years ago

OK, I hadn't thought of linking it to MAC address, I was imagining specifying it on the command-line/in the upcoming GUI (see #60).

Perhaps command-line options first, then by MAC address later. The latter will require a conf file, perhaps in .local

manoflinux commented 2 years ago

whatever works, I just want a way to get the same ip over and over for the same device, having to change the ip in settings every time it changes is a pain.

On Thu, Sep 30, 2021 at 7:09 PM robinpaulson @.***> wrote:

OK, I hadn't thought of linking it to MAC address, I was imagining specifying it on the command-line/in the upcoming GUI (see #60 https://github.com/robinpaulson/SimpleRT/issues/60).

Perhaps command-line options first, then by MAC address later. The latter will require a conf file, perhaps in .local

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/robinpaulson/SimpleRT/issues/56#issuecomment-931765355, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABSKIJGW7WPMWJGBN6OGZALUETU4DANCNFSM4OCBLEKA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

-- --

This is something I have finally got around to doing and you should too. this is my public key. If you want to send me a pgp encrypted messages use this to send it. gnupg(http://www.gnupg.org/) is my preferred pgp client. -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1.4.9 (GNU/Linux)

mQGiBEvLs8MRBACiftHu20uZANwLsoyms6jfD7s4HXdUHmUQcSqNibKJYgmCMAfY /i/GLSNNuUOUG8JPhTLdtjc752e6/C7OeTddwYkZRofr7Zyz0dy7EvvUlQ/PgOg1 /Qty0fC5StgK3WEmnwaUs3H4U/aNxwAHiHqPR0Ixm7PPZqZn+1t0bMVZYwCg/OmB sITK24gRF7kqwLdVmdLB2k8D/j/PEaMuvvgivirtCEk4i4Fs8n9u8/nKYJYl+eeq KMj/icXANPn7mefYTK7mQYCEcD2C/X0476cSmJyRRiWWIhQZLC/ANpnjFJbSqeoI ot8THX5aKtgmJxF1Y3JwMgpFAon5fc3JC9uTU5CkryxrK1EnAdtJdH1OhY8kmMEa JjxKBACAJgNKXSky+D+Nw2StkUG5COXHmA3Y2YDY9S9wPyEuNeqyVLcLenn6bzK0 /Mn8DBxFI6kzL0cFx/O9cWE6lWQbJ8h67S93DGkh5L1HKbq8ot+ObOqINXMwaaW0 kIoRXvXzvDGDs85U/1lYmOX0Noo7vqIJWgJwh7v1L/ghjS/jg7QhbWFub2ZsaW51 eCA8bWFub2ZsaW51eEBnbWFpbC5jb20+iGAEExECACAFAkvLs8MCGyMGCwkIBwMC BBUCCAMEFgIDAQIeAQIXgAAKCRCZcPdBxtUw8azuAJ46IHdtOoHuFl16Q/YVGjQz CoN2NACgx9FYVO32tNVMeLoRayFP7euzx5u5Ag0ES8uzwxAIAMpGRn0HEVNRox4B ikWRjSW6OmwSQKg4hhJQLbU14F00kBJZ2I4QdF7OQ7vQ0SXXUklJeW4DE7jUIjcO oCjtCWLGVGCYmpJ6hzAjgeZkGbStscp3XNEtbaLnmfFsmhqgnopzctj9grF6MlD8 Bhtuc7MtphNXBdu9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