解决eth0不存在
时间:2007-03-21 来源:linuxGentoo
# 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对应的模块,那么用lspci 0000:3f:00.0 Ethernet controller:Broadcom Corporation NetXtreme BCM5752 Gigabit Ethernet PCI Express (rev 01)
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对应的模块,那么用lspci 0000: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.
| Maker | Model | Driver | Hardware |
|---|---|---|---|
| 3com | 3c509TP Etherlink III | ||
| 3com | 3c574B Megahertz | 3c574_cs | PCMCIA 10/100Mbit |
| 3com | 3c905x (Tornado/Vortex) | 3c59x | |
| 3com | 3c905B 100BaseTX | 3c59x | |
| 3com | 3c940 gigabit | 3c59x | |
| 3Com | 3CN3AC1556B | 3c59x | mini-PCI w/winmodem |
| 3Com | 3C460B 10/100 Ethernet Adapter | pegaus | USB Ethernet Adapter |
| ADMtek | USB To LAN Converter | pegaus | Level ONE USB to LAN Converter |
| Belkin | F5D5050 USB 10/100 | pegaus | Ethernet USB 10/100 Ethernet |
| Buffalo | LUA2-TX | pegaus | USB-Ethernet adapter |
| Compaq Computer Corporation | Compaq iPAQ Networking 10/100 Fast Ethernet USB Adapter | pegaus | USB 10/100 Fast Ethernet adapter |
| D-Link | DSB-650 | pegaus | 10/100 USB Ethernet Adapter |
| D-Link | DSB-H3ETX | pegaus | Hub with 10/100Mbps Ethernet LAN port |
| Netgear | FA101 | pegaus | USB Fast Ethernet Adapter |
| Broadcom Corporation | BCM4401-B0 100Base-TX | b44 | laptop ethernet |
| Broadcom Corporation | BCM4401 100Base-T | b44 | laptop ethernet |
| Realtek Semiconductor Co. | RT8139 | 8139too | |
| Compex | RE100ATX/WOL | 8139too | |
| Realtek Semiconductor Co. | RTL-8169 Gigabit Ethernet | r8169 | |
| Intel Corporation | EtherExpress PRO/100 S Server Adapter | eepro100 | |
| D-Link | DFE-690TXD | 8139too | |
| Linksys | EtherFast 10/100 USB Network Adaptor | pegasus | |
| Realtek | RTL-8139/8139C/8139C+ | 8139too | |
| SMC | SMC1244TX | 8139too | |
| D-Link | DGE-528T | r8169 | |
| National Semiconductor Corporation | DP83815 (MacPhyter) Ethernet Controller | natsemi | |
| Netgear | FA311 | natsemi | |
| SiS | SiS900 | sis900 | |
| SiS | SiS900 | sis900 | 10/100 Ethernet Adapter |
| Unex Tech | MD010C | 8139too | |
| Intel Corporation | 82557/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.
| Maker | Model | Driver |
|---|---|---|
| 3Com | 3CR990 family | typhoon |
| Broadcom Corporation | NetXtreme BCM5752 Gigabit Ethernet PCI Express | tg3 |
| Broadcom Corporation | NetXtreme BCM5705 Gigabit Ethernet | tg3 |
| Broadcom Corporation | NetXtreme BCM5752M Gigabit Ethernet PCI Express | tg3 |
| Broadcom Corporation | NetXtreme BCM5751 Gigabit Ethernet PCI Express | tg3 |
| Broadcom Corporation | NetXtreme BCM5782 Gigabit Ethernet | tg3 |
| Broadcom Corporation | NetXtreme BCM5752 Gigabit Ethernet PCI Express | tg3 |
| Broadcom Corporation | NetXtreme BCM5702X Gigabit Ethernet | tg3 |
| Broadcom Corporation | NetXtreme BCM5703X Gigabit Ethernet | tg3 |
| Broadcom Corporation | NetXtreme BCM5705M_2 Gigabit Ethernet | tg3 |
| Ositech | Jack of Hearts Ethernet/Modem PCMCIA | smc91c92 |
| Psion | Gold Card Netglobal 56K+10Mb Ethernet PCMCIA | smc91c92 |
| Psion | Psion Gold Card NetGlobal 10/100 Fast Ethernet | smc91c92 |
| Motorola | Motorola Mariner Ethernet/Modem | smc91c92 |
| SMC | SMC 91Cxx PCMCIA Card | smc91c92 |
| Adaptec | Adaptec Starfire network adapter | starfire |
| 3Com | 3C359 Velocity XL Token Ring Adapter Driver | 3c359 |
| SMC | SMC TokenCard Elite (8115T) ISA and SMC TokenCard Elite/A (8115T/A) MCA adapters | smctr |
| Myricom | MyriCOM MyriNET SBUS card | myri_sbus |
| Digi Intl | RightSwitch SE-X EISA and PCI | dgrs |
相关阅读 更多 +










