P4PE 의 내장랜카드 Broadcom 4401 드라이버 설치에 대해 문의 ?

spooky의 이미지

레드햇 리눅스 9.0 을 모든 구성요소 설치로 설치했습니다.
Broadcom 4401 을 잡아보려 하는데
manual 대로 타이핑 해보니 처음부터 에러가 뜨는군요.

게시판 검색을 해보니 이 메뉴얼 보고 해서 잡으셨다고들 하는데,
아무래도 밑의 것과 똑같이 타이핑하는게 아니라 적절히 바꿔줘야 하는거 같은데, 리눅스 초보라 잘모르겠습니다...

조언 부탁드립니다 :shock:

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

1. Install the source RPM package:

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

If installing the driver on SuSE Linux, refer to the Notes section below
before continuing.

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/bcm4400.spec

or

rpmbuild -bb SPECS/bcm4400.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/i386/bcm4400-<version>.i386.rpm

The driver will be installed in the following path:

2.2.x kernels:

/lib/modules/<kernel_version>/net/bcm4400.o

2.4.x kernels:

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

4. Load the driver:

insmod bcm4400

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

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

1. Create a directory and extract the files:

tar xvzf bcm4400-<version>.tar.gz

If installing the driver on SuSE Linux, refer to the Notes section below
before continuing.

2. Build the driver bcm4400.o as a loadable module for the running kernel:

cd src
make

3. Test the driver by loading it:

insmod bcm4400.o

4. Install the driver and man page:

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.

Notes
=====

Note 1: If compiling the driver under SuSE Linux kernel and errors are
reported, follow the general guidelines below to rebuild the kernel
source tree:

cd /usr/src/linux-<kernel_version>.SuSE
cp /boot/vmlinuz.config .config
cp /boot/vmlinuz.version.h include/linux/version.h
cp /boot/vmlinuz.autoconf.h include/linux/autoconf.h
make oldconfig
make dep

where <kernel_version> is the actual kernel version used in the SuSE
distribution. Example: /usr/src/linux-2.4.4.SuSE

preisner의 이미지

제가 도와 드리지요.
별로 어렵지 않아요.
source rpm은 다운받으셨지요?

1. rpm -ivh bcm4400-<version>.src.rpm
(<version> 은 다운받은 드라이버의 버전입니다.
다운받은 파일 이름이라고 생각하세요.)

2. cd /usr/src/redhat

3. rpmbuild -bb SPECS/bcm4400.spec
이렇게 하시면 드라이버를 컴파일 할겁니다.
정상적으로 완료가 되면
4. rpm -ivh RPMS/i386/bcm4400-<version>.i386.rpm
(역시 <version> 은 드라이버 버전입니다.)
하면 드라이버가 설치 됩니다.
5. insmod bcm4400.o
하면 드라이버가 로딩되면서 랜카드가 인식이 될겁니다.
/etc/modules.conf 파일에
alias eth0 bcm4400
을 추가해 놓으면 부팅할때 자동으로 로딩을 할거구요.

3번에서 컴파일 중에 에러가 나면 아마 kernel-source 가 없어서 그럴겁니다.
또는 gcc나 make가 없어서 그럴 수도 있고요.
에러를 잘 읽어 보시면 어떤 패키지가 필요한지 아실 수 있을겁니다.

나머지는 스스로 해결해 보시는 게 좋겠네요.
그럼.

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.