How to stream audio files?

To do so, the system architecture is as follows :


  Icecast Shout
Role stream data over the network "encode " data to let it be streamed
Config. file /etc/icecast/icecast.conf
  • /usr/local/icecast/etc/shout.conf
  • /usr/local/icecast/etc/shout.playlist
    (can be linked to any playlist via:
    ln -s path_to_playlist shout.playlist)
Start command line /usr/sbin/icecast /usr/local/icecast/bin/shout
Stop command line killall icecast
(any better method?)
killall shout
(any better method?)



Purpose Linux FreeBSD
configuration /etc/dhcpd.conf /usr/local/etc/dhcpd.conf
  • Mandrake : /etc/rc.d/init.d/dhcpd options
  • SuSE : /etc/rc.d/dhcpd options
/usr/local/etc/rc.d/ options
dhcpd won't start until dhcpd_enable="YES" is specified in /etc/rc.conf
leases /var/lib/dhcp/dhcpd.leases /var/db/dhcpd/dhcpd.leases

Command options

Configuration tips

To assign a specific address to the myWorkstation DHCP client, append this to dhcpd.conf, outside of the subnet definition { ... }

host myWorkstation
	hardware ethernet xx:xx:xx:xx:xx:xx;

in the subnet definitions of dhcpd.conf :

/etc/dhcpd.conf MUST have a ddns-update-style statement. The typical line would then be:
ddns-update-style ad-hoc;
Since version 3.0b2, it seems the ad-hoc option is obsolete, use interim instead.
With multiple interfaces: specify which network interface will be listening for dhcp requests in /etc/sysconfig/dhcpd