[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Thinkpad X20, eth0 up failed after recompile kernel 2.4.30



My X20 runs a quite old kernel 2.2.20(network is okay), so I download a new 
kernel 2.4.30, loaded old config file and the ONLY change is 
"add apm support" and compiled it with old Ethernet options like following:

 [*] Ethernet (10 or 100Mbit)
 < >  Sun Happy Meal 10/100baseT support
 < >  Sun GEM & Apple GMAC support
 [*] 3COM cards
 <*>  3c590/3c900 series (592/595/597) "Vortex/Boomerang" support
 < >  3cr990 series "Typhoon" Support
 [*] Western Digital/SMC cards
 [*] Racal-Interlan (Micom) NI cards
 <M> HP 10/100VG PCLAN (ISA, EISA, PCI) support
 [] EISA, VLB, PCI and on board controllers
 [] Pocket and portable adapters 

system loaded new kernel well except network can not bring up.
use "ifconfig eth0 192.168.1.19" give information:

SIOCSIFADDR: no such device
eth0: ERROR while getting interface flags: no such device

with lspci it outputs:

...
00.0a.0 Ethernet controller: Intel Corp. 82557 [Ethernet Pro 100] (rev 09)
...

and content my /etc/network/interfaces is:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static 
   address 192.178.1.19
   netmask 255.255.255.0
   network 192.168.1.0
   broadcast 192.168.1.255
   gateway 192.168.1.254


everything seems fine. Any suggestions! Thanks in Advance!



Reply to: