Linux-Misc Digest #728, Volume #25               Sun, 10 Sep 00 22:13:02 EDT

Contents:
  Linux on TV! (sorry!) ([EMAIL PROTECTED])
  Re: Locate inititlization does not complete ("Peter T. Breuer")
  Re: Control-alt-delete in RedHat 5.2 ("Chris Rehmann")
  Re: [usenet] DeCSS Source Code  5464 (Axel)
  Re: can't open apps (James Franklin)
  Re: Zip 100 Parallel Port Drive (Peter Rodriguez)
  Re: SMTP Authentication (Jean-David Beyer-valinux)
  Re: So Complicated I Dont Even Know What To Catagorize It As (Peter Rodriguez)
  Re: Configure Modem and Sound???? (mpulliam)
  Re: Control-alt-delete in RedHat 5.2 (Jean-David Beyer-valinux)
  Re: Have An Hour?(Maybe Two) Alright Proceed....... (Peter Rodriguez)
  Re: Correct way to trim logfiles? ("Andrew N. McGuire ")

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

From: [EMAIL PROTECTED]
Subject: Linux on TV! (sorry!)
Date: Sun, 10 Sep 2000 23:58:27 GMT

Hi

Sorry this ain't too technical, it's really a 'spot Linux box' report,
but I was stunned to see linux being used on the TV.

I was watching an educational programme on BBC2 were they were teaching
software to drive a car, there was a close up on the monitor of the
laptop that was in-car and I saw a terminal window called 'wterm'.  I
almost choked on my cocoa!  I had to tell someone...

Well, it's time to put the cat out,

Chris C.




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

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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Locate inititlization does not complete
Date: 11 Sep 2000 00:13:56 GMT

noyb <[EMAIL PROTECTED]> wrote:
: On 10 Sep 2000 06:18:15 GMT, "Peter T. Breuer" <[EMAIL PROTECTED]>
: wrote:

:>noyb <[EMAIL PROTECTED]> wrote:
:>: it hangs up at the file /.automount.
:>
:>: Any idea of what's going wrong?
:>
:>Not until you show us details of /.automount

: Result of vdir /.automount is
: drwxr-xr-x /.automount  8/8/99
: which is probably the install date.

Oh, I see, It's the mountpoint for your automagically mounted
filesystems. Yes ... exclude it from the updatedb search! It's
full of things that aren't really there. The poor things hanging
waiting for you to put a cdrom in the bay and a floppy in the slot!

:>But it is suspicious that automount is implicated. Turn off
:>automount with a -USR2 signal before starting the updatedb. 

: I don't understand what "Turn off automount with a -USR2 signal means.
: Would you enlighten me?

No. It means what it says. "Turn off automount". "Do it with a -USR2
signal". Man automount if you need more info.

: Never ran across automount in the voluminous docs I have studied.

They might have referred to amd (automount daemon).


:>floppy and cdrom offline, etc. Limit updatedb to particular places to
:>narrow down the problem.
:>
:>Peter

: Yes that worked, 

Good.

: I found a syntax to exclude directories from a "locate -uv" command.
: Actually, I created a shell script to do it as there turned out to be
: other directories that needed to be exculded.  They were all empty
: directories just off / and were /.automount, /net, /misc
: and /mnt for good measure to prevent loading a lot of stuff from c:,
: floppy, etc.

: The command I ended up with was
:                    locate -uv -e /mnt,/.autorun,/misc,/net
: and sucessfully completed.  So I'm happy but still wonder why locate
: can't do empty directories off the root.

Because some if them aren't empty!

: Finally, does anyone know where the output file containing the found
: files lives?  I searched but could not find it.

Man locate. Or strace your executable. There's no place fixed by the
deity. It's where it's been compiled to be by default. Probably
/var/state/locate/.

Peter

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

From: "Chris Rehmann" <[EMAIL PROTECTED]>
Subject: Re: Control-alt-delete in RedHat 5.2
Date: Sun, 10 Sep 2000 19:34:35 -0500

Yes, I meant ctrl-alt-backspace.  Sorry for the confusion.    Thanks
Peter, Leonard, and Bill for the suggestions.

Chris


Peter T. Breuer <[EMAIL PROTECTED]> wrote in message
news:8ph1os$tan$[EMAIL PROTECTED]...

> He meant ctrl-alt-backspace, for goodness' sake.
>
> Sounds as though his disk or computer had a hardware error. He's got
> a messed up .fvwmrc or .xsession (or whatever it is in RH5.2 ..
> .Xclients?). All he has to do is swap to a console with ctl-alt-f1
> and log in on the console and fix it. "init 3" might also be useful!
>
> Peter



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

From: Axel <[EMAIL PROTECTED]>
Crossposted-To: 
news.admin.net-abuse.usenet,alt.fan.karl-malden.nose,alt.non.sequitur,alt.alien.vampire.flonk.flonk.flonk
Subject: Re: [usenet] DeCSS Source Code  5464
Date: Sun, 10 Sep 2000 20:33:40 -0500

Spam Buster <[EMAIL PROTECTED]> is way deep into nothing
special, riding the crest of a wave breaking just west of
news.admin.net-abuse.sightings:

>OT EMP
>
>The 4-digit code at the end of the subject line and the scrambled line at the end of 
>the
>post, clearly indicate that poster knows he's spamming, and he's using "professional"
>spamming software to try to avoid cancel bots.
>
>Spammer is knowinkgly and willfully disseminating the source code of illegal software 
>so
>it will be stored on usenet archiving systems like deja.com.
>
>Roadrunner: Please remove spammer from the internet
>
>MPAA: I leave it up to you to prosecute this spammer and to contact the usenet 
>archiving
>servers (deja.com, and others) to ask them to delete these posts.
>

Fuck you, buddy.  Code is speech, and it is in the interest of the
programming community that these posts stay on the servers.  As a news
admin, I can tell you, I have no desire for the MPAA to dictate to ME
what posts I should remove from my service.

BTW, the fact that you included DeCSS in the body of your complaint
indicates your hypocricy.

Fuckhead.

