Networking Forums

Networking Forums > Computer Networking > Linux Networking > Linux kernel 2.4.21 problem?

Reply
Thread Tools Display Modes

Linux kernel 2.4.21 problem?

 
 
Praveen Sharma
Guest
Posts: n/a

 
      07-10-2003, 03:42 PM
I am having a cable connection and a linux server as router/server with two
eth cards, where i have MS-Windows machine connected on private
(192.168.1.x) network.
Currently the linux machine is running 2.4.20 kernel with firewall rules for
masq. Everythg works well where i can access internet from my MS Windows
machine etc. until recently when I upgraded my linux machine with 2.4.21
kernel and i found that MS-windows m/c unable to access the internet any
more. I didn't make any changes to firewall rules neither much changes to
/usr/src/linux/.config while building 2.4.21 kernel (new additions were
AMANDA and TFTP modules) wrt 2.4.20 /usr/src/linux/.config file.


Has anyone else observed this kind of issue with kernel 2.4.21?
Comments/suggestions.

Thanks
Praveen


 
Reply With Quote
 
 
 
 
/dev/rob0
Guest
Posts: n/a

 
      07-10-2003, 05:23 PM
In article <(E-Mail Removed)>, Praveen Sharma wrote:
> masq. Everythg works well where i can access internet from my MS Windows
> machine etc. until recently when I upgraded my linux machine with 2.4.21
> kernel and i found that MS-windows m/c unable to access the internet any
> more. I didn't make any changes to firewall rules neither much changes to
> /usr/src/linux/.config while building 2.4.21 kernel (new additions were
> AMANDA and TFTP modules) wrt 2.4.20 /usr/src/linux/.config file.


How much experience do you have in configuring / compiling kernels? Was
the 2.4.20 a custom kernel you configured, or did it come from your
distro? Was the .config file from the previously-running 2.4.20 kernel,
or was it generated from the 2.4.21 defaults?

I suspect a misconfigured kernel. If you're right, and you did all of it
correctly, I would suggest that you back up the .config file, run "make
mrproper", restore the .config file, and run "make oldconfig dep bzImage
modules". Then install the kernel and modules, reboot, et c.

If that fails, this is an issue for the LKML.
--
/dev/rob0 - preferred_email=i$((28*28+28))@softhome.net
or put "not-spam" or "/dev/rob0" in Subject header to reply
 
Reply With Quote
 
Praveen Sharma
Guest
Posts: n/a

 
      07-10-2003, 08:22 PM

"/dev/rob0" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> In article <(E-Mail Removed)>, Praveen Sharma wrote:
> > masq. Everythg works well where i can access internet from my MS Windows
> > machine etc. until recently when I upgraded my linux machine with 2.4.21
> > kernel and i found that MS-windows m/c unable to access the internet any
> > more. I didn't make any changes to firewall rules neither much changes

to
> > /usr/src/linux/.config while building 2.4.21 kernel (new additions were
> > AMANDA and TFTP modules) wrt 2.4.20 /usr/src/linux/.config file.

>
> How much experience do you have in configuring / compiling kernels? Was
> the 2.4.20 a custom kernel you configured, or did it come from your
> distro? Was the .config file from the previously-running 2.4.20 kernel,
> or was it generated from the 2.4.21 defaults?
>

Well, i have been compiling kernels for last 12 years. The 2.4.20 kernel was
configured with default settings. The .config file was from the previously
running 2.4.20 kernel and I added 'amanda + tftp' modules for 2.4.21 kernel
configuration.
When I boot with 2.4.21 build kernel, it boots up with no errors, and I can
ping to the internet as well as samba mount disks from the MS-windows
machines (on intranet). The intranet machines can ping the linux server, but
internet is unreachable.

Looking forward to comments/suggestions.
Thanks
Praveen

> I suspect a misconfigured kernel. If you're right, and you did all of it
> correctly, I would suggest that you back up the .config file, run "make
> mrproper", restore the .config file, and run "make oldconfig dep bzImage
> modules". Then install the kernel and modules, reboot, et c.
>
> If that fails, this is an issue for the LKML.
> --
> /dev/rob0 - preferred_email=i$((28*28+28))@softhome.net
> or put "not-spam" or "/dev/rob0" in Subject header to reply



 
Reply With Quote
 
/dev/rob0
Guest
Posts: n/a

 
      07-10-2003, 09:55 PM
In article <JP-(E-Mail Removed)>, Praveen Sharma wrote:
> Well, i have been compiling kernels for last 12 years. The 2.4.20 kernel was


Please forgive me: I don't mean to be rude, but this is surprising,
because in that amount of time I would have expected better
troubleshooting skills to have developed. You are NOT a newbie, but
these posts make you sound like one.

> Looking forward to comments/suggestions.


1. Are your netfilter drivers built as modules? Are they loaded?
2. "iptables-save"? Are the NAT rules correct?
3. Are the clients using DHCP? Is the correct routing being assigned?
Rule out other DHCP-related issues? DNS? Can they ping outside IP's?
4. Did you look around in /proc? /proc/sys? /proc/net?
"echo 1 > /proc/sys/net/ipv4/ip_forward"?
5. Did you try something like ethereal or tcpdump to see what happens?
--
/dev/rob0 - preferred_email=i$((28*28+28))@softhome.net
or put "not-spam" or "/dev/rob0" in Subject header to reply
 
Reply With Quote
 
Timothy Murphy
Guest
Posts: n/a

 
      07-10-2003, 10:29 PM
/dev/rob0 wrote:

> Please forgive me: I don't mean to be rude, but this is surprising,
> because in that amount of time I would have expected better
> troubleshooting skills to have developed. You are NOT a newbie, but
> these posts make you sound like one.


This seems a bit unfair.
As I understood it, he used the same .config file for 2.4.21
as for 2.4.20 and networking didn't work properly.
It seems to me perfectly reasonable to ask if anyone has any suggestions.

I was just looking at my config files for 2.4.20 and 2.4.21
and I don't see any relevant changes.

If you can communicate with local machines,
then the problem must be in the routing,
or possibly in nat/iptables.

What does "route" say,
and what is the output of lsmod --
can you compare them with the outputs in 2.4.20 ?


--
Timothy Murphy
e-mail: (E-Mail Removed)
tel: +353-86-233 6090
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Kernel 2.6.15-7 Jason Linux Networking 1 06-30-2006 10:48 PM
nat in linux kernel Giacomo Linux Networking 10 07-04-2005 08:43 PM
Is there any Linux Distri available to run several instances of Linux Kernel?. GS Linux Networking 5 05-20-2005 11:18 AM
problem connecting kernel linux with earthlink DSL ZaK Linux Networking 6 08-02-2004 07:12 PM
Problem with networking - I am using RedHat 9 Linux kernel 2.4 Graham Jones Linux Networking 1 07-29-2003 01:13 PM



1 2 3 4 5 6 7 8 9 10 11