LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-25-2010, 03:42 PM   #1
hamid_v
LQ Newbie
 
Registered: Jun 2010
Posts: 11

Rep: Reputation: 0
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
 
Old 06-25-2010, 05:02 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,691

Rep: Reputation: 2264Reputation: 2264Reputation: 2264Reputation: 2264Reputation: 2264Reputation: 2264Reputation: 2264Reputation: 2264Reputation: 2264Reputation: 2264Reputation: 2264
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.
 
Old 06-25-2010, 06:10 PM   #3
hamid_v
LQ Newbie
 
Registered: Jun 2010
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jefro View Post
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 ,
 
Old 06-27-2010, 07:46 AM   #4
hamid_v
LQ Newbie
 
Registered: Jun 2010
Posts: 11

Original Poster
Rep: Reputation: 0
any help ?
 
Old 06-27-2010, 01:47 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,343

Rep: Reputation: 3906Reputation: 3906Reputation: 3906Reputation: 3906Reputation: 3906Reputation: 3906Reputation: 3906Reputation: 3906Reputation: 3906Reputation: 3906Reputation: 3906
Quote:
Originally Posted by hamid_v View Post
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.
 
Old 07-01-2010, 11:22 AM   #6
hamid_v
LQ Newbie
 
Registered: Jun 2010
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jefro View Post
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

Last edited by hamid_v; 07-01-2010 at 11:24 AM.
 
Old 07-01-2010, 11:29 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
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.
.....

Last edited by knudfl; 07-01-2010 at 11:35 AM.
 
Old 07-01-2010, 11:54 AM   #8
hamid_v
LQ Newbie
 
Registered: Jun 2010
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by knudfl View Post
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
 
Old 07-01-2010, 04:40 PM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
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.
...

Last edited by knudfl; 07-01-2010 at 04:50 PM.
 
Old 07-01-2010, 09:33 PM   #10
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,343

Rep: Reputation: 3906Reputation: 3906Reputation: 3906Reputation: 3906Reputation: 3906Reputation: 3906Reputation: 3906Reputation: 3906Reputation: 3906Reputation: 3906Reputation: 3906
Quote:
Originally Posted by hamid_v View Post
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???
 
Old 07-02-2010, 01:46 AM   #11
hamid_v
LQ Newbie
 
Registered: Jun 2010
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by knudfl View Post
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
 
Old 07-02-2010, 01:51 AM   #12
hamid_v
LQ Newbie
 
Registered: Jun 2010
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TB0ne View Post
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
 
Old 07-02-2010, 02:00 AM   #13
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
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.
..

Last edited by knudfl; 07-02-2010 at 02:05 AM.
 
Old 07-02-2010, 10:37 AM   #14
hamid_v
LQ Newbie
 
Registered: Jun 2010
Posts: 11

Original Poster
Rep: Reputation: 0
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 .

Last edited by hamid_v; 07-02-2010 at 10:40 AM.
 
Old 07-02-2010, 12:14 PM   #15
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,343

Rep: Reputation: 3906Reputation: 3906Reputation: 3906Reputation: 3906Reputation: 3906Reputation: 3906Reputation: 3906Reputation: 3906Reputation: 3906Reputation: 3906Reputation: 3906
Quote:
Originally Posted by hamid_v View Post
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vfe NIC driver: "Add hostname for the NIC card into the /etc/hosts file???" gluesniffmonkey Solaris / OpenSolaris 5 06-09-2008 05:40 PM
NIC Driver for NVidia NForce onboard NIC. rajjpajj Linux - Software 9 09-28-2004 04:54 PM
NIC Driver need Neb Linux - Hardware 3 08-11-2003 10:41 PM
nic driver sharrej Slackware 2 06-09-2003 02:22 PM
Switched Nics, new NIC has old driver, how to reinstall driver? Passive Linux - Hardware 3 04-29-2002 07:46 AM


All times are GMT -5. The time now is 08:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration