Linux-Misc Digest #549, Volume #20                Wed, 9 Jun 99 00:13:13 EDT

Contents:
  fetchmail errors (Josh Morris)
  Re: LILO gets corrupted (Aaron and Hifumi)
  Re: copying playstation roms...?? ([EMAIL PROTECTED])
  Re: copying playstation roms...?? ([EMAIL PROTECTED])
  Re: can't connect to my isp using kppp (DonJr)
  Re: Backup recommendations? (Matthias Kilian)
  Re: dos format text file ("Art S. Kagel")
  Re: Linux on a 486? (Duncan Christie)
  how to use keys in a 104 Keyboard? ("Charles Yau")
  copying playstation roms...?? (Greg Hookey)
  kill child of shellscript (Vic Mortelmans)
  Re: the last two characters of a dos text file are? (Alex Yung)
  Re: Cd-rom Install Problem ([EMAIL PROTECTED])
  Re: kernel v2.3 development? ("Jim Ross")
  Re: SuSE6.1 Kernel 2.2.5->2.2.9 ([EMAIL PROTECTED])

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

From: Josh Morris <[EMAIL PROTECTED]>
Subject: fetchmail errors
Date: Tue, 08 Jun 1999 22:41:53 -0400
Reply-To: [EMAIL PROTECTED]

I have fetchmail 4.7.5+POP2.  When retrieving mail from my ISP (POP3
account), it will retrieve the mail, delete it off the server (if I
specify of course), but nothing appears in pine (or in
/var/spool/mail).  I get an error:

fetchmail: SMTP error: 250 Reset state

my script is essentially "fetchmail -p POP3 -a -k -u <mylogin>
<myserver>"

I can't find anything in the fetchmail man pages regarding this
particular error.  And I have the /var/spool/mail permissions set to
1777 (as per a pine FAQ I read once).

I'm running SuSE 6.1 with a 2.2.9 kernel.  I didn't have any problems
running my script under RedHat 5.2 with the same kernel.  I'm not sure
what version of fetchmail I had under RedHat since that has gone away. 
Anyone know what is causing this problem and possibly any fixes?  Any
help is appreciated.

Thanks,

----
Josh Morris
Grandview PowerStaton, Inc.
Columbus, OH
[EMAIL PROTECTED]

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

From: Aaron and Hifumi <[EMAIL PROTECTED]>
Subject: Re: LILO gets corrupted
Date: Tue, 08 Jun 1999 16:50:26 -0400

Sounds like you hard drive is not long for this world likely.

Alex Kaufman wrote:

> Running Rh6 with a costum-compiled 2.2.9 kernel. A strange behavior has


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

From: [EMAIL PROTECTED]
Subject: Re: copying playstation roms...??
Date: Wed, 09 Jun 1999 01:45:08 GMT

[EMAIL PROTECTED] wrote:
> In his obvious haste, Greg Hookey <[EMAIL PROTECTED]> babbled
thusly:
> : Hi,
> :      Does anyone know how to copy a sony playstation cd-rom using
> : cdrecord.
>
> Translation:
> Please! Could someone tell me how to pirate Playstation games????

What a crock of shit. I pay more for my playstation games that for any
other software. I backup my linux box regularly even though I can
replace all the programs for free. Why should I not be able to backup
my playstation games?

This is a perfectly legitimate request. Under law, I'm allowed to make
one backup copy of software. Wanting to know how to do that under linux
does not make someone a software pirate.

Your assumption that someone is a criminal based on a one line posting
and knowing nothing more about that author just makes you appear an
authoritarian prick with too much time on his hands. Go bitch where
someone may care.



Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

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

From: [EMAIL PROTECTED]
Subject: Re: copying playstation roms...??
Date: Wed, 09 Jun 1999 01:56:50 GMT

Greg Hookey <[EMAIL PROTECTED]> wrote:
> Hi,
>      Does anyone know how to copy a sony playstation cd-rom using
> cdrecord.

This is something that I'd like to know too. Currently the only media
that I cannot backup is my playstation games, and I'd like to be able
to do that (I know I need a modchip to use the backups).

The info that I have gleaned so far is that the disks need to be written
in DAO (disk at once) mode, which I should be able to do with cdrdao.
cdrdao says that it doesn't yet write data tracks, but the README seems
to contradict this. Perhaps that is currently an experimental feature.

My first problem though is reading the data off the disk. The disks
seem to be mixed mode (XA) cdroms, with one data track at the start
(MODE2 FORM1) followed by 0 or more audio tracks. The data track appears
to be an iso9660 filesystem which I can successfully mount. However, if
I try to read that data track off using 'dd', I get an I/O error
somewhere along the line. I guess I'm hitting the playstation copy
protection stuff.

Also, trying to read the table of contents with cdrdao read-toc produces
some scsi errors towards the end of the data track, and then again with
the first audio track.

There are programs under windows that are able to read the data, so
obviously it is possible. But how?

I am willing and able to write/modify programs to do this - I just need
some info on what I need to do.

Any info anyone?


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

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

From: DonJr <donjr@[127.0.0.1]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.setup,comp.os.linux.x
Subject: Re: can't connect to my isp using kppp
Date: Tue, 08 Jun 1999 17:04:07 -0400

Fritz Whittington wrote:
> 
> DonJr wrote:
> >
> > Bev wrote:
> > >
> > > Melle wrote:
> > > >
> > > > Hi,
> > > > i've got a problem with my RH5.2 distribution of linux! i configured kppp
> > > > the way it was shown in several comp-magazines for logging in at my isp's
> > > > server using PAP - but it doesn't work at all.
> > > > the modem dials properly, but it fails to log in. my isp said that my login,
> > > > password and servername should be added to the file /etc/ppp/pap-secrets,
> > > > but i don't know how in detail. there are two lines of introduction: the
> > > > format of an entry should be something like:
> > > > client            server  secrets            IP adresses
> > > > but what does this mean? i'm not good in English at all (you may have
> > > > noticed that already *grin*) since i'm from Germany, hmm.
> > > > if you know the answer to my problem please mail me to:
> > > > [EMAIL PROTECTED]
> > > >
> > > > thanx,            Melle
> > >
> > > We could never get it to work under RH either, so we just copied over the
> > > files from our slackware installation.  Here is what the /etc/ppp/pap-secrets
> > > file should look like:
> > >
> > >         # Secrets for authentication using PAP...
> > >         # client        server       secret        IP addresses
> > >         "yourloginname"   *   "yourpassword"
> > >
> > > --
> > > Cheers,
> > > Bev
> > > ====================================================================
> > > "We thought of one of those discount store caskets, but, frankly, we
> > >  were worried about the quality."             -- mortuary commercial
> >
> > Basicaly put "kppp" is not written for the Red Hat Dastro and will not
> > work without major configuration change.
> >
> > The easiest way I've found to setup pppd under RH 5.2 or RH 6.0 is:
> >   # linuxconf   { either under X or text mode take you pick}
> >      - Networking
> >        - Client tasks
> >           Select PPP/SLIP/PLIP
> >             Click the ADD button
> >              Make sure PPP is selected
> >               Click the Accept button
> >                 Fill in the following fields
> >                   Phone Number
> >                   Modem Port
> >                   Click the use PAP check button
> >                   Login Name
> >                   Password
> >               Click the Customize button
> >                 Select Allow any user (de)activate the interface
> >            Click the Accept button
> >          Click the quit button on the PPP/SLIP/PLIP page
> >          Select Name server specification (DNS)
> >            Fill in the Name Server Information asked by this page.
> >          Click the Accept button
> >       Click the Quit button
> >       Press enter on the next screen to apply the updates.
> >
> > Now at the command prompt
> >   $ /sbin/ifup ppp0        will bring up the connection
> >   $ /sbin/ifdown ppp0      will bring down the connection
> >
> > Under X simplily load the program "usernet" is a simple to use one to
> > get you started, though there are other choices out there.
> >
> > RedHat 5.2 and 6.0 versions of the Linux Dastro's are simple enough,
> > even a MicroS*t user should be able to set it up.
> >  It's a whole lot simpler then MS-Widows to install and setup.
> >
> > --
> >  -----------------------
> >   Don E. Groves, Jr.
> >   my Email is jetnick AT erols DOT com
> >
> >   I'll add a witty saying here later.
> >   Such as:
> >    Give a man a fish and he will eat now.
> >    Teach him to fish and he will ........
> >     ...
> >     ...
> >     ...
> >     ...
> >     ...
> >     ...
> >     ... drink beer by to pond all day with his new friends.
> >
> > ----------------
> 
> Fine, then.   What do you do if you need to use CHAP, since it
> doesn't seem to offer that option?
> 
> --
> Fritz

Copy the line add to /etc/ppp/pap-secrets to /etc/ppp/chap-secrets since
these files are the same format.

 The normal options being passed to pppd other then 'name you'  have
nonething to do with how it authorizes itself. 

 HUMM maybe you should report this as a bug to RedHat.

--
 -----------------------
  Don E. Groves, Jr.
  my Email is jetnick AT erols DOT com
   
  I'll add a witty saying here later.

================

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

From: [EMAIL PROTECTED] (Matthias Kilian)
Crossposted-To: comp.os.linux.hardware
Subject: Re: Backup recommendations?
Date: 8 Jun 1999 19:12:16 GMT

Marc Mutz ([EMAIL PROTECTED]) wrote:
> If you really mean to *backup* your system then don't do it on a second
> hard drive. If your PC gets cooked by a lightning strike or the like,
> both HD will be killed.

In addition to this, most failures are single files accidentally deleted
by users or corrupted for any reason. Often, you will notice the corruption of
a file weeks or even months after it actually did happen. So, if you make
weekly backups, you will have to buy one new HD every week... or use a tape
drive.

Kili

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

From: "Art S. Kagel" <[EMAIL PROTECTED]>
Subject: Re: dos format text file
Date: Tue, 08 Jun 1999 16:13:13 -0400
Reply-To: [EMAIL PROTECTED]



Charles Wilkins wrote:
> 
> What code characters are placed at the edit of a dos format text file?
> 
> I assume the last one is \n or newline.
> What is the one before that?

Carriage Return (CR): \r in "C"ish.

There are utilities in Linux to filter the CRs out.

Art S. Kagel

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

From: Duncan Christie <[EMAIL PROTECTED]>
Subject: Re: Linux on a 486?
Date: Tue, 08 Jun 1999 15:40:33 -0400

I used to run Linux on an ond 486DX33.  The hard drive wasn't much
bigger either.   I found it ran relatively well, even with X.  I ran
communicator 4.x and similar software without problems.  Avoid using the
"eye candy" window managers (i.e. Enlightenment) and you'll be fine. As
for GNOME, try to avoid it.



Sparky wrote:
> 
> I have an old 486SX25 PC just doing nothing, it is pretty poor spec with
> just a 120mbHD and er, that's about it.
> 
> Would it be possible to run Linux on this, scrap the MS-DOS what was
> left on it and use it as a Linux machine?
> 
> An if this is possible, would it be useable to run X-Windows on it such
> as GNOME or would this just be too slow?
> 
> Thanks,
> Mark.
> 
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.

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

From: "Charles Yau" <[EMAIL PROTECTED]>
Subject: how to use keys in a 104 Keyboard?
Date: Tue, 8 Jun 1999 21:33:53 -0500

I am running Redhat 6 and Fvwm2. In Fvwm, i can map some key
in the .fvwm2rc file. May i wonder how can i map the 3 window keys?
Thanks for any helps~

--
Charles Yau
[EMAIL PROTECTED]



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