>
>    Path:
>typhoon.austin.rr.com!cyclone2.austin.rr.com!cyclone.austin.rr.com!cyclone.tampabay.rr.com
>!cyclone.southeast.rr.com!cyclone-east.rr.com!news-east.rr.com!cyclone-west.rr.com!news.rr
>com!news-west.rr.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!xfer13.netnews.com!ne
>tnews.com!newsfeed.skycache.com!Cidera!cyclone-0.nyroc.rr.com!typhoon.nyroc.rr.com.POSTED!
>not-for-mail
>From: [EMAIL PROTECTED]
>Newsgroups: alt.sys.pc-clone.compaq,alt.sys.pc-clone.compaq.servers
>Subject: DeCSS Source Code  5464
>Lines: 262
>Message-ID: <s1Qu5.17268$[EMAIL PROTECTED]>
>Date: Sun, 10 Sep 2000 18:03:04 GMT
>NNTP-Posting-Host: 24.93.20.135
>X-Complaints-To: [EMAIL PROTECTED]
>X-Trace: typhoon.nyroc.rr.com 968608984 24.93.20.135 (Sun, 10 Sep 2000 14:03:04 EDT)
>NNTP-Posting-Date: Sun, 10 Sep 2000 14:03:04 EDT
>Organization: Time Warner Road Runner - Rochester NY
>Xref: cyclone2.austin.rr.com alt.sys.pc-clone.compaq:72201
>alt.sys.pc-clone.compaq.servers:198
>
>
>
>
>
>/*
>
> *  css_descramble.c
>
> *
>
> *  Released under the version 2 of the GPL.
>
> *
>
> *  Copyright 1999 Derek Fawcus
>
> *
>
> *  This file contains functions to descramble CSS encrypted DVD content
>
> *
>
> */
>
>
>
>/*
>
> *  Still in progress:  Remove the use of the bit_reverse[] table by recoding
>
> *                      the generation of LFSR1.  Finish combining this with
>
> *                      the css authentication code.
>
> *
>
> */
>
>
>
>#include <stdio.h>
>
>#include <string.h>
>
>#include "css-descramble.h"
>
>
>
>typedef unsigned char byte;
>
>
>
>/*
>
> *
>
> *  some tables used for descrambling sectors and/or decrypting title keys
>
> *
>
> */
>
>
>
>static byte csstab1[256]=
>
>{
>
> 0x33,0x73,0x3b,0x26,0x63,0x23,0x6b,0x76,0x3e,0x7e,0x36,0x2b,0x6e,0x2e,0x66,0x7b,
>
> 0xd3,0x93,0xdb,0x06,0x43,0x03,0x4b,0x96,0xde,0x9e,0xd6,0x0b,0x4e,0x0e,0x46,0x9b,
>
> 0x57,0x17,0x5f,0x82,0xc7,0x87,0xcf,0x12,0x5a,0x1a,0x52,0x8f,0xca,0x8a,0xc2,0x1f,
>
> 0xd9,0x99,0xd1,0x00,0x49,0x09,0x41,0x90,0xd8,0x98,0xd0,0x01,0x48,0x08,0x40,0x91,
>
> 0x3d,0x7d,0x35,0x24,0x6d,0x2d,0x65,0x74,0x3c,0x7c,0x34,0x25,0x6c,0x2c,0x64,0x75,
>
> 0xdd,0x9d,0xd5,0x04,0x4d,0x0d,0x45,0x94,0xdc,0x9c,0xd4,0x05,0x4c,0x0c,0x44,0x95,
>
> 0x59,0x19,0x51,0x80,0xc9,0x89,0xc1,0x10,0x58,0x18,0x50,0x81,0xc8,0x88,0xc0,0x11,
>
> 0xd7,0x97,0xdf,0x02,0x47,0x07,0x4f,0x92,0xda,0x9a,0xd2,0x0f,0x4a,0x0a,0x42,0x9f,
>
> 0x53,0x13,0x5b,0x86,0xc3,0x83,0xcb,0x16,0x5e,0x1e,0x56,0x8b,0xce,0x8e,0xc6,0x1b,
>
> 0xb3,0xf3,0xbb,0xa6,0xe3,0xa3,0xeb,0xf6,0xbe,0xfe,0xb6,0xab,0xee,0xae,0xe6,0xfb,
>
> 0x37,0x77,0x3f,0x22,0x67,0x27,0x6f,0x72,0x3a,0x7a,0x32,0x2f,0x6a,0x2a,0x62,0x7f,
>
> 0xb9,0xf9,0xb1,0xa0,0xe9,0xa9,0xe1,0xf0,0xb8,0xf8,0xb0,0xa1,0xe8,0xa8,0xe0,0xf1,
>
> 0x5d,0x1d,0x55,0x84,0xcd,0x8d,0xc5,0x14,0x5c,0x1c,0x54,0x85,0xcc,0x8c,0xc4,0x15,
>
> 0xbd,0xfd,0xb5,0xa4,0xed,0xad,0xe5,0xf4,0xbc,0xfc,0xb4,0xa5,0xec,0xac,0xe4,0xf5,
>
> 0x39,0x79,0x31,0x20,0x69,0x29,0x61,0x70,0x38,0x78,0x30,0x21,0x68,0x28,0x60,0x71,
>
> 0xb7,0xf7,0xbf,0xa2,0xe7,0xa7,0xef,0xf2,0xba,0xfa,0xb2,0xaf,0xea,0xaa,0xe2,0xff
>
>};
>
>
>
>static byte lfsr1_bits0[256]=
>
>{
>
> 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x09,0x08,0x0b,0x0a,0x0d,0x0c,0x0f,0x0e,
>
> 0x12,0x13,0x10,0x11,0x16,0x17,0x14,0x15,0x1b,0x1a,0x19,0x18,0x1f,0x1e,0x1d,0x1c,
>
> 0x24,0x25,0x26,0x27,0x20,0x21,0x22,0x23,0x2d,0x2c,0x2f,0x2e,0x29,0x28,0x2b,0x2a,
>
> 0x36,0x37,0x34,0x35,0x32,0x33,0x30,0x31,0x3f,0x3e,0x3d,0x3c,0x3b,0x3a,0x39,0x38,
>
> 0x49,0x48,0x4b,0x4a,0x4d,0x4c,0x4f,0x4e,0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,
>
> 0x5b,0x5a,0x59,0x58,0x5f,0x5e,0x5d,0x5c,0x52,0x53,0x50,0x51,0x56,0x57,0x54,0x55,
>
> 0x6d,0x6c,0x6f,0x6e,0x69,0x68,0x6b,0x6a,0x64,0x65,0x66,0x67,0x60,0x61,0x62,0x63,
>
> 0x7f,0x7e,0x7d,0x7c,0x7b,0x7a,0x79,0x78,0x76,0x77,0x74,0x75,0x72,0x73,0x70,0x71,
>
> 0x92,0x93,0x90,0x91,0x96,0x97,0x94,0x95,0x9b,0x9a,0x99,0x98,0x9f,0x9e,0x9d,0x9c,
>
> 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x89,0x88,0x8b,0x8a,0x8d,0x8c,0x8f,0x8e,
>
> 0xb6,0xb7,0xb4,0xb5,0xb2,0xb3,0xb0,0xb1,0xbf,0xbe,0xbd,0xbc,0xbb,0xba,0xb9,0xb8,
>
> 0xa4,0xa5,0xa6,0xa7,0xa0,0xa1,0xa2,0xa3,0xad,0xac,0xaf,0xae,0xa9,0xa8,0xab,0xaa,
>
> 0xdb,0xda,0xd9,0xd8,0xdf,0xde,0xdd,0xdc,0xd2,0xd3,0xd0,0xd1,0xd6,0xd7,0xd4,0xd5,
>
> 0xc9,0xc8,0xcb,0xca,0xcd,0xcc,0xcf,0xce,0xc0,0xc1,0xc2,0xc3,0xc4,0xc5,0xc6,0xc7,
>
> 0xff,0xfe,0xfd,0xfc,0xfb,0xfa,0xf9,0xf8,0xf6,0xf7,0xf4,0xf5,0xf2,0xf3,0xf0,0xf1,
>
> 0xed,0xec,0xef,0xee,0xe9,0xe8,0xeb,0xea,0xe4,0xe5,0xe6,0xe7,0xe0,0xe1,0xe2,0xe3
>
>};
>
>
>
>static byte lfsr1_bits1[512]=
>
>{
>
> 0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,
>
> 0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,
>
> 0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,
>
> 0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,
>
> 0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,
>
> 0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,
>
> 0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,
>
> 0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,
>
> 0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,
>
> 0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,
>
> 0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,
>
> 0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,
>
> 0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,
>
> 0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,
>
> 0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,
>
> 0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,
>
> 0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,
>
> 0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,
>
> 0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,
>
> 0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,
>
> 0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,
>
> 0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,
>
> 0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,
>
> 0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,
>
> 0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,
>
> 0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,
>
> 0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,
>
> 0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,
>
> 0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,
>
> 0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,
>
> 0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,
>
> 0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff,0x00,0x24,0x49,0x6d,0x92,0xb6,0xdb,0xff
>
>};
>
>
>
>/* Reverse the order of the bits within a byte.
>
> */
>
>static byte bit_reverse[256]=
>
>{
>
> 0x00,0x80,0x40,0xc0,0x20,0xa0,0x60,0xe0,0x10,0x90,0x50,0xd0,0x30,0xb0,0x70,0xf0,
>
> 0x08,0x88,0x48,0xc8,0x28,0xa8,0x68,0xe8,0x18,0x98,0x58,0xd8,0x38,0xb8,0x78,0xf8,
>
> 0x04,0x84,0x44,0xc4,0x24,0xa4,0x64,0xe4,0x14,0x94,0x54,0xd4,0x34,0xb4,0x74,0xf4,
>
> 0x0c,0x8c,0x4c,0xcc,0x2c,0xac,0x6c,0xec,0x1c,0x9c,0x5c,0xdc,0x3c,0xbc,0x7c,0xfc,
>
> 0x02,0x82,0x42,0xc2,0x22,0xa2,0x62,0xe2,0x12,0x92,0x52,0xd2,0x32,0xb2,0x72,0xf2,
>
> 0x0a,0x8a,0x4a,0xca,0x2a,0xaa,0x6a,0xea,0x1a,0x9a,0x5a,0xda,0x3a,0xba,0x7a,0xfa,
>
> 0x06,0x86,0x46,0xc6,0x26,0xa6,0x66,0xe6,0x16,0x96,0x56,0xd6,0x36,0xb6,0x76,0xf6,
>
> 0x0e,0x8e,0x4e,0xce,0x2e,0xae,0x6e,0xee,0x1e,0x9e,0x5e,0xde,0x3e,0xbe,0x7e,0xfe,
>
> 0x01,0x81,0x41,0xc1,0x21,0xa1,0x61,0xe1,0x11,0x91,0x51,0xd1,0x31,0xb1,0x71,0xf1,
>
> 0x09,0x89,0x49,0xc9,0x29,0xa9,0x69,0xe9,0x19,0x99,0x59,0xd9,0x39,0xb9,0x79,0xf9,
>
> 0x05,0x85,0x45,0xc5,0x25,0xa5,0x65,0xe5,0x15,0x95,0x55,0xd5,0x35,0xb5,0x75,0xf5,
>
> 0x0d,0x8d,0x4d,0xcd,0x2d,0xad,0x6d,0xed,0x1d,0x9d,0x5d,0xdd,0x3d,0xbd,0x7d,0xfd,
>
> 0x03,0x83,0x43,0xc3,0x23,0xa3,0x63,0xe3,0x13,0x93,0x53,0xd3,0x33,0xb3,0x73,0xf3,
>
> 0x0b,0x8b,0x4b,0xcb,0x2b,0xab,0x6b,0xeb,0x1b,0x9b,0x5b,0xdb,0x3b,0xbb,0x7b,0xfb,
>
> 0x07,0x87,0x47,0xc7,0x27,0xa7,0x67,0xe7,0x17,0x97,0x57,0xd7,0x37,0xb7,0x77,0xf7,
>
> 0x0f,0x8f,0x4f,0xcf,0x2f,0xaf,0x6f,0xef,0x1f,0x9f,0x5f,0xdf,0x3f,0xbf,0x7f,0xff
>
>};
>
>
>
>/*
>
> *
>
> * this function is only used internally when decrypting title key
>
> *
>
> */
>
>static void css_titlekey(byte *key, byte *im, byte invert)
>
>{
>
> unsigned int lfsr1_lo,lfsr1_hi,lfsr0,combined;
>
> byte o_lfsr0, o_lfsr1;
>
> byte k[5];
>
> int i;
>
>
>
> lfsr1_lo = im[0] | 0x100;
>
> lfsr1_hi = im[1];
>
>
>
> lfsr0 = ((im[4] << 17) | (im[3] << 9) | (im[2] << 1)) + 8 - (im[2]&7);
>
> lfsr0 = (bit_reverse[lfsr0&0xff]<<24) | (bit_reverse[(lfsr0>>8)&0xff] << 16)
>
>    | (bit_reverse[(lfsr0>>16)&0xff]<<8) | bit_reverse[(lfsr0>>24)&0xff];
>
>
>
> combined = 0;
>
> for (i = 0; i < 5; ++i) {
>
>  o_lfsr1  = lfsr1_bits0[lfsr1_hi] ^ lfsr1_bits1[lfsr1_lo];
>
>    lfsr1_hi = lfsr1_lo>>1;
>
>    lfsr1_lo = ((lfsr1_lo&1)<<8) ^ o_lfsr1;
>
>  o_lfsr1  = bit_reverse[o_lfsr1];
>
>
>
>  /*o_lfsr0 = (lfsr0>>7)^(lfsr0>>10)^(lfsr0>>11)^(lfsr0>>19);*/
>
>  o_lfsr0 = (((((((lfsr0>>8)^lfsr0)>>1)^lfsr0)>>3)^lfsr0)>>7);
>
>    lfsr0 = (lfsr0>>8)|(o_lfsr0<<24);
>
>
>
>  combined += (o_lfsr0 ^ invert) + o_lfsr1;
>
>  k[i] = combined & 0xff;
>
>  combined >>= 8;
>
> }
>
>
>
> key[4]=k[4]^csstab1[key[4]]^key[3];
>
> key[3]=k[3]^csstab1[key[3]]^key[2];
>
> key[2]=k[2]^csstab1[key[2]]^key[1];
>
> key[1]=k[1]^csstab1[key[1]]^key[0];
>
> key[0]=k[0]^csstab1[key[0]]^key[4];
>
>
>
> key[4]=k[4]^csstab1[key[4]]^key[3];
>
> key[3]=k[3]^csstab1[key[3]]^key[2];
>
> key[2]=k[2]^csstab1[key[2]]^key[1];
>
> key[1]=k[1]^csstab1[key[1]]^key[0];
>
> key[0]=k[0]^csstab1[key[0]];
>
>}
>
>
>
>/*
>
> *
>
> * this function decrypts a title key with the specified disk key
>
> *
>
> * tkey: the unobfuscated title key (XORed with BusKey)
>
> * dkey: the unobfuscated disk key (XORed with BusKey)
>
> *       2048 bytes in length (though only 5 bytes are needed, see below)
>
> * pkey: array of pointers to player keys and disk key offsets
>
> *
>
> *
>
> * use the result returned in tkey with css_descramble
>
> *
>
> */
>
>
>
>int css_decrypttitlekey(byte *tkey, byte *dkey, struct playkey **pkey)
>
>{
>
> byte test[5], pretkey[5];
>
> int i = 0;
>
>
>
> for (; *pkey; ++pkey, ++i) {
>
>  memcpy(pretkey, dkey + (*pkey)->offset, 5);
>
>  css_titlekey(pretkey, (*pkey)->key, 0);
>
>
>
>  memcpy(test, dkey, 5);
>
>  css_titlekey(test, pretkey, 0);
>
>
>
>  if (memcmp(test, pretkey, 5) == 0) {
>
>   fprintf(stderr, "Using Key %d\n", i+1);
>
>   break;
>
>  }
>
> }
>
>
>
> if (!*pkey) {
>
>  fprintf(stderr, "Shit - Need Key %d\n", i+1);
>
>  return 0;
>
> }
>
>
>
> css_titlekey(tkey, pretkey, 0xff);
>
>
>
> return 1;
>
>}
>
>
>
>/*
>
> *
>
> * this function does the actual descrambling
>
> *
>
> * sec: encrypted sector (2048 bytes)
>
> * key: decrypted title key obtained from css_decrypttitlekey
>
> *
>
> */
>
>void css_descramble(byte *sec,byte *key)
>
>{
>
> unsigned int lfsr1_lo,lfsr1_hi,lfsr0,combined;
>
> unsigned char o_lfsr0, o_lfsr1;
>
> unsigned char *end = sec + 0x800;
>
>#define SALTED(i) (key[i] ^ sec[0x54 + (i)])
>
>
>
> lfsr1_lo = SALTED(0) | 0x100;
>
> lfsr1_hi = SALTED(1);
>
>
>
> lfsr0 = ((SALTED(4) << 17) | (SALTED(3) << 9) | (SALTED(2) << 1)) + 8 - 
>(SALTED(2)&7);
>
> lfsr0 = (bit_reverse[lfsr0&0xff]<<24) | (bit_reverse[(lfsr0>>8)&0xff] << 16)
>
>    | (bit_reverse[(lfsr0>>16)&0xff]<<8) | bit_reverse[(lfsr0>>24)&0xff];
>
>
>
> sec+=0x80;
>
> combined = 0;
>
> while (sec != end) {
>
>  o_lfsr1  = lfsr1_bits0[lfsr1_hi] ^ lfsr1_bits1[lfsr1_lo];
>
>    lfsr1_hi = lfsr1_lo>>1;
>
>    lfsr1_lo = ((lfsr1_lo&1)<<8) ^ o_lfsr1;
>
>  o_lfsr1  = bit_reverse[o_lfsr1];
>
>
>
>  /*o_lfsr0 = (lfsr0>>7)^(lfsr0>>10)^(lfsr0>>11)^(lfsr0>>19);*/
>
>  o_lfsr0 = (((((((lfsr0>>8)^lfsr0)>>1)^lfsr0)>>3)^lfsr0)>>7);
>
>    lfsr0 = (lfsr0>>8)|(o_lfsr0<<24);
>
>
>
>  combined += o_lfsr0 + (byte)~o_lfsr1;
>
>  *sec++ = csstab1[*sec] ^ (combined&0xff);
>
>  combined >>= 8;
>
> }
>
>}
>
>
>cgxxnxeoxdukmnrrbwrrijlfkcnmjeqzgumugodggfnillodicvvwnhibhlxkxplegnjgnhnxkeqknfovvpklyrcbt
>wbrhcktvidypimwyyxvogcnlexkkhmgtzjpxvxyyxotpwdcfyqchjqfdpxfrsppnzkosmbqungdipljjlkpoehwfey
>fmqlbkysykqttrhskmfoqtlrtdjckyxnvrtbkqcvguzdewjmzwglvrfzytpbrqddnbrlqomhtqgeurxdijldvjvyrg
>meqpvjqhcrrjjpyszxoidcuplqpdnzfjtnfbhsphqtkkwhgvxkjdcyvmxbzgjsbxzefhotusysrxexytrrdkzhvsnj
>xzpqorwcqpwyrlsqlfjzpgwsrjzofdwohqjhekdhjhjxpgomqorbodgqzigiimquzntdhwhwhpedbvfhdgfpeekkzo
>wdqnnzyvyuhwcvhvmdibgduoegxdbbnkdlncdfdxetpgefiikmxqizptrleutqobcwkydnibnpqrfzhgeqeleyldwt
>izgexuwxrwfwn


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

