Thursday, September 27, 2007

Get the ethenet details - Linux

Open the /etc/sysconfig/network-scripts/ifcfg-eth0 file and it consists of all the details.
eg:

DEVICE=eth0
BOOTPROTO=none
HWADDR=00:16:35:0C:63:D4
ONBOOT=yes
TYPE=Ethernet
DHCP_HOSTNAME=thilina
USERCTL=no
PEERDNS=yes
IPV6INIT=no
IPADDR=192.168.0.57
NETMASK=255.255.255.0
GATEWAY=192.168.0.201

Monday, September 3, 2007

Installing Mplayer in Fedore

1) Download the rpm (Achitecture independant rpm package) and install
http://ftp.freshrpms.net/pub/freshrpms/fedora/linux/4/freshrpms-release/

shell>rpm -ivh
freshrpms-release-1.1-1.fc.noarch.rpm

2) Run following command
yum install mplayer mplayer-skins mplayer-fonts mplayerplug-in mplayer-gui