Operating System - Linux
1836458 Members
2635 Online
110101 Solutions
New Discussion

Installation Red Hat AS 4 NC7170/e1000

 
CONSTANT
Occasional Contributor

Installation Red Hat AS 4 NC7170/e1000

hi,

I have to install a NC7170 on a Red hat AS 4 box, the *.txt is not very clear about this.
Somewhere it is said that I don't need Kernel source code....
all I need is to do:
rpmbuild -bbb e1000xxxxx.spec ???
then install the binary package ???
then /etc/modules.conf ???

4 REPLIES 4
Ivan Ferreira
Honored Contributor

Re: Installation Red Hat AS 4 NC7170/e1000

The kernel source is usually not needed now. Most headers are installed to you can compile modules without the entire kernel source.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
CONSTANT
Occasional Contributor

Re: Installation Red Hat AS 4 NC7170/e1000

OK thanks

Could you confirm the procedure ?

rpm -bb SPECS/e1000xxxx.spec
rpm -ivh RPMS/i386/e1000xxxx.i386.rpm
vi /etc/modules.conf
reboot

Thanks again


Sergejs Svitnevs
Honored Contributor

Re: Installation Red Hat AS 4 NC7170/e1000

1. Download HP ProLiant NC71xx Gigabit Ethernet NIC Driver for Linux.

2. Download kernel source RPM for RedHat AS 4.

3. Build rpm:
rpm -ivh kernel-source-.src.rpm
rpm -ivh e1000*.src.rpm
cd /usr/src/linux-
make mrproper
make -e KERNELRELEASE='uname -r' oldconfig
make -e KERNELRELEASE='uname -r' dep
make depend
cd /usr/src/redhat/
rpm -bb SPECS/e1000.spec

4. Install the rpm from /usr/src/redhat for the driver:
rpm -ivh --force RPMS/i386/e1000-.i386.rpm

5. Add new line to /etc/modules.conf
alias ethX e1000


Regards,
Sergey
CONSTANT
Occasional Contributor

Re: Installation Red Hat AS 4 NC7170/e1000

OK thanks the driver already in Red Hat 4
so no need to compile
Thanks again