From: [EMAIL PROTECTED] (James Franklin)
Subject: Re: can't open apps
Reply-To: [EMAIL PROTECTED]
Date: 10 Sep 2000 20:38:10 -0600

On Sun, 10 Sep 2000 21:28:56 GMT, [EMAIL PROTECTED] wrote:
>I'm not sure if anyone else has encountered this
>but when I make a ppp connection via kppp I cannot
>open any other applications. Not even a terminal.
>
>I am running Caldera's Open Linux 2.4 (edesktop) .
>Acer computer with 333mhz 156mb ram.
>
>I downloaded the Kppp after I installed Linux
>because it came with Ksaferppp--which is a pain in
>the ___.
>
>Any thoughts?
>
>John
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.

You need to uncheck the hostname option in the kppp configuration.  I believe
kppp is renaming your host to that provided by the ppp connection.  Once your
hostname changed, your X did not know you any more.
-- 
James

A Daily Quip, Quote, or Fortune:
I have a very good DENTAL PLAN.  Thank you.

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

Date: Mon, 11 Sep 2000 12:42:17 +1200
From: Peter Rodriguez <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.development.system
Subject: Re: Zip 100 Parallel Port Drive

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

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

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




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

From: Jean-David Beyer-valinux <[EMAIL PROTECTED]>
Subject: Re: SMTP Authentication
Date: Sun, 10 Sep 2000 21:39:52 -0400

"D. C. Sessions" wrote:

> John Thompson wrote:
> >
> > Arash Sayadi wrote:
> >
> > > I have setup a Linux box with kernal 2.2.12-20, Red Hat 6.1, and Gnome on a
> > > PII300 MMX system.
> > >
> > > I have subscribed to DialFree.net for free Linux dialup.  On their systems,
> > > they require SMTP authentication on all outgoing mail.  I have yet to find a
> > > Linux X11 mail client (preferably for Gnome) that has SMTP authentication
> > > available.
> > >
> > > Does anyone know of a workaround for this or a mail client that does the
> > > SMTP authentication?
> >
> > Have you tried configuring sendmail on your own machine to
> > deliver the mail directly rather than relaying through
> > DialFree.net's smtp service?
>
> A lot of ISPs are blocking outgoing port 25 traffic except from
> their own servers (thanks to spammers).  Requiring authentication
> is another step of this sort, so don't be surprised if Port 25
> blocking is in effect.

Mine does not. They do check to see if I am their client, though. They make sure my
sendmail program has a proper IP address (i.e., one of theirs, and not a
dynamically assigned one at that).

--
 .~.   Jean-David Beyer           Registered Linux User 85642.
 /V\                              Registered Machine    73926.
/( )\  Shrewsbury, New Jersey
^^-^^  9:36pm up 33 days, 5:03, 2 users, load average: 3.92, 3.83, 3.69




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

