Linux - Networking This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
01-06-2002, 06:30 AM
|
#1
|
Member
Registered: May 2001
Posts: 48
Rep:
|
problem with eth0
After recompiling the kernel i tried to bring up my interface eth0 but it didn't work. I pinged its ip address and it worked just fine. I tried to insert its module but it returned the message " can't locate module for which the kernel was compiled". I have R.H 7.2 and kernel 2.4.7-10. Any ideas anyone about what might be the problem?
|
|
|
01-06-2002, 07:02 AM
|
#2
|
Member
Registered: Mar 2001
Location: Manchester UK
Distribution: Mainly Fedora
Posts: 496
Rep:
|
Hi
If you can ping its IP, it must be working. Did you compile with the card as a module, or did you select the yes box, which builds it into the kernel?
what does ifconfig say? Post it here.
Jim
|
|
|
01-06-2002, 07:11 AM
|
#3
|
LQ Guru
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700
Rep:
|
When you re-compiled the kernel, did you remember to 'make modules' and make modules_install'? Right now its looking where the modules are stored /lib/modules/2.4.x/ and finding the ones for the previous incarnation of your kernel. It should have removed all of the old ones if you just recompiled your old kernel or it should have an entirely new directory if you compiled and are running a newer one.
Hope that helps,
Cheers,
Finegan
|
|
|
01-06-2002, 11:45 PM
|
#4
|
Member
Registered: May 2001
Posts: 48
Original Poster
Rep:
|
done both
to the question from drjimstuckinwin i did select the yes box but i still decided to insert modules from the command promt (don't think that would have helped ). Anyway, i did it to satisfy myself.
ifconfig displays only the lo interface. I can also see the card from the network configuration tool but it didn't have an irq set. I tried to assign irq to it but it did not work and don't worry the irq i tried to set was not in conflict.
To the question from finegan i made a link of /lib/modules/2.4.x to /lib/modules/2.4.xnew and kept the old copy as /lib/modules/2.4.xold and only after this i ran both the make modules and make modules_install command. I know the situation is complex. Good luck to both of you in figuring out the problem. wish me luck as well.
Last edited by iquadri1; 01-06-2002 at 11:46 PM.
|
|
|
01-07-2002, 03:21 AM
|
#5
|
Member
Registered: May 2001
Posts: 48
Original Poster
Rep:
|
figured out part of the problem
I had vmware running on my machine which had created a virtual interface with the ip address that i was pinging. When I shutdown vmware, ping to that ip address did not work as expected. But when I checked linuxconf it showed me the card along with its ip address and irq setting thus it was mind boggling. I tried all ifconfig and route commands but I was unable to bring up my eth0 interface. Hope this revelation would help in getting to the bottom of the matter.
|
|
|
01-07-2002, 12:56 PM
|
#6
|
LQ Guru
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700
Rep:
|
Okay, sorry about accusing you of the newbie error there, it just sounded like one. This is now weird. Okay, down to brass tacks: what's the card?, the format (PCI, ISA)?, the output from ifconfig (from the command line), and the output of lsmod (also CL) after a clean boot? Also, how does your machine acquire its external IP? DHCP, PPPoe? Static?
Cheers,
Finegan
Last edited by finegan; 01-07-2002 at 01:07 PM.
|
|
|
01-07-2002, 01:22 PM
|
#7
|
Member
Registered: Mar 2001
Location: Manchester UK
Distribution: Mainly Fedora
Posts: 496
Rep:
|
If you checked yes mot m, its in the kernel from boot, not modular, thus you don't need to load a module. Check /var/log/messages for lines about eth0.
|
|
|
01-08-2002, 06:32 AM
|
#8
|
Member
Registered: May 2001
Posts: 48
Original Poster
Rep:
|
about the card
the card is sis 900 which is built-in. I have also tried using realtek 8139 pci card which also yielded no result. The amazing thing is that both worked just fine before i recompiled the kernel. I had given them static ip addresses. About ifconfig i have already mentioned that it showed only lo interface.
:smash:
Last edited by iquadri1; 01-08-2002 at 06:33 AM.
|
|
|
01-08-2002, 06:58 AM
|
#9
|
Member
Registered: Mar 2001
Location: Manchester UK
Distribution: Mainly Fedora
Posts: 496
Rep:
|
Go through the kernel config again, its really easy to get something wrong-I should know, it usually takes me two or three attempts to get it right
|
|
|
All times are GMT -5. The time now is 07:04 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|