Page 1 of 2

DLNA directory change

Posted: Mon Oct 05, 2015 6:19 pm
by jeffdattilo
When I attempt to go to the .conf file for miniDLNA to change the directory file, I get that I do not have permission. Any ideas?

Re: DLNA directory change

Posted: Mon Oct 05, 2015 6:29 pm
by bigfoot65
The DLNA wiki guidance might help.

You may need elevated privileges such as root or use sudo.

If you need further assistance, please see need more information. In order for us to help you, we'd appreciate if you'd help us understand your issues.

Re: DLNA directory change

Posted: Wed Oct 07, 2015 6:24 pm
by jeffdattilo
http://ur1.ca/nydlt -> http://paste.fedoraproject.org/276160/44267332

please let me know what i can do...or whatever info i need. I described everything it said...

Using username "root".
root@192.168.1.143's password:
Last login: Wed Oct 7 21:15:55 2015 from office-pc.jeffdattilo02.net
[root@localhost ~]# /etc/minidlna.conf
-bash: /etc/minidlna.conf: Permission denied
[root@localhost ~]# systemctl restart minidlna.service
[root@localhost ~]# fpaste --sysinfo
Gathering system info...........................Uploading (15.6KiB)...
http://ur1.ca/nydlt -> http://paste.fedoraproject.org/276160/44267332
[root@localhost ~]# ^C
[root@localhost ~]# http://ur1.ca/nydlt -> http://paste.fedoraproject.org/276160/44267332

Re: DLNA directory change

Posted: Wed Oct 07, 2015 6:38 pm
by bigfoot65
You have to edit the file /etc/minidlna.conf. This can be done using nano or vi editors.

Code: Select all

vi /etc/minidlna.conf
If you don't have nano installed, do the following as root user:

Code: Select all

yum install nano
There is guidance on the internet on how to use these editors. I will add that to the wiki so there is no confusion in the future.

Re: DLNA directory change

Posted: Thu Oct 08, 2015 2:39 pm
by jeffdattilo
it worked so far, but how to I end the editing session? I made all my edits but not sure what command to type to complete the editing.

Re: DLNA directory change

Posted: Thu Oct 08, 2015 3:02 pm
by bigfoot65
Depends on which editor you used.

The commands are available on the internet.

Re: DLNA directory change

Posted: Thu Oct 08, 2015 3:29 pm
by jeffdattilo
d

Re: DLNA directory change

Posted: Thu Oct 08, 2015 3:34 pm
by jeffdattilo
I am using nano...

Re: DLNA directory change

Posted: Thu Oct 08, 2015 4:52 pm
by jeffdattilo
I reviewed the commands and I am still not able to just save changes. I do hit the command ctl + o to save and it still doesn't save. I have been researching for a few hours and all I want to do is make these changes. Is there any advice out there? When I hit ctl + o it seems like it changes, but all the happens is an "<INSERT> shows up at the bottom. Then when I hit ctl+ o it just changes <INSERT> to lowercase.

It also says this now when I go to edit it. I type in the command to edit it or delete it and it doesn't delete


Re: DLNA directory change

Posted: Thu Oct 08, 2015 4:59 pm
by jeffdattilo
here is the screenshot with the insert...