| View previous topic :: View next topic |
| Author |
Message |
Anonymous Guest
|
Posted: Thu Aug 03, 2006 12:14 pm Post subject: icecast2 - DJ traktor studio 3 - Router || Need help :( |
|
|
hi guys...
i have the following problem:
I want to make music with DJ traktor Studio and that friends can listen to me.
Yesterday i doiwnloaded the icecast2 server, and i tried to set it up... but it doesnt work.
i have activatet Portforwarding in my router webinterface
(my local ip adress in network: 192.168.178.XX ; the port is 8000 )
in the dj traktor settings , i have made the following changes:
adress: the ip adress which a get if i connect to the internet
port:8000
mounth path: /stream.ogg
password: hackeme ( like in the configuration XML file)
i think my problem is in the XML configuration file of ICECAST2. i have read a lot of threads in this forum and i also read the "unofficial icecast howto" , but my knowledge about computers etc. issnt so good.
can someone tell me very easily which configs i have to do ( i want to remember that i have a router)
my config.xml:
<icecast>
<limits>
<clients>5</clients>
<sources>1</sources>
<threadpool>5</threadpool>
<queue-size>524288</queue-size>
<client-timeout>30</client-timeout>
<header-timeout>15</header-timeout>
<source-timeout>10</source-timeout>
<burst-on-connect>1</burst-on-connect>
<burst-size>65535</burst-size>
</limits>
<authentication>
<!-- 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>
</authentication>
<!-- Uncomment this if you want directory listings -->
<!--
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
</directory>
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://www.oddsock.org/cgi-bin/yp-cgi</yp-url>
</directory>
-->
<!-- This is the hostname other people will use to connect to your server.
It affects mainly the urls generated by Icecast for playlists and yp
listings. -->
<hostname>80.134.122.159</hostname>
<!-- You can use these two if you only want a single listener -->
<!--<port>8000</port> -->
<!--<bind-address>127.0.0.1</bind-address>-->
<!-- You may have multiple <listener> elements -->
<listen-socket>
<port>8000</port>
<!-- <bind-address>127.0.0.1</bind-address> -->
</listen-socket>
<!--
<listen-socket>
<port>8000</port>
</listen-socket>
-->
<!--<master-server>127.0.0.1</master-server>-->
<!--<master-server-port>8001</master-server-port>-->
<!--<master-update-interval>120</master-update-interval>-->
<!--<master-password>hackme</master-password>-->
<!-- setting this makes all relays on-demand unless overridden, this is
useful for master relays which do not have <relay> definitions here.
The default is 0 -->
<!--<relays-on-demand>1</relays-on-demand>-->
<!--
<relay>
<server>127.0.0.1</server>
<port>8001</port>
<mount>/stream.ogg</mount>
<local-mount>/different.ogg</local-mount>
<on-demand>0</on-demand>
<relay-shoutcast-metadata>0</relay-shoutcast-metadata>
</relay>
-->
<!-- Only define a <mount> section if you want to use advanced options,
like alternative usernames or passwords
<mount>
<mount-name>/stream.ogg</mount-name>
<username>othersource</username>
<password>hackmemore</password>
<max-listeners>5</max-listeners>
<dump-file>/tmp/dump-example1.ogg</dump-file>
<burst-size>65536</burst-size>
<fallback-mount>/example2.ogg</fallback-mount>
<fallback-override>1</fallback-override>
<fallback-when-full>1</fallback-when-full>
<intro>/example_intro.ogg</intro>
<hidden>1</hidden>
<no-yp>1</no-yp>
<authentication type="htpasswd">
<option name="filename" value="myauth"/>
<option name="allow_duplicate_users" value="0"/>
</authentication>
<on-connect>/home/icecast/bin/stream-start</on-connect>
<on-disconnect>/home/icecast/bin/stream-stop</on-disconnect>
</mount>
<mount>
<mount-name>/auth_example.ogg</mount-name>
<authentication type="url">
<option name="mount_add" value="http://myauthserver.net/notify_mount.php"/>
<option name="mount_remove" value="http://myauthserver.net/notify_mount.php"/>
<option name="listener_add" value="http://myauthserver.net/notify_listener.php"/>
<option name="listener_remove" value="http://myauthserver.net/notify_listener.php"/>
</authentication>
</mount>
-->
<fileserve>1</fileserve>
<!-- set the mountpoint for a shoutcast source to use, the default if not
specified is /stream but you can change it here if an alternative is
wanted or an extension is required
<shoutcast-mount>/live.nsv</shoutcast-mount>
-->
<paths>
<!-- basedir is only used if chroot is enabled -->
<basedir>./</basedir>
<!-- Note that if <chroot> is turned on below, these paths must both
be relative to the new root, not the original root -->
<logdir>./logs</logdir>
<webroot>./web</webroot>
<adminroot>./admin</adminroot>
<!-- <pidfile>./icecast.pid</pidfile> -->
<!-- Aliases: treat requests for 'source' path as being for 'dest' path
May be made specific to a port or bound address using the "port"
and "bind-address" attributes.
-->
<!--
<alias source="/foo" dest="/bar"/>
-->
<!-- Aliases: can also be used for simple redirections as well,
this example will redirect all requests for http://server:port/ to
the status page
-->
<alias source="/" dest="/status.xsl"/>
</paths>
<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<!-- <playlistlog>playlist.log</playlistlog> -->
<loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
<logsize>10000</logsize> <!-- Max size of a logfile -->
<!-- If logarchive is enabled (1), then when logsize is reached
the logfile will be moved to [error|access|playlist].log.DATESTAMP,
otherwise it will be moved to [error|access|playlist].log.old.
Default is non-archive mode (i.e. overwrite)
-->
<!-- <logarchive>1</logarchive> -->
</logging>
<security>
<chroot>0</chroot>
<!--
<changeowner>
<user>nobody</user>
<group>nogroup</group>
</changeowner>
-->
</security>
</icecast>
to the end...i want to say sry, but i really read around 5 hours...but i didnt get it.... also my english issnt so good because iam from germany!
i would be very happy if someone can help such a newbie like me
mfg yaz |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Aug 03, 2006 1:05 pm Post subject: |
|
|
first thing to do is determine if icecast is working, you can do this with a browser. Just go to http://ip:8000/status.xsl, where ip is the address where icecast is. eg on the same machine you can use 127.0.0.1 or maybe you can use a LAN address or use an external address like the 80.134.122.159 you listed.
the localhost address should work at the very least, if it doesn't then icecast isn't running, if localhost works but the others don't then you have some network issue to resolve which will involve your network administrator to check for things like firewalls and NAT configs.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Aug 03, 2006 1:34 pm Post subject: |
|
|
If an page was returned to the browser then the icecast server is running. It sounds like your traktor DJ source client is not however.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Thu Aug 03, 2006 1:40 pm Post subject: |
|
|
okay...but.... if i turn oFF icecast... and go to this pagehttp://192.168.178.25:8000/status.xsl (with my lan ip)
the browser shows me the same page as if i turn icecast ON |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Thu Aug 03, 2006 2:12 pm Post subject: |
|
|
i checked the traktor settings... and there cant be the mistake ...
then can u tell me.... which configuration MUST i do in the xml file of ICECAST to make it run ?
pls consider...that i have a router  |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Thu Aug 03, 2006 3:29 pm Post subject: |
|
|
Okay ... Now i have got the connection between my Source and the ICECAST Server !
so now... i gave a friend this link:
http://80.134.122.159:8000/stream.ogg this link contains my IP adress which i got from the Internet....but he cant connect.... should i give him the same link with my LAN ip ???
does he need a specific codec or something else ???
is it possible that i have to change the entry "localhost" in the icecast configuration, and put there my ip ? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Aug 03, 2006 4:04 pm Post subject: |
|
|
no, private LAN IPs for for your use only. Your host is set to the right thing assuming 80.134.122.159 is your actual IP address. If external access cannot be attained then it will be because your router is not letting it.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Thu Aug 03, 2006 4:22 pm Post subject: |
|
|
okay soo here is my configuration XML file from icecast:
LAN-IP:192.168.178.25
INET-IP:80.134.122.159
<hostname>80.134.122.159</hostname>
<listen-socket>
<port>8000</port>
<!-- <bind-address>192.168.178.25</bind-address> -->
</listen-socket>
<listen-socket>
<port>8000</port>
<bind-address>192.168.178.25</bind-address>
</listen-socket>
right ??? or must i consider more |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Aug 03, 2006 6:39 pm Post subject: |
|
|
again, you are thinking there is more to this that there actually is. Don't use bind unless you _really_ want to. You want to listen on 1 port so only 1 listen-socket group is needed.
karl. |
|
| Back to top |
|
 |
|