| View previous topic :: View next topic |
| Author |
Message |
mkido
Joined: 22 Jan 2010 Posts: 63 Location: Los Angeles, California
|
Posted: Fri Oct 22, 2010 6:37 am Post subject: <authentication> configuration at "icecast.xml&qu |
|
|
Hi! IceCasters !! A newbie is working on Configuration file. Thanks,
I installed one version of ices-0.4 for MP3, and an official icecast-2.3.1-4 on Fedora Core 7 Linux, and I made an initial tests.
I tested ices-0.4 by user level "mkido" at /home/mkido/, and it responds.
I tested icecast-2.3.1-4 by root user "root", and it responds.
Now, while I am working on <authentication> configuration at "icecast.xml", there are three options, namely,
Sources log in with username 'source';
Relays log in username 'relay';
Admin logs in with the username given below;
My immediate goal is to play static MP3 files by a playlist. I am wondering if I should set either username "source" or Admin username "mkido" or "root". Any comment from experts? Which way sounds proper in my situation? Thanks for your help.
[code]
<!-- Sources log in with username 'source' -->
<source-password>hackme</source-password>
<!-- Relays log in username 'relay' -->
<relay-password>hackme</relay-password>
<!-- Admin logs in with the username given below -->
<admin-user>admin</admin-user>
<admin-password>hackme</admin-password>
[/code] |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Oct 22, 2010 12:42 pm Post subject: |
|
|
There's no correlation between the unix superuser and the icecast admin user so using the name root is just confusing. All you are interested in initially is configuring ices with the playtlist to stream using the username 'source' and password in source-password
karl. |
|
| Back to top |
|
 |
mkido
Joined: 22 Jan 2010 Posts: 63 Location: Los Angeles, California
|
Posted: Fri Oct 22, 2010 4:15 pm Post subject: Ices Source Password set the same to Icecast Source Password |
|
|
Hi! karlH, thank you your big big help!
Now, I am setting <authentication> element in configuration files. According to your comment, I did below,
I used the Ices' Server setting Password and Icecast Source-Password setting to the same one, the sample below is "source7844".
Did I understand you correctly?
mkido
[code]
/usr/local/ices/etc/icec.conf
<Stream>
<Server>
<!-- Hostname or ip of the icecast server you want to connect to -->
<Hostname>64.214.83.249</Hostname>
<!-- Port of the same -->
<Port>8000</Port>
<!-- Encoder password on the icecast server -->
<Password>source7844</Password>
<!-- Header protocol to use when communicating with the server.
Shoutcast servers need "icy", icecast 1.x needs "xaudiocast", and
icecast 2.x needs "http". -->
<Protocol>http</Protocol>
</Server>
/etc/icecast.xml
<authentication>
<!-- Sources log in with username 'source' -->
<source-password>source7844</source-password>
<!-- Relays log in username 'relay' -->
<relay-password>hackme</relay-password>
<!-- Admin logs in with the username given below -->
<admin-user>admin</admin-user>
<admin-password>hackme</admin-password>
</authentication>
[/code] |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Oct 22, 2010 5:31 pm Post subject: |
|
|
yes, obviously you can set <mount> specific passwords in icecast but the global setting is ok to use.
karl. |
|
| Back to top |
|
 |
mkido
Joined: 22 Jan 2010 Posts: 63 Location: Los Angeles, California
|
Posted: Fri Oct 22, 2010 5:36 pm Post subject: THANKS. |
|
|
Hi! karl, THANKS, great.
I will move on to another setting, MOUNT, in a different post. |
|
| Back to top |
|
 |
|