LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   NIC - Driver (https://www.linuxquestions.org/questions/linux-newbie-8/nic-driver-816403/)

hamid_v 06-25-2010 02:42 PM

NIC - Driver
 
Hello everyone !

i want to install my NIC card on Redhat 5 . i have downloaded the driver but unfortunately i have confronted with a problem during the installation ,


# rpm -bb SPECS/tg3.spec
-bb : unknown option


Note :
A ) rpmbuilder also doen`t work
B ) i could install gcc compiler as well , i think it`s because of my kernel or old rpm version ( Kernel version : 2.6.18.e15)

i was wondering if anyone could help me in this issue ,

best regards
hamid

jefro 06-25-2010 04:02 PM

Looks like two issues. One is a python unknown option and the second is the -bb should be -ba.

Might post the command lspci portion of the nic statements.

hamid_v 06-25-2010 05:10 PM

Quote:

Originally Posted by jefro (Post 4015146)
Looks like two issues. One is a python unknown option and the second is the -bb should be -ba.

Might post the command lspci portion of the nic statements.

Hi , i only want to install the driver ,
as you told i have tried it with -ba but still having the same error ,

hamid_v 06-27-2010 06:46 AM

any help ?

TB0ne 06-27-2010 12:47 PM

Quote:

Originally Posted by hamid_v (Post 4015081)
Hello everyone !
i want to install my NIC card on Redhat 5 . i have downloaded the driver but unfortunately i have confronted with a problem during the installation ,

# rpm -bb SPECS/tg3.spec
-bb : unknown option


Note :
A ) rpmbuilder also doen`t work
B ) i could install gcc compiler as well , i think it`s because of my kernel or old rpm version ( Kernel version : 2.6.18.e15)

i was wondering if anyone could help me in this issue ,

First thing I'd do if I was you, would be to call RedHat support. You're paying for it, with your RedHat subscription, right? They can walk you through fixing this on the phone.

If you're NOT paying for support, download, and install a community supported version of Linux, like CentOS, openSUSE, Mandriva, etc. The man pages for RPM, indicate that those functions have been moved to the rpmbuild command. Install that. If you can't install these things from your build media, then your only options are to PAY FOR SUPPORT, which includes access to the repos, where these packages are, or install a community supported version.

Before doing any of that, though...just try, as root "modprobe tg3", and see what happens. Also, jefro asked you some questions, which you didn't answer...so before bumping yoru own thread asking for more help, it would be a great idea to answer what folks have asked you.

hamid_v 07-01-2010 10:22 AM

Quote:

Originally Posted by jefro (Post 4015146)
Looks like two issues. One is a python unknown option and the second is the -bb should be -ba.

Might post the command lspci portion of the nic statements.

Hello ,

there is a result of lspci command :

07:00.0 Ethernet Controller:Broadcom Copration Unknown device 1713 (rev 02)

Note : i downloaded the driver from Broadcom website but i`m not able to install the driver only because of 'Rpm -b' command furthermore i tried other command such as 'rpmbuilder' but those commands also are Unknown commands .

i think i have to install a Yum package before running the 'rpm -bb' command .


Thank you

knudfl 07-01-2010 10:29 AM

The kernel with "all" wireless drivers included is :
' kernel-2.6.18-194.3.1.el5 '

About ' rpm -bb <spec> '
The command is ' rpmbuild -bb <spec> ' on EL 5

( -ba is when you want to build also a new SRC.RPM ).
.....

lspci -vnn
will probably show the id of your NIC chip.
.....

hamid_v 07-01-2010 10:54 AM

Quote:

Originally Posted by knudfl (Post 4020650)
The kernel with "all" wireless drivers included is :
' kernel-2.6.18-194.3.1.el5 '

About ' rpm -bb <spec> '
The command is ' rpmbuild -bb <spec> ' on EL 5

( -ba is when you want to build also a new SRC.RPM ).
.....

lspci -vnn
will probably show the id of your NIC chip.
.....

i don`t want to install wireless driver , LAN driver will be sufficient .

My kernel version : 2.6.18-8.e15
however . i have downloaded the last Fedora version which had the same problem ,

since you told i tried rmpbuild with different options .
-bash : rpmbuild : command not found

thank you

knudfl 07-01-2010 03:40 PM

Sorry, I was just guessing about the NIC.
# /sbin/lspci -vnn | grep -iA 5 net
may show, what it is.


# yum provides */rpmbuild
... will suggest installing the package 'rpm-build'
...
P.S. : That other command 'rpm -bb' present on new Linux,
just calls 'rpmbuild' or is an alias for rpmbuild -bb.
...

TB0ne 07-01-2010 08:33 PM

Quote:

Originally Posted by hamid_v (Post 4020683)
i don`t want to install wireless driver , LAN driver will be sufficient .

My kernel version : 2.6.18-8.e15
however . i have downloaded the last Fedora version which had the same problem ,

since you told i tried rmpbuild with different options .
-bash : rpmbuild : command not found

thank you

Did you even bother to read my other post???

hamid_v 07-02-2010 12:46 AM

Quote:

Originally Posted by knudfl (Post 4020972)
Sorry, I was just guessing about the NIC.
# /sbin/lspci -vnn | grep -iA 5 net
may show, what it is.


# yum provides */rpmbuild
... will suggest installing the package 'rpm-build'
...
P.S. : That other command 'rpm -bb' present on new Linux,
just calls 'rpmbuild' or is an alias for rpmbuild -bb.
...

Thank you for reply

# /sbin/lspci -vnn | grep -iA 5 net
i entered this command but it didn`t show me any output/result

# yum provides */rpmbuild
not matches found


P.S. : That other command 'rpm -bb' present on new Linux,
i tried in the last version of fedora and confronted with the same problem

just calls 'rpmbuild' or is an alias for rpmbuild -bb.
-bash : rpmbuild : coomand not found


thank you

hamid_v 07-02-2010 12:51 AM

Quote:

Originally Posted by TB0ne (Post 4021177)
Did you even bother to read my other post???

sorry , i forget to rely ,
i didn`t pay for redhat and therefore i can`t ask for support , however i installed the different version of linux which confronted with the same error ,

the modrepo command also down`t work .


it`s a laptop and i can`t change thhe NIC , is it possible to use any external NIC ?

thank you

knudfl 07-02-2010 01:00 AM

Please read post #5 @TB0ne again.

'rpmbuild' must be installed. Package name = rpm-build.

Redhat EL 5 can not be used with no account !
yum will not work.

The free copy of Redhat EL 5 is CentOS 5.5 .
Install that instead, please.
..
EDIT : Sorry, writing while you were posting the above post.
..

hamid_v 07-02-2010 09:37 AM

i tried all the ways ,
let me ask other question .

i`m using laptop "lenovo g550" .
is it possible to use an external NIC card ?


actually i toke a LAN>USB device also but unfortunately it doesn`t work on linux .

TB0ne 07-02-2010 11:14 AM

Quote:

Originally Posted by hamid_v (Post 4021784)
i tried all the ways ,
let me ask other question .

i`m using laptop "lenovo g550" .
is it possible to use an external NIC card ?


actually i toke a LAN>USB device also but unfortunately it doesn`t work on linux .

Yes, very possible, but two things, AGAIN:
  1. Did you read my first post? Where I suggested you simply try "modprobe tg3"??? Did you try it??
  2. And if you're not paying for RHEL, you will not be able to update/patch/expand it. Again, get a community supported distro, and you'll probably work right off the bat. If not, you'll at least be able to load software. If you're not going to pay for it, DON'T USE IT

Why do you NEED RHEL?


All times are GMT -5. The time now is 02:05 PM.