Linux-Misc Digest #731, Volume #25               Mon, 11 Sep 00 04:13:04 EDT

Contents:
  Re: Drive Space in RH 6.0 ("Steve Wolfe")
  Re: how can I delete blank line? ([EMAIL PROTECTED])
  Re: Good linux discussions! (Richard Steiner)
  Re: Gnome Xterm not reading .profile ("Andrew N. McGuire ")
  Compiling 2.4.0-test8 ([EMAIL PROTECTED])
  Firewall (Gitta Samuel)
  Re: how to logout from inside a script or app? ("Ferdinand V. Mendoza")
  Re: Zip 100 Parallel Port Drive (Michel Talon)
  Re: Zip 100 Parallel Port Drive (Michel Talon)
  Re: Correct way to trim logfiles? ("Peter T. Breuer")
  Re: Drive Space in RH 6.0 ("Peter T. Breuer")
  Re: apache autostart on boot? (Christos KK Loverdos)

----------------------------------------------------------------------------

From: "Steve Wolfe" <[EMAIL PROTECTED]>
Subject: Re: Drive Space in RH 6.0
Date: Mon, 11 Sep 2000 00:41:12 -0600


  Forget my last message.  I stopped reeading early, and should have pointed
out a few more things.

> "Safe" for what?  / should be a small partition of about 64MB max,

  Why?  Will 70 megs break something?  For goodness sake, with hard drives
costing less than twenty cents per megabyte, don't be so stingy.  A little
forthought now (read:   A little more generosity in partition sizing) just
may save you hours of work later on.

   Incidentally, while installing Linux on the last few servers I put
together (with $100 drives), I gave every partition at least twice what it
was ever likely to use, and still ended up with unpartitioned space.

> containing precisely the stuff you need to boot up with.  That's the
> directories /etc /dev /lib /bin /sbin, and usually also /root and
> sometimes /boot

  For safety's sake (not to mention issues with LILO), make /boot it's own
partition.  And /root *can* be part of /, since filling up / will still
leave room for root, for damage control, root may want his files on a
seperate parition as well.

>, as well as a mount point for /var and either a small
> dir for /tmp

  /tmp, as a world-writeable directory, should absolutely NOT be placed in
the / partition, unless you really like any normal user to fill up the /
partition completely.   Put it on it's own partition as well.

steve

--
==================================================
Domain for replies is "codon"
==================================================




------------------------------

From: [EMAIL PROTECTED]
Subject: Re: how can I delete blank line?
Date: Mon, 11 Sep 2000 06:35:49 GMT

metoo:

grep "."

(can't beet this one ;)

        Peter

In article <[EMAIL PROTECTED]>,
  Johan Kullstam <[EMAIL PROTECTED]> wrote:
> "choi jinhyuk" <[EMAIL PROTECTED]> writes:
>
> > I wana delete all blank lines .
> > succeded in searching like this
> > %s/^$//g
> > but blank line was not deleted. how can I?
> > and how can I do it in sed and using grep?
> > thanks
>
> grep -v '^$'
>
> sed '/^$/d'
>
> --
> J o h a n  K u l l s t a m
> [[EMAIL PROTECTED]]
> Don't Fear the Penguin!
>

--
-rw-r--r--   1 kruse    users          66 Nov  2 11:50 .signature


Sent via Deja.com http://www.deja.com/
Before you buy.

------------------------------

From: [EMAIL PROTECTED] (Richard Steiner)
Subject: Re: Good linux discussions!
Reply-To: [EMAIL PROTECTED]
Date: Mon, 11 Sep 2000 01:50:57 -0500

Here in comp.os.linux.misc, [EMAIL PROTECTED] spake unto us, saying:

>Hello.  It seems there is a disparate amount of discussions here
>about many topics.

That's why this is the "misc" newsgroup in the Usenet comp.os.linux.*
hierarchy.  :-)

>Wouldn't it be great if people can instantantly create a discussion
>forum for information, troubleshooting, and other goodies for their
>particular topic?

No.  How would one person be able to monitor them all?

>Also, there seems to be basic terminology used here that newbies
>would like to know the glossary definitions of.  (like Linux,
>Linus, TransMeta, RedHat, etc).  Wouldn't it be great if there
>was a dynamic glossary where people can just add their terminology?

Most of these terms are defined in places like http://www.linux.com or
http://www.linuxnewbie.org, which are devoted to new Linux users.

-- 
   -Rich Steiner  >>>--->  [EMAIL PROTECTED]  >>>--->  Bloomington, MN
      OS/2 + BeOS + Linux + Solaris + Win95 + WinNT4 + FreeBSD + DOS
       + VMWare + Fusion + vMac + Executor = PC Hobbyist Heaven! :-)
            All rising to a great place is by a winding stair.

------------------------------

From: "Andrew N. McGuire " <[EMAIL PROTECTED]>
Subject: Re: Gnome Xterm not reading .profile
Date: Mon, 11 Sep 2000 02:06:19 -0500

On 10 Sep 2000, Floyd Davidson quoth:

FD> "Andrew N. McGuire " <[EMAIL PROTECTED]> wrote:
FD> >On 9 Sep 2000, Floyd Davidson quoth:
FD> >
FD> >Right, but the OP's question was roughly "how do I do something in
FD> >each invocation of my shell?" (paraphrased).  The answer is .bashrc
FD> >or make each shell a login shell.  The former is standard, that is 
FD> >what .bashrc is for, the latter is non-standard (of all the UNIX
FD> >admins I know, not one uses xterm -ls to my knowledge).  The third
FD> >alternative (for env vars) is too export them from .profile.  You
FD> >are making too many assumptions about what the OP wanted.
FD> 
FD> As I quoted in a previous article, that is NOT what the original
FD> poster asked.  You are assuming that is what he wants (and it
FD> might well be), but what he asked was how to get xterm to read
FD> his existing ~/.profile. 
FD> 
FD> if his ~/.profile has several alias commands, such as
FD> 
FD>      alias='/bin/ls -lF'
FD> 
FD> they cannot be exported and have to be redefined for each
FD> subshell.  It is true that aliases are being depreciated in
FD> favor of shell functions (which can be exported), but many users
FD> continue to use them anyway.

OK, I don't know what you are reading of mine that makes you think
I am ~ADVOCATING~ exporting variables from .profile, I'm not.
I merely stated it is an alternative, and it is.  From the OP:

"
  I have a great .profile in my home directory, however Gnome xterm (or any
xterm) won't read and implemet it. But when I . ./.profile, su to myself or
telnet in, it gets read and implented. Please Help
"

To me, this is newbie for "How do I get something to happen upon
each seperate invocation of the shell?".  My answer which I stand
by is roughly "use .bashrc" (I presented other alternatives, but
I did not recommend them).

FD> Exporting environment variables from ~/.profile is not a great
FD> idea anyway.  There is then no easy way to avoid them!  If the
FD> ~/.profile environment is an absolute minimum (as noted, PATH
FD> and ENV or BASH_ENV and maybe TERM is just about all that is
FD> needed), one can invoke a sub-shell without all the excess
FD> baggage, and sometimes that is useful.  It can also be argued
FD> that BASH_ENV should not be set to ~/.bashrc the way I do, and
FD> instead a third init file unique to non-interactive shells
FD> should be used, just to reduce the overhead of what is defined
FD> for the non-interactive shell environment.
FD> 
FD> The best advice for the OP is simply to move his ~/.profile to
FD> ~/.bashrc and write a minimal ~/.profile to match.

Right, and of the three alternatives I presented, that was the one
I suggested, so I do not see your argument here! :-)

anm
-- 
BEGIN { $\ = $/; $$_ = $_ for qw~ just another perl hacker ~ }
my $J = sub { return \$just }; my $A = sub { return \$another };
my $P = sub { return \$perl }; my $H = sub { return \$hacker  };
print map ucfirst() . " " => ${&$J()}, ${&$A()}, ${&$P()}, ${&$H()};



------------------------------

From: [EMAIL PROTECTED]
Subject: Compiling 2.4.0-test8
Date: Mon, 11 Sep 2000 07:16:19 GMT

I'm running Red Hat 7.0 beta (Pinstripe - v 6.9).  I just snarfed
2.4.0-test8.tar.gz and uncompressed it.

Ran make xconfig, all is OK.
Ran make dep, all is OK.
Ran make modules, got:
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o
scripts/split-include scripts/split-include.c
In file included from /usr/include/errno.h:36,
                 from scripts/split-include.c:26:
/usr/include/bits/errno.h:25:26: linux/errno.h: No such file or
directory
make: *** [scripts/split-include] Error 1

In case it's helpful, this is my .config file:

#
# Automatically generated make config: don't edit
#
CONFIG_X86=y
CONFIG_ISA=y
# CONFIG_SBUS is not set
CONFIG_UID16=y

#
# Code maturity level options
#
# CONFIG_EXPERIMENTAL is not set

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y

#
# Processor type and features
#
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
CONFIG_M686=y
# CONFIG_M686FXSR is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_CMPXCHG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_L1_CACHE_BYTES=32
CONFIG_X86_TSC=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_PGE=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_MICROCODE=m
CONFIG_X86_MSR=m
CONFIG_X86_CPUID=m
CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y
# CONFIG_SMP is not set
CONFIG_X86_UP_IOAPIC=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_LOCAL_APIC=y

#
# General setup
#
CONFIG_NET=y
# CONFIG_VISWS is not set
CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GODIRECT is not set
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_NAMES=y
# CONFIG_MCA is not set
CONFIG_HOTPLUG=y

#
# PCMCIA/CardBus support
#
# CONFIG_PCMCIA is not set
CONFIG_SYSVIPC=y
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_SYSCTL=y
CONFIG_KCORE_ELF=y
# CONFIG_KCORE_AOUT is not set
CONFIG_BINFMT_AOUT=m
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_MISC=m
CONFIG_PM=y
CONFIG_ACPI=y
CONFIG_APM=m
# CONFIG_APM_IGNORE_USER_SUSPEND is not set
CONFIG_APM_DO_ENABLE=y
CONFIG_APM_CPU_IDLE=y
CONFIG_APM_DISPLAY_BLANK=y
# CONFIG_APM_RTC_IS_GMT is not set
# CONFIG_APM_ALLOW_INTS is not set
# CONFIG_APM_REAL_MODE_POWER_OFF is not set

#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set

#
# Parallel port support
#
CONFIG_PARPORT=m
CONFIG_PARPORT_PC=m
CONFIG_PARPORT_PC_FIFO=y
# CONFIG_PARPORT_AMIGA is not set
# CONFIG_PARPORT_MFC3 is not set
# CONFIG_PARPORT_ATARI is not set
# CONFIG_PARPORT_SUNBPP is not set
# CONFIG_PARPORT_OTHER is not set
CONFIG_PARPORT_1284=y

#
# Plug and Play configuration
#
CONFIG_PNP=m
CONFIG_ISAPNP=m

#
# Block devices
#
CONFIG_BLK_DEV_FD=m
# CONFIG_BLK_DEV_XD is not set
# CONFIG_PARIDE is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
CONFIG_BLK_DEV_LOOP=m
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_LVM is not set
# CONFIG_BLK_DEV_MD is not set
CONFIG_BLK_DEV_RAM=m
CONFIG_BLK_DEV_RAM_SIZE=4096

#
# Networking options
#
CONFIG_PACKET=m
CONFIG_PACKET_MMAP=y
CONFIG_NETLINK=y
CONFIG_RTNETLINK=y
CONFIG_NETLINK_DEV=m
CONFIG_NETFILTER=y
CONFIG_NETFILTER_DEBUG=y
# CONFIG_FILTER is not set
CONFIG_UNIX=m
CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not set
CONFIG_NET_IPIP=m
# CONFIG_NET_IPGRE is not set
# CONFIG_INET_ECN is not set
CONFIG_SYN_COOKIES=y

#
#   IP: Netfilter Configuration
#
CONFIG_IP_NF_CONNTRACK=m
CONFIG_IP_NF_FTP=m
CONFIG_IP_NF_IPTABLES=m
CONFIG_IP_NF_MATCH_LIMIT=m
CONFIG_IP_NF_MATCH_MAC=m
CONFIG_IP_NF_MATCH_MARK=m
CONFIG_IP_NF_MATCH_MULTIPORT=m
CONFIG_IP_NF_MATCH_TOS=m
CONFIG_IP_NF_MATCH_STATE=m
# CONFIG_IP_NF_FILTER is not set
CONFIG_IP_NF_NAT=m
CONFIG_IP_NF_NAT_NEEDED=y
CONFIG_IP_NF_TARGET_MASQUERADE=m
CONFIG_IP_NF_TARGET_REDIRECT=m
CONFIG_IP_NF_MANGLE=m
CONFIG_IP_NF_TARGET_TOS=m
CONFIG_IP_NF_TARGET_MARK=m
CONFIG_IP_NF_TARGET_LOG=m
# CONFIG_IP_NF_COMPAT_IPCHAINS is not set
# CONFIG_IP_NF_COMPAT_IPFWADM is not set

#
#
#
CONFIG_IPX=m
CONFIG_IPX_INTERN=y
CONFIG_ATALK=m
# CONFIG_DECNET is not set
# CONFIG_BRIDGE is not set

#
# Telephony Support
#
# CONFIG_PHONE is not set

#
# ATA/IDE/MFM/RLL support
#
CONFIG_IDE=y

#
# IDE, ATA and ATAPI Block devices
#
CONFIG_BLK_DEV_IDE=y

#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_HD_IDE is not set
# CONFIG_BLK_DEV_HD is not set
CONFIG_BLK_DEV_IDEDISK=y
# CONFIG_IDEDISK_MULTI_MODE is not set
# CONFIG_BLK_DEV_IDEDISK_VENDOR is not set
# CONFIG_BLK_DEV_COMMERIAL is not set
CONFIG_BLK_DEV_IDECD=m
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set

#
# IDE chipset support/bugfixes
#
# CONFIG_BLK_DEV_CMD640 is not set
# CONFIG_BLK_DEV_RZ1000 is not set
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_OFFBOARD is not set
CONFIG_IDEDMA_PCI_AUTO=y
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD7409 is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5530 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_PIIX is not set
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_PDC202XX is not set
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
# CONFIG_IDE_CHIPSETS is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_IDEDMA_IVB is not set
# CONFIG_DMA_NONPCI is not set
# CONFIG_BLK_DEV_IDE_MODES is not set

#
# SCSI support
#
# CONFIG_SCSI is not set

#
# I2O device support
#
# CONFIG_I2O is not set

#
# Network device support
#
CONFIG_NETDEVICES=y

#
# ARCnet devices
#
# CONFIG_ARCNET is not set

#
# Appletalk devices
#
# CONFIG_APPLETALK is not set
# CONFIG_DUMMY is not set
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
CONFIG_TUN=m
# CONFIG_NET_SB1000 is not set

#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_LANCE is not set
# CONFIG_NET_VENDOR_SMC is not set
# CONFIG_NET_VENDOR_RACAL is not set
# CONFIG_DEPCA is not set
# CONFIG_NET_ISA is not set
CONFIG_NET_PCI=y
# CONFIG_PCNET32 is not set
# CONFIG_APRICOT is not set
# CONFIG_CS89x0 is not set
# CONFIG_DE4X5 is not set
# CONFIG_TULIP is not set
# CONFIG_DGRS is not set
# CONFIG_EEPRO100 is not set
# CONFIG_NATSEMI is not set
# CONFIG_NE2K_PCI is not set
CONFIG_8139TOO=m
# CONFIG_SIS900 is not set
# CONFIG_TLAN is not set
# CONFIG_VIA_RHINE is not set
# CONFIG_NET_POCKET is not set

#
# Ethernet (1000 Mbit)
#
# CONFIG_ACENIC is not set
# CONFIG_SK98LIN is not set
# CONFIG_FDDI is not set
# CONFIG_PLIP is not set
CONFIG_PPP=m
CONFIG_PPP_ASYNC=m
# CONFIG_PPP_SYNC_TTY is not set
CONFIG_PPP_DEFLATE=m
CONFIG_PPP_BSDCOMP=m
# CONFIG_SLIP is not set

#
# Wireless LAN (non-hamradio)
#
# CONFIG_NET_RADIO is not set

#
# Token Ring devices
#
# CONFIG_TR is not set
# CONFIG_NET_FC is not set

#
# Wan interfaces
#
# CONFIG_WAN is not set

#
# Amateur Radio support
#
# CONFIG_HAMRADIO is not set

#
# IrDA (infrared) support
#
# CONFIG_IRDA is not set

#
# ISDN subsystem
#
# CONFIG_ISDN is not set

#
# Old CD-ROM drivers (not SCSI, not IDE)
#
# CONFIG_CD_NO_IDESCSI is not set

#
# Input core support
#
# CONFIG_INPUT is not set

#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_SERIAL=m
# CONFIG_SERIAL_EXTENDED is not set
# CONFIG_SERIAL_NONSTANDARD is not set
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=256
CONFIG_PRINTER=m
# CONFIG_LP_CONSOLE is not set
# CONFIG_PPDEV is not set

#
# I2C support
#
# CONFIG_I2C is not set

#
# Mice
#
# CONFIG_BUSMOUSE is not set
CONFIG_MOUSE=y
CONFIG_PSMOUSE=y
# CONFIG_82C710_MOUSE is not set
# CONFIG_PC110_PAD is not set

#
# Joysticks
#

#
# Game port support
#

#
# Gameport joysticks
#

#
# Serial port support
#

#
# Serial port joysticks
#

#
# Parallel port joysticks
#
# CONFIG_QIC02_TAPE is not set

#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
# CONFIG_INTEL_RNG is not set
# CONFIG_NVRAM is not set
# CONFIG_RTC is not set
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set

#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set
# CONFIG_AGP is not set
# CONFIG_DRM is not set

#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set

#
# File systems
#
# CONFIG_QUOTA is not set
# CONFIG_AUTOFS_FS is not set
CONFIG_AUTOFS4_FS=m
CONFIG_FAT_FS=m
CONFIG_MSDOS_FS=m
# CONFIG_UMSDOS_FS is not set
CONFIG_VFAT_FS=m
CONFIG_JFFS_FS_VERBOSE=0
# CONFIG_CRAMFS is not set
# CONFIG_RAMFS is not set
CONFIG_ISO9660_FS=m
CONFIG_JOLIET=y
# CONFIG_MINIX_FS is not set
# CONFIG_NTFS_FS is not set
# CONFIG_HPFS_FS is not set
CONFIG_PROC_FS=y
CONFIG_DEVPTS_FS=y
# CONFIG_ROMFS_FS is not set
CONFIG_EXT2_FS=y
# CONFIG_SYSV_FS is not set
# CONFIG_UDF_FS is not set
# CONFIG_UFS_FS is not set

#
# Network File Systems
#
# CONFIG_CODA_FS is not set
CONFIG_NFS_FS=m
CONFIG_NFS_V3=y
CONFIG_NFSD=m
CONFIG_NFSD_V3=y
CONFIG_SUNRPC=m
CONFIG_LOCKD=m
CONFIG_LOCKD_V4=y
CONFIG_SMB_FS=m
CONFIG_SMB_NLS_REMOTE=""
CONFIG_NCP_FS=m
CONFIG_NCPFS_PACKET_SIGNING=y
CONFIG_NCPFS_IOCTL_LOCKING=y
CONFIG_NCPFS_STRONG=y
CONFIG_NCPFS_NFS_NS=y
CONFIG_NCPFS_OS2_NS=y
CONFIG_NCPFS_SMALLDOS=y
CONFIG_NCPFS_MOUNT_SUBDIR=y
CONFIG_NCPFS_NDS_DOMAINS=y
CONFIG_NCPFS_NLS=y
CONFIG_NCPFS_EXTRAS=y

#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
CONFIG_MSDOS_PARTITION=y
CONFIG_NLS=y

#
# Native Language Support
#
CONFIG_NLS_DEFAULT="iso8859-1"
CONFIG_NLS_CODEPAGE_437=m
CONFIG_NLS_CODEPAGE_737=m
CONFIG_NLS_CODEPAGE_775=m
CONFIG_NLS_CODEPAGE_850=m
CONFIG_NLS_CODEPAGE_852=m
CONFIG_NLS_CODEPAGE_855=m
CONFIG_NLS_CODEPAGE_857=m
CONFIG_NLS_CODEPAGE_860=m
CONFIG_NLS_CODEPAGE_861=m
CONFIG_NLS_CODEPAGE_862=m
CONFIG_NLS_CODEPAGE_863=m
CONFIG_NLS_CODEPAGE_864=m
CONFIG_NLS_CODEPAGE_865=m
CONFIG_NLS_CODEPAGE_866=m
CONFIG_NLS_CODEPAGE_869=m
CONFIG_NLS_CODEPAGE_874=m
CONFIG_NLS_CODEPAGE_932=m
CONFIG_NLS_CODEPAGE_936=m
CONFIG_NLS_CODEPAGE_949=m
CONFIG_NLS_CODEPAGE_950=m
CONFIG_NLS_ISO8859_1=m
CONFIG_NLS_ISO8859_2=m
CONFIG_NLS_ISO8859_3=m
CONFIG_NLS_ISO8859_4=m
CONFIG_NLS_ISO8859_5=m
CONFIG_NLS_ISO8859_6=m
CONFIG_NLS_ISO8859_7=m
CONFIG_NLS_ISO8859_8=m
CONFIG_NLS_ISO8859_9=m
CONFIG_NLS_ISO8859_14=m
CONFIG_NLS_ISO8859_15=m
CONFIG_NLS_KOI8_R=m
CONFIG_NLS_UTF8=m

#
# Console drivers
#
CONFIG_VGA_CONSOLE=y
CONFIG_VIDEO_SELECT=y

#
# Sound
#
CONFIG_SOUND=m
# CONFIG_SOUND_CMPCI is not set
# CONFIG_SOUND_EMU10K1 is not set
# CONFIG_SOUND_FUSION is not set
# CONFIG_SOUND_ES1370 is not set
# CONFIG_SOUND_ES1371 is not set
# CONFIG_SOUND_ESSSOLO1 is not set
# CONFIG_SOUND_MAESTRO is not set
# CONFIG_SOUND_SONICVIBES is not set
# CONFIG_SOUND_TRIDENT is not set
# CONFIG_SOUND_MSNDCLAS is not set
# CONFIG_SOUND_MSNDPIN is not set
# CONFIG_SOUND_VIA82CXXX is not set
CONFIG_SOUND_OSS=m
CONFIG_SOUND_TRACEINIT=y
CONFIG_SOUND_DMAP=y
# CONFIG_SOUND_SGALAXY is not set
# CONFIG_SOUND_ADLIB is not set
# CONFIG_SOUND_ACI_MIXER is not set
# CONFIG_SOUND_CS4232 is not set
# CONFIG_SOUND_SSCAPE is not set
# CONFIG_SOUND_GUS is not set
# CONFIG_SOUND_ICH is not set
# CONFIG_SOUND_VMIDI is not set
# CONFIG_SOUND_TRIX is not set
# CONFIG_SOUND_MSS is not set
# CONFIG_SOUND_MPU401 is not set
# CONFIG_SOUND_NM256 is not set
# CONFIG_SOUND_MAD16 is not set
# CONFIG_SOUND_PAS is not set
# CONFIG_SOUND_PSS is not set
CONFIG_SOUND_SOFTOSS=m
CONFIG_SOUND_SB=m
# CONFIG_SOUND_AWE32_SYNTH is not set
# CONFIG_SOUND_WAVEFRONT is not set
# CONFIG_SOUND_MAUI is not set
CONFIG_SOUND_YM3812=m
# CONFIG_SOUND_OPL3SA1 is not set
# CONFIG_SOUND_OPL3SA2 is not set
# CONFIG_SOUND_YMPCI is not set
# CONFIG_SOUND_UART6850 is not set
# CONFIG_SOUND_AEDSP16 is not set

#
# USB support
#
# CONFIG_USB is not set

#
# Kernel hacking
#
# CONFIG_MAGIC_SYSRQ is not set


Sent via Deja.com http://www.deja.com/
Before you buy.

------------------------------

From: Gitta Samuel <[EMAIL PROTECTED]>
Subject: Firewall
Date: Mon, 11 Sep 2000 07:28:45 GMT

I wrote a firewall script,made it executable but on rebooting  i get this 
message,failed services in runlevel 2,firewall-setup firewall-final failed.
The other thing I had ip -masq enabled but still got this message
insmod:a module named ip_masq already exists.I had put something to enable 
ip_masq in my firewall script.
Thanx in Advance.

--
Posted via CNET Help.com
http://www.help.com/

------------------------------

From: "Ferdinand V. Mendoza" <[EMAIL PROTECTED]>
Subject: Re: how to logout from inside a script or app?
Date: Mon, 11 Sep 2000 11:30:22 +0400



Jerry L Kreps wrote:

> Exactly.  A user dials in (answered via mgetty) and is presented the
> login screen. Standard stuff.  After logging in, by using their account
> name and password, a console is presented.
> I don't want them having access to the command line in a console.

Use mgetty with AutoPPP and remove the default shell for that user
in /etc/passwd file  or you can change it to something like /bin/false.

Ferdinand



------------------------------

From: Michel Talon <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.development.system
Subject: Re: Zip 100 Parallel Port Drive
Date: Mon, 11 Sep 2000 09:35:09 +0200