From: Greg Hookey <[EMAIL PROTECTED]>
Subject: copying playstation roms...??
Date: Tue, 08 Jun 1999 18:15:04 -0230

Hi,
     Does anyone know how to copy a sony playstation cd-rom using
cdrecord.

Greg


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

From: Vic Mortelmans <[EMAIL PROTECTED]>
Subject: kill child of shellscript
Date: Wed, 09 Jun 1999 04:49:49 +0000
Reply-To: [EMAIL PROTECTED]

suppose I have the following shellscript:

#!/bin/bash
command1 &
while sleep 30s; do
command2;
done


Command1 keeps running in the background, and the while-loop keeps
repeating itself every 30 seconds. That's what it's supposed to do
anyway.

But now, when I kill the script, command1 keeps running. How can I make
sure all commands invoked in the script are ended together with the
script ? Preferably in such a way that I don't need to use a special
form of the kill-command.

Greetings,

Vic

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

From: [EMAIL PROTECTED] (Alex Yung)
Subject: Re: the last two characters of a dos text file are?
Date: 8 Jun 1999 21:17:37 GMT
Reply-To: [EMAIL PROTECTED]

Matthew D. Melbert ([EMAIL PROTECTED]) wrote:
: David Vrabel <[EMAIL PROTECTED]> wrote in article 
: > I use tr, perl is a bit over the top for this.
: >   tr -d '\r' < old_file > new_file
: > to delete the '\r' character leaving the '\n' intact. 
: David...the "tr" command is ok.......as long as you do not have several
: hundred files to go through in a directory.  Then you do need a perl
: program since "tr" (at least through my resrearch) does not supprt a
: recursive call to do entire directories.  So if you have MANY files to do
: such as my company does on a weekly basis, you need something a little
: better then "tr".
: However I did some more looking at "tr" today since you brought this
: up and it is possible to use that command in a perl program....at
: least with capitalization.  I have to see if Carriage Return Removal
: is supported.  Thanks for the conversation.

Perl is way overkill for this task.  If you insist on a programming
solution, this is 7 characters awk script to accomplish the same thing:

gawk "{print}" -- infile > outfile

It will work when converting unix text file to DOS format under DOS.

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

From: [EMAIL PROTECTED]
Crossposted-To: 
comp.os.linux.hardware,comp.os.linux.setup,linux.help,linux.redhat.install
Subject: Re: Cd-rom Install Problem
Date: Wed, 09 Jun 1999 02:42:19 GMT

On Tue, 08 Jun 1999 21:49:56 -0400, [EMAIL PROTECTED] wrote:

When you select "Other", you are telling the kernel that you have a
device like "Backpak" or similar. As long as your CD-ROM is a standard
ATAPI device, you should be fine

>Dudley Brooke wrote:
>
>> [EMAIL PROTECTED] wrote:
>> >I am trying to install Redhat 6.0 on an old Gateway 486 DX2 66 with a Sony
>> >CDu31a Cd drive.  When I select the cdu31a driver it say it can't find the
>> >drive anywhere.  I tried all of the drivers.  The Sony 5xx driver gives me a
>> >box saying it is initializing the drive but then gives me an error.  I tried
>> >to use what the Redhat FAQ tells me to do, but it didn't work.  My system
>> >consists of two hard drives, the first partitioned into two.  My cd drive
>> >takes F: in dos and win95.  Any help would be appreciated.
>> >
>> >Thanks,
>> >Collin
>>
>> At the boot prompt try typing 'linux hdc=cdrom' , some CDs are pretty sloppy
>> about reporting that they are CDs.   I have assumed the CD is secondary master,
>> if it is an older board, and you are running it from the sound card ide
>> channel, then there is a workaround, but I can't remember, try the CDrom howto,
>> it is pretty good.
>>
>> Dudley Brooke
>
>I am new to Linux, and I am at the very beginning of trying to install Redhat 5.1
>on a 33Mhz, 8 Meg RAM,  i486 system.  I am having a similar problem trying
>to get the Redhat installation to recognize my Mitsumi CD-ROM.
>
>The installation keeps asking what type of CD-ROM I have;  SCSI or Other.
>I respond with 'Other', and then go on to select the Mitsumi Device Driver.
>Unfortunately, I am then asked to provide I/O Base Address information, in
>the form....   mcd=<something>
>
>I do currently have Windows95 on this particular system, which I am going to
>complete over-write with Linux.  My Win95 system tells me that the Base I/O
>address of the CD-ROM is  0320-0323.
>
>From the documentation I read on the Redhat site, it looks like I am supposed
>to respond   mcd=io_port,IRQ     during the Redhat installation.
>
>I tried various  combinations of   mcd=0320,15  .... mcd=320,12 .... but nothing
>seems to work.
>
>Can anyone provide me with some suggestions ?
>
>/Alan
>
>


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

