Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14
Hi Members I am new to the world of Linux. I have recently installed RH9 on DELL PC. It also has Win XP running fine, without any issues. I cannot ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2006
    Posts
    9

    RH9 on DELL 2400 PC, and problem with eth0 driver


    Hi Members

    I am new to the world of Linux. I have recently installed RH9 on DELL PC. It also has Win XP running fine, without any issues. I cannot connect to the internet due to the fact that ethernet driver is not installed. I get failure during the bootup process. I searched many forums, and dowloaded the file from broadcom.com and burned it into CD.

    Any help is appreciated on how to make the ethernet works from download file, if you could give me the step by step process to proceed.

    Thank you, and god bless you.

  2. #2
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,211
    The module for your ethernet card (Broadcom 4400) is called "b44" in the 2.6 kernel series. Red Hat 9.0 ships with a 2.4 kernel, so you can use the module source from Broadcom's site : the module will be called "bcm4400".

    For instructions on how to build the module, look at the README.TXT that comes with the driver from Broadcom.

    Once you have the module compiled :
    Code:
    /sbin/modprobe bcm4400
    And then look at the output of
    Code:
    dmesg | tail
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  3. #3
    Just Joined!
    Join Date
    Jul 2006
    Posts
    9
    Thank you very much for the reply mate.

    This is where I am stuck/confused on how to do it properly.

    From the readme file.

    Driver Installation:

    1 Install the Source RPM package.

    rpm -ivh b44-1.00g-1.src.rpm ( I was able to create a directory, and was able to follow the instruction to install the RPM package)

    (once the above was done, it creates the new dir, b44-1.00g and inside it, I have b44.4, b44.c, b44.h, LICENCE and Makefile resides)

    2. CD to the RPM path and build the binary driver for your kernel:

    cd /usr/src/{redhat,OpenLinux,turbo,packages,rpm....)

    Here, I am able to change my directory to the path for (from terminal root user) cd /usr/src/redhat - this is successful.

    next line, it says,

    rpm -bb SPECS/b44.spec

    I get error stating -bb unknown option.

    Please let me know what I am doing wrong. Also, when I cd to redhat dir, I can see SPECS dir, and inside it, I have b44.spec file.

    Thank you

  4. #4
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,211
    Quote Originally Posted by linuorac
    rpm -bb SPECS/b44.spec
    Did you try
    Quote Originally Posted by BCM4400 README.TXT
    rpmbuild -bb SPECS/b44.spec
    ?

    Or simply (as root):
    Code:
    rpmbuild --rebuild b44-1.00g-1.src.rpm
    Then install the resulting rpm (which should be in /usr/src/rpm/RPMS/i386/), still as root :
    Code:
    rpm -ivh b44-1.00g-1.i386.rpm
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  5. #5
    Just Joined!
    Join Date
    Jul 2006
    Posts
    9
    Quote Originally Posted by antidrugue
    Did you try

    ?

    Or simply (as root):
    Code:
    rpmbuild --rebuild b44-1.00g-1.src.rpm
    Then install the resulting rpm (which should be in /usr/src/rpm/RPMS/i386/), still as root :
    Code:
    rpm -ivh b44-1.00g-1.i386.rpm
    Staying within the created directory (download), I was able to do rpmbuild --rebuild b44-1.00g-1.src.rpm

    and received this,

    RPM build errors: Bad exit stauts from /var/tmp/rpm-tmp.27680(%build)

    Please let me know what to do next. I have not gone any further after this.

  6. #6
    Just Joined!
    Join Date
    Jul 2006
    Posts
    9
    Then install the resulting rpm (which should be in /usr/src/rpm/RPMS/i386/), still as root :

    Code:
    rpm -ivh b44-1.00g-1.i386.rpm

    Also, the above quote, I cant do it either from root or from dir download

  7. #7
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,211
    Quote Originally Posted by linuorac
    Staying within the created directory (download), I was able to do rpmbuild --rebuild b44-1.00g-1.src.rpm

    and received this,

    RPM build errors: Bad exit stauts from /var/tmp/rpm-tmp.27680(%build)
    That's not enough to troubleshoot, can you post some of the previous lines?

    Ultimately, my recommendation you'd be to simply use a more recent distro. Red Hat Linux 9 is more then 3 years old, it isn't supported anymore.

    Personaly I had no problem building the broadcom drivers (on my Debian Etch box) following the instructions I gave you in my previous post.
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  8. #8
    Just Joined!
    Join Date
    Jul 2006
    Posts
    9
    I sent you a PM, please have a look

  9. #9
    Just Joined!
    Join Date
    Jul 2006
    Posts
    9

    here is what I have done

    I stated the terminal, and followed the procedure as it was in readme file.
    -----------------------------------------------------------------------

    [root@localhost /]#

    created a direcotry, name driver: mkdir driver
    then changed to directory name driver: cd driver

    -----------------------------------------------------



    Installing Source RPM Package
    =============================

    The following are general guidelines for installing the driver.

    1. Install the source RPM package:

    rpm -ivh b44-<version>.src.rpm

    [root@localhost driver]# rpm -ivh b44-1.00g-1.src.rpm

    output: 1:b44 ################# [100%]

    Then, used the command u provided,
    [root@localhost driver]# rpmbuild --rebuild b44-1.00g-1.src.rpm

    RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.89356 (%build)

    (below instruction states CD to RPM path and build the binary driver for kernel, do I have to do this, if yes, what directory should I go in the terminal?) I have not gone any further after this.


    2. CD to the RPM path and build the binary driver for your kernel:

    cd /usr/src/{redhat,OpenLinux,turbo,packages,rpm ..}

    rpm -bb SPECS/b44.spec

    or

    rpmbuild -bb SPECS/b44.spec (for RPM version 4.x.x)

    Note that the RPM path is different for different Linux distributions.



    3. Install the newly built package (driver and man page):

    rpm -ivh RPMS/<arch>/b44-<version>.<arch>.rpm

    <arch> is the architecture of the machine, e.g. i386:

    rpm -ivh RPMS/i386/b44-<version>.i386.rpm

    Note that the --force option may be needed on some Linux distributions
    if conflicts are reported.

    The driver will be installed in the following path:

    2.4.x kernels:

    /lib/modules/<kernel_version>/kernel/drivers/net/b44.o

    2.6.x kernels:

    /lib/modules/<kernel_version>/kernel/drivers/net/b44.ko

    4. Load the driver:

    insmod b44.o
    or
    insmod b44.ko (on 2.6.x kernels)
    or
    modprobe b44

    5. To configure network protocol and address, refer to various Linux
    documentations.


    Building Driver From TAR File
    =============================

    The following are general guidelines for installing the driver.

    1. Create a directory and extract the files:

    tar xvzf b44-<version>.tar.gz

    2. Build the driver b44.o (or b44.ko) as a loadable module for the
    running kernel:

    cd src
    make

    3. Test the driver by loading it:

    insmod b44.o
    or
    insmod b44.ko (on 2.6.x kernels)
    or
    insmod b44

    4. Install the driver:

    make install

    See RPM instructions above for the location of the installed driver.

    5. To configure network protocol and address, refer to various Linux
    documentations.

  10. #10
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,211
    Is there a reason you want to stick with Red Hat Linux 9 ?
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •