plex-media-player icon indicating copy to clipboard operation
plex-media-player copied to clipboard

RPi - Enable WiFi support

Open NedtheNerd opened this issue 10 years ago • 23 comments

There is currently no way to connect to a WiFi network using the RPi PMP client without resorting to SSH and using connmanctl.

Requires a Settings entry for the less Linux minded.

NedtheNerd avatar Oct 26 '15 16:10 NedtheNerd

This is gated on virtual keyboard support (should land with search) and settings items having text input support.

(Both are planned, just mentioning here)

dogonwheels avatar Oct 26 '15 16:10 dogonwheels

Also worth mentioning: the connman is somehow broken, and uses a path pointing into a tmpfs to store its config, instead of the SD card. (Read: settings get lost on the next reboot.)

ghost avatar Oct 26 '15 16:10 ghost

@dogonwheels Realise that.

@wm4 see this topic https://forums.plex.tv/discussion/189769/rpi2-wifi#latest

NedtheNerd avatar Oct 26 '15 16:10 NedtheNerd

Oh great, if this works, then the issue I was thinking about fixed itself.

ghost avatar Oct 26 '15 17:10 ghost

With the OSK coming in the search update we can move ahead with this one. We need to specify the work that needs to be done and split the UI work from the connman work on the backend. Let's push it off until we have the OSK in which should be soon enough.

tru avatar Feb 04 '16 08:02 tru

Any update on the status of wifi control in the settings on RPi?

miigotu avatar Dec 06 '16 12:12 miigotu

Not at this moment.

tru avatar Dec 06 '16 12:12 tru

This might help anyone who cannot easily connect ethernet, if they are coming from OpenPHT, LibreELEC or OpenELEC:

Before you destroy your old sdcard (probably should back it up anyways right?), mount it on your PC and copy /storage/.cache/connman/wifi_* with root or administrator privileges. Since you had wifi connected with the previous install you can reuse the wifi config.

Linux:

cd /media/YOURUSERNAME/STORAGE_PARTITION

Make sure this is the right partition by checking for the .cache folder

ls -la .cache

copy the whole .cache/connman folder somewhere

sudo cp -R .cache/connman SOMWHERE_OFF_SD

Unmount and remove the SD

After installing the PMP to the SD or another SD, boot it up in the RPi once to create partitions, then click the person icon up top and exit->shutdown Mount the SD in your PC Then:

cd /media/`whoami`/LIBREELEC
sudo cp -R SOMWHERE_OFF_SD/connman/wifi_* .cache/connman/
sync

Umount the SDCARD, place it in the RPi, log in and profit.

miigotu avatar Dec 06 '16 12:12 miigotu

Related konvergo-issues issue: https://github.com/plexinc/konvergo-issues/issues/136

mseeley avatar Jun 22 '17 02:06 mseeley

still nothing ?! YEARS later ?! well the rpi3 is a very small platform with very small user base , i get it. its more important to add useless stuff to the plex system. just make a small installer asking for wifi. get up your asses.

snickers2k avatar Feb 10 '18 02:02 snickers2k

@snickers2k being an asshole to people who work for FREE to give you something for FREE is a real nice way to get nothing from them, asshole.

miigotu avatar Feb 11 '18 03:02 miigotu

isn't this the plexINC github ? embedded plex player is official on plex downloads or ?! there is no word of "open source" or "user-made" or "unofficial". i paid for plex premium. so if you guys doing stuff for free, while others make money out of it, its not really my problem.

snickers2k avatar Feb 11 '18 15:02 snickers2k

I don’t think such reaction will help this to be implemented any faster. Added to that GitHub is not the place for such discussions.

LongChair avatar Feb 11 '18 18:02 LongChair

There is no such thing as "plex premium". If you have Plex Pass they have a way to submit a ticket in your plex server for Plex Pass subscribers. Either way, being an ass doesn't get anyone anywhere. This wifi setup screen support for RPi isn't even that big of a deal since you set it one time on the SD and never have to touch it again. Regardless, nobody who develops software will ever feel inclined to help an end user if they act the way you are, paying customer or not.

miigotu avatar Feb 18 '18 05:02 miigotu

Are there any new updates on this? With the RasPlex project essentially being dead (last commit was March 2017), this seems to be the only other competitive project.

I don't want to use RasPlex because of it's age/lack of updates, but I cannot use this project either due to the WiFi issues. I use it as a portable player and that's hard to do without wireless connectivity.

Now, I'm not blaming anyone in this thread or demanding a change. I just want to know if an easy WiFi wizard is in consideration. I would attempt it myself but don't have the time to learn the codebase or another language.

tycrek avatar Jul 22 '19 23:07 tycrek

Hi @tycrek, no this thread/enhancement is idle.

mseeley avatar Jul 23 '19 00:07 mseeley

@tycrek for a portable player and a more immediate and cost effective solution you might find a roku streaming stick helpful, and installing the plex app on there.

miigotu avatar Jul 26 '19 02:07 miigotu

I really want to bump this, Wifi should be within the options in the Plex menu. My TV is far from the router and can't have an ethernet cable go there. It's all working but wifi. It kind of ruin the whole thing no? Thanks for anyone who will add this :)

gravelfreeman avatar Dec 18 '19 06:12 gravelfreeman

Hi and thanks for making this build. Really handy since Rasplex is now dead. I had a hard time figuring out how to get wifi working so though I'd may write a simple way to do it.

Install "Linux File Systems by Paragon Software" to access your linux partition SD card. Or get a Linux Ubuntu live disc. Unhide hidden files. Then navigate to SDCARD/.cache/connman and create a file named "wifi.config". Write this inside and fill according to your credentials:

[global]
Name = Wifi
Description = Wifi service config file

[service_wifi_<name given above>]
Type = wifi
Name = <your wifi name (ssid)>
Passphrase = <your wifi password>

Safely eject with Paragon and voilà!

gravelfreeman avatar Dec 18 '19 17:12 gravelfreeman

@Emulga we know how to make it happen, this issue is asking for a gui entry to set these settings.

miigotu avatar Dec 19 '19 20:12 miigotu

I know that you know how to make it happen! After a lot of Google searches I end up here. Since I found a solution I wanted to share it to people who might end up here with the same question!

gravelfreeman avatar Dec 20 '19 00:12 gravelfreeman

https://gist.github.com/maoueh/8260199

miigotu avatar Dec 20 '19 01:12 miigotu

I know about this page. Just wanted to make a noob write up of it. Trust me some people will be happy about that :)

gravelfreeman avatar Dec 20 '19 01:12 gravelfreeman