Dual Proccessors (and a quick question about dhcpd)
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Dual Proccessors (and a quick question about dhcpd)
I've recently got a hold of an old server which is a dual celeron 533. Just wondering if anyone could help me out (or point me to a guide) that will help me unleash the second cpu, i think it involves messing with the kernel which i have never done.
As for the dhcpd question, i was just wondering how you go about telling it to assign ips from different pools on different interfaces eg eth1 192.168.1.20-30, eth2 192.168.1.50-60 etc.
Usually the installer these days are smart enough to install a right kernel for your daul processors machine (At least in Fedora the installer always get it right)
Try
Code:
uname -a
and see if the kernel version has "smp" in the name or not. If yes, the kernel can already take advantage of the dual CPU.
OK. Since I am not using your distro, so I draw my experience form Fedora. i.e. they may well be Fedora specific
If a smp-enabled kernel is not installed by default, I can download a smp-enabled kernel package form the RPMS depository. For exampe, this rpm
Then use rpm to install it. A new kernel is now available for selection at boot time in grub (the boot loader)
So, in your case, it should be similar, but you may use apt instead of rpm and lilo instead of grub.
ahwkong that unfortunatly won't be that easy in Slackware since it doesn't uses/like RPM or DEB packages, and I think that compiling a kernel from source would be the best alternative for him (also, I think that there are not smp-enabled precompiled kernels for Slackware).
Compiling your own kernel is not hard. The option you need is: Processor type and features-> Symmetric multi-processing support (this is on the 2.6.5 kernel; it should be very similar on other kernel versions).
I haven't done much kernel compiling, and am not a good reference yet. I can tell that it is not nearly as scary as I thought it would be. In choosing kernel options, I prefer the "make menuconfig" command. There are plenty of good instructions on how to do this, so I won't bother giving you any bad ones
They should be sufficient, but if you need extra help, this forum is excellent to provide that
The two things that go "wrong" when you compile a kernel (from what I've seen here, there are a lot of posts about this) is related to sound and console framebuffer, but they're not critical, getting a running kernel isn't hard.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.