Difference between pages "Webradio" and "Udev"

From Linuxintro
(Difference between pages)
imported>ThorstenStaerk
 
imported>ThorstenStaerk
(New page: udev allows you e.g. to rename network cards like this: /etc/udev/rules.d/30-net_persistent_names.rules SUBSYSTEM=="net", ACTION=="add", SYSFS{address}=="00:00:6c:b8:33:2d", IMPORT="/li...)
 
Line 1: Line 1:
Listening to web radio varies from sender to sender and from Linux distribution to Linux distribution. To do it, [[find out your distribution]] and proceed accordingly:
+
udev allows you e.g. to rename network cards like this:
  
= Ubuntu Linux 11.10 =
+
/etc/udev/rules.d/30-net_persistent_names.rules
Here is an example that worked on Ubuntu Linux 11.10 32bit on 2011-12-29:
 
* Having read [http://www.swr3.de/musik/webradio/H_C3_A4ufig_20gestellte_20Fragen_20zum_20SWR3-Webradi/-/id=47410/did=439118/mpdid=536054/osu9t6/index.html this] you know you want to listen to http://www.swr3.de/wraps/swr3_mp3s.m3u.php.
 
* Start your web radio
 
vlc http://www.swr3.de/wraps/swr3_mp3s.m3u.php
 
  
= SUSE Linux 11.1 =  
+
SUBSYSTEM=="net", ACTION=="add", SYSFS{address}=="00:00:6c:b8:33:2d", IMPORT="/lib/udev/rename_netiface %k eth0"
Here is an example that works for SWR3 with SUSE Linux 11.1.
+
  SUBSYSTEM=="net", ACTION=="add", SYSFS{address}=="00:00:6c:f2:78:bc", IMPORT="/lib/udev/rename_netiface %k eth0"
 
 
* Having read [http://www.swr3.de/musik/webradio/H_C3_A4ufig_20gestellte_20Fragen_20zum_20SWR3-Webradi/-/id=47410/did=439118/mpdid=536054/osu9t6/index.html this] you know you want to listen to http://www.swr3.de/wraps/swr3_mp3s.m3u.php.
 
* Start your web radio
 
  [[vlc]] http://www.swr3.de/wraps/swr3_mp3s.m3u.php
 

Latest revision as of 20:24, 2 May 2009

udev allows you e.g. to rename network cards like this:

/etc/udev/rules.d/30-net_persistent_names.rules

SUBSYSTEM=="net", ACTION=="add", SYSFS{address}=="00:00:6c:b8:33:2d", IMPORT="/lib/udev/rename_netiface %k eth0"
SUBSYSTEM=="net", ACTION=="add", SYSFS{address}=="00:00:6c:f2:78:bc", IMPORT="/lib/udev/rename_netiface %k eth0"