[SWLUG] First real post
Foeh Mannay
foeh.mannay at ntlworld.com
Sun Feb 29 14:52:00 UTC 2004
On 02/29/04 14:00:43, Daniel T. Morgan wrote:
> Hey all,
Hi
> I'm presuming that I just need to add the lines:
>
> deb http://www.mirror.ac.uk/sites/ftp.debian.org/debian/ testing main
> deb-src http://www.mirror.ac.uk/sites/ftp.debian.org/debian/ testing
> main
>
> And then running apt-get update (correct me if I'm wrong), and away
> to go.
I've personally run into problems doing this in the past - I think I
managed to have two unstable branches listed and one stable, which
kicked up a hell of a row about dependancies, so I now have just the
unstable ones in there. I think you can comment the stable ones out if
you're worried.
When I had both in there I asked it to install something which updated
a library that KDE depended on, so it cheerfully uninstalled KDE and
all its apps, updated the library then noticed there were unmet
dependancies (nice time to check) and refused to reinstall anything. So
I try to keep my sources list as clean as possible nowadays.
> Now presuming I'm correct in this do I need to uninstall the older
> version first, as I have no intentions of running both versions side
> by side.
Someone may correct me but I think if you installed the original
version with apt-get then it will do all the cleaning up for you when
you tell it to install the new version.
> b0c:/var/www/admin# iptables -L
> modprobe: Can't locate module ip_tables
> iptables v1.2.6a: can't initialize iptables table `filter': iptables
> who?
> (do you need to insmod?)
> Perhaps iptables or your kernel needs to be upgraded.
> b0c:/var/www/admin#
I had the same thing when I first installed debian. Not sure why it
didn't come with the support ready to rock, but hey...
I ended up apt-get installing the kernel sources package for 2.4.
something and compiling from scratch - it's simple enough but it took
me about 6 attempts before I arrived at a kernel that didn't have
something missing (between my TV card, sound card, iptables support,
usb support, ppp....) so I'd make sure if you do go for it that you
make sure you include everything you have. Probably not such an issue
for a router as it was for my desktop & router setup here.
I can't remember where I found the howto - possibly tldp.org - though I
remember being talked through it on the #swlug channel on irc.freenode.
net the one time as I was trying to do something obscure with the last
rebuild. The instructions I got then (thanks dwd & Kneecaps) were
essentially along the lines of untarring the kernel source, cd-ing to
the directory, then running:
make xconfig [select everything you need here]
make dep && make bzlilo modules
make install modules_install
lilo
reboot
It worked for me, and I use iptables. Webmin is great for setting up
the rules too... all the functionality with none of the syntax :o)
I'm not the most knowlegable guy here so you may want to see what other
people make of this post... but I'm pretty sure it's accurate.
Best of luck with it, anyway!
Foeh
More information about the Swlug
mailing list