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

Fixed gateway for usb0 on Android 14 #623

Closed
structdjm79 opened this issue Nov 12, 2024 · 5 comments
Closed

Fixed gateway for usb0 on Android 14 #623

structdjm79 opened this issue Nov 12, 2024 · 5 comments

Comments

@structdjm79
Copy link

structdjm79 commented Nov 12, 2024

Could you make an option or patch to set a non randomized gateway for usb0 interface? Android has completely randomized the gateway on the usb0 interface at boot eg, 192.168.X.X, used to be 192.168.43.X which was manageable on my raspberry end for setting up a static address.... I use my Samsung Galaxy Tab A8 usb tethered to interface with my RaspberryPI via SSH and with the latest android OS 14 I can no longer set a static ip for the usb0 on RaspberryPI, so now I have to load up Termux and run arp -n | grep usb0 to get the raspberry's ip for JuiceSSH every time I boot the tablet

@structdjm79 structdjm79 changed the title Fix gateway for usb0 on Android 14 Fixed gateway for usb0 on Android 14 Nov 12, 2024
@Mygod
Copy link
Owner

Mygod commented Nov 12, 2024

#193

@Mygod Mygod closed this as not planned Won't fix, can't repro, duplicate, stale Nov 12, 2024
@Mygod
Copy link
Owner

Mygod commented Nov 12, 2024

Okay I see that you actually want static IP on clients. Why not just run DHCP?

@structdjm79
Copy link
Author

Okay I see that you actually want static IP on clients. Why not just run DHCP?

no, I meat to say server ip....

I need to set a static ip on the raspberry so I connect to it with my android tablet ssh, which isn't possible anymore because android changed usb0 to random subnets 192.168.?.? so i`m able to predict its random gateway, in the past it was possible cause android's usb0 interface only changed last subnet of the gateway eg 192.168.43.?

@Mygod
Copy link
Owner

Mygod commented Nov 13, 2024

So why not just run DHCP on your Rasp Pi?

@structdjm79
Copy link
Author

structdjm79 commented Nov 13, 2024

So why not just run DHCP on your Rasp Pi?
because I don't know the gateway of the android tablet, I would have to specify android`s gateway, id have to set a gateway on 192.168.?.? which isn't possible

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

No branches or pull requests

2 participants