View previous topic :: View next topic |
Author |
Message |
unfit n00b
Joined: 16 Aug 2004 Posts: 6
|
Posted: Fri Aug 27, 2004 12:46 am Post subject: Can't find eth0 |
|
|
I'll start of by saying i'm new to this area so this is probably something really silly.
I've installed gentoo-2.4.26 on my presario x1000 and during the live-cd thing
everything went smoothly, but after creating root and another accout there's
been some problems.
The main problem is that after the install i can't seem to get eth0 up and running.
In boot i get a problem with;
SIOCSIFADDR: No such device
eth0: unknown interface: no such device
SIOCSIFBRDADDR: no such device
eth0: unknown interface: no such device
SIOCSIFNETMASK: no such device
...and netmount was not started.
ifconfig can't find eth0.
there isn't an 'eth0' in /dev.
What i have tried is going with the regular (not the c+) realtek with, marked with y, in the make menuconfig.
# make dep && make clean bzImage modules modules_install
# cp arch/i386/boot/bzImage /boot
Still won't find a darn thing. I've read through some of the forum but i
haven't been able to work it out from that.
Again, i'm new at this but i'd appreciate any help i can get on the problem |
|
Back to top |
|
|
po0f Apprentice
Joined: 08 Apr 2004 Posts: 162
|
Posted: Fri Aug 27, 2004 12:50 am Post subject: |
|
|
Did you compile support for your nic into the kernel or as a module? |
|
Back to top |
|
|
unfit n00b
Joined: 16 Aug 2004 Posts: 6
|
Posted: Fri Aug 27, 2004 12:53 am Post subject: |
|
|
po0f wrote: | Did you compile support for your nic into the kernel or as a module? |
I compiled it into the kernel, the 'y' version in the make menuconfig
if that's what you mean. |
|
Back to top |
|
|
Valhlalla Apprentice
Joined: 22 Sep 2003 Posts: 161 Location: Sydney, Australia.
|
Posted: Fri Aug 27, 2004 12:56 am Post subject: |
|
|
Is that definatly the driver for your card? _________________ Pork Chop Sandwiches, Oh Sh*t! |
|
Back to top |
|
|
G3n2 Tux's lil' helper
Joined: 09 Aug 2004 Posts: 127
|
Posted: Fri Aug 27, 2004 12:56 am Post subject: |
|
|
did u mount /boot before u copied the new bzImage ? i think u also need to copy System.map to /boot . at least that's what i do.
what kind of Network Card do u have exactly ? and is it managed by dhcp or not ?
try :
lspci | grep Ethernet
or
lspci
lspci | grep Ethernet gives me :
Code: | lspci | grep Ethernet
0000:00:0a.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 24)
|
what i do :
-Configure the kernel properly (including Network Card in kernel or as module)
make clean bzImage modules modules_install
mount /boot
cp arch/i386/boot/bzImage /boot/bzImage-new; cp System.map /boot
then i edit grub.conf (/boot/grub/grub.conf)
to link to the bzImage-new kernel :
default 0
timeout 10
splashimage=(hd0,0)/grub/splash.xpm.gz
#for testing the new kernel
title=New Kernel - Test
root (hd0,0)
kernel /bzImage-new root=/dev/hda3
#the old kernel (which works)
title=Gentoo Linux 2.6.8-r1
kernel /bzImage root=/dev/hda3
in ur case the old kernel , what i call it doesn't work , so u can do :
mount /boot
cp arch/i386/boot/bzImage /boot/bzImage; cp System.map /boot
and overwrite the existing , but make sure u have everything set up correctly in ur kernel configuration (menuconfig)
-Good Luck |
|
Back to top |
|
|
unfit n00b
Joined: 16 Aug 2004 Posts: 6
|
Posted: Fri Aug 27, 2004 12:58 am Post subject: |
|
|
Valhlalla wrote: | Is that definatly the driver for your card? |
REALTEK RTL8139 serials PCI Fast Ethernet NIC.
Sure seems like it. |
|
Back to top |
|
|
unfit n00b
Joined: 16 Aug 2004 Posts: 6
|
Posted: Fri Aug 27, 2004 1:03 am Post subject: |
|
|
Quote: | did u mount /boot before u copied the new bzImage ? i think u also need to copy System.map to /boot . at least that's what i do. |
/boot is mounted properly. I haven't done the system.map thing, i'll check that out.
Quote: | what kind of Network Card do u have exactly ? and is it managed by dhcp or not ?
|
I've configured it with a static ip.
Quote: | try :
lspci | grep Ethernet
or
lspci |
I'd like to but lspci isn't recognized as a command (command not found).
Quote: | what i do :
-Configure the kernel properly (including Network Card in kernel or as module)
make clean bzImage modules modules_install
mount /boot
cp arch/i386/boot/bzImage /boot/bzImage-new; cp System.map /boot
then i edit grub.conf (/boot/grub/grub.conf)
to link to the bzImage-new kernel :
default 0
timeout 10
splashimage=(hd0,0)/grub/splash.xpm.gz
#for testing the new kernel
title=New Kernel - Test
root (hd0,0)
kernel /bzImage-new root=/dev/hda3
#the old kernel (which works)
title=Gentoo Linux 2.6.8-r1
kernel /bzImage root=/dev/hda3
in ur case the old kernel , what i call it doesn't work , so u can do :
mount /boot
cp arch/i386/boot/bzImage /boot/bzImage; cp System.map /boot
and overwrite the existing , but make sure u have everything set up correctly in ur kernel configuration (menuconfig)
-Good Luck |
I'll try, and thanks
[update]
...And no, it didn't help.
Still says the same thing when i boot :/ |
|
Back to top |
|
|
|