nisargjhaveri / WirelessAndroidAutoDongle

Use Wireless Android Auto with a car that supports only wired Android Auto using a Raspberry Pi.
MIT License
731 stars 85 forks source link

My Car has an Inbuit Internet Wifi #46

Open mddanish opened 9 months ago

mddanish commented 9 months ago

What changes should I look into, so that rather than create a new wifi, Device connect to my car inbuilt WIFI, and my phone also connected to my car wifi.

Wifi is JIO Powered wifi. which is used my JIO Motive for Car Monitoring & diagnostic.

nisargjhaveri commented 8 months ago

When phone connects to Android Auto, it generally uses local only connection, which means that even if it connects to the car's wifi, it won't use it for the internet.

Having said that, it should be possible to tweak the configuration a bit to allow the dongle in client mode:

godoppl commented 7 months ago

I have the same idea in mind. I have done a little testing, and have not been successful.

I have updated network and wpa config to connect to the WiFi. This works, as I can SSH into the device on that network I have also edited the environment file /etc/aawgd.env and added the appropriate environment variables, but nothing happens.

However I am a bit uncertain about the what the proxy IP should point to, I have set it to the gateway address. Also I am not connecting to the BT network, since that forces the phone to disconnect from the cars WiFi.

I was hoping to not have to modify and build the project myself, but if I have to, I will :) I hope this can be achieved from configuration alone. Any ideas?

nisargjhaveri commented 7 months ago

However I am a bit uncertain about the what the proxy IP should point to, I have set it to the gateway address.

The proxy IP should point to the address assigned to the dongle from your Wifi, not the gateway address.

Also I am not connecting to the BT network, since that forces the phone to disconnect from the cars WiFi.

Once the config is correct, once you connect to the BT, phone should connect to the same Wifi again. It might connect as a local only wifi though as mentioned before in this thread.