P4PE 의 내장랜카드 Broadcom 4401 드라이버 설치에 대해 문의 ?
레드햇 리눅스 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
제가 도와 드리지요.별로 어렵지 않아요.source rpm은 다운
제가 도와 드리지요.
별로 어렵지 않아요.
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가 없어서 그럴 수도 있고요.
에러를 잘 읽어 보시면 어떤 패키지가 필요한지 아실 수 있을겁니다.
나머지는 스스로 해결해 보시는 게 좋겠네요.
그럼.
댓글 달기