Hi guys I'm in the process of installing this system in my wife's car with the addition of a Mausberry Circuit Direct wire usb switch (shuts down both PIs normally via a direct connection to car battery and a switched power source via a script and GPIO circuit)
My question is this however. I'm hooking up the system in such a way that the PMS will connect directly to a wireless router I have in the car via Ethernet. The Client connects to the wifi via a wireless dongle. The PMS also has a WIFI dongle attached to it and the purpose of that is that so if the car is in the garage or driveway it will connect to my homes network which has internet access so I can perform updates. What I've noticed is that if the Eth0 and Wlan0 are both connected at the same time, and I try to do a wget or any internet activity it fails as its only trying to use the locally non-Internet attached eth0 port.... Regardless that the WLan0 port has been assigned an IP address of the Internet attached router.
I don't think I'm going to have a good area in the car to be able to yank an Ethernet cable every time. Is there a way to configure the PMS to prioritize wlan over eth when connected? Ideally I'm trying to set it up where the USB drive is in a place easy to get to, so I can take the media in and out of the car, and when it's connected to the Internet, PMS can download the meta data without having to physically tale it out of the car.
Fixed This. Found another thread which helped. Essentially did the following:
Removed the gateway setting from the /etc/network/interfaces for eth0. Only the device connected to the internet or which has internet access really needs a gateway.
Set wlan0 to a static IP and provided the gateway.
Disabled the hotplugging for eth0 by doing the following:
pi@raspberrypi ~ $ sudo cat /etc/default/ifplugd
ARGS="-q -f -u0 -d10 -w -I"
This worked, and allows for me to communicate locally over the LAN in the vehicle (Local server / client setup) while allowing internet access through the server via the wlan0 connection.
Next step, is to remove a blank switch panel on my wife's vehicle, and mount a flush-mount USB port to it to allow the easy access to insert a USB thumb drive, or really any other device which will route to a USB port on the hidden plex server.