How to set static gateway IP address through android source

92 views
Skip to first unread message

Mohanraj M

unread,
May 7, 2019, 3:35:42 PM5/7/19
to android...@googlegroups.com
Hi Team,

I am trying to build custom ROM using MSM8909. 

Through USB tethering, I can able to access mobile internet from PC. But my situation, I need to access PC internet from mobile.  

I am trying to set static gateway IP address for my custom ROM while using USB tethering (RNDIS) to access PC internet. But I cant able to find how to set static gateway IP address. 

Please help me how can I set static gateway for (rndis0) network.

Thanks in advance.

Regards, 
Mohanraj.M. 


Chrystal Wilson

unread,
May 27, 2019, 1:44:45 PM5/27/19
to android-porting
How to set static gateway IP address through android

Raghul R

unread,
May 28, 2019, 11:52:53 AM5/28/19
to wilsonch...@gmail.com, android-porting
ip route add default via  <IP_ADDRESS_ON_HERE>, hey try this command on your android linux console.....
regards,
Raghul R



On Mon, May 27, 2019 at 11:14 PM Chrystal Wilson <wilsonch...@gmail.com> wrote:
How to set static gateway IP address through android

--
--
unsubscribe: android-porti...@googlegroups.com
website: http://groups.google.com/group/android-porting

---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-porti...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-porting/ed2a57d0-73a4-4812-80b3-ce916e1b470c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages