Need some help setting up jellyfin | Folder permissions and Static IP

April 2, 2024, 03:54

guildedsin

Having some issues on setting up a static IP and need some help. The only conf file i have to edit ios etc/dhcp/dhclient.conf Now that would be good and all but its read only, and even trying to edit through putty wont let me change it. Also I have already installed jellyfin and when using hostname -I it returns 127.0.0.1 BUT if i do ifconfig, i get a wlan0 IP of 192.168.1.15 (this is the one my router is reporting as well) and between eth0 and wlan0 there is a section labled lo and that section reports the 127.0.0.1 IP what is going on xD Also to not BOTH ips dont work to connect to the jellyfin server from my windows pc. As of writing this im going to try to connect from the pi as well while waiting on a reply

guildedsin

Okay I guess the Jellyfin server just hadn't started yet, I can access the web interface on my other pc, but I still have the same question about the static IP

oops.se

Please post text as text.

oops.se

lo or 127.0.0.1 is a internal local interface that cant be reached from outside the host. All hosts (Linux, MAC, Windows and so on) has this interface. lo is an essential part in how TCP/IP works. As for hostname -Iit should show all IP adr the host has got. And as for ifconfigit is deprecated and use ip a. And are you sure you used a capital i in the hostname command?

guildedsin

okay. yes Used capital I. That solves that question for me. Now the next part ties into a new question I have. I am STRUGGLING with folder permissions. I need to edit that dhclient.conf to make the IP static but it says access denied. I also need to do the same thing to the /media folder. Thats where im storing all of my media for jellyfin. I cannot write or move files too those directiories. How can i give my accoutn access to those folders.

guildedsin

Dead new to linux as well, aside from tomfoolery with my steamdeck

guildedsin

I can do MOST of this through Puttys Console, but weird stuff is happening. I had a "shows" folder that i broke, i ran sudo rmdir /media/Shows and its gone but i then ran sudo mkdir /media/Tv and its not making the folder now?? That command is how i made both my movies and shows folder

guildedsin

my username is "guild" i did run this command earlier and it allowed me to move files in with FTP and drag and drop with the VNC (im headless) sudo chown -R guild /media/Movies that allowed me to add files too the movie folder through ftp and desktop on the pie.

guildedsin

and now i cant get anything but a grey screen on my RealVNC veiwer....

guildedsin

annnnd ive fucked every single file and folder permission on this install. time to start over xD

guildedsin

Going to start this from scratch and try again , The reason for storing my media in the "/media" folder was, for some reason a folder on my desktop named "movies" was unable to be found by jellyfin when i was adding libraries. Once i moved it to /media as per advices from a forum post i found, it worked perfectly. Im kinda lost in the woods here.

oops.se

Open a new toopic if you have another question

guildedsin

It's essentially the same as my original, but I think I've figured it out. If I add perms for a folder, then create a new folder with mkdir, it's not going to have the same perms. I have got everything working except the static IP as my files are different then all the tutorials ove seen? I don't have a dhpc.conf but a dhclient.conf

oops.se

I told you to start a new topic for a reason!