Date: Mon, 11 Sep 2000 12:51:31 +1200
From: Peter Rodriguez <[EMAIL PROTECTED]>
Subject: Re: So Complicated I Dont Even Know What To Catagorize It As

I find it difficult to understand how you managed to install Win 98 on
an extended partition in the first place.
I run Win 98 on one partition (primary) and Linux on an extended
partition -  no problems with LILO on the MBR, and I do the same with
Win NT 4.0 and Linux on another machine.

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




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

From: mpulliam <[EMAIL PROTECTED]>
Subject: Re: Configure Modem and Sound????
Date: Sun, 10 Sep 2000 20:49:25 -0500

[EMAIL PROTECTED] wrote:
> 
> I just posted an article on my HP3390 with Mandrake. Upon issuing the
> cat /proc/pci to find out the IRQ's of the modem and sound, There the
> same IRQ's IRQ 5 ? I issued the setserial command for the modem and then
> the Hardrake config utility lock's up. So I changed it to irq 15 for
> now. Any ideas on how to set these up?

what the software reports (as in /proc/pci) is not always what
your hardware is actually doing. If you look at your boot
messages with dmesg you may see yet another set of irq
assignments, and neither source is always right. 

The autoconfigure feature of setserial did not work for me - it
might for you though I can't tell if you tried it.  The modem
started out on 11 which did not work, and for the life of me I
can't tell what actually *is* on 11. For what it's worth I ended
up with my sound card on 5 and my modem on 7. 

