Showing posts with label Centos. Show all posts
Showing posts with label Centos. Show all posts

Tuesday, 23 April 2013

Checking Dell server Service Tag and BIOS version remotely

Because I am maintaining some Dell servers in my network, so it's really useful to know some (maybe for most of you obvious) commands. For example some of you probably lost somewhere notepad with written all of your Dell's Service Tag (serial numbers). Please look below, how simple can be checking some important things on your server:

- How to check service tag?
- Simplest way to check service tag on your (Linux) server is using dmidecode:

dmidecode | grep -i serial
Service Tag will be available as 'Serial Number'.

- How to check BIOS version on server?
- Again use dmidecode!
dmidecode | less | grep -i BIOS
And line similar to 'BIOS Revision' should appears. 

Wednesday, 17 April 2013

Upgrading CentOS to version 5.9 with DAHDI drivers

I am supporting some servers that have been used with Asterisk (in this case for call recording). Because this company has installed DAHDI drivers for Digium card so I didn't expect any big issue during upgrading from older CentOS 5.x to newest 5.9. Unfortunately I was wrong. Just after upgrading packages and rebooting server I was unable to load DAHDI kernel modules. How to solve this issue? It's really easy! Just upgrade DAHDI drivers to newest. Sounds nice? Ok let's do it:

cd /usr/src/
wget http://downloads.asterisk.org/pub/telephony/dahdi-linux/dahdi-linux-2.6.2.tar.gz
tar zxvf dahdi-linux-2.6.2.tar.gz
cd dahdi-linux-2.6.2.tar.gz
make all
make install
asterisk -rx "core stop now"
/etc/init.d/dahdi restart
asterisk
chkconfig dahdi on

And that's all. It's really nice and quick job. I hope that I was able to solve that kind of problem.