LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-28-2005, 10:07 PM   #1
lonelyghost317
LQ Newbie
 
Registered: May 2005
Posts: 13

Rep: Reputation: 0
Can't connect to Internet after kernel update!


My system is Redhat9.I have successfully updated the kernel to 2.6.11.6.But now the iptables does not work in my new kernel. I modified my /etc/rc.d/rc.sysinit.
Change
if ! LC_ALL=C grep -iq nomodules /proc/cmdline 2>/dev/null && [ -f /proc/ksyms ]; then
USEMODULES=y
fi

to

if [ ${KVERSION} == "2.6" ]; then

if ! LC_ALL=C grep -iq nomodules /proc/cmdline 2>/dev/null && [ -f /proc/kallsyms ]; then
USEMODULES=y
fi

else

if ! LC_ALL=C grep -iq nomodules /proc/cmdline 2>/dev/null && [ -f /proc/ksyms ]; then
USEMODULES=y
fi

fi

And I reboot and find the iptables works fine.But there come a new problem.
I can't connect to net.Before I change the /etc/rc.d/rc.sysinit,I can connect to net.
And the redhat-config-netword tell me that :
redhat-config-network:
eth0 has an alias to module r8169 in modules.conf,
instead of currently loaded module eth1394!
And when i reboot or shutdown computer,I see a error"Device eth0 has different MAC than expected"

How can i solve these problems?Can anybody help me?
I am hopeless!
 
Old 06-28-2005, 11:18 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,131

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Do you have the correct module for your card inserted into the kernel? What does lsmod have to say? The 2.6 kernels use different module utilities, so hopefully you updated them too (I'm not sure of the consequences if you didn't -- things like modprobe and lsmod probably just wouldn't work).
 
Old 06-29-2005, 03:11 AM   #3
lonelyghost317
LQ Newbie
 
Registered: May 2005
Posts: 13

Original Poster
Rep: Reputation: 0
btmiller,thank you for you reply.
If i don't modify the /etc/rc.d/rc.sysinit,lsmod's result contain the module r8169.But when after i modify the file,lsmod's result didn't contain the module r8169.
It seems that the kernel load the module eth1394 for the net card.
How can i get the kernel load the module r8169 for the net card when booting??

Last edited by lonelyghost317; 06-29-2005 at 03:14 AM.
 
Old 07-04-2005, 08:02 PM   #4
lonelyghost317
LQ Newbie
 
Registered: May 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Nobody know the solution of the question?
How can i specify the net card load the module i want it to load?
 
Old 07-04-2005, 09:52 PM   #5
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,131

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Try doing it by hand:

modprobe r8169

then see if eth0 shows up in ifconfig. If not, compile the r8169 as a module (or just compile it into the kernel).
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with NVIDIA drivers after kernel update with yast online update Sheytan Linux - Software 4 05-06-2007 10:27 AM
Problems with NVIDIA drivers after kernel update with yast online update Sheytan Linux - Distributions 0 10-13-2004 11:01 AM
Unable to connect to internet after installing kernel 2.6.3 abefroman Mandriva 5 03-03-2004 04:31 PM
can't connect to the internet:linux dont read my internet address droplsh Linux - General 1 02-29-2004 07:32 PM
Can connect broadband but can't connect Internet satimis Linux - Networking 4 01-31-2004 07:58 PM


All times are GMT -5. The time now is 09:08 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration