Linux - NewbieThis 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
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.
Start with saying Y to your IDE controller and DMA
Include IDE/ATA-2 DISK support =Y
Use multi-mode by default = Y
Generic PCI bus-master DMA support = Y
VIA82CXXX chipset support = Y
The other drivers in this sub section can be modules or N
For your network controller
VIA Rhine support = Y
and if there are any others you may likely use, make modules, otherwise N
For Netfilter Configuration
I make most things = Y
but for the moment, I suggest make modules.
I use = N for ARP tables, ipchains and ipfwadm
In Networking Options, I disable IPV6 and anything else I'm not going to use
For speed in compiling, and coz it's a server, it doesn't use USB, sound, or anything fancy for graphics.
Nothing like that works over ssh anyway..
In Cryptographic options, I say Y to MD5, AES, SHA1, DES/3DES
These are all commonly used with ssh, shadow passwords and SSL
You can make the rest modules..
The rest of the configuration is as you would normally do.
I don't make a bzImage coz there's no trouble with disk space, so I just
make && make modules && make install && make modules_install
then adjust /etc/lilo.conf
OK...
IDE
multi-mode by default is currently not selected - I add it...
others are already built-in (+AMD & Nvidia support, generic PCI bus-master DMA, PROMISE PDC202 support, PNP EIDE, PC IDE chipset, Sharing PCI IDE interrupts, Boot off-board chipsets 1st)
Networking
VIA Rhine is allready included
Netfilter is a Y but all the IPtables options (or a bunch of them anyhow) are modules...
...think i can safely turn off acorn econet networking (but i'll leave other selected stuff on)
all ok until cryptographic options - the only option within that is cryptographic api which is off; so i switch it on and lo! all the aforesaid options become available to me (I notice that on my other 2.4 kernel server, this option is off also, but ssh works OK hmmm)...
ok kernel saved...
should i do a
make dep
...before i then do
make
make modules
make install
make modules_install
? does the new kernel automatically get installed then and the 2.6.6 one that we were setting up before get uninstalled? or is there anything else i gotta do (sorry for being nervous). Before when i have done this i did:
make dep
make-kpkg clean
fakeroot make-kpkg --revision=custom.1.0 kernel_image
dpkg -i kernel-image-2.4.23_custom.1.0_i386.deb
--- multi-mode by default is currently not selected - I add it... ---
Debian by default makes you use hdparm to setup disks.
I find this auto function much better if the IDE driver is compiled in..
--- others are already built-in (+AMD & Nvidia support, generic PCI bus-master DMA, PROMISE PDC202 support, PNP EIDE, PC IDE chipset, Sharing PCI IDE interrupts, Boot off-board chipsets 1st) ---
According to lspci, you have a VGA compatible controller: VIA Technologies, Inc. VT8378 [S3 UniChrome] Integrated Video (rev 01) not nvidia device.. So it can be removed. The standard vga driver works fine if no-one logs on via a keyboard and monitor..
The PROMISE PDC202 can also go, just have the via-rhine compiled in.
Boot off-board chipsets 1st is a dangerous option coz everything is on the motherboard, rather than on cards.. slows the boot down.
--- Netfilter is a Y but all the IPtables options (or a bunch of them anyhow) are modules. ---
Cool..
--- ok kernel saved...should i do a make dep ...before i then do make make modules make install make modules_install ---
The make dep is part of the first make now, for the 2.6 series..
So make also does the kernel and modules..
So you can do make && make install && make modules_install
The make install will put the kernel into /boot and adjust the symlinks, and if /etc/lilo.conf is an original, will ask to run lilo to read the new kernel and System.map..
These need to be confirmed before rebooting tho'.. checking symlinks etc..
For iptables, if you have already done a make install, please do {b] ./configure --help[/b] to get the locations of the executables.
If you have removed ipv6 support from the kernel, you can also add an option to not build support into iptables..
Then do as you did earlier and make new libraries and executables.
Then check /etc/init.d/iptables and make sure the correct locations of the executables are listed
When iptables is updated by apt-get upgrade, it won't overwrite the custom version, but will ask about replacing the modified /etc/init.d/iptables startup script. If you uninstall the iptables package, copy the /etc/init.d script first..
Please send me your email address via the email button at the bottom of the posts.
I would like to see the finished .config file and the /etc/init.d/iptables files.
I am told they are quite different in sarge from woody..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.