Linux-Misc Digest #863, Volume #25 Mon, 25 Sep 00 04:13:03 EDT
Contents:
Re: "Exact" time measuring under linux (Clifford Heath)
automatic tasks ("Erlend Stromsvik")
Re: been hacked...have a question (dew)
Linux Users' Group of Davis, October 3 - Parallel Programming (William Kendrick)
Re: 4004 (Lew Pitcher)
Re: Creating a hard link to a directory.... (Lew Pitcher)
Re: kernel recompile needed, but Mandrake has modified the source... (Villy Kruse)
Linux, Apache, and SSL (Neil Cherry)
Re: automatic tasks (Vilmos Soti)
Re: automatic tasks (Neil Cherry)
Re: been hacked...have a question (Vilmos Soti)
Re: Upgrade to RedHat 6.2 breaks shutdown (Rob McMillin)
Pinstripe Beta RPM vs 6.2 lib format (Rob McMillin)
How could I add a directory to path? ("Lucas Tsoi")
Re: get user ID from user name ("St. Otto")
Should mixer work with CD? (Rob McMillin)
Re: elm use ("Andrew N. McGuire ")
Re: How could I add a directory to path? (Severin Greimel)
Re: Good MPEG player for Linux? (Steven Boucque VJ63 L3 59346)
Re: get user ID from user name (Andreas K�h�ri)
----------------------------------------------------------------------------
From: Clifford Heath <[EMAIL PROTECTED]>
Crossposted-To: comp.robotics.misc
Subject: Re: "Exact" time measuring under linux
Date: Mon, 25 Sep 2000 16:16:25 +1100
Maik Hassel wrote:
> Well, how do I do this? Is the resolution platform-dependent?
Using this little gem (gcc required):
/* Read the Pentium TSC. */
inline unsigned long long
rdtsc ()
{
unsigned long long d;
/*
* Instruction is volatile because we don't want it to move
* over an adjacent gettimeofday. That would ruin the timing
* calibrations.
*/
__asm__ __volatile__ ("rdtsc" : "=&A" (d));
return d;
}
Cheers, and watch out for those pesky interrupts!
--
Clifford Heath, Open Software Associates, mailto:[EMAIL PROTECTED],
Ph +613 9895 2194, Fax 9895 2020, <http://www.osa.com.au/~cjh>,
56-60 Rutland Rd, Box Hill 3128, Melbourne, Victoria, Australia.
------------------------------
From: "Erlend Stromsvik" <[EMAIL PROTECTED]>
Subject: automatic tasks
Date: Mon, 25 Sep 2000 07:49:34 +0200
Is there any other way to run scripts each day or each hour than setting it
up in crontab?
I have this linux-server at work, which has a few scripts running each
night. But I can't find them or where they are started from.
------------------------------
From: dew <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.admin,comp.os.linux.help,comp.os.linux.security
Subject: Re: been hacked...have a question
Date: Mon, 25 Sep 2000 05:59:50 GMT
> someone recently connected to my ftp server and did something (i dont
> know what) to nuke me on irc. the thing is, he/she connected to my ftp
> server apparently using the IP address of someone else. the IP address
> in my log file belongs to someone i know...someone that i know didnt
> nuke me. how did the "nuker" fake the ip address?
ive been hacked that way too, go to www.cert.org and find info about wu-
ftpd. he could have just edited the logs and put your friends ip there
because with the older wu-ftpd, its easy to get root access.
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: William Kendrick <[EMAIL PROTECTED]>
Subject: Linux Users' Group of Davis, October 3 - Parallel Programming
Crossposted-To:
sac.announce,ucd.general,sacramento.internet,sac.general,sac.internet,ucd.life,ucd.cs.club
Date: Mon, 25 Sep 2000 06:17:02 GMT
LUGOD, The Linux Users' Group of Davis, will hold its next meeting on:
Tuesday
October 3, 2000
6:30pm
The meeting will be held at:
Z-World, Inc.
2900 Spafford Street
Davis, CA 95616
The topic will be:
"Parallel Programming with MPICH"
presented by Nicole Carlson
Parallel Programming is the art of writing software which runs on
multiple CPUs simultaneously (ie, in a computer with multiple chips,
or using multiple separate computers over a network in a "cluster").
MPICH is a portable implementation of MPI (the standard Message Passing
Interface library). Message passing is the way in which separate
programs running in parallel can share information.
Nicole Carlson is a graduate student at UC Davis and works at its
Computer Security Lab.
For details on this meeting, maps, directions, public transportation
schedules, etc., visit:
http://www.lugod.org/meeting/
LUGOD is a non-profit organization dedicated to the
Linux Operating System which meets twice a month in Davis, CA.
Please visit our website for details:
http://www.lugod.org/
-bill!
[EMAIL PROTECTED]
http://www.lugod.org/
------------------------------
From: Lew Pitcher <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: 4004
Date: Sun, 24 Sep 2000 21:56:35 -0400
Christopher Browne wrote:
>
> Centuries ago, Nostradamus foresaw a time when Lew Pitcher would say:
> >Christopher Browne wrote:
[snip]
> >> the minimum for a recognizable form of Linux, on the
> >> other hand, is an 80386, which was a BIG jump from the 80286 in its
> >> support for addressing modes and virtualization.
> >>
> >> >I know 5Mb disks are a challenge. I waited for 10Mb disks before
> >> >buying a computer (although I did build one using RAIF (RAIF is the
> >> >RAID you build when you have a shelf full of floppy drives))
> >>
> >> That sounds rather sick! :-)
> >>
> >> >My mate's teacher made a 5Kb disk by spraying the platter of a record
> >> >player with iron oxide based rust proofing paint. The hand wound
> >> >read/write head worked well. It just took a while to wind the handle
> >> >that moved the head to the next track.
> >>
> >> I can't decide whether to believe that or not; it's just imaginable
> >> enough that it doesn't seem _completely_ impossible. But seems rather
> >> like Mr Spock building a computer out of rocks; that is, something
> >> that works on TV, but not usually in real life :-)
> >
> >Well, you missed the Byte Magazine challange (about 1980 or so) to
> >develop a fax/scanner. IIRC, U of Waterloo (here in Ontario Canada)
> >came up with a photocell mounted on a movable, geared stand which was
> >attached to a phonograph player (y'a know, analog audio players <g>).
> >Mounted on the turntable was an applejuice can to which a document
> >would be attached, wrapped around the can. The turntable would spin
> >the document and the photocell would descend, scanning in helixal
> >lines around the document. A single bit A/D converter was used to
> >capture the data to a serial port on a computer where the scanned data
> >was built into a grayscale bitmap of the image.
>
> Was that done by the CS/EEE folk? If it hid at Engsoc, then I'd
> likely not have seen it, as I mostly hung around MC. [Between brothers
> and in-laws, we "Brownes" have 16-odd years of contact with U.W.]
I don't know the details, and I just last month finally threw away all
my old Byte mags :-( so I can't check. All I remember is that I read
the article and said "Cool: those UW guys are good!!"
[snip]
--
Lew Pitcher
Master Codewright and JOAT-in-training
------------------------------
From: Lew Pitcher <[EMAIL PROTECTED]>
Subject: Re: Creating a hard link to a directory....
Date: Sun, 24 Sep 2000 22:03:53 -0400
Bernhard Brueck wrote:
>
> Rob Blomquist <[EMAIL PROTECTED]> wrote:
>
> > I'm trying to make a hard link from a directory in my home directory to
> > /mnt/robbo.
> ...
> > Any thoughts?
> Use a symbolic link (ln -s) instead. Hard links for dirs are not supported
Although this is generally true, there are two general exceptions,
where even ext2 filesystems make hard links to directories: the files
"." and ".." found in each directory are hardlinks to the current
directory and the parent directory respectively.
> because there would be the chance of cyclic directories which would break
> a lot tools.
Yup. And that's why even at the best of times, hard links to
directories need to be strictly controlled. Ext2 is more strict than
some other filesystems.
--
Lew Pitcher
Master Codewright and JOAT-in-training
------------------------------
From: [EMAIL PROTECTED] (Villy Kruse)
Subject: Re: kernel recompile needed, but Mandrake has modified the source...
Date: 25 Sep 2000 06:35:44 GMT
On 24 Sep 2000 01:27:23 -0400, David_C <[EMAIL PROTECTED]> wrote:
>
>Most other distributions do. Including RedHat and Slackware.
>
>I use RedHat. AFAIK, they don't change the kernel sources at all in
>their distribution.
>
Just try install the kernel package from Redhat's
SRPMS/kernel-xxx.src.rpm, and see all the patch files it comes with.
Some of these are patches that eventualy would end up in the official
next version, some not.
Villy
------------------------------
From: [EMAIL PROTECTED] (Neil Cherry)
Subject: Linux, Apache, and SSL
Reply-To: [EMAIL PROTECTED]
Date: Mon, 25 Sep 2000 06:41:18 GMT
Does anyone have SSL properly working with Linux and Apache? I've been
trying to use https://www/ to no availe. The logs just show:
127.0.0.1 - - [25/Sep/2000:02:03:34 -0400] "<80>F^A^C" 501 -
Any pointers?
--
Linux Home Automation Neil Cherry [EMAIL PROTECTED]
http://members.home.net/ncherry (Text only)
http://meltingpot.fortunecity.com/lightsey/52 (Graphics)
http://linuxha.sourceforge.net/ (SourceForge)
------------------------------
Subject: Re: automatic tasks
From: Vilmos Soti <[EMAIL PROTECTED]>
Date: Mon, 25 Sep 2000 06:43:32 GMT
"Erlend Stromsvik" <[EMAIL PROTECTED]> writes:
> Is there any other way to run scripts each day or each hour than setting it
> up in crontab?
>
> I have this linux-server at work, which has a few scripts running each
> night. But I can't find them or where they are started from.
One more possibility is at. However, I think they are run from cron.
Do a grep for familiar strings from /etc/ and see what you get. On RH6,
there are /etc/crontab, /etc/cron.d, /etc/cron.daily, /etc/cron.hourly, etc.
Vilmos
------------------------------
From: [EMAIL PROTECTED] (Neil Cherry)
Subject: Re: automatic tasks
Reply-To: [EMAIL PROTECTED]
Date: Mon, 25 Sep 2000 06:44:13 GMT
On Mon, 25 Sep 2000 07:49:34 +0200, Erlend Stromsvik wrote:
>Is there any other way to run scripts each day or each hour than setting it
>up in crontab?
>
>I have this linux-server at work, which has a few scripts running each
>night. But I can't find them or where they are started from.
The command 'at' can be used to tell a command to run at a certain
time. Or if you've been hacked the perp may have it's own 'cron'
program running.
--
Linux Home Automation Neil Cherry [EMAIL PROTECTED]
http://members.home.net/ncherry (Text only)
http://meltingpot.fortunecity.com/lightsey/52 (Graphics)
http://linuxha.sourceforge.net/ (SourceForge)
------------------------------
Crossposted-To: comp.os.linux.admin,comp.os.linux.help,comp.os.linux.security
Subject: Re: been hacked...have a question
From: Vilmos Soti <[EMAIL PROTECTED]>
Date: Mon, 25 Sep 2000 06:47:09 GMT
> someone recently connected to my ftp server and did something (i dont
> know what) to nuke me on irc. the thing is, he/she connected to my ftp
> server apparently using the IP address of someone else. the IP address
> in my log file belongs to someone i know...someone that i know didnt
> nuke me. how did the "nuker" fake the ip address?
The attacker might have cracked your friend's machine and used
that machine as a springboard. If this turns out to be the case
then your friend should immediately act upon this so s/he cannot
be held liable to any damages originating from his/her machine.
Vilmos
------------------------------
From: Rob McMillin <[EMAIL PROTECTED]>
Subject: Re: Upgrade to RedHat 6.2 breaks shutdown
Date: Sun, 24 Sep 2000 23:50:03 -0700
D G wrote:
> I recently upgraded from RedHat 6.1 to 6.2 and now my computer no longer
> shuts down properly from the kdm login screen. It used to work fine, of
> course. Now, sometimes it kicks me into runlevel 3 (console mode),
> sometimes it restarts kdm before it exits, and sometimes it works fine.
>
> At first, I thought it might be a problem with my /etc/inittab file, but
> that looks OK. Maybe init is not working? (Or maybe I should use gdm
> or xdm :|
I think this may have been a security fix -- you don't want arbitrary users
bringing the machine to init 1. But it doesn't sound like it's working
correctly. Check RedHat errata.
--
http://www.pricegrabber.com | Dog is my co-pilot.
------------------------------
From: Rob McMillin <[EMAIL PROTECTED]>
Subject: Pinstripe Beta RPM vs 6.2 lib format
Date: Sun, 24 Sep 2000 23:53:46 -0700
Does anybody have a way to convert from the RedHat 6.2 RPM library
format (contents of /var/lib/rpm) to that used by RPM 4.0 shipped in
Pinstripe Beta? I ask because I want to see if I had a particular
package installed on the backup I made prior to the Pinstripe
installation.
--
http://www.pricegrabber.com | Dog is my co-pilot.
------------------------------
From: "Lucas Tsoi" <[EMAIL PROTECTED]>
Subject: How could I add a directory to path?
Date: Mon, 25 Sep 2000 14:56:02 +0800
As title.
------------------------------
From: "St. Otto" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.networking
Subject: Re: get user ID from user name
Date: Mon, 25 Sep 2000 08:45:54 +0200
Chris J/#6 wrote:
>
> James Knott <[EMAIL PROTECTED]> wrote:
> >That does not seem to work in Redhat 6.2. According to "man id",
> >there is no -u option.
> >
>
> Don't trust the man pages ... try it yourself. Remember, for some reason I've
> yet to fathom out, GNU thinks man pages are defunct, hence the disclaimer at
> the top of many man pages that reads:
>
> This documentation is no longer being maintained and may
> be inaccurate or incomplete. The Texinfo documentation is
> now the authoritative source.
>
> Why they can't use man pages, I don't know...*but* they do and that's that. I
> don't won't a start a war of words over this one.
>
> Chris...
>
> --
> @}-,'-------------------------------------------------- Chris Johnson --'-{@
> / "If not for me then, do it for yourself. / [EMAIL PROTECTED] \
> / If not for me, then do it for the world" / www.nccnet.co.uk/~sixie \
> / -- Stevie Nicks / \
Are you fit in shell ? Then check man pages for sh (or csh, bash), awk,
sed and cat. It will help you.
With these commands within a shellscript you can read data from
/etc/passwd and put them into shell variables, on console etc.
Sorry, actually there isn't as much time as I would need to solve
your problem by typing a little script.
Regards, St. Otto
------------------------------
From: Rob McMillin <[EMAIL PROTECTED]>
Subject: Should mixer work with CD?
Date: Mon, 25 Sep 2000 00:02:47 -0700
I have the RedHat Pinstripe beta installed. I'm using gtcd (1.2.0), and
the XMixer (2.2) that ship with that release. I've got a SoundBlaster
PCI512 (emu10k) card installed, which seems to be working correctly with
the "play" application. I have the analog audio output of BOTH the
CD-ROM and CD-RW drives plugged into the CD and AUX IN ports on the
sound card.
Is there something I should be doing to hear the CD through the audio
card? So far, nothing I've tried works.
Please reply directly via e-mail, as my news is a little flaky.
--
http://www.pricegrabber.com | Dog is my co-pilot.
------------------------------
From: "Andrew N. McGuire " <[EMAIL PROTECTED]>
Subject: Re: elm use
Date: Mon, 25 Sep 2000 02:28:26 -0500
On Sun, 24 Sep 2000, bfxsn quoth:
b> anyone have a clue how to get elm to send a message using
b> the ISP domain name instead of localhost.localdomain?
Well, for one, there is no reason your hostname should still
be localhost@localdomain. You may be able to set the $REPLYTO
environmental variable to direct replies to a certain address,
but I would get a different mailer. I am a long time pine user,
but I think mutt is better (I just need to break myself of pine).
Both pine and mutt do what you want.
One other thing, if you do use sendmail, change your host's domain
to your ISP's, then you will need to strip off the hostname part
of the address in /etc/mail/sendmail.cf. You would also do well to
use the username your ISP gives you on your localhost as well.
anm
--
# Andrew N. McGuire
my $j = [ [ qw+ 4A 75 73 74 20 61 0 +] => [ qw+ 6E 6F 74 68 65 72 0 + ] =>
,,,,,,,,, [ qw+ 20 50 65 72 6C 20 0 +] => [ qw+ 48 61 63 6B 65 72 A + ] ];
;;;;;;;;; print map chr(hex()) => map @$_ => map @$j->[$_-0xA], 0xA .. 0xD
------------------------------
From: Severin Greimel <[EMAIL PROTECTED]>
Subject: Re: How could I add a directory to path?
Date: Mon, 25 Sep 2000 10:00:00 +0200
You have to edit your $PATH environment variable. Add something like the
following into your /etc/profile to make it permanent:
PATH=$PATH:/this/is/the/dir/you/want/to/add
export PATH
This will keep your current PATH as well as add the new directory to it.
Severin (going to the Oktoberfest now :)
------------------------------
From: Steven Boucque VJ63 L3 59346 <[EMAIL PROTECTED]>
Subject: Re: Good MPEG player for Linux?
Date: Mon, 25 Sep 2000 09:46:22 +0200
Check out aviplay or XMPS
Trumpy wrote:
> Sorry I don't have an answer to the question. I would like to add something
> to it though.
>
> ...is there a Linux player or plugin for a player which can play Divx
> compressed videos?
>
> "MH" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > Anyone know of a good MPEG player for Linux? Would be nice if it also
> > played AVI files.
> >
> > --
> > Don't waste your vote. Vote Green, or don't vote at all.
--
http://www.alcatel.com/
http://www.alcatel.be/
================================================================
Steven Boucque (VJ63)
Software Engineer
F. Wellesplein 1
2018 Antwerp (Belgium)
Phone : ++32 (0)3 / 240.93.46
Mobile : ++32 (0)75 / 96.52.38
E-mail : [EMAIL PROTECTED]
================================================================
------------------------------
Crossposted-To: alt.os.linux,comp.os.linux.networking
Subject: Re: get user ID from user name
From: Andreas K�h�ri <[EMAIL PROTECTED]>
Date: 25 Sep 2000 10:04:34 +0100
In article <8qldn3$sdj$[EMAIL PROTECTED]>,
Chris J/#6 <[EMAIL PROTECTED]> wrote:
>James Knott <[EMAIL PROTECTED]> wrote:
>>That does not seem to work in Redhat 6.2. According to "man id",
>>there is no -u option.
>>
>
>Don't trust the man pages ... try it yourself. Remember, for some reason I've
>yet to fathom out, GNU thinks man pages are defunct, hence the disclaimer at
>the top of many man pages that reads:
>
> This documentation is no longer being maintained and may
> be inaccurate or incomplete. The Texinfo documentation is
> now the authoritative source.
>
>Why they can't use man pages, I don't know...*but* they do and that's that. I
>don't won't a start a war of words over this one.
>
Good. Read about GNU Manuals in the GNU Coding Standards at
<URL:http://www.gnu.org/prep/standards_32.html>.
/A
--
Andreas K�h�ri, <URL:http://hello.to/andkaha/>. Junk mail, no.
========================================================================
What part of "GNU" did you not understand? <URL:http://www.gnu.org/>
------------------------------
** 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
******************************