LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-19-2002, 02:17 AM   #1
katana
Member
 
Registered: Jun 2001
Posts: 100

Rep: Reputation: 15
Question Strange network problem after compiling new kernel..


hi everybody,
Recently I upgraded my Redhat 7.0 kernel into kernel version 2.4.4...when I compiled this new kernel, there was no errors, and sure enough, when I ran it, it worked fine. Everything's detected, including my ethernet card, and i could connect it to network and browse the net. This RedHat is installed on my laptop, dualboot with my Win2k.

After rebooting once again, I ran into a problem. Before rebooting, I've configured the eth0 interface and gave it an ip and everything, like i said it could connect to the LAN in the office here, and I could go on the net. But after rebooting, even though the ip remains the same, I found out that I couldnt get on the network (LAN) and i sure couldnt connect to the net anymore. I checked the /etc/hosts file, everything looks to be right, then i checked my network configuration using linuxconf. Nothing wrong there too. Hmm...then using linuxconf, I changed the ip to another unused one on the network, then changed the eth0 interface using ifconfig, so that it could use the new ip. Then i tried accessing the network again. Success!

OK..i tried rebooting again..and got the same problem! This time, I changed again to the old ip, basically repeating the steps that I took earlier...only this time it took several ip changes, ifconfig changes for it to work. And this happens everytime i reboot , or after i used my win2k partition and then get back to linux. In win2k, nothing of the sort happens, i can always connect to network and all. So what's the deal here? Did i accidentally left out some vital part that causes this to happen? Please help..

Thanks, sorry that was a bit lengthy :P
Suzana
 
Old 12-19-2002, 10:51 AM   #2
SlickWilly
Member
 
Registered: Dec 2002
Posts: 327

Rep: Reputation: 30
Try the following :

1) start machine
2) watch for 'bringing up interfaces -- eth0
3) ifconfig -a
That should list all your interfaces, their IP's and wether they're up or down.
4) If up, ping something.
5) If down,
ifup eth0
where eth0 is the name of your network interface.

6) If there's a problem it should tell you.
7) If there's no problem your network startup scripts are probably not running, or barfing somewhere. (But I'd imagine you'd see a nasty red line in your startup if that were the case).

Slick.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
very strange network problem. bruse Linux - Networking 12 09-28-2005 08:45 AM
Strange problems after compiling kernel (SuSE 9.1) Mikessu Linux - General 0 05-22-2004 05:19 PM
strange network problem kmoallem *BSD 3 02-04-2003 01:54 PM
Strange network problem shchuka Linux - Networking 5 06-13-2002 05:26 AM
Strange Network Problem syxxpac023 Linux - Networking 2 03-29-2002 06:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration