ÓÃuÅ̰²×°£¬grub4dos´økernelÆô¶¯°²×°£¬Ö»ÊÇ×°ÁË»ù±¾µÄ°ü£¬È»ºóµ½ÏµÍ³ÀïÃæ°ÑisoÎļþmountÉÏ£¬linuxÐéÄâ¹âÇýÌ«·½±ãÁËÒ»µã¡£
moute -o loop -t iso9660 /path/to/iso/file /mnt/cdrom
È»ºóÓÃdselectÀ´Ñ¡Ôñ°²×°°ü£¬°Ñkernel header°¡¡¢buildÖ®ÀàµÄ×°ÉÏ¡£¾Í¿ÉÒÔ¿ªÊ¼±àÒëÇý¶¯µÄÁË¡£
Ò»¿ªÊ¼»¹²»ÖªµÀ£¬È¥¹ÙÍøÏÂÔØÁËЩsourceÀ´¸ã£¬ÆäʵҲÊÇ¿ÉÒԵģ¬¸Ã°æ±¾Äں˵ÄÅäÖÃÔÚ/boot/config-xxxx£¬¸´ÖƵ½src/.config£¬È»ºóÒ²¿ÉÒÔÓÃmake-kpkgÀ´±àÒ룬ÒÔǰҲ¸ã¹ý£¬¾ÍÊÇͨ²»¹ý¡£
cp /boot/config-2.x.y-flavour .config
make-kpkg -append-to-version ¡°-flavour¡± -revision 2.x.y-z -config old configure
±àÒëÇý¶¯¾ÍÊǰ´²½ÖèÀ´ÁË
2. Untar/unzip archive:
tar zxf igb-x.x.x.tar.gz
3. Change to the driver src directory:
cd igb-x.x.x/src/
4. Compile the driver module:
make install
The binary will be installed as:
/lib/modules/
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 igb
insmod igb
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/
With 2.6 based kernels also make sure that older igb drivers are
removed from the kernel, before loading the new module:
rmmod igb; modprobe igb
±¾À´modprobeÖ®ºóÓ¦¸ÃÄÜÕÒµ½eth0Ö®ÀàµÄÉ豸ÁË£¬µ«ÊÇÕâ¸öÇý¶¯ÊÇfor rehlµÄ£¬debianÃ²ËÆ²»»á×Ô¼º¼ÓÉÏÈ¥£¬Ö»ÓÐÊÖ¶¯ÐÞ¸Ä/etc/network/interfaces ÁË
auto lo
iface lo inet loopback
auto eth1 eth2
iface eth1 inet dhcp
iface eth2 inet dhcp
ÁªÏëµÄ»úÆ÷¾ÍÊÇÆæ¹Ö£¬ÔÚwindowsÏÂÃæÄÜ¿´µ½3ÕÅÍø¿¨£¬linuxÏÂÃæÃ²ËÆÖ»ÓÐÁ½ÕÅ£¬ÊÇeth1ºÍeth2£¬²»ÖªµÀeth0ËÀÄÄÀïÈ¥ÁË£¬lspci¿´µ½Ò»¶ÑÇý¶¯»¹Ã»ÓÐ×°µÄ¡£intel¹ÙÍøÒ²Ã»ÓоͲ»¹ÜÁË¡£Ã÷Ìì¼ÌÐø×öÐÔÄܲâÊÔ¡£
Arthas225 ÓÚ 2008-05-08 12:49:19·¢±í:
Æ·ÅÆ»ú»ò¶à»òÉÙ¶¼Óеã¸ö±ð£¬»¹ÊÇ×Ô¼ºÔÜ·þÎñÆ÷ºÃ¡£
¹þ¹þ:handshake