1、CODE:#tar zxf e1000-x.x.x.tar.gz#cd e1000-x.x.x/src/#make install#insmod e1000#reboot#vi /etc/sysconfig/network-scripts/ifcfg-eth0DEVICE=eth0 #设定网卡的名称,要跟文件名称对应 #ONBOOT=yes #是否在开机的的时候启动网卡#BOOTPROTO=static #如果是动态主机的话,要改成 dhcp 才行#IPADDR=192.168.0.1 #IP 地址 #NETMASK=255.255.255.0 #子网掩吗#NETWORK=192.168.0.
2、1 #该网段的第一个 IP#BROADCAST=192.168.0.255 #最后一个同网段的广播地址#GATEWAY=192.168.0.1 #网关地址#:x 存盘后使用命令激活CODE:#service network restart查看网卡驱动版本:roottest boot# ethtool -i eth0driver: e1000eversion: 1.0.2-k2firmware-version: 5.0-6bus-info: 0000:0a:00.0roottest # cd /bootroottest boot# lsconfig-2.6.31.5-127.fc12.i686.
3、PAE lost+foundefi System.map-2.6.31.5-127.fc12.i686.PAEgrub vmlinuz-2.6.31.5-127.fc12.i686.PAEinitramfs-2.6.31.5-127.fc12.i686.PAE.imgroottest boot# roottest boot# roottest boot# roottest boot# cat config-2.6.31.5-127.fc12.i686.PAE | grep 4# CONFIG_64BIT is not set# CONFIG_X86_64 is not set# CONFIG_
4、M486 is not set# CONFIG_MPENTIUM4 is not setCONFIG_X86_L1_CACHE_BYTES=64CONFIG_X86_INTERNODE_CACHE_BYTES=64CONFIG_X86_CMPXCHG64=yCONFIG_X86_MINIMUM_CPU_FAMILY=4# CONFIG_HIGHMEM4G is not setCONFIG_HIGHMEM64G=yCONFIG_ARCH_PHYS_ADDR_T_64BIT=yCONFIG_SPLIT_PTLOCK_CPUS=4CONFIG_PHYS_ADDR_T_64BIT=yCONFIG_DE
5、FAULT_MMAP_MIN_ADDR=4096CONFIG_X86_RESERVE_LOW_64K=yCONFIG_PHYSICAL_START=0x400000CONFIG_PHYSICAL_ALIGN=0x400000CONFIG_X86_P4_CLOCKMOD=mCONFIG_NF_DEFRAG_IPV4=yCONFIG_NF_CONNTRACK_IPV4=yCONFIG_IP6_NF_MATCH_EUI64=mCONFIG_ATM_BR2684=m# CONFIG_ATM_BR2684_IPFILTER is not setCONFIG_IEEE802154=mCONFIG_NET_
6、CLS_ROUTE4=mCONFIG_BT_HCIUART_H4=yCONFIG_MTD_MAP_BANK_WIDTH_4=y# CONFIG_MTD_CFI_I4 is not setCONFIG_MTD_CK804XROM=m# CONFIG_MTD_L440GX is not setCONFIG_MTDRAM_TOTAL_SIZE=4096CONFIG_MTD_UBI_WL_THRESHOLD=4096CONFIG_PARPORT_1284=yCONFIG_BLK_DEV_RAM_SIZE=16384# CONFIG_SGI_IOC4 is not setCONFIG_ICS932S40
7、1=mCONFIG_EEPROM_AT24=mCONFIG_SCSI_AHA1542=mCONFIG_AIC7XXX_CMDS_PER_DEVICE=4CONFIG_AIC79XX_CMDS_PER_DEVICE=4CONFIG_SCSI_AIC94XX=m# CONFIG_AIC94XX_DEBUG is not set# CONFIG_SCSI_NCR53C406A is not setCONFIG_SCSI_SYM53C8XX_MAX_TAGS=64# CONFIG_SCSI_SYM53C416 is not set# CONFIG_SCSI_U14_34F is not setCONF
8、IG_SATA_SIL24=mCONFIG_SATA_SX4=mCONFIG_PATA_CMD640_PCI=mCONFIG_PATA_CMD64X=mCONFIG_PATA_NS87410=mCONFIG_PATA_NS87415=mCONFIG_MD_RAID456=mCONFIG_FUSION_MAX_SGE=40# IEEE 1394 (FireWire) support# CONFIG_IEEE1394 is not setCONFIG_I2O_EXT_ADAPTEC_DMA64=y# CONFIG_SMC9194 is not setCONFIG_DE2104X=mCONFIG_D
9、E2104X_DSL=0CONFIG_DE4X5=mCONFIG_WINBOND_840=m# CONFIG_LP486E is not set# CONFIG_IBM_NEW_EMAC_EMAC4 is not setCONFIG_B44=mCONFIG_B44_PCI_AUTOSELECT=yCONFIG_B44_PCICORE_AUTOSELECT=yCONFIG_B44_PCI=yCONFIG_R6040=mCONFIG_SMSC9420=m# CONFIG_KS8842 is not setCONFIG_MLX4_EN=mCONFIG_MLX4_CORE=mCONFIG_MLX4_D
10、EBUG=yCONFIG_PRISM54=mCONFIG_P54_COMMON=mCONFIG_P54_USB=mCONFIG_P54_PCI=mCONFIG_P54_LEDS=yCONFIG_IWL4965=yCONFIG_IWL3945=mCONFIG_IWL3945_SPECTRUM_MEASUREMENT=yCONFIG_B43=mCONFIG_B43_PCI_AUTOSELECT=yCONFIG_B43_PCICORE_AUTOSELECT=yCONFIG_B43_PCMCIA=yCONFIG_B43_PIO=yCONFIG_B43_LEDS=yCONFIG_B43_HWRNG=y#
11、 CONFIG_B43_DEBUG is not setCONFIG_B43LEGACY=mCONFIG_B43LEGACY_PCI_AUTOSELECT=yCONFIG_B43LEGACY_PCICORE_AUTOSELECT=yCONFIG_B43LEGACY_LEDS=yCONFIG_B43LEGACY_HWRNG=y# CONFIG_B43LEGACY_DEBUG is not setCONFIG_B43LEGACY_DMA=yCONFIG_B43LEGACY_PIO=yCONFIG_B43LEGACY_DMA_AND_PIO_MODE=y# CONFIG_B43LEGACY_DMA_
12、MODE is not set# CONFIG_B43LEGACY_PIO_MODE is not setCONFIG_RT2400PCI=mCONFIG_WIMAX_I2400M=mCONFIG_WIMAX_I2400M_USB=mCONFIG_WIMAX_I2400M_SDIO=mCONFIG_WIMAX_I2400M_DEBUG_LEVEL=8CONFIG_PCMCIA_3C574=mCONFIG_IEEE802154_DRIVERS=mCONFIG_IEEE802154_FAKEHARD=mCONFIG_ISDN_I4L=m# ISDN4Linux hardware driversCO
13、NFIG_HISAX_BKM_A4T=yCONFIG_HISAX_ST5481=mCONFIG_HISAX_HFC4S8S=mCONFIG_ISDN_DRV_AVMB1_B1PCIV4=yCONFIG_ISDN_DRV_AVMB1_C4=mCONFIG_INPUT_MOUSEDEV_SCREEN_X=1024CONFIG_MOUSE_BCM5974=mCONFIG_SERIO_I8042=yCONFIG_GAMEPORT_L4=mCONFIG_SERIAL_8250_RUNTIME_UARTS=4# CONFIG_SERIAL_8250_EXAR_ST16C554 is not setCONF
14、IG_R3964=mCONFIG_CARDMAN_4000=mCONFIG_CARDMAN_4040=mCONFIG_I2C_AMD756_S4882=mCONFIG_I2C_PIIX4=mCONFIG_I2C_NFORCE2_S4985=mCONFIG_SENSORS_PCF8574=mCONFIG_W1_MASTER_DS2490=mCONFIG_W1_MASTER_DS2482=mCONFIG_W1_SLAVE_DS2431=mCONFIG_W1_SLAVE_DS2433=mCONFIG_W1_SLAVE_DS2433_CRC=yCONFIG_BATTERY_MAX17040=mCONF
15、IG_SENSORS_AD7414=mCONFIG_SENSORS_AD7418=mCONFIG_SENSORS_ADM9240=mCONFIG_SENSORS_ADT7462=mCONFIG_SENSORS_ADT7470=mCONFIG_SENSORS_ADT7473=mCONFIG_SENSORS_ADT7475=mCONFIG_SENSORS_LTC4215=mCONFIG_SENSORS_LTC4245=mCONFIG_SENSORS_LM95241=mCONFIG_SENSORS_PC87427=mCONFIG_SENSORS_SMSC47M1=mCONFIG_SENSORS_SM
16、SC47M192=mCONFIG_SENSORS_SMSC47B397=mCONFIG_SENSORS_TMP401=m# CONFIG_PC87413_WDT is not set# CONFIG_SBC7240_WDT is not setCONFIG_SSB_B43_PCI_BRIDGE=yCONFIG_MFD_WM8400=mCONFIG_REGULATOR_BQ24022=mCONFIG_REGULATOR_WM8400=mCONFIG_VIDEO_V4L2_COMMON=mCONFIG_VIDEO_ALLOW_V4L1=yCONFIG_VIDEO_V4L1_COMPAT=yCONF
17、IG_VIDEO_SAA7146=mCONFIG_VIDEO_SAA7146_VV=mCONFIG_MEDIA_TUNER_MC44S803=mCONFIG_VIDEO_V4L2=mCONFIG_VIDEO_V4L1=mCONFIG_VIDEO_TDA7432=mCONFIG_VIDEO_TDA9840=mCONFIG_VIDEO_TEA6415C=mCONFIG_VIDEO_TEA6420=mCONFIG_VIDEO_MSP3400=mCONFIG_VIDEO_CS5345=mCONFIG_VIDEO_CX25840=mCONFIG_VIDEO_CX2341X=mCONFIG_VIDEO_UPD64031A=mCONFIG_VIDEO_UPD64083=m查找 USB 盘Fdisk lMount 查看 kernel 版本Uname a