LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 02-29-2004, 11:39 AM   #1
barelurker
Member
 
Registered: Feb 2004
Posts: 50

Rep: Reputation: 15
Thumbs up Understanding Linux goodies


Just installed RedHat 9,
couple of things want to know.

How do you set up a firewall? (in windows I have zonealarm)
can I use zonealarm?

How do you setup Antivirus (Mcafee live scan) in Redhat 9 ?
 
Old 02-29-2004, 11:54 AM   #2
Spasmolytic
Member
 
Registered: Sep 2003
Location: Chicago, IL
Distribution: Slackware 10
Posts: 72

Rep: Reputation: 15
here's a nice, simple firewall with a GUI
http://firestarter.sourceforge.net
 
Old 02-29-2004, 11:54 AM   #3
atom
Member
 
Registered: Feb 2004
Location: Slovenia
Distribution: archlinux
Posts: 271

Rep: Reputation: 31
as far as i know, a firewall is already enabled by default in redhat, wihich i also use.
 
Old 02-29-2004, 04:34 PM   #4
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
The firewall in Red Hat (at least up to 9, the last I used...Slack convert now!) was called lokkit. Not at all intuitive and it took me ages to find the right file! As for virus scanners...well there aren't really any linux viruses so unless you're sharing data with a windows box or partition it's not really vital.
 
Old 03-01-2004, 03:03 AM   #5
barelurker
Member
 
Registered: Feb 2004
Posts: 50

Original Poster
Rep: Reputation: 15
when I boot the computer, it takes me to GRUB and there are two opions,
Redhat
Dos - (for windows)

to load windows I have to select dos, if not after 9 or some seconds it takes me directly to redhat. (the default operating system is redhat)
Can I change this, So that it boots to windows as default?

p.s. I did a update to Redhat9 and the updated version is also listed there.
 
Old 03-01-2004, 03:15 AM   #6
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
edit the

/boot/grub/grub.conf file and set the Default to which ever you want (note the 0 is the first in the list, 1 is the second etc.)

-JAX
 
Old 03-01-2004, 04:27 AM   #7
barelurker
Member
 
Registered: Feb 2004
Posts: 50

Original Poster
Rep: Reputation: 15
how do I do that, exactly
 
Old 03-01-2004, 05:29 AM   #8
LinuxLala
Senior Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: Fedora 7
Posts: 1,305

Rep: Reputation: 45
do from command line

vi /boot/grub/grub.conf

That would open the grub.conf file

Now press the key 'a' You will see

--INSERT--

written at bottom left.

Now you can modify the file as jax8 says. Change the default.

Cheers.
 
Old 03-07-2004, 05:51 PM   #9
barelurker
Member
 
Registered: Feb 2004
Posts: 50

Original Poster
Rep: Reputation: 15
good morning all,
when I try to VI (visualize) the grub/grub.conf in the boot directory, I get the message permission denied. Is this because I have veryfied a root password or what?
 
Old 03-07-2004, 06:59 PM   #10
evilmrhenry
Member
 
Registered: Oct 2003
Distribution: Knoppix
Posts: 103

Rep: Reputation: 15
Quote:
when I try to VI (visualize) the grub/grub.conf in the boot directory, I get the message permission denied. Is this because I have veryfied a root password or what?
Basically. Try entering
Code:
su
and your root password before the other command.
 
Old 03-07-2004, 07:49 PM   #11
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
# Linux and virus
The Virus Writing HOWTO reference: Should I get anti-virus software for my Linux box?

# Basic Linux security
Linux Questions Security references
Security Help Files
Linux Administrator's Security Guide
Security Focus
Linux Security
Firewalls and Security
 
Old 03-08-2004, 03:56 PM   #12
barelurker
Member
 
Registered: Feb 2004
Posts: 50

Original Poster
Rep: Reputation: 15
there are three things listed in the /boot/grub/grub.conf,

