[問題] SUSE10安裝網卡驅動

看板Linux作者 (就是愛吃吃吃)時間15年前 (2008/11/17 19:06), 編輯推噓3(307)
留言10則, 4人參與, 最新討論串1/1
各位前輩好 想請教安裝驅動的指令和步驟 因為看README較後面的步驟看不是很懂 網卡:Intel PRO1000 請問Building和Note部分是針對RH嗎? 所以我直接從1開始做 目前在第3 第4步下 make install 但是出現了錯誤: (none):/usr/local/src/e1000-8.0.6/src # make install Makefile:71: *** Linux kernel source not found in any of these locations: Makefile:72: Makefile:73: *** Install the appropriate kernel development package, e.g. Makefile:74: *** kernel-devel, for building kernel modules and try again. Stop. 解壓縮後src內無install這個檔但有makefile 下 make Makefile 也出現了錯誤: (none):/usr/local/src/e1000-8.0.6/src # make Makefile Makefile:71: *** Linux kernel source not found in any of these locations: Makefile:72: Makefile:73: *** Install the appropriate kernel development package, e.g. Makefile:74: *** kernel-devel, for building kernel modules and try again. Stop. 煩請高手幫我看是哪裏該修正呢 謝謝 ------------------------------------------------------------------------------- Intel PRO1000 Readme: Building and Installation ========================= To build a binary RPM* package of this driver, run 'rpmbuild -tb <filename.tar.gz>'. Replace <filename.tar.gz> with the specific filename of the driver. NOTE: For the build to work properly, the currently running kernel MUST match the version and configuration of the installed kernel sources. If you have just recompiled the kernel reboot the system now. RPM functionality has only been tested in Red Hat distributions. 1. Move the base driver tar file to the directory of your choice. For example, use /home/username/e1000 or /usr/local/src/e1000. 2. Untar/unzip archive: tar zxf e1000-x.x.x.tar.gz 3. Change to the driver src directory: cd e1000-x.x.x/src/ 4. Compile the driver module: make install The binary will be installed as: /lib/modules/<KERNEL VERSION>/kernel/drivers/net/e1000/e1000.[k]o The install locations listed above are the default locations. They might not be correct for certain Linux distributions. 5. Load the module using either the insmod or modprobe command: modprobe e1000 insmod e1000 Note that for 2.6 kernels the insmod command can be used if the full path to the driver module is specified. For example: insmod /lib/modules/<KERNEL VERSION>/kernel/drivers/net/e1000/e1000.ko With 2.6 based kernels also make sure that older e1000 drivers are removed from the kernel, before loading the new module: rmmod e1000; modprobe e1000 6. Assign an IP address to the interface by entering the following, where x is the interface number: ifconfig ethx <IP_address> 7. Verify that the interface works. Enter the following, where <IP_address> is the IP address for another machine on the same subnet as the interface that is being tested: ping <IP_address> -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.130.36.2 ※ 編輯: WOWAalice 來自: 220.130.36.2 (11/17 19:06)

11/17 19:13, , 1F
先lsmod看看有沒有e1000的module吧
11/17 19:13, 1F

11/17 19:13, , 2F
proset1000應該是kernel內建不用另外支援的
11/17 19:13, 2F

11/17 19:33, , 3F
您好 有e1000的MODULE
11/17 19:33, 3F

11/17 19:35, , 4F
因為目的是想學會在SUSE下安裝好驅動
11/17 19:35, 4F

11/17 20:09, , 5F
你有 kernel source 嗎?
11/17 20:09, 5F

11/17 20:32, , 6F
請問kernel source 會在哪個路徑呢 SORRY對LINUX不是很
11/17 20:32, 6F

11/17 20:32, , 7F
11/17 20:32, 7F

11/17 21:13, , 8F
zypper in kernel-devel 你貼出的訊息就有說啊
11/17 21:13, 8F

11/17 21:41, , 9F
沒看清是 SUSE 10 不知道有沒有 zypper
11/17 21:41, 9F

11/17 21:42, , 10F
用 yast 的軟體管理找出 kernel-devel 裝上
11/17 21:42, 10F
文章代碼(AID): #198L0i5T (Linux)