[gentoo-user] Firewall recommendations
Hey again everyone, Still new when it comes to Gentoo and so I'm stuck when it comes to picking a firewall to use. I know that most (if not all) of them just use iptables to block/allow stuff but I like the simplicity of having it do it automatically. Anyway, I've been using APF on CentOS which worked great. Setting it up couldn't have been easier. Unfortunately it doesn't seem to want to play nicely with Gentoo. So now I'm looking for a new firewall. I tried Shorewall but it seems a little too complicated to set up. Is there something as simple as APF that works with Gentoo? Thanks in advance for anyones recommendations. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Firewall recommendations
Thanks for your responses guys. I'm in the process of emerging firestarter right now. Hopefully this one works out Mike Williams wrote: On Monday 04 December 2006 14:55, Jon M wrote: Still new when it comes to Gentoo and so I'm stuck when it comes to picking a firewall to use. I know that most (if not all) of them just use iptables to block/allow stuff but I like the simplicity of having it do it automatically. iptables is *the* firewall for linux. Anyway, I've been using APF on CentOS which worked great. Setting it up couldn't have been easier. Unfortunately it doesn't seem to want to play nicely with Gentoo. So now I'm looking for a new firewall. I tried Shorewall but it seems a little too complicated to set up. Is there something as simple as APF that works with Gentoo? I don't know what APF is. But, if you want a GUI, try fwbuilder. Or, emerge -S iptables, there are loads of others. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Recommendation on how to format my new drive
Cooper Bug wrote: Hello gentooers, I have a new 60 GB drive which I want to put gentoo on. This will be a dual boot system. For now, I can only think to give 10GB to windows, all other space for gentoo. Please share your instights how many partinions do I have to do, what sizes. I would value all the input. Thanks a lot. Boris. Hi Boris, Really it's up to you. It all depends on what you plan on doing with each partition. If you plan on using Gentoo primarily, then you'd probably want to give a bigger partition for Gentoo. Or if you plan on using Windows more, then give more to Windows. Just make sure you have enough space for any apps you might want to install for each OS in the future. Nothing worse than being 100mb short of space on an install :) -- Jon -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Install Gentoo on one machine, then move the drive to another
Mark M wrote: On 11/16/06, *Alan McKinnon* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: On Thursday 16 November 2006 01:00, Mark M wrote: Hi all, Pentium D is actually an emt64 dual core cpu, so while CFLAGS -march=pentium4 will work, it will be x86-32 instead of x86-64 and of course the compiled apps won't know nothing about the dual core (read almost dual CPU), still it will run, and it will run fast, you may want to recompile the kernel on the data center with vSMP option set, so at least the kernel will know how to manage multithreads between two cores. In that case he should be cross-compiling with a CHOST set for the PentiumD, not so? alan -- gentoo-user@gentoo.org mailto:gentoo-user@gentoo.org mailing list Yes, he can do so, but he won't be able to test run his apps. And judging from my experience there isn't much difference between apps compiled for x86-32 or x86-64, however compiling the kernel for right cpu speed up things, especially multithreaded. Hi Mark, I actually wasn't planning on using 64bit anyway I'm wondering if I should set my CFLAGS to -march=x86-32 or leave it as -march=pentium4? Are they essentially the same? I already took your previous suggestion and enabled vSMP support, though I haven't moved the drive to it's new home as of yet. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Install Gentoo on one machine, then move the drive to another
Geistteufel wrote: Hi Mark, I actually wasn't planning on using 64bit anyway I'm wondering if I should set my CFLAGS to -march=x86-32 or leave it as -march=pentium4? Are they essentially the same? I already took your previous suggestion and enabled vSMP support, though I haven't moved the drive to it's new home as of yet. Did your actual system install on your Pentium D is in 64 bits ? The OS is installed on a regular Pentium 4 (32bit), but will be installed on a Pentium D that can run 64bit, but will be sticking with 32bit. Is that what you wanted to know? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Install Gentoo on one machine, then move the drive to another
Mark M wrote: Hi Mark, I actually wasn't planning on using 64bit anyway I'm wondering if I should set my CFLAGS to -march=x86-32 or leave it as -march=pentium4? Are they essentially the same? I already took your previous suggestion and enabled vSMP support, though I haven't moved the drive to it's new home as of yet. -- gentoo-user@gentoo.org mailto:gentoo-user@gentoo.org mailing list x86-32 will be the lowest common settings for all 32bit cpus. so pentium4 is the setting I believe you should use. I can tell you from my experience, since I use PentiumD cpu, that recompiling with -march=prescott gave me better performance then -marh=x86-32, especially in disk intensive and multimedia applications, such as video encoding and large database access. Hi Mark, Thanks for the tip! I'll be sure to switch my CFLAGS to that. I might as well make the system run as fast as it possibly can. What did you set your MAKEOPTS to? I was thinking -j3 because of the two cores plus one. Did you do the same? -- gentoo-user@gentoo.org mailing list
[gentoo-user] Install Gentoo on one machine, then move the drive to another
Hey again everyone, Here is my situation: I have CentOS running on a system in a datacenter, but want to switch to Gentoo. Basically what I've started to do is installed Gentoo on a P4 3.0Ghz machine at home, and plan on moving it to a Pentium D 2.66Ghz. Now if I configure/compile/install all my software on the P4, and the kernel is configured for all the hardware in the other machine, will it magically work, or will it freak out? My other concern is that maybe the applications won't be optimized for the other machine. If this is the case, once it's down there, could I simply emerge all of my programs one at a time? My reason for doing this is to minimize downtime. I didn't want to take the server offline for a week while I take my time configuring a new setup. This way it should only be down for maybe 5 minutes while I do a hard drive swap. Thanks in advance for anyones thoughts on this. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] sshd issues
Mick wrote: On Wednesday 15 November 2006 03:08, Jon M wrote: Ohh okay that makes sense. For everyones information, I got it to work properly. First of all, I'm an idiot and was edited /etc/ssh/ssh_config, not /etc/ssh/sshD_config :P Secondly, I had to enable PasswordAuthentication yes as well as ChallengeResponseAuthentication no How does ChallengeResponseAuthentication affect matters? Hi Mick, I'm not sure, however when ChallengeResponseAuthentication is set to yes it still would go into keyboard interactive mode. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Grub problem. Gentoo doesn't boot. VFS Cannot start...
Hi Isern, I actually have the exact same problem, and someone was kind enough to help me so I'll pass on the same info. Basically my problem was that I hadn't enabled the proper IDE Chipset (or SCSI if you use S-ATA) in the kernel. When I booted off my Gentoo install cd, I can 'lspci -v' which showed me what type of chipset I was looking for to enable in the kernel. Give that a try and it should solve your problem. Isern Palaus Montasell wrote: Hello all, This is the first time I install Gentoo Linux. This is my grub.conf file: default 0 timeout 10 splashimage=(hd0,2)/boot/grub/splash.xpm.gz title=Gentoo Linux 2.6.18-r2 root (hd0,2) kernel /boot/kernel-2.6.18-gentoo-r2 root=/dev/hda4 title=Gentoo Linux 2.6.18 (Rescate) root (hd0,2) kernel /boot/kernel-2.6.18-gentoo-r2 root=/dev/hda4 init=/bin/bb boot #Windows XP Profesional title=Windows XP Profesional rootnoverify (hd0,0) chainloader +1 Windows XP boots well but Gentoo Linux no. Start booting but prints this: [...] VFS: Cannot opent root device hda4 or unknow-block(0,0) Please append a correct root= boot option. Kernel panic - not syncing: VFS: Unable to mount root fs or unknow-block(0,0) 6 Time: tsc clocksource has been installed. I don't know where is the problem, here is my /etc/fstab file configuration: # /etc/fstab: static file system information. # # noatime turns off atimes for increased performance (atimes normally aren't # needed; notail increases performance of ReiserFS (at the expense of storage # efficiency). It's safe to drop the noatime options if you want and to # switch between notail / tail freely. # # The root filesystem should have a pass number of either 0 or 1. # All other filesystems should have a pass number of 0 or greater than 1. # # See the manpage fstab(5) for more information. # # fs mountpointtype opts dump/pass # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts. /dev/hda3 /boot ext2 noauto,noatime 1 2 /dev/hda4 / ext3 noatime 0 1 /dev/hda7 noneswap sw 0 0 /dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0 #/dev/fd0 /mnt/floppy auto noauto 0 0 # NOTE: The next line is critical for boot! proc/proc proc defaults0 0 # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for # POSIX shared memory (shm_open, shm_unlink). # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will # use almost no memory if not populated with files) shm /dev/shmtmpfs nodev,nosuid,noexec 0 0 /dev/hda1 is a Windows Partition /dev/hda3 is a Linux Partition for boot /dev/hda4 is a Linux Partition for root /dev/hda4 is a Linux Partition for swap. Thanks in advance and sorry for my school English. See you, -- Isern Palaus -- gentoo-user@gentoo.org mailing list
[gentoo-user] sshd issues
Hey all, I've been using other distributions for a while (CentOS, Slackware, Red Hat, etc) and finally switching to Gentoo, however this oddness with SSH is getting to me. It seems when I SSH into my machine it uses keyboard interative mode, where as I'm used to every other distro using just password mode I think it is. I'm wondering if there is any way to change this. I tried comparing /etc/ssh/ssh_config between my CentOS machine and my Gentoo machine, and both files are pretty much the same, and everything is commented out anyway. Any light someone could shed on this would be much appreciated. Thanks in advance! -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] sshd issues
Hi Daevid, I tried playing around with some options in there and didn't seem to do much, but not sure if I tried changing that specifically. I do have a question though.. My ssh_config looks something along the lines of this: # Host * #PasswordAuthentication yes My question is, should they actually have # symbols in front as if they're commented out? My gut is telling me no.. Thanks again Daevid Vincent wrote: Change/Add this: PasswordAuthentication yes In /etc/ssh/sshd_config DÆVID -Original Message- From: Jon M [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 14, 2006 6:04 PM To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] sshd issues Hey all, I've been using other distributions for a while (CentOS, Slackware, Red Hat, etc) and finally switching to Gentoo, however this oddness with SSH is getting to me. It seems when I SSH into my machine it uses keyboard interative mode, where as I'm used to every other distro using just password mode I think it is. I'm wondering if there is any way to change this. I tried comparing /etc/ssh/ssh_config between my CentOS machine and my Gentoo machine, and both files are pretty much the same, and everything is commented out anyway. Any light someone could shed on this would be much appreciated. Thanks in advance! -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] sshd issues
Ohh okay that makes sense. For everyones information, I got it to work properly. First of all, I'm an idiot and was edited /etc/ssh/ssh_config, not /etc/ssh/sshD_config :P Secondly, I had to enable PasswordAuthentication yes as well as ChallengeResponseAuthentication no This works perfectly now. Thanks again everyone, sorry for wasting your time. [EMAIL PROTECTED] wrote: I think that tells you that this is the default setting if you don't change it. From: Jon M [EMAIL PROTECTED] Date: 2006/11/14 Tue PM 09:35:13 EST To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] sshd issues Hi Daevid, I tried playing around with some options in there and didn't seem to do much, but not sure if I tried changing that specifically. I do have a question though.. My ssh_config looks something along the lines of this: # Host * #PasswordAuthentication yes My question is, should they actually have # symbols in front as if they're commented out? My gut is telling me no.. Thanks again Daevid Vincent wrote: Change/Add this: PasswordAuthentication yes In /etc/ssh/sshd_config DÆVID -Original Message- From: Jon M [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 14, 2006 6:04 PM To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] sshd issues Hey all, I've been using other distributions for a while (CentOS, Slackware, Red Hat, etc) and finally switching to Gentoo, however this oddness with SSH is getting to me. It seems when I SSH into my machine it uses keyboard interative mode, where as I'm used to every other distro using just password mode I think it is. I'm wondering if there is any way to change this. I tried comparing /etc/ssh/ssh_config between my CentOS machine and my Gentoo machine, and both files are pretty much the same, and everything is commented out anyway. Any light someone could shed on this would be much appreciated. Thanks in advance! -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] New to Gentoo. Having trouble getting it started for the first time
Rafael Barrera Oro wrote: Hello! here is my grub.conf in order to compare, the only thing that i notice is missing is the initrd line, i am no Linux expert either so maybe that is not a must have. Anyway, my machine works, so i hope you can comparte this file to yours and find out whats missing, hope it helps. default 0 timeout 30 splashimage=(hd0,0)/grub/splash.xpm.gz title=Gentoo Linux root (hd0,0) kernel /kernel-genkernel-x86_64-2.6.17-gentoo-r5 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 initrd /initramfs-genkernel-x86_64-2.6.17-gentoo-r5 Hi Rafael, Thanks for your reply :) I actually managed to get it up and running. Turns out my grub.conf was good, but was missing my IDE chipset in the kernel. With a bit of playing around I managed to get it up and running. Thanks again for trying to help though, I appreciate it! -- gentoo-user@gentoo.org mailing list
[gentoo-user] New to Gentoo. Having trouble getting it started for the first time
Hey everyone, I'm new to Gentoo, but not to Linux. For some reason I seem to be struggling to get it booted after installing. Basically my setup is I have 3 partitions as follows: /dev/hda1 (32MB EXT3) used as /boot. /dev/hda2 (512MB) for swap, and the rest is on /dev/hda3 (ReiserFS). The contents of my /boot/grub/grub.conf is as follows: default 0 timeout 30 splashimage=(hd0,0)/boot/grub/splash.xpm.gz title=Gentoo Linux 2.6.17-r8 root (hd0,0) kernel /kernel-2.6.17-gentoo-r8 root=/dev/hda3 Everything look normal so far? Well when I reboot, and select Gentoo on the GRUB list, it starts to load and then I get the following error: VFS: Cannot open root device hda3 or unknown-block(0,0) Please append a correct root= boot option Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) Any help anyone could provide would be greatly appreciated! Thanks in advance! -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] New to Gentoo. Having trouble getting it started for the first time
Richard Fish wrote: On 11/10/06, Jon M [EMAIL PROTECTED] wrote: The contents of my /boot/grub/grub.conf is as follows: [snip] Everything look normal so far? Yep. VFS: Cannot open root device hda3 or unknown-block(0,0) This is not a problem with your grub configuration. The unknown-block(0,0) tells me that the kernel cannot find a device for hda3. You probably missed either the device driver needed for your IDE chipset, or IDE hard drive support in your kernel configuration. If you need help figuring out what you need here, post the outputs of: grep -v -e ^# -e ^$ /usr/src/linux/.config lspci -v HTH, -Richard Hi Richard, I think you are correct. I just scanned through the output of those two commands and I believe I may have missed the IDE chipset. I'm going to try enabling it and see if that helps. As for the other two responses, I did compile ReiserFS directly into the kernel, and also tried changing the kernel line in grub.conf to read kernel (hd0,0)/kernel-2.6.17-gentoo-r8 root=/dev/hda3 with little success. Hopefully this will work though. Thanks again! -- gentoo-user@gentoo.org mailing list