I want to connect to a raspberry pi web sever while parked but the server will have no outside data connection (I want to be able to serve pages local to the pi) Currently, when I try to connect, theccar to the pi, I get: Could not connect to network Unable to obtain IP Address. Please check DHCP server settings. I have tried rebooting the car. The car connects fine with my 5g and 2g home networks. Yet I am able to connect to the pi with a laptop or cell phone. Any suggestions would be most helpful!
Too little information to help here. I assume the pi is setup as a hotspot/access point? And you configured your Tesla to connect to that hotspot? Are you not seeing the SSID in the Tesla drop down? Or is the SSID hidden? If so, have you configured the SSID and PSK manually? Have you tried to unhide the SSID and see the car now sees it? I remember reading the antenna for the wifi is on one of the wing mirrors. Not sure how the aluminum and steel would affect signal nor how powerful the pi in AP mode can transmit. Try moving the pi out side the car and try again.
The Tesla browser won't connect to the RFC 1918 local address range. You need to change the IP address of the RP to something out of that range.
Correct Correct Correct I can see it Not a problem as I can access it from the center console as well as outside of the garage(!) I didn't realize the pi had that kind of range!
Correct It is not connecting to the pi at all. I can see the SSID but cannot connect. My laptop and phone can connect to it.
Been a while since I hooked mine up. If you're just using it as access point for a local server an not passing any traffic beyond the RP then it doesn't matter. Just pick something not in the RFC1918 range. If you are using as a hotspot and passing traffic through to the internet then you need to configure it to not pass through the address your giving the RP. Can't remember which configuration file off hand(IPtables or Hostapd or sysctl).
I'm not home at the moment and cannot run any tests, but according to RFC 1918: "In Class A, 10.0.0.0/8 prefix range. Class A private IPv4 addresses starts from 10.0.0.0 to 10.255.255.255. 10.0.0.0/8 is the network IPv4 address and10.255.255.255 is the directed broadcast IPv4 address." My home range is 10.13.xxx.xxx and the car connects to it without any issues. I am not a network engineer and I am confused. Please explain...