Thanks so much for the write up. I was able to get the system set up for our recent trip and everything worked like a charm. However, after a few days, I started getting problems with the WiFi access point just disappearing. I would reboot, it would come back and work fine for a few hours and then stop. Sometimes it would require several reboots for it to stay. I changed the WiFi channel thinking it was conflicting with other networks nearby but no luck. I did some research online and found various posts about WiFi dropout on Pis and disabled the power management. That didnāt work either. I looked through the system logs and could not find anything. I am a Linux novice so its possible that there is something going on that I could not notice. I am using an NTFS external USB and was thinking of reformatting to an ext4. I am using a Raspberry Pi 3 with the on board WiFi.
Havenāt tried this with the built in WiFi on the RPi3, when I get some time I will and report back, in the meantime you could set up an autostart.sh and pop it in .config to run a script something like:
#!/bin/bash
while true ; do
if ifconfig wlan0 | grep -q "inet addr:" ; then
sleep 180
else
echo "Network connection down! Attempting reconnection."
ifup --force wlan0
sleep 10
fi
done
It will check every 30 minutes for a network connection and if there isnāt one it will force a reconnect.
Create the above script - call it networkcheck.sh and place it in /storage/.config
nano /storage/.config/networkcheck.sh
And paste in the code above, press Ctrl+x and then y to save the script.
After I enter the rsync command sudo rsync -avz āexclude ā/mntā / /mnt to clone my SD card over to my usb drive, it appears that there is a loop or something in the process.
Iām sure Iām using the wrong terminology because Iām fairly new to linux, but here is a sample of the output I am seeing while the rsync is in operation ( I apologize, I donāt know the markdown to put my output in a box like the code above):
Hi! Thanks for the write up. Has anyone tackled the power loss issue when the car is shut off? Seems like that could cause data loss. There are a few Pi UPS solutions but nothing stands out as being obvious or easy to implement.
@johnny2678 said:
Hi! Thanks for the write up. Has anyone tackled the power loss issue when the car is shut off? Seems like that could cause data loss. There are a few Pi UPS solutions but nothing stands out as being obvious or easy to implement.
I have been using the Plex PI3 for months and I have unplugged it hundreds of times and it has never corrupted the SD card but I do have a backup card and image just in case.
@gasdiver said:
After I enter the rsync command sudo rsync -avz āexclude ā/mntā / /mnt to clone my SD card over to my usb drive, it appears that there is a loop or something in the process.
This is due to a misuse of the exclude parameter. Make sure you have two dashes before exclude: ā exclude
I keep hitting an issue when I change the boot configuration and reboot. Everything dies and I get a kernel panic at boot. Iām doing this with a Raspberry Pi 3 and wonder if Iām doing something incorrectly or if this doesnāt work anymore:
When you reach the part where you modify the boot configuration delete the existing line and replace it with:
dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/sda1 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
@NedtheNerd said:
For those of you who want to take Rasplex on holiday or business, want Rasplex in the car/caravan/motorhome and you have no access to WiFi/Ethernet then you need a second RPi2 with a USB hard drive (for your media), a WiFi dongle and a USB powered hub (for the hard drive and power to the RPi2) with Plex Media Server running on it. It also needs to be able to allow clients - Rasplex, tablets, phones, etc, to connect to it - thatās where the Router and Access Point comes in!
Follow the attached guide and youāll be set to go.
Please note: This has been put together from a number of sources and modified to get a working solution for the RPi2.
Thank you so much for this guide.
Iām currently following it, but get stuck at the point where I connect with a device (e.g. my Android Phone) through wifi.
It will not get any further then trying to receive an IP address.
When I check the status on the pi with āsudo service isc-dhcp-server statusā I get an error: isc-dhcp-server.service -LSB: DHCP server
Loaded: loaded (/etc/init.d/isc-dhcp-server)
Active: failed (result: exit-code) since Mon 2017-06-12 08:46:06 UTC; 15s ago
Process: 3261 ExecStart=/etc/init.d/isc-dhcp-server start (code=exited, status=1/FAILURE)
I can understand with the above error why there isnāt an ip given out, but I cannot find the problem.
Iāve followed the guide 5 times with a clean install, but everytime I get to this point.
Is there anyone who can see where I have to look? Iāve double checked all the edited files, but I donāt think there is anything wrong there.
Iām using a Pi3 and added the driver for the build in wifi. Also I am using the latest Jessie Raspbian build.
NVM! I figured it out, forgot to read the next line which told me it had an unexpected end of the file on row 116. Which meant I forgot the ; right there.
Now it works like a charm.
tried this over 10 times consecutively now and i cant access internet via ethernet port after the server is setup, i cant even access the plex server i just get an error message. please help, using latest raspbian stretch release and a raspberry pi 3b, even tried with a 3b+