Install 32 bit Elastix v1.5.2 - RTL8111 LAN

apmuthu

Joined
Aug 1, 2009
Messages
60
Likes
0
Points
0
#1
Part One
A fresh install of Elastix v1.5.2 does not have nano and it cannot be installed because of a GPG signature check that fails due to non existance of the check file. Using FTP or other editors present, alter the file
Code:
/etc/yum.repos.d/elastix.repo
, replacing all instances of
Code:
http://repo.elastix.org
with
Code:
http://repo-es.elastix.org
or by overwriting it with the attached file. http://forum.elastix.org/old_files/elastix-835550cbbfffd01ca20b964db61f20db.zip

Then do a
Code:
yum install nano
 

apmuthu

Joined
Aug 1, 2009
Messages
60
Likes
0
Points
0
#2
Part Two
Add the DAG Wieers Repository if you intend to download and update applications from there now or in the future, with the following commands:
Code:
wget http://apt.sw.be/redhat/el5/en/i386/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
rpm -K rpmforge-release-0.3.6-1.el5.rf.*.rpm
rpm -ivh rpmforge-release-0.3.6-1.el5.rf.*.rpm
Example of usage of this DAG Wieers Repository:
Code:
yum install --enablerepo=rpmforge dkms-r8168
 

apmuthu

Joined
Aug 1, 2009
Messages
60
Likes
0
Points
0
#3
Part Three
Add the ElRepo Repository as it is needed for getting the RealTek 8111/8111B/8168/8168B Drivers:
Code:
rpm -Uvh http://elrepo.org/elrepo-release-0.1-1.el5.elrepo.noarch.rpm
rpm --import http://elrepo.org/RPM-GPG-KEY-elrepo.org
To install kmod-r8168 Realtek r8168 nic driver from the ElRepo channel:
Code:
yum --enablerepo=elrepo install kmod-r8168  
yum --enablerepo=elrepo install kmod-r8169
This currently installs the v8.014 of the driver required for using the OnBoard LAN ( RTL8111/8168B ) in the ASUS P5Q SE Plus Motherboard that supports Intel Core 2 Duo E7500 2.83 GHz and does not have graphics onboard.

With the recent yum update to CentOS v5.4, it appears that the kmod drivers may be uninstalled (REF):
Code:
rpm -e kmod-r8168
rpm -e kmod-r8169
 

apmuthu

Joined
Aug 1, 2009
Messages
60
Likes
0
Points
0
#4
Part Four
Optionally remove any ifcfg-eth0, ifcfg-eth1, *.bak, etc files in the
Code:
/etc/sysconfig/network-scripts/
folder.
Then and shutdown the elastix server,
Code:
shutdown -h now
connect the network cable to the onboard LAN and start the elastix server.

The OnBoard NIC is now recognised!
 

apmuthu

Joined
Aug 1, 2009
Messages
60
Likes
0
Points
0
#5
Part Five
Now do a full yum update:
Code:
yum update
updatedb
locate *.rpmnew
After a yum update, if there are any *.rpmnew files for conf extension files then compare and edit the new variables
eg., /etc/vsftpd/vsftpd.conf and /etc/vsftpd/vsftpd.conf.rpmnew

As on date, a fresh install resulted in two such files (attached) that needed some patching. Beware that Elastix have added some variables and changed some defaults for its own good and do not try to alter those.
Code:
/etc/sudoers
/etc/vsftpd/vsftpd.conf
http://forum.elastix.org/old_files/rpmnewfiles.zip

Although we started off with
Code:
CentOS v5.2
Elastix v1.5.2
we now have
Code:
CentOS v5.4
Elastix v1.5.2-2.3
 

apmuthu

Joined
Aug 1, 2009
Messages
60
Likes
0
Points
0
#6
Part Six
If you wish to clone or backup this machine, then the following will be useful:
Code:
cd /
tar -zcvpf /bkup_etc_ssh.tar.gz /etc/ssh/*
tar -zcvpf /bkup_etc.tar.gz /etc/*
tar -zcvpf /bkup_var_www.tar.gz /var/www/*
service mysqld stop
rm -rf ib*
tar -zcvpf /bkup_mysql.tar.gz /var/lib/mysql/*
service mysqld start
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,915
Messages
130,920
Members
17,595
Latest member
feparra121
Top