From: "Jim Ross" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux
Subject: Re: kernel v2.3 development?
Date: Tue, 8 Jun 1999 23:05:31 -0400


Johannes Rest <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hi,
>
> does anybody know which new key features the new development
> kernel will contain in the future? 2.2 brought a lot of new
> architectural
> changes? Will there be any new architectural features in 2.3.x?
> (I'm asking this with the idea in mind that in the future linux will
> have to
> compete with other os like NT)
>
> Johannes
> --
> Johannes Rest, mailto: [EMAIL PROTECTED]
> software design & management GmbH & Co. KG
> Thomas-Dehler-Str. 27, D-81737 Muenchen, Germany
> Tel.: +49 89 63812-438           Fax: +49 89 63812-444
>
>
I'm know USB is being worked on.
I know someone got his USB mouse working with 2.3.X.
I have compile and sometimes use a 2.3.4 kernel.
Seems stable to me.
Jim



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

From: [EMAIL PROTECTED]
Subject: Re: SuSE6.1 Kernel 2.2.5->2.2.9
Date: Wed, 09 Jun 1999 01:34:10 GMT

I have a few debugging suggestions.

1. Verify that the network modules is loaded with "lsmod". This is
probably true or else you wouldn't even be able to do the ifconfig.

2. Try to ifconfig a static IP address to the card and see if you can
do network stuff (ping, etc) from that. If so then the problem is
somehow related to DHCP, maybe.

3. Use "tcpdump" to see if DHCP is really communicating and the network
card is correctly passing IP packets.

That's about it. I have a feeling that the problem is not directly
kernel related unless there is something odd in you 2.2.9
configuration. As someone else suggested, it wouldn't hurt to make sure
you have a very clean 2.2.9 release if you have been doing patches.


Good luck,

--Rainer


In article <[EMAIL PROTECTED]>,
  Christer Olsson <[EMAIL PROTECTED]> wrote:
> Hi,
> I have tried to update my SuSE6.1 installation from Kernel 2.2.5
> to Kernel 2.2.9 and everything vent real smooth except for the
> network which doesn't work with the new kernel (as soon as I go
> back to my old kernel I am fine again).
>
> The only error messages displayed at boot is
> something like 'modprobe char-major-4...' which I don't
> think is related to the network (at least not to a fixed
> network like mine).
> The networking device is found (loaded as a module)
> and the DHCP client is started but'ifconfig' only gives
> some dummy IP address.
>
> Anyone aware of some special tricks for updating kernels on SuSE
> distributions? I am really stuck here. I have tried to compile
> things into the kernel and have them as moduels but nothing
> seems to work.
>
> I did compile the kernel with:
> make mrproper
> make config
> make dep
> make bzImage
> make modules
> make modules_install
> cp /usr/src/linux/System.map /boot/.
> cp /usr/src/linux/arch/i386/boot/bzImage /boot/.
> 'vi /etc/lilo.config'
> /sbin/lilo
> reboot
>
> / Christer
>
>


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

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


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