I pretty much used trial and error. I haven't found
a good HOWTO on irq setting. Do not set anything to irq 0, and
remember irq 9 is identical with irq 2 so don't give different
assignments to 9 and 2. Try and figure out what irq numbers
*appear* not to be in use, and use setserial to try one after
the other until you get some arrangement that works without
breaking anything else. 



 I don't see KPPP on Mandrak

I have found wvdial works better than kppp for me. See if it is
on your Mandrake install or is on your CDROM. The documentation
says it works for about 95% of the people who try it. It uses
heuristics to guess what your ISP wants and if you have a
relatively normal ISP it does quite well. Read the documentation
to see how to configure it  (very easy).

Mary P.

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

From: Jean-David Beyer-valinux <[EMAIL PROTECTED]>
Subject: Re: Control-alt-delete in RedHat 5.2
Date: Sun, 10 Sep 2000 21:57:25 -0400

Leonard Evens wrote:

> Chris Rehmann wrote:
> >
> > My wife was looking at Netscape on my machine running RedHat 5.2.  When it
> > locked up, she pressed control-alt-delete, and it went back to the login
> > screen.
> > I logged in, but all I got was a single button in the upper left corner that
> > said "xconsole"
> > and a popup menu with "Exit FVWM" as the only option.  I was unable to get
> > an
> > xterm or any other window.
> >
> > How do I recover from control-alt-delete?  I am switching over to another
> > system, and
> > I recently ended the support contract for this machine.  I have looked at
> > the documentation
> > in the Linux Documentation Project, but I was unable to find anything
> > relevant.
> >
> > Thank you.
> >
> > Chris Rehmann
>
> What you describe sounds rather bizarre.  While in X, Ctrl-Alt-Del
> shouldn't do anything.  It sounds as if something peculiar happened
> incidently or she used some other exotic key combination.
> Ctrl-Alt-Backspace while in X should kill X and get you back to
> somewhere where you can start again.  You could also try
> Ctral-Alt-F2 to get an alternate terminal and then Ctrl-Alt-Del
> to reboot.  If neither works, wait a minute or so, make sure there
> is no disk activity, shut off the computer and turn it on again.
> Upon rebooting, the system will run fsck to fix the file system,
> but that shouldn't create any serious problem.  If it stops and
> asks you to do it manually, do as indicated and give the default
> response to all questions.