title Red Hat Linux (2.4.20-30.9)
root (hd1,0)
kernel /vmlinuz-2.4.20-30.9 ro root=LABEL=/
initrd /initrd-2.4.20-30.9.img
title Red Hat Linux (2.4.20-8)
root(hd1,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /initrd-2.4.20-8.img
title DOS
rootnoverify (hd0,0)
"/boot/grub/grub.conf" [readonly] 24 L, 764C 9,1 Top


____________________________________________________
I also noted that I can't access flopy when I am in linux. simply it is not listed. but through system tools I can format a flopy. but can not save a document or something to a flopy.

and also, my win98 operating system crash on some dll and vxd. when I change firewall settings in linux, zonealarm crash on a dll of zonealarm.


note:
I do not have a clear idea of how I did installed linux, my comp has two harddisk and one is for windows. and the other one is partitioned in to two peices and one partion is for linux and other partion is free but can access when I am in win98.


and also when I perform google search in linux I get something like "not encrypted and others may view the information I am sending" or something like that.


It will be nice to switch between windows and linux rather than rebooting and selecting linux or DOS[for windows] from the Grub menu.


thanks in advance for any assistance.
 
Old 03-09-2004, 09:20 AM   #13
barelurker
Member
 
Registered: Feb 2004
Posts: 50

Original Poster
Rep: Reputation: 15
*bump*
 
Old 03-09-2004, 12:19 PM   #14
sterrenkijker
Member
 
Registered: Mar 2004
Location: the Netherlands
Distribution: Debian Sarge
Posts: 302

Rep: Reputation: 30
Hi barelurker,

In the grub.conf file there must be some entry like

"default saved"

or

"default 0"

make "default 2" of it. Grub starts counting at 0 for some kind of reason. You have two red hat linux entries because you have two kernels installed. Nothing to worry about.

Things like floppy's and cdroms must be mounted. Actually, all disk and disk-like things must be mounted before you can acces them. Some are mounted automatically on booting (like your root-partition). You can probably mount a floppy by right-clicking on your desktop, and select something like disks, floppy or so, or there is probably a program somewhere that helps you mounting.
If you can't find it you can do it from the shell:

mount /dev/floppy /mnt/floppy

will work most likely. You can find the contents of your floppy after that in the directory /mnt/floppy. Don't forget to unmount your floppy! Note that not mounting when removing can damage the information on your floppy, or make it impossible to take you cdrom out of your computer.

umount /mnt/floppy

yes indeed, umount. No idea where the 'n' has gone, but it is the right command. If you get an error like "device busy" try

umount -l /mnt/floppy

More information on mounting: type "man mount" in your shell. Also interesting: the list of partitions mounted when booting is in /etc/fstab (carefully when editing! can make your system unbootable!)

Like this you can also mount your windows-partition. Make a directory in /mnt named windows (for example, but you can give it any name) and type in the shell:

mount -t vfat /dev/hda1 /mnt/windows

and find your windows-files in /mnt/windows .

Switching easily between windows and linux is impossible: an operating system is too complex for that.

The message when searching google can be safely ignored. There should be some way to put it off in your browser, you just need to find that option .

Succes with your new linux

Stargazer
 
Old 03-09-2004, 05:52 PM   #15
barelurker
Member
 
Registered: Feb 2004
Posts: 50

Original Poster
Rep: Reputation: 15
yes there is a entry
defualt=0
I can just delete the zero, but I can not put 2 there.
how do I make changes to the grub.conf
I am missing something.

another things is, how do I save changes that I made to grub.conf ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what are the goodies between freeBSD and Slackware january *BSD 21 08-06-2004 07:36 PM
Understanding Linux goodies - II barelurker Linux - Newbie 16 03-25-2004 12:07 PM
Understanding Linux better learninlinux LinuxQuestions.org Member Intro 1 10-03-2003 02:56 PM
Understanding Linux Terms icunow Linux - Software 5 09-24-2003 04:17 PM
Linux Goodies joel112 General 3 08-01-2003 04:57 PM


All times are GMT -5. The time now is 11:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration