Linux-Misc Digest #31, Volume #27 Mon, 5 Feb 01 14:13:03 EST
Contents:
Re: RAM advice (Michael Heiming)
Print in Landscape mode - how? ("Charles Sullivan")
Re: Tools for migrating ext2 to ReiserFS (Rod Smith)
Re: Print in Landscape mode - how? (Chris Webster)
Re: Which Linux distribution is best? (Rod Smith)
Re: RH7.0: "Unavailable Package" Message When Trying to Install Telnet Server
("Meron Lavie")
"top" shows X using 129MB ?? ("Lloyd Llewellyn")
Re: Can't umount ("Ahmed")
Re: "top" shows X using 129MB ??
Re: print screen ("lenny")
Re: help, unlock file (Mike E.)
Re: Berkeley "R" commands (Mike E.)
Cant run Acrobat Reader on RH 7.0 (Eduardo M Kalinowski)
Re: How to debug sporadic system crash? ("Peter T. Breuer")
Not using Lilo with Mandrake 7.2 (mike)
Samba 2.0.7 and large files (>2 GB) ([EMAIL PROTECTED])
Re: iproute2 + wrr: compilation problems (unresolved symbols) (Adrian)
Re: GPL (John Hasler)
Re: GPL (John Hasler)
Re: setup issue: boot partition size too big (Marian ION)
Re: How to debug sporadic system crash? (davinci_unix)
Re: Berkeley "R" commands (Francis Litterio)
Re: Question about Zsh (Harlan Grove)
Re: Ipchains DROP target reporting with 2.4.x kernel ([EMAIL PROTECTED])
Re: GPL ([EMAIL PROTECTED])
Re: Hi, asking for help (Mark Bratcher)
Re: change pump to dhcpcd ("J.R. Tietsort")
Re: Simple daemon question... ("J.R. Tietsort")
Re: Z52 (Mark Bratcher)
----------------------------------------------------------------------------
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: RAM advice
Date: Mon, 05 Feb 2001 18:11:31 +0100
Xavier Houppertz wrote:
> > > here is a vmstat 5
> > >
> > > procs memory swap io system cpu
> > > r b w swpd free buff cache si so bi bo in cs us sy id
> > > 0 0 0 8152 4540 5128 98936 5 0 3 2 0 0 2 0 5
> > > 0 0 0 8152 4540 5128 98936 0 0 0 0 160 160 0 0 99
> > > 0 0 0 8152 4540 5128 98936 0 0 0 2 174 161 0 1 99
> > > 0 0 0 8152 4540 5128 98936 0 0 0 0 177 160 1 0 99
> > > 0 0 0 8152 4540 5128 98936 0 0 0 1 168 159 0 0 99
> > > 0 0 0 8152 4540 5128 98936 0 0 0 0 175 162 0 1 99
>
> > us + sy + id = 100, that's what it should be...
>
> It is not ! 2 + 0 + 5 = 7 ???
> The manual says the first line is the averrage since last reboot ... So ?
No, that's IMHO nonsense:
It's user(CPU), system(CPU) and idle(CPU) it should be always 100% if you add
it up
(As there are only these three possibilities for your CPU which makes it
clear, that it has to be 100 % if you add it up!)
If it's running you see that it's almost right, just for the time since reboot
it's seems not to work as
written in the manpage...don't know why...
>
>
> > Try writing vmstat to file and let it run a few days, this way you should
> see
> > where bottleneck is...
> >
>
> Ok, i'll do that.
>
> > I wrote this script to get some usefull data if the loadaverage gets to
> high,
> > you can run it from CRON
> > every min.
> >
> > Adopt it for your needs (put in vmstat...)
> >
> > #!/bin/sh
> > # [EMAIL PROTECTED]
> > # test loadaverage
> >
> > uptime >> /var/log/load.average.txt
> > LOAD=`cat /proc/loadavg | awk '{ print int($1)}'`
> >
> > #The point we start gathering more data?
> > LWATCH=5
> > if [ $LOAD -ge $LWATCH ]
> > then
> > echo "--------------------------------------------------" >>
> > /var/log/load.average.txt
> > top bn 1 >> /var/log/load.average.txt
> > echo "--------------------------------------------------" >>
> > /var/log/load.average.txt
> > ps faux >> /var/log/load.average.txt && dmesg >>
> > /var/log/load.average.txt
> > echo "--------------------------------------------------" >>
> > /var/log/load.average.txt
> > fi
> >
> >
>
> > > /dev/sda:
> > > Timing buffered disk reads: 32 MB in 4.64 seconds = 6.90 MB/sec
> > >
> > > is that ok ?
> > >
> > > Xavier
> >
> > Puh..., rather slow (SCSI-II?), for a DB server I would use something
> quite
> > faster, SCSI-U2W could give
> > you ~20 MB/sec and more...
> >
>
> It is a wide SCSI (IBM ultrastar 9ES DDRS34560W) So ? is it so bad ? any
> special driver to install ? (i did nothing, it was recognised by redhat!
You should normally not have to do anything, your distro should choose the
right driver, but
this speed maybe OK depending on your controller & how fast the drive turns
(rpm) how much cache it
has and,and, and...
>
>
> Thx for the script,
> Xavier
No problem...:-)
Good luck
Michael Heiming
Sysadmin
--
Confucius say: He who play in root, eventually kill tree.
------------------------------
From: "Charles Sullivan" <[EMAIL PROTECTED]>
Crossposted-To: alt.linux
Subject: Print in Landscape mode - how?
Date: Mon, 05 Feb 2001 17:13:03 GMT
I'm running Red Hat 6.2 on my PC, and have a Postscript laser
printer (H-P) connected.
I occasionally have ASCII text files which I'd like to print
in Landscape mode, but can't figure out how to do this, either
from the command line or from any of the text editors running
under Gnome. Years ago under Unix I seem to recall there was
a command line switch for lpr or pr, but can find nothing in the
man pages.
Anyone have any suggestions?
Regards,
Charles Sullivan
[EMAIL PROTECTED]
------------------------------
Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: Tools for migrating ext2 to ReiserFS
Date: Mon, 05 Feb 2001 17:32:12 GMT
In article <sJif6.316834$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] writes:
> Wolfgang Hackl <[EMAIL PROTECTED]> writes:
>> I wonder if there are already tools for changing the fs-type on a
>> running system (no space for backup and extra partitions).
The original poster multi-posted this to several groups. In future,
please post to just one or two groups, and if to more than one,
cross-post, don't multi-post. To cross-post, you usually just enter all
the newsgroup names on one From: line, separated by commas. This makes
it easier to keep a unified thread and reduces the number of bandwidth-
and time-wasting duplicate posts, which to some extent we've got here.
(I also posted, in another group, recommending that you get adequate
backup facilities.)
[Advice to get good backup tools snipped.]
> The amount of work required to do an in-place conversion from ext2 to
> ReiserFS would be an entirely ridiculous lot of work, requiring
> someone that is simultaneously expert in understanding the code
> of_BOTH_ filesystems. And it may not even be _feasible_. If the two
> FSes conflict in where inode tables are required to be, then it's just
> not going to be nice to try to write such a tool.
It might be tricky, but I doubt if it's impossible, or even infeasible.
For instance, PartitionMagic can convert from FAT to HPFS without
losing data (assuming no system crashes or the like occur). I don't
know if the PM authors even had access to HPFS source code, although
I'm sure they had documentation from IBM on HPFS's low-level structure.
Juggling inode tables and the like for an ext2fs->ReiserFS converter
could be difficult to code, but I doubt if it'd be impossible or even
infeasible, given adequate motivation and time to write the utility.
That said, I'm not holding my breath waiting for such a thing; I gather
that it *WOULD* be a very difficult task, and AFAIK nobody's currently
working on it.
--
Rod Smith, [EMAIL PROTECTED]
http://www.rodsbooks.com
Author of books on Linux & multi-OS configuration
------------------------------
From: Chris Webster <[EMAIL PROTECTED]>
Crossposted-To: alt.linux
Subject: Re: Print in Landscape mode - how?
Date: Mon, 05 Feb 2001 10:32:21 -0700
> I occasionally have ASCII text files which I'd like to print
> in Landscape mode, but can't figure out how to do this, either
> from the command line or from any of the text editors running
> under Gnome. Years ago under Unix I seem to recall there was
> a command line switch for lpr or pr, but can find nothing in the
> man pages.
>
> Anyone have any suggestions?
You can use the enscript program....
--Chris
------------------------------
Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: Which Linux distribution is best?
Date: Mon, 05 Feb 2001 17:34:46 GMT
[Posted and mailed]
In article <95l5cj$s24$[EMAIL PROTECTED]>,
bhogak <[EMAIL PROTECTED]> writes:
> I have a P133 with 32MB RAM and 10G HD, but my System Bios has this 8.4
> Gig barrier. I am not getting BIOS upgrade for the motherboard. When I
> try to install Win 98, at the time of installation, the scandisk
> freezes the machine.
> Would I have the same problem with Linux too?
That depends on what's causing the problem. If it's something like a
bum hard disk or bad RAM, Linux might well not install, or if it does,
it might be unreliable. If the problem is an incompatibility between a
standard Windows driver and some of your hardware, then Linux would
probably install, because the drivers are 100% different.
> If not, which distribution is good?
There's no simple or easy answer to this question. For my thoughts on
several distributions, check:
http://www.rodsbooks.com/distribs/
--
Rod Smith, [EMAIL PROTECTED]
http://www.rodsbooks.com
Author of books on Linux & multi-OS configuration
------------------------------
From: "Meron Lavie" <[EMAIL PROTECTED]>
Crossposted-To:
alt.os.linux,alt.uu.comp.os.linux.questions,aus.computers.linux,cern.linux,comp.os.linux,comp.os.linux.admin,comp.os.linux.setup,thenet.support.linux
Subject: Re: RH7.0: "Unavailable Package" Message When Trying to Install Telnet Server
Date: Sun, 4 Feb 2001 22:03:58 +0200
Yet another comment: Using the rpm line command (instead of doing it through
KDE or the pseudo-graphic linuxconf utility) succeeds. What's the story?
--
Meron Lavie
www.redmatch.com - World's Largest Hi-Tech Salary Site
[EMAIL PROTECTED]
NOTE: THERE ARE NO NUMBERS IN MY REAL EMAIL ADDRESS HOST NAME: ANTI-SPAM!
"Meron Lavie" <[EMAIL PROTECTED]> wrote in message
news:95eqds$oij$[EMAIL PROTECTED]...
> After further investigation, I see that any attempt to add _any_ package
> gives me this error message.
>
> What am I doing wrong?
>
> --
> Meron Lavie
> www.redmatch.com - World's Largest Hi-Tech Salary Site
> [EMAIL PROTECTED]
> NOTE: THERE ARE NO NUMBERS IN MY REAL EMAIL ADDRESS HOST NAME: ANTI-SPAM!
>
>
> "Meron Lavie" <[EMAIL PROTECTED]> wrote in message
> news:95eis0$hq3$[EMAIL PROTECTED]...
> > I installed RH7.0 on my PC as a workstation consfiguration (no other OS
on
> > it). I installed directly from the 1st CD (I was never prompted for the
> > second CD in the installation process).
> >
> > Now, when I want to add a Telnet server via linuxonf (using the
linuxconf
> > pseudo-graphic mode), I get an error mesage saying that:
> > "We can't installed [sic] the package(s) because they require resources
> from
> > un-available packages".
> >
> > The list includes:
> > rpmlib(CompressFileNames)
> > rpmlib(PayloadFilesHavePrefix)
> >
> > How can I tell which packages are missing? Where can I get them?
> >
> > TIA,
> > --
> > Meron Lavie
> > www.redmatch.com - World's Largest Hi-Tech Salary Site
> > [EMAIL PROTECTED]
> > NOTE: THERE ARE NO NUMBERS IN MY REAL EMAIL ADDRESS HOST NAME:
ANTI-SPAM!
> >
> >
> >
>
>
------------------------------
From: "Lloyd Llewellyn" <[EMAIL PROTECTED]>
Subject: "top" shows X using 129MB ??
Date: Mon, 05 Feb 2001 17:43:45 GMT
Can this possibly be correct? That's half of all my memory!
------------------------------
From: "Ahmed" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: Can't umount
Date: Mon, 05 Feb 2001 17:43:58 GMT
One problem that you can be having is being in the directory you're trying
to unmount. So, you'll need to
cd out of it. Another problem is that you're using a program that accesses
this directory. In addition, when you're unmounting issue the command umount
<Mount Point> not the device name.
Good Luck
Ahmed
"Dedicated to all Manson Fans" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> When I try try to umount /dev/hda5 (mount-point: /usr) Iget the error
> message 'device is busy'. This happens anytime, on shutting down,
> rebooting or manual umounting (mad sentence, sorry for my english).
> Any Ideas...
>
>
------------------------------
From: [EMAIL PROTECTED] ()
Subject: Re: "top" shows X using 129MB ??
Date: 5 Feb 2001 11:39:33 -0600
On Mon, 05 Feb 2001 17:43:45 GMT, Lloyd Llewellyn
<[EMAIL PROTECTED]> wrote:
>Can this possibly be correct? That's half of all my memory!
Most of it is swapped out.
====== Posted via Newsfeeds.Com, Uncensored Usenet News ======
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
======= Over 80,000 Newsgroups = 16 Different Servers! ======
------------------------------
From: "lenny" <[EMAIL PROTECTED]>
Subject: Re: print screen
Date: Mon, 05 Feb 2001 17:49:13 GMT
In article <[EMAIL PROTECTED]>, "JM" <[EMAIL PROTECTED]>
wrote:
> Hi, I need to make a document with snapshots of a linux screen. But with
> my redhat 6.0, the "printscreen" button of my keyboard doesn't seem to
> work (when i push "printscreen" and then choose "Paste" in The Gimp,
> nothing happens!). Can somebody tell me how to make snapshots of my
> screen?? Thanks
> JM
The Gimp can capture the whole screen or a window.
File
Aquire
ScreenShot
I am using version 1.1.25
------------------------------
From: Mike E. <[EMAIL PROTECTED]>
Subject: Re: help, unlock file
Date: Mon, 05 Feb 2001 17:41:23 GMT
In article <95hqam$k67$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> i locked a conf file under redhat 7, to deny anyone from editing it..
> but i forgot the command to unlock it...
>
> <note>Hey, I found out that locking works</note>
>
> mv, cp and rm -f does not work, since i cant unlink the file...
>
> does anyone know how to unlock it?
>
> Gerard
>
> Sent via Deja.com
> http://www.deja.com/
>
You either have the immutable (i) or append-only (a) attribute set on
that file. You can do an lsattr (list attribute) to check which one is
set. It is probably the immutable bit and you would remove that by
typing chattr -V -a <file name>. The -V option just redisplays the
attributes again after executing the command to save you from typing
lsattr to verify something.
Mike
--
Support provided by Linuxgruven, Inc.
http://www.linuxgruven.com
314-727-0918
Sent via Deja.com
http://www.deja.com/
------------------------------
From: Mike E. <[EMAIL PROTECTED]>
Subject: Re: Berkeley "R" commands
Date: Mon, 05 Feb 2001 17:49:37 GMT
In article <O3if6.62426$[EMAIL PROTECTED]>,
"Tom Edelbrok" <[EMAIL PROTECTED]> wrote:
> On a Linux firewall machine is it better to delete the Berkeley "r"
commands
> completely or tighten permissions?
> (ie: for rsh, rlogin, rcp).
>
> Any comments?
> Thanks,
> Tom
>
>
Delete them or disable them. If you just try "tightening permissions",
someone will exploit them somehow. ssh is just nicer anyway, it really
is a better option.
Mike
--
Support provided by Linuxgruven, Inc.
http://www.linuxgruven.com
314-727-0918
Sent via Deja.com
http://www.deja.com/
------------------------------
From: Eduardo M Kalinowski <[EMAIL PROTECTED]>
Subject: Cant run Acrobat Reader on RH 7.0
Date: Mon, 05 Feb 2001 17:52:35 GMT
Hi,
I recently upgraded to RedHat 7.0, but I have not been able to run
Acrobat Reader and some other programs (like Maple V). I get an error
message like this when I run the programs:
path:No such file or directory
where path is the path of the executable program. Has anybody found a
solution to this problem?
--
Eduardo M Kalinowski
mailto:[EMAIL PROTECTED]
http://move.to/hpkb
Sent via Deja.com
http://www.deja.com/
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: How to debug sporadic system crash?
Date: Mon, 05 Feb 2001 18:06:23 GMT
Juhani Jaakola <[EMAIL PROTECTED]> wrote:
> Our Linux system has run well for many months, but now it has rebooted
> by itself four times in ten days. I have looked at the logs at /var/log,
Fan failed.
Peter
------------------------------
From: mike <[EMAIL PROTECTED]>
Subject: Not using Lilo with Mandrake 7.2
Date: Mon, 05 Feb 2001 18:02:31 GMT
Hi,
A friend of mine seemed to indicate that in Mandrake 7.0 that he
was not able to go through the install without installing Lilo. He did
not want to do this as it messed up his system. The only way
that he was able to install that version was to do a
control-alternate-delete
out of the installation right before the Lilo section.
I would like to know if I can choose not to use Lilo on the
hard drive in the new install of Mandrake 7.2
and only make a boot floppy?
Thanks
Mike
------------------------------
From: [EMAIL PROTECTED]
Subject: Samba 2.0.7 and large files (>2 GB)
Date: Mon, 05 Feb 2001 18:00:49 GMT
I'm using Linux 2.4.1 and Samba 2.0.7 and noticed some problems with
this combination (could be Samba only though, I don't know).
The problem occurs when I use smbmount (not part of Samba actually) to
mount a Windows 2000 share on my Linux machine. I then copied a 5 GB
file to the share. The weird thing is that when I do a 'ls -l' on the
file I copied, it reports as being 0 bytes. Same thing when I try with
smbclient. But when I ask the guy with the Windows 2000 computer, he
says the file is there alright and is 5 GB big.
I know ext2 has some problems with files larger than 2 GB, but this
should affect the smbfs filesystem, right? I use ReiserFS for my
filesystems, and since ReiserFS supports >2 GB files, the error cannot
lie in the Linux VFS?
Extra note: when I tried with Samba 2.0.5 earlier, I got another error
when trying to do 'ls -l' on the mounted share: it was something like
"Value too large for defined data type", I didn't note the exact words.
Extra note 2: I use 'ls' 4.0 from GNU fileutils.
Any information about what this could be is very welcome!
P�r Lindahl
Sent via Deja.com
http://www.deja.com/
------------------------------
Crossposted-To: comp.os.linux.networking
Date: Mon, 5 Feb 2001 19:19:56 +0100
From: Adrian <[EMAIL PROTECTED]>
Subject: Re: iproute2 + wrr: compilation problems (unresolved symbols)
I've solved it - only updating to an earlier kernel version (2.2.18).
It's seem that the RH6.2 kernel is plenty of bugs...
=09=09=09=09=09=09=09=09Adri=E1n
------------------------------
From: John Hasler <[EMAIL PROTECTED]>
Subject: Re: GPL
Date: Mon, 5 Feb 2001 17:40:44 GMT
John writes:
> According to the GPL, is it legal for a company to release an RPM (or
> some other form of binaries) for Linux without the source code?
As long as your program does not contain any GPL'd code, yes. The fact
that the Linux kernel and many Linux programs are licensed under the terms
of the GPL does not affect the licensing of other Linux programs. There
are many proprietary Linux applications: Oracle for example. You can be
certain that it would not be available for Linux if that required that it
be GPL'd.
Please _read_ the GPL. You have a copy somewhere on your Linux system.
--
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI
------------------------------
From: John Hasler <[EMAIL PROTECTED]>
Subject: Re: GPL
Date: Mon, 5 Feb 2001 17:42:14 GMT
Adam writes:
> Yes, but they have to make the source available upon request,...
Wrong. See my other article in this thread.
> though I am not a lawyer
This is clear.
--
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin
------------------------------
From: Marian ION <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.questions
Subject: Re: setup issue: boot partition size too big
Date: Mon, 05 Feb 2001 19:23:15 +0100
Jeremy Paiz wrote:
> i would like to avoid starting from scratch, i.e. re-installing windows,
One solution could be running Linux with loadlin.exe - this could be put
in
config.sys as an option to a menu. So, at that time, you could either
decide
to start Windows or to start Linux. In order to do that, you need a
floppy
to boot Linux from, then copy vmlinuz to the dos partition (beware not
to
be treated as a text file!).
Marian Ion
------------------------------
From: davinci_unix <[EMAIL PROTECTED]>
Subject: Re: How to debug sporadic system crash?
Date: Mon, 05 Feb 2001 11:20:32 -0700
Juhani Jaakola wrote:
>
> Our Linux system has run well for many months, but now it has rebooted
> by itself four times in ten days. I have looked at the logs at /var/log,
> but there is nothing unusual - suddently the log shows that the system
> is coming up. There are no messages of the system going down.
>
> The system has only a moderate load. It servers WWW pages for six
> domains with Apache and hosts a mailing list with Majordomo and
> sendmail. It's a fairly normal Red Hat 6.1 installation.
>
> I suspect that the rebooting is caused by a small power outage, but
> there are several other computers using the same power outlet, and the
> Linux system is the only computer suffering from reboots. There is no
> UPS, however.
>
> Another reason would be kernel panic. I have never seen Linux panic, so
> I don't know if panic reboots or halts the system. And should panic
> leave a trace/dump somewhere?
>
> Is it possible that a hacker reboots the system from outside, with no
> messages written in system logs when the system goes down?
>
> Any ideas how should I continue debugging?
>
> Here are some excerpts from dmesg describing hardware:
>
> Linux version 2.2.12-20 ([EMAIL PROTECTED]) (gcc version
> egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #1 Mon Sep 27 10:40:35
> EDT 1999
> Detected 334095623 Hz processor.
> Memory: 127616k/131072k available (1008k kernel code, 412k reserved,
> 1640k data, 64k init)
> CPU: Intel Pentium II (Deschutes) stepping 01
> (scsi0) <Adaptec AHA-294X Ultra SCSI host adapter> found at PCI 12/0
> Adding Swap: 136512k swap-space (priority -1)
------------------------------
From: Francis Litterio <[EMAIL PROTECTED]>
Subject: Re: Berkeley "R" commands
Date: Mon, 5 Feb 2001 18:34:28 GMT
"Tom Edelbrok" <[EMAIL PROTECTED]> writes:
> On a Linux firewall machine is it better to delete the Berkeley "r" commands
> completely or tighten permissions?
If by "tighten permissions", you mean:
# chmod -x /usr/bin{rsh,rlogin,rexec}
# chmod -x /usr/sbin/in.{rshd,rlogind,rxecd}
then you don't need to delete them. :-)
Consider: the r-commands authenticate at the granularity of entire hosts,
the basis of this authentication is a hostname supplied by DNS, and when
they send passwords they send them in the clear. Any one of those is a
good reason to blow them away and use SSH or a VPN of some kind.
--
Francis Litterio
[EMAIL PROTECTED]
------------------------------
From: Harlan Grove <[EMAIL PROTECTED]>
Subject: Re: Question about Zsh
Date: Mon, 05 Feb 2001 18:37:35 GMT
In article <[EMAIL PROTECTED]>,
VANTASSLE CRAIG R <[EMAIL PROTECTED]> wrote:
>I was wondering if there was any documentation on the ZSH of Red Hat
>7.0. I want to get some in-depth knowledge on this shell. If anyone
>knows any ideas please let me know. thanks
Dunno about the bundled documentation, but one place would be
http://foad.org/zsh/zsh-doc.tar.gz
Check out http://www.zsh.org for the mirror site nearest you.
Sent via Deja.com
http://www.deja.com/
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Ipchains DROP target reporting with 2.4.x kernel
Date: Mon, 05 Feb 2001 18:38:33 GMT
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> Hiya-
>
> I am using an old box as a firewall on my home system, it has a
> 2.4.x kernel, and uses netfilter and the simple masq script from:
>
> http://netfilter.kernelnotes.org/unreliable-guides/NAT-HOWTO-4.html
>
> together with an added set of targets:
>
> iptables -N logit
> iptables -A logit -j LOG --log-level warning --log-prefix "logit:
> "
> iptables -A logit -j DROP
>
> so I can pick off the nature of DROP'ed packets.
I'd be curious as to what your firewall box is like. Are you by any
chance using the single floppy based setup from the Linux Router
Project?
Sent via Deja.com
http://www.deja.com/
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: GPL
Date: Mon, 05 Feb 2001 18:53:02 GMT
John Hasler <[EMAIL PROTECTED]> wrote:
> Adam writes:
>> Yes, but they have to make the source available upon request,...
> Wrong. See my other article in this thread.
Sorry, I assumed (incorrectly) that he was talking about a GPLed program,
though he never said as much.
Adam
------------------------------
From: [EMAIL PROTECTED] (Mark Bratcher)
Subject: Re: Hi, asking for help
Date: Mon, 05 Feb 2001 18:55:33 GMT
In article <[EMAIL PROTECTED]>, tony wrote:
>Hi I am experiencing quite alot problems with my pc such as the printer is
>not working properly. I tried to see the printer port that are connected
>to my pc and there are only 2 ports that can be fixed to my pc 1 is the
>graphic card that is connected to the monitor and the other one is the
>original port to the mother board. I am not having problems with the
>software as I have set it up properly from the control panel.
>
>Another thing that I am having problem is that the floppy disk fail (40)
>is the number of the message error. I changed the floppy disk but no
>changes I checked the pin connector and they are ok. I made sure that the
>bios setup was correctly without making anymistakes or unnecesary
>changes. For the floppy disk I think that I am having problems with the
>windows setup, control panel and the system. But the beginnig of the
>commputer displays the message error.
>
>Please help
>
>Thanks
>
Are you running Linux?
--
Mark Bratcher
To reply, remove _UNSPAM from my email address
=========================================================
Escape from Microsoft's proprietary tentacles: use Linux!
------------------------------
From: "J.R. Tietsort" <[EMAIL PROTECTED]>
Subject: Re: change pump to dhcpcd
Date: Mon, 5 Feb 2001 11:44:46 -0700
Folks, if you are reading this message, please be aware that Tom is speaking
about 'dhcpcd' (dynamic host configuration protocol client daemon) which
serves an entirely different purpose than 'dhcpd' (dynamic host
configuration protocol daemon).
"Tom Edelbrok" <[EMAIL PROTECTED]> wrote in message
news:GRdf6.62364$[EMAIL PROTECTED]...
Take a look at the book "Linux Firewalls" by Robert L. Ziegler, New
Riders,
page 425 - 432. He gives a good description of switching from pump to
dhcpd.
I just switched to dhcpd myself from pump because I'm using an internet
firewall with web services (Apache, wu-ftp, etc, etc) with a dynamic IP
(rather than static) IP address. As a consequence I need dhcpd to run the
firewall script again any time the ip address changes.
Some things to consider:
1) "pump" is used in Redhat 6.0 and beyond. "dhcpd" was used in pre-6.0.
2) dhcpd is included in the Redhat distribution even though it's not used,
(ie: an RPM).
3) To install I would first manually create /etc/dhcpc, then install. Next
would
place any scripts for dhcpcd to run in /etc/dhcpc/dhcpcd-eth0.exe,
(this is
not an executable, it is a bash script you create from scratch!
replace
"eth0" with
whatever your interface is, though I never had any luck with "ppp0".
4) Now type /sbin/dhcpcd and you will get an ip address assigned.
Type "/sbin/dhcpcd -k" to shut down dhcpd. It will leave
your eth0 down, so when done you have to do "ifup eth0".
5) Apparently the current version of dhcpd doesn't run the
/etc/dhcpc/dhcpcd-eth0.exe bash script if the new IP address
assignment is the same as the old IP address. Older versions of
dhcpcd ran the script even when the IP didn't change.
6) In Redhat 6.0 (and possibly other versions) where pump is used you may
want
to modify /sbin/ifup to use dhcpcd rather than pump, for example
if [ -n "$PUMP" ]; then
echo -n "Determining IP information for $DEVICE..."
if /sbin/dhcpcd; then
/etc/rc.d/init.d/myfirewallbashscript
else
echo "failed."
exit 1
fi
else ...
------------------------------
From: "J.R. Tietsort" <[EMAIL PROTECTED]>
Subject: Re: Simple daemon question...
Date: Mon, 5 Feb 2001 11:50:04 -0700
man chkconfig
man xinetd
"Andrew" <[EMAIL PROTECTED]> wrote in message
news:95ltmc$dhp$[EMAIL PROTECTED]...
> Hi.
> Where to put string which will run/respawn the following daemon on RH6.2
>
> a_daemon [--pidfile PIDFILE] ...
>
>
> ???
> Andrew
>
------------------------------
From: [EMAIL PROTECTED] (Mark Bratcher)
Subject: Re: Z52
Date: Mon, 05 Feb 2001 19:01:24 GMT
In article <A1Bf6.13$[EMAIL PROTECTED]>, lenny wrote:
>Hey...
>
>Anyone tried the Lexmark z52 on
>redhat or mandrake or any dist.
>If you have it working please let
>me know so i know there is still hope.
>I have the driver from lexmark
>it tries to work but can't find
>the printer. if i use another
>driver it sends info to the printer,
>bad info but it is sending something.
>Any special instructions??
>
>Thanks
>lenny
Lenny,
Check out www.linprinting.org and look up Lexmark Z52.
HTH
--
Mark Bratcher
To reply, remove _UNSPAM from my email address
=========================================================
Escape from Microsoft's proprietary tentacles: use Linux!
------------------------------
** 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 by posting to comp.os.linux.misc.
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
******************************