I had to press the panic button once, and doing that was no fun at all. Fsck got
very angry and dumped me into a root shell (I forget if I had to type the root
password or not; I do not think so.) and urged me to run it manually. It did not
want to run. I cannot remember what I had to do, but I believe I had to clean up
/etc/inittab that got bollixed up, or /etc/fstab. One of those that should really
be in good shape. Just my luck that I pressed that button when part of whatever
file it was was in a buffer somewhere.

AVOID RESETTING if at all possible. We are not running DOS after all.

>
>
> This is not a normal situation, so you shouldn't worry about it
> recurring regularly unless there is something really wrong.
>
> --
>
> Leonard Evens      [EMAIL PROTECTED]      847-491-5537
> Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208

--
 .~.   Jean-David Beyer           Registered Linux User 85642.
 /V\                              Registered Machine    73926.
/( )\  Shrewsbury, New Jersey
^^-^^  9:54pm up 33 days, 5:21, 2 users, load average: 3.53, 3.66, 3.67




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

Date: Mon, 11 Sep 2000 13:04:01 +1200
From: Peter Rodriguez <[EMAIL PROTECTED]>
Subject: Re: Have An Hour?(Maybe Two) Alright Proceed.......

I think you really need to spend an hour or two with "Running Linux"
(O'Reilly & Associates), when most of you problems will be at least
clarified, if not solved. BTW, I don,t , personally, think that Mandrake
was a particularly good choice for starting with Linux. I have been
running various distributions (as a user, you understand) for about 6
years, and I found Mandrake a pig to install, let alone run.

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




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

From: "Andrew N. McGuire " <[EMAIL PROTECTED]>
Subject: Re: Correct way to trim logfiles?
Date: Sun, 10 Sep 2000 20:56:44 -0500

[ this question is off-topic for this news-group ]

On Sun, 10 Sep 2000, Hans Marcus Kr=FCger quoth:

HMK> Hi,
HMK>=20
HMK> I am writing a little programm (in perl) to keep my logfiles in order =
an
HMK> I would like to know how I can copy and then truncate the files beeing
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
may still modify your program even if you use flock().  All locks
obtained by flock are advisory locks and are not absolute. =20

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. :-)

(Unless you are writing it for academic purposes)

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


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


** 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