In comp.os.linux.development.system Peter Rodriguez <[EMAIL PROTECTED]> wrote:
> I am running RedHat 6.2 on one machine and 6.0 on another. Both machines
> have Zip 100 parallel port drives connected. The RH 6.2 machine has Win
> 98 on another partition and the RH 6.0 machine has NT 4.0 Workstation on
> the other partition.

> My problem is that the Zip drives work fine with Win 98, NT 4.0 and
> RedHat 6.0, and I have tried swapping the drives from one machine to the
> other and the result is the same. Module imm refuses to load on RedHat
> 6.2 ( Linux Kernel 2.2.14-5.0). I get the same error message whether I
> use insmod or modprobe, i.e.:-

Perhaps we don't have the same // port zip, but for me the command to get the
zip recognized is
modprobe ppa
It works 100%

Note that the // port is configured ECP+EPP in the BIOS and you may tweak
that.

> "imm: Version 2.03 (for Linux 2.0.0)
>  scsi: 0 hosts
>  /lib/modules/2.2.14-5.0/scsi/imm.o: init_module: Device or resource
> busy"

> This is all strange territory to me, but does it mean that the wrong
> version of imm.o is provided with RedHat 6.2? If so, how do I obtain the
> correct version?

> Then maybe I have got hold of the wrong end of the stick altogether.

> Any help would be very much appreciated.

> Peter Rodriguez
> Auckland, New Zealand

> "Give me the bazaar every time"




-- 
Michel Talon

------------------------------

From: Michel Talon <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.development.system
Subject: Re: Zip 100 Parallel Port Drive
Date: Mon, 11 Sep 2000 09:37:33 +0200

In comp.os.linux.development.system Peter Rodriguez <[EMAIL PROTECTED]> wrote:
> Problem solved!

> I tweaked the BIOS settings on the new machine (running RH 6.2) and the imm

> module loaded immediately - Zip drive AOK.

> For the record, I changed the Parallel Port Mode from ECP+EPP to SPP, and

Sorry, had not seen this one, but i think SPP will be slow. EPP would be
better.

> changed the PNP/PCI Config from PNP OS Installed NO to YES.

This is in principle BAD. For OS such as Linux FreeBSD and even WinNT i think
the correct setting is PNP OS NO, so that the BIOS initializes as much cards
as it can.

> Once again, thanks for your interest, and apologies to anyone who may have

> been offended by my suspicion that there was something wrong with the imm.o

> file!

> --
> Peter Rodriguez
> 136, Kolmar Road, Papatoetoe     LINUX RULES
> Auckland, NEW ZEALAND




-- 
Michel Talon

------------------------------

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Correct way to trim logfiles?
Date: 11 Sep 2000 07:49:40 GMT

Andrew N. McGuire  <[EMAIL PROTECTED]> wrote:
: On Sun, 10 Sep 2000, Hans Marcus Kr?ger quoth:

: HMK> shure not to loose any single line. The problem is, wehat if syslogd
: HMK> writes sometihng to the log just after Icoppied the files and short
: HMK> before I truncate it?
: HMK> The solution I found was, to get en exclusive write-lock on the file. Is
: HMK> this ok?

: There is no such thing as an exclusive write-lock.  Other programs

Actually, there is. You can force mandatory locking in linux. I'm not
going to tell how, though.

: may still modify your data file even if you use flock().  All locks
: obtained by flock are advisory locks and are not absolute.  

: perldoc -f flock

: My advise is this, don't waste your time writing a log-rotating program
: unless you have ~SPECIFIC~ needs.  This task has already been done, and
: probably better. :-)

Of course. Good advice. The program in question is called "logrotate".
But there is nothing wrong with a simple "mv and signal". That will start
a new file for syslog without losing any line. He can then copy the
old or throw it away. There is no deep mystery here.

Peter

------------------------------

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Drive Space in RH 6.0
Date: 11 Sep 2000 07:57:40 GMT

Steve Wolfe <[EMAIL PROTECTED]> wrote:
:> "Safe" for what?  / should be a small partition of about 64MB max,
:> containing precisely the stuff you need to boot up with.  That's the
:> directories /etc /dev /lib /bin /sbin, and usually also /root and
:> sometimes /boot, as well as a mount point for /var and either a small
:> dir for /tmp or a link to /var/tmp.  Also mount points for /opt /usr
:> /home.

:   / containing /boot and /root?

