Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i ve a debian 3.0 woody. i ve compiled the kernel 2.4.21. i think that i ve configured it well, but now i havent got my eth0 interface. if i do $ifconfig, it shows only the loopback interface and if i do $ifconifg eth0 it shows:
eth0: error fetching interface infoemation: device not found.
i ve got a Realteck RTL8139 PCI card and i think that i ve enabled it ok in the kernel config (but this is not sure 100%).
the /etc/hosts ans /etc/network/interfaces files are ok.
what can be wrong? is this a common problem? what can i do?
#CONFIG_8139CP is not set
CONFIG_8139TOO = y
# CONFIG_8139TO_PIO is not set
CONFIG_8139TOO_TUNE_TWISTER=y
CONFIG_8139TOO_8129=y
# CONFIG_8139_ODL_RX_RESET is not set
Have you checked to see if the card is actually recognized on boot. dmesg | grep eth0 or lspci -v in a console window.
[edit]Maybe even lsmod to make sure the module was loaded. Places to check for the modules /etc/modules or /etc/modutils/aliases. Also I have a card that uses the tulip module and I had to put an aliases (alias eth0 tulip) in the /etc/modutils/aliases and run update-modules for the card to work when the module was loaded you may want to try this as well for your card.[/edit]
00:10.0 Ethernet controller: Advanced Micro Devices [AMD] 79c970 [PCnet LANCE] (rev 0)
Flags: medium devsel, IRQ 9
I/O ports at 1080 [size=32]
Memory at fd0000000 (32-bit, non-prefetchable) [disabled] [size=32]
i dont understand this very well...
3.- lsmod
i havent got modules. this is the first or second time that i compile the kernel, and at the moment i preffer to built-in all in the kernel.
this may be the cause of my error?
in /etc/modules i ve got: af_packet
in /etc/modutils/aliases i ve gor nothing related with eth0.
4.- sorry, i wanted to say:
#ifconfig eth0 172.26.0.4
but this doesnt work and
#ifconfig eth .......
or #ifconfig eth1 ... neither
thanks and sorry for my poor english.
bye
pd: thanks for your help. i am seeing that the linux community is fantastic!
Well the card is there but it is not getting initialized during boot it looks like it is sharing an irq. Have you tried moving the card to another slot on the motherboard especially if it is in the slot next to the AGP. Compiling the module into the kernel should cause no problems.
Have you tried compiling the 2.4.21 with your working old .config making no changes and getting a working kernel then after this recompile removing the things you know you don't need and including support for your hardware this may be a better approach.
BTW your English is fine.
[edit]
I just noticed that you posted this in the members intro forum although double posting is discouraged you should think about posting this in another forum where more people will have the opportunity to respond to your problem. Maybe include a link to this thread as well.
[/edit]
Try to recompile the kernel with the eth0 driver as a module. I was not able to pass any options to a compiled in driver. The modules.conf file is for modules, not compiled in drivers. When you say "alias eth0 tulip" in the modules.conf file, the system looks for the tulip.o driver in the kernel directories, but when the driver is compiled in the kernel, tulip.o does not exist. If you must have compiled in drivers, then pass the options to the kernel at boot time in the GRUB file, or whatever other boot method used.
finally, i ve compiled the 2.4.21 kernel and the eth0 interface works ok. i ve followed your advice Happytux and i ve compiled the 2.4.21 with my working old .config.
thanks.
Now, i ve got a problem with NVIDIA drives. I ve explained it in the General forum.
Originally posted by HappyTux Have you checked to see if the card is actually recognized on boot. dmesg | grep eth0 or lspci -v in a console window.
[edit]Maybe even lsmod to make sure the module was loaded. Places to check for the modules /etc/modules or /etc/modutils/aliases. Also I have a card that uses the tulip module and I had to put an aliases (alias eth0 tulip) in the /etc/modutils/aliases and run update-modules for the card to work when the module was loaded you may want to try this as well for your card.[/edit]
HappyTux,
I had a similar problem to serji when I installed Woody BF2.4. After the basic system install, I could not access apt-get sources during apt-get configuration. Another thread led me hear, and I tried the lspci -v command with the following results:
Quote:
02:0c.0 Ethernet controller: 3Com Corporation 3c905C-TX [Fast Etherlink] (rev 78)
Subsystem: Dell Computer Corporation: Unknown device 00c7
Flags: bus master, medium devsel, latency 64, IRQ 3
I/O ports at ec80 [size=128]
Memory at fbfff400 (32-bit, non-prefetchable) [size=128]
Expansion ROM at fc000000 [disabled] [size=128k]
Capabilities: <availability only to root>
There is also a device that I'm not sure about:
Quote:
[OHCI])
Subsystem: Texas Instruments: Unknown device 8019
Flags: bus master, medium devsel, latency 64, IRQ 3
I/O ports at ec80 [size=128]
Memory at fbfff800 (32-bit, non-prefetchable) [size=4K]
Memory at fbff8000 (32-bit, non-prefetchable) [size=1M]
Expansion ROM at fc000000 [disabled] [size=128k]
Capabilities: <availability only to root>
The above isn't a typo, it just says "[OCHI])". Do you have any advice that might help me?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.