D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

[LUG] Upgrading from kernel 2.2 to 2.4



When I upgraded my laptop from Mandrake 7.2 to Mandrake 8.0, the kernel 
changed from 2.2 to 2.4 and therefore ipchains were replaced by iptables. 
This caused the following error during boot once 8.0 was installed:
> kernel parameters:
> net.ipv4.ip_always_defrag unknown key
> FAILED.
> > Is this due to the presence of Mandrake 7.2 running ipchains before the
> upgrade to 8.0 (which has not had iptables activated yet)?

At the time, Simon answered:

> I really ought to know this one but I'm not 100% up with kernel
> 2.4 yet. 

> The following netfilter doc suggests that ip_always_defrag is
obseleted by netfilter (The ipchains replacement).
> http://www.cs.princeton.edu/~jns/security/iptables/
> I think you usually see the error with 2.2 kernels when you
> don't have ip masquerading in the kernels.

I'm now ready to upgrade the main workstation from 7.2 to 8.1 but I want to 
prevent this error message coming up. How do I tell what state ipchains are 
in at the moment? How do I prevent the problem when the kernel is updated? I 
can't go for a full install - I can't face restoring my files from backups, 
it'd take too long - so how do I pre-empt the error?

The workstation currently uses another machine as the default gateway and has 
routing enabled. IPv4 is listed as a start-up script, but is not active on 
this box. (Yet it does show up in the boot-sequence, so maybe it's active? I 
can't find it in ps -ax) 

/etc/init.d/ipchains refers to /etc/sysconfig/ipchains but that doesn't 
exist. ipchains -L returns:
Chain input (policy ACCEPT):
Chain forward (policy ACCEPT):
Chain output (policy ACCEPT): 
(The firewall is on a different machine which needs to be wiped anyway - it's 
the one that needs two partitions merged that I referred to in an earlier 
post.)

DrakConf refers to Internet Connection Sharing as configured but disabled. 
This harks back to previous experiments in getting the LAN connected via ppp. 
Does this involve ipchains too?

Just where are kernel parameters loaded from at boot time anyway?

I can't test methods to resolve the error after install because I've since 
installed Mandrake 8.1 on the laptop as a clean install. (With it's own 
problems - it's stopped mounting the CD at boot and doesn't recognise audio 
CD's at all. The /dev/cdrom link refers to broken symlinks and fstab loads 
/mnt/cdrom from /dev/hdc with specific switches for the filesystem to expect. 
Do others have this setup in Mandrake 8.1?)


-- 

Neil Williams
#-#-#-#-#-#-#-#-#
linux@xxxxxxxxxxxxxx
neil@xxxxxxxxxxxxxx
neil@xxxxxxxxxxxx
www.codehelp.co.uk


--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.


Lynx friendly