There's no big reason that it shouldn't. /root is OK unless you are trying
to make / readonly. You shouldn't login as root anyway, so it can be
tiny. It's only use is to contain a history file showing roots
activities. /boot needs to be a small partition neear the bottom of the
disk, which fits the definition I gave of /. The reasons for not
having  /boot in / are: (1) prefer to keep / in the extended partition,
 e.g. as /dev/hda5, well out of windows way, which may put it high
up the disk; (2) tidiness; it has a different function from /.

Peter

------------------------------

From: Christos KK Loverdos <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.admin,comp.os.linux.networking,comp.os.linux.setup
Subject: Re: apache autostart on boot?
Date: Mon, 11 Sep 2000 11:06:39 +0300

[EMAIL PROTECTED] wrote:
> 
> I have the EXACT same problem you do.  Did you ever figure it out? If
> so, PLEASE email me because I have php compiled into apache, and that's
> not exactly a Red Hat specific RPM these days.  So, if someone could
> tell me how to "autostart" my own compiled version of apache at boot, I
> would forever be grateful.
> 
> In article <8lk7fr$[EMAIL PROTECTED]>,
>   "Devon Harding" <[EMAIL PROTECTED]> wrote:
> > When I do a:
> >
> > chkconfig --list httpd
> >
> > I get:
> >
> > [root@santa /root]# chkconfig --list httpd
> >
> > error reading information on service httpd: No such file or directory
> >
> > but I can run '/usr/local/apache/bin/httpd ' and it runs
> >
> > -Devon
> >
> > "Mr. Ape" <[EMAIL PROTECTED]> wrote in message
> news:8ljv44$2uu$[EMAIL PROTECTED]...
> > > Can you do a:
> > > chkconfig --list httpd
> > > if so, you can do:
> > > chkconfig --level 3 httpd on
> > > Then it will start in runlevel 3 ...
> > >
> > >
> > > Devon Harding wrote in message <8li4c2$[EMAIL PROTECTED]>...
> > > >httpd isn't listed because it's not an rpm.  It was install from
> source
> > via
> > > >'./configure,make,make install'
> > > >
> > > >-Devon
> > > >
> > > >"Lorin Winchester" <[EMAIL PROTECTED]> wrote in message
> > > >news:juuhl8.um5.ln@stickboy...
> > > >> On Mon, 24 Jul 2000 13:25:41 -0400, Devon Harding
> > > >> <[EMAIL PROTECTED]> wrote:
> > > >>
> > > >> >How do I get the source ver.(www.apache.org) of apache to
> autostart on
> > > >> >boot-up on RHL6.2?
> > > >>
> > > >> You want to start Apache each time you boot up, right?  You need
> to do
> > > >> 'ntsysv' and select httpd.  That will make the daemon start when
> Linux
> > > >boots?
> > > >>
> > > >> --
> > > >> Registered Linux User 182034
> > > >>  12:33pm  up 20:00,  2 users,  load average: 0.00, 0.03, 0.00
> > > >
> > > >
> > >
> > >
> >
> >
> 
> Sent via Deja.com http://www.deja.com/
> Before you buy.

OK, here it is.
I ALWAYS use the sources to compile apache (and usually put it in /usr/local/apache) 
because Idonot like where the RPM puts the files...

So, Ihave created an init script to automatically start apache, under /etc/rc.d/init.d:
######################################################################
#!/bin/bash

. /etc/rc.d/init.d/functions

case "$1" in
  start)
        echo -n "Starting Apache"
        daemon /usr/local/apache/bin/httpd
        ;;
  stop)
        echo -n "Stopping Apache"
        killproc httpd
        ;;
  reload|restart)
        echo -n "Reloading Apache"
        $0 stop
        $0 start
        ;;
  status)
        echo -n "Checking Apache status"
        /usr/local/apache/bin/apachectl status
        ;;

  *)
        echo "Usage: /etc/rc.d/init.d/apache {start|stop|restart|reload|status}"
        exit 1
esac

exit 0
##################################################################]

To configure the runlevels, su - and run control-panel.
Of course there always is the manual way (go to /etc/rc.d/rc<n>.d and put Start and 
Kill links), but tools are here to make our lives easier.

I hope Ihave been helpful

------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list (and comp.os.linux.misc) via:

    Internet: [EMAIL PROTECTED]

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Misc Digest
******************************

Reply via email to