# ifconfig
Link encap:LLocal Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBAKE RUNNING MTU:16436 Metric:1
....
# ifconfig eth0
eth0:error fecthing interface information:Device not found
这个信息就表明没有安装网卡eth0对应的模块,那么用lspci0000:3f:00.0 Ethernet controller:Broadcom Corporation NetXtreme BCM5752 Gigabit Ethernet PCI Express (rev 01)
则应该查看这个网卡对应的驱动模块是哪个?我一开始就随便的添加模块,e100,e1000,所以还是不能解决问题,后来在forums.gentoo.org有人说是tg3,我就把tg3给添加进去了,所以就可以用了
在一个网站上可以查到网卡对应的驱动是什么。
These devices are known to work with free GNU/Linux systems. They do not require any binary firmware.
MakerModelDriverHardware3com3c509TP Etherlink III
3com3c574B Megahertz3c574_csPCMCIA 10/100Mbit3com3c905x (Tornado/Vortex)3c59x
3com3c905B 100BaseTX3c59x
3com3c940 gigabit3c59x
3Com3CN3AC1556B3c59xmini-PCI w/winmodem3Com3C460B 10/100 Ethernet AdapterpegausUSB Ethernet AdapterADMtekUSB To LAN ConverterpegausLevel ONE USB to LAN ConverterBelkinF5D5050 USB 10/100pegausEthernet USB 10/100 EthernetBuffaloLUA2-TXpegausUSB-Ethernet adapterCompaq Computer CorporationCompaq iPAQ Networking 10/100 Fast Ethernet USB AdapterpegausUSB 10/100 Fast Ethernet adapterD-LinkDSB-650pegaus10/100 USB Ethernet AdapterD-LinkDSB-H3ETXpegausHub with 10/100Mbps Ethernet LAN portNetgearFA101pegausUSB Fast Ethernet AdapterBroadcom CorporationBCM4401-B0 100Base-TXb44laptop ethernetBroadcom CorporationBCM4401 100Base-Tb44laptop ethernetRealtek Semiconductor Co.RT81398139too
CompexRE100ATX/WOL8139too
Realtek Semiconductor Co.RTL-8169 Gigabit Ethernetr8169
Intel CorporationEtherExpress PRO/100 S Server Adaptereepro100
D-LinkDFE-690TXD8139too
LinksysEtherFast 10/100 USB Network Adaptorpegasus
RealtekRTL-8139/8139C/8139C+8139too
SMCSMC1244TX8139too
D-LinkDGE-528Tr8169
National Semiconductor CorporationDP83815 (MacPhyter) Ethernet Controllernatsemi
NetgearFA311natsemi
SiSSiS900sis900
SiSSiS900sis90010/100 Ethernet AdapterUnex TechMD010C8139too
Intel Corporation82557/8/9 [Ethernet Pro 100]
These devices are known to not
work with free software systems. They are on this list either because
their required drivers are proprietary or unavailable for GNU/Linux, or
because they rely on binary firmware.
MakerModelDriver3Com3CR990 familytyphoonBroadcom CorporationNetXtreme BCM5752 Gigabit Ethernet PCI Expresstg3Broadcom CorporationNetXtreme BCM5705 Gigabit Ethernettg3Broadcom CorporationNetXtreme BCM5752M Gigabit Ethernet PCI Expresstg3Broadcom CorporationNetXtreme BCM5751 Gigabit Ethernet PCI Expresstg3Broadcom CorporationNetXtreme BCM5782 Gigabit Ethernettg3Broadcom CorporationNetXtreme BCM5752 Gigabit Ethernet PCI Expresstg3Broadcom CorporationNetXtreme BCM5702X Gigabit Ethernettg3Broadcom CorporationNetXtreme BCM5703X Gigabit Ethernettg3Broadcom CorporationNetXtreme BCM5705M_2 Gigabit Ethernettg3OsitechJack of Hearts Ethernet/Modem PCMCIAsmc91c92PsionGold Card Netglobal 56K+10Mb Ethernet PCMCIAsmc91c92PsionPsion Gold Card NetGlobal 10/100 Fast Ethernetsmc91c92MotorolaMotorola Mariner Ethernet/Modemsmc91c92SMCSMC 91Cxx PCMCIA Cardsmc91c92AdaptecAdaptec Starfire network adapterstarfire3Com3C359 Velocity XL Token Ring Adapter Driver3c359SMCSMC TokenCard Elite (8115T) ISA and SMC TokenCard Elite/A (8115T/A) MCA adapterssmctrMyricomMyriCOM MyriNET SBUS cardmyri_sbusDigi IntlRightSwitch SE-X EISA and PCIdgrs
收集整理