0

I know other threads already exist but none of them answer this specifically.

My OTG ethernet cable works only when used as a client, i.e. when a DHCP server is recognized.

I want to be able to share my 4G connexion to a router trough the WAN port. Android doesn't support this natively, so I'm guessing I'll have to create my own AP but I'm not sure exactly how do that trough the terminal.

I'm guessing there is some NAT involved.

6
  • I already commented on your previous question: Use an external WIFI dongle as a hotspot Commented May 28, 2021 at 5:59
  • This is different I never asked about a wifi dongle
    – Catfoxes
    Commented May 28, 2021 at 10:38
  • There's no difference in network configuration of a WiFi dongle or Ethernet adapter. Both are connected through USB, both appear as a network interface. Commented May 28, 2021 at 12:01
  • I'm trying to use rmneet_data1 as AP but the mask is /30 should I adjust accordingly ?
    – Catfoxes
    Commented May 28, 2021 at 14:39
  • 1
    Don't know what you are trying to do. rmnet_data1 naming convention is used for Mobile Data network interfaces on devices with Qualcomm modems. You cannot use Mobile Data (but WiFi) interface as AP. Then NAT the traffic between both interfaces for internet sharing. Or you may even avoid NATing, but it's complicated setup: android.stackexchange.com/a/218562/218526 Commented May 28, 2021 at 20:58

0

You must log in to answer this question.

Browse other questions tagged .