Linux-Misc Digest #159, Volume #24               Sat, 15 Apr 00 15:13:04 EDT

Contents:
  Re: ATI Rage 128 and RH6.2 (asage)
  Re: newbie: patching kernel troubles :((( (asage)
  Re: System.map ? (asage)
  Re: Forgot my ROOT PASSWORD... (Leejay Wu)
  Software to draw geometric figures? (Igor)
  Re: top & utmp (Konrad Hambrick)
  Re: problems sharing Netscape folders (Arnt Karlsen)
  Re: Hard Disk Upgrade Mini How-To: New Version (Dave Brown)
  Re: AIC7XXX hangs on PATCHED 2.2.10 / 2.3.23 (Arnt Karlsen)
  Re: mkfs: 'command not found' (Dave Brown)
  Re: setterm and color ls ("T.E.Dickey")
  Re: serious crash! with bttv driver (Arnt Karlsen)
  Re: Forgot my ROOT PASSWORD... ([EMAIL PROTECTED])
  Re: red hat 6.1 (Arnt Karlsen)
  Re: How to downgrade 56K modem to v.34? ("Elden Fenison")
  Just wondering... (Bastian)
  Re: Q: Best printer for linux box? (Rod Smith)
  Re: 6 OS's, will lilo be sufficient? (Rod Smith)

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

From: asage <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.misc,linux.redhat.list,comp.os.linux.setup
Subject: Re: ATI Rage 128 and RH6.2
Date: Sat, 15 Apr 2000 13:37:44 -0400

This is what I finally did to get my video card to work, in XF863.3.6.
However, it is not working in XF86-4.0.   OTOH, after about messing with
some of the Linux builds post-linux-2.2.14, my linux partition is a dog's
breakfast, so maybe that's the problem...

Allison

Lien-Fei Alex Chu wrote:

> I am not sure if I am right or not. I was trying to get on RedHat's web
> site to check for the info... But... Can't get into their web site..
> Maybe it's down?
> Anyway, XFree3.3.6 does support the Ati Rage 128... However, I don't not
> think the r128 come with it.. And that might be the reason why it does
> not recognize the card. You might want to go to RedHat's web site to see
> if the card is listed as supported. (I am still using 6.0)
> If it's not, than you can go to the following web site and get the
> driver.
>
> http://www4.ncsu.edu/~distclai/2daccel.html
>
> Hope this helps.
>
> Alex.
>
> By the way, you do not need to post the same message on different news
> groups... Just post it on the one you think it is appropriate. If you
> could not get the info from it, then try other new group..
>
> "Amadeu K. Sum" wrote:
>
> > Has anyone experienced problems in setting up RH6.2 with a
> > ATI Rage 128 video card? Actually, there seems to be a
> > problem with XFree86, which although v3.3.6 says to support
> > this card, it does not recognize the card, or even when the
> > parameters are entered manually. Any help is greatly
> > appreciated. Thanks.
> >
> >                 Amadeu
> >                 [EMAIL PROTECTED]


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

From: asage <[EMAIL PROTECTED]>
Subject: Re: newbie: patching kernel troubles :(((
Date: Sat, 15 Apr 2000 13:39:56 -0400

Not exactly what you're asking, but I downloaded the rpms for the whole
2.2.14 kernel and installed the kernel fairly smoothly that way.  I couldn't
get the kernels to work either.

Allison

Andrew Tkachenko wrote:

> Good day/night etc..:)
> I have REdHaT 2.2.11. I need to patch it up to the 2.2.14.
> Got three patches, patch-2.2.12...patch-2.2.14 ;
> Read Kernel-HOWTO, README from 2.2.11 kernel Documentation..Followed
> exactly to instructions, but after some succesfull steps i got:
>
> The text leading up to this was:
> --------------------------
> |diff -u --recursive --new-file
> v2.2.11/linux/arch/alpha/kernel/alpha_ksyms.c
> linux/arch/alpha/kernel/alpha_ksyms.c
> |--- v2.2.11/linux/arch/alpha/kernel/alpha_ksyms.c      Sat May 22
> 13:41:43 1999
> |+++ linux/arch/alpha/kernel/alpha_ksyms.c      Wed Aug 25 17:29:45 1999
> --------------------------
> File to patch:
>
> i've tried 'patch -pN < patch-2.2.12', where i varied N from 0 up to 4..
> and also 'patch-kernel' script from /usr/src/linux/scripts...
> useless..;((
>
> help, please..
> thanx for advance..
>
> --
> ===========================================
> Buing a Pentium III you can reboot faster


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

From: asage <[EMAIL PROTECTED]>
Subject: Re: System.map ?
Date: Sat, 15 Apr 2000 13:41:13 -0400

Gee, I had hoped someone would answer - I am curious about the answer,
since I have the same problem.  Anybody out there?

Andras wrote:

> I just upgraded to a new kernel, but didn't change the
> /boot/System.map.
>
> When I loaded my kernel I got the warning message, that the
> System.map was for another kernel version.
>
> I could change the System.map manually, but
> I didn't find an option in  man lilo.conf, or man rdev to instruct the
> kernel which file to use as the System.map.
>
> What do I do if I would like to keep two kernels in the same
> root filesystem and use lilo to chose?
>
> Do I have to replace the System.map manually before I change from one
> kernel to the other?
>
> Andras


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

From: Leejay Wu <[EMAIL PROTECTED]>
Subject: Re: Forgot my ROOT PASSWORD...
Date: Sat, 15 Apr 2000 13:37:42 -0400

Excerpts from netnews.comp.os.linux.misc: 15-Apr-100 Re: Forgot my ROOT
[EMAIL PROTECTED] (283*) by 
> > Tux, no. You don't reinstall Linux to fix a bad password; that's
> > Microsoft Mentality speaking.
>  
> You know, maybe for once, this isn't such a bad thing...Isn't there 
> a certain security hazard with being able to login as root to a 
> linux box without knowing the password?

Such methods generally require console access, in which case you can,
at best, delay 'em so it takes unusual behavior (like opening up the
machine) to get in.

Password lilo, so that nobody can specify boot options at the prompt
(like 'init=/bin/sh').

Use 'sulogin' in inittab for single-user mode, to demand a password.

Use BIOS boot/setup passwords (different ones) so that if they 
reboot, they need one password just to reach the bootloader.  

Or, disable booting via removable media and use a setup password in
the BIOS so that nobody brings a handy Slackware boot disk, or 
a bootable CD with a live filesystem.

Physically lock down the box, to make it hard to open to remove the
CMOS battery or otherwise reset the BIOS settings.

Using a few of the above should slow down folks a tad, which might
help if the machine is in a public place like a library or school
and you'd rather not allow anybody causing init to jump into, say,
Quake upon startup.
--
|   [EMAIL PROTECTED]        | the silly student          |
|--------------------------| he writes really bad haiku |
|   #include <stddiscl.h>  | readers all go mad         |

    


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

Date: Sat, 15 Apr 2000 12:50:07 -0500
From: [EMAIL PROTECTED] (Igor)
Subject: Software to draw geometric figures?
Reply-To: [EMAIL PROTECTED]

I need some easy piece of software that would help me create .gif files
with geometric drawings (triangles, rectangles etc). Gimp does not seem
to be able to do it. it is mostly for photo manipulation (am I wrong?).

Any suggestiond?
============================================================================
char*p="char*p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
                "It's never too late to have a happy childhood."
                     http://www.algebra.com/~ichudov   


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

From: [EMAIL PROTECTED] (Konrad Hambrick)
Subject: Re: top & utmp
Date: 15 Apr 2000 17:54:11 GMT

In article <8d7foo$k2u$[EMAIL PROTECTED]>,  <[EMAIL PROTECTED]> wrote:
>Hi all, I run RH6.1 on a heavy trafficked web
>server which,
>since last week, after a heavy load, gives me a
>"bad data in /var/run/utmp". Any clues about how
>can I fix this?
>
>Thanx,
>
>Lefteris
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.

Maybe force logrotate to run ?

Try man logrotate ...

HTH.

-- kjh
-- 
============================================================
Konrad J. Hambrick           |  email:  [EMAIL PROTECTED]  |     
1111 Seacoast Dr.  Unit 41   |  home:   (619) 423-4451     |
Imperial Beach, CA   91932   |                             |

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

From: Arnt Karlsen <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: problems sharing Netscape folders
Date: Sat, 15 Apr 2000 18:05:25 GMT

Alberto Ferrante wrote:
> 
> Hi all, it's the first time I write on this newsgroup and I need some
> help from you: I would like to share Netscape mail folders under Win98
> and Linux on a FAT16 partition (they are there because I already made
> them shared under OS/2 and win). The problem is that Linux's Netscape
> needs the folder "Inbox" with a capital letter at the beginning, but,
> over a FAT16 partition this is impossible . I already tried doing
> symbolic links to the folder files from my Linux partition but it's
> useless because when Netscape modifies the folders, it overwrites the
> links with files.
> Any suggests?

..tried nfs-mounting /home/'$yourself'/nsmail ? 

-- 
..mvh/wKRf Arnt  ;-)

 scenario, n.:
        An imagined sequence of events that provides the context in
        which a business decision is made.  Scenarios always come in
        sets of three: best case, worst case, and just in case.

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

From: [EMAIL PROTECTED] (Dave Brown)
Crossposted-To: comp.os.linux.setup
Subject: Re: Hard Disk Upgrade Mini How-To: New Version
Reply-To: [EMAIL PROTECTED]
Date: 15 Apr 2000 13:09:20 -0500

In article <8da26q$nr4$[EMAIL PROTECTED]>, Kenny McCormack wrote:
>...
>>Principal changes in this version: Use of "tar" to copy hard disks no
>>longer recommended due to a bug.
>
>Just out of curiosity, which bug is this?  I'm curious because I don't use
>tar b/c of a bug that I am aware of - and want to know if yours is the same
>as mine.
>
Just out of curiousity, why didn't you post the bug that you're aware of,
so that the rest of us could consider it?  "I'll show you my bug if you 
show me yours."??

... 

>Also, why no mention of cpio?  cpio has always seemed to me the safest,
>easiest, most reliable way to do "XCOPY" under Unix.  I learned it 15 years
>ago and it still works...

What does cpio do that tar does not?  I've always used tar because cpio 
seemed to leave out too many obvious choices that were tar defaults.  I 
realize tar has limitations, such as path-name length, userid maximum, etc, 
but I assumed that cpio probably had similar limits.

-- 
Dave Brown  Austin, TX

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

From: Arnt Karlsen <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: AIC7XXX hangs on PATCHED 2.2.10 / 2.3.23
Date: Sat, 15 Apr 2000 18:11:17 GMT

..based on what I heard of memoryleaks in 2.2-kernels, I'd keep on
patching thru 2.2.14 and from there play with 2.3.99-pre5.
-- 
..mvh/wKRf Arnt  ;-)

 scenario, n.:
        An imagined sequence of events that provides the context in
        which a business decision is made.  Scenarios always come in
        sets of three: best case, worst case, and just in case.

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

From: [EMAIL PROTECTED] (Dave Brown)
Crossposted-To: uk.comp.os.linux
Subject: Re: mkfs: 'command not found'
Reply-To: [EMAIL PROTECTED]
Date: 15 Apr 2000 13:18:19 -0500

In article <airnews.net>, jerbear wrote:
>On Wed, 05 Apr 2000 17:28:40 +0100, "Simon H." <[EMAIL PROTECTED]>
>>I'm trying to get my floppy drive to work (using RH6.1). I know I need
>>to fdformat the disk, make the filesystem, and mount the thing (assuming
>>fstab is in order). I was told to use 'mkfs' (with a whole bunch of
>>options) but just get 'command not found'. Is this the wrong command, or
>>do I need to get hold of this utility from somewhere?
>I had the same problem. After playing around with it I finally got it
>to work by calling the command 'mkfs' using its full path. i.e.
>/sbin/mkfs ....bla.bla.bla
>Why this is needed when the path is correctly set up in root is beyond
>my newbie knowledge.

I've noticed that by default, RH does not install the "mkfs" commands for 
DOS/Win filesystems.  Thus when you use the wrapper to call these commands, 
you'll get a file-not-found error. (mkfs -t msdos => mkfs.msdos).

On the second question, the commands in /sbin are "assumed" to be used 
only by the sys admin, and therefore, that directory need not be on  the 
search path for a "normal user".


-- 
Dave Brown  Austin, TX

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

From: "T.E.Dickey" <[EMAIL PROTECTED]>
Subject: Re: setterm and color ls
Date: Sat, 15 Apr 2000 18:18:31 GMT

Floyd Davidson <[EMAIL PROTECTED]> wrote:

> To learn more about various escape sequences that are recognized
> by the Linux console specifically, but also for a great deal of
> information on other terminal standards, read the
> "console_codes" man page.  It also mentions a document
> distributed with X that details xterm codes, but I would expect
> there might be better documentation on current xterms available
> with the xterm distribution (Thomas E. Dickey, the maintainer of
> xterm, will no doubt post a response that has better information
> about xterm specific codes and where to find documentation.)

well, it would certainly be possible to explain it in greater detail,
but what I usualy refer to is the file ctlseqs.ms (format with tbl
ctlseqs.ms |nroff -ms) which is in xterm.tar.gz at
http://www.clark.net/pub/dickey/xterm

(for general information about terminal hardware, Shuford's archive is useful)

-- 
Thomas E. Dickey
[EMAIL PROTECTED]
http://www.clark.net/pub/dickey

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

From: Arnt Karlsen <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: serious crash! with bttv driver
Date: Sat, 15 Apr 2000 18:20:27 GMT

"Jens R�der" wrote:
> 
> Hi there
> 
> I had several serious total linux kernel crashes, when using bttv driver:
> 
> more detail:
> 
> run SuSE 6.4 (but same was with 6.1)
> 
> kernel 2.2.14
> 
> have WinTV PCI/Radio Hauppauge
> 
> bttv driver compiled into kernel
> 
> watch tv with kwintv
> 
> what does I do that it happens:
> 
> switch from X to one of the consoles (mainly to use yast) while watching tv
> 
> then: only sound does continue running, but everything else is
> dead. No chance to switch back or to see anything, no networking!
> 
> => therefor have to reboot.
> 
> It is reproducable and only to avoid, when switching the tv off before.
> 
> Someone had this too?
> 
> Jens
> 
> PS: if email back, then please reply to only: [EMAIL PROTECTED]

..sounds ;-) like bttv locks up X. 
Tried 3-fingering vt's?  [C][Alt][F1-F6] or [C][Alt][<-]  
Next option is go in thru a serial port, to hijack your box back.

-- 
..mvh/wKRf Arnt  ;-)

 scenario, n.:
        An imagined sequence of events that provides the context in
        which a business decision is made.  Scenarios always come in
        sets of three: best case, worst case, and just in case.

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

From: [EMAIL PROTECTED]
Crossposted-To: nf.comp.linux,linux.redhat.misc,aus.computers.linux
Subject: Re: Forgot my ROOT PASSWORD...
Date: Sat, 15 Apr 2000 11:22:01 -0700

In article <[EMAIL PROTECTED]>, Lew Pitcher <[EMAIL PROTECTED]>
wrote:

> Tux wrote:
> > 
> > Hi there,
> > 
> > Do I have to reinstall Linux if I forgot my root password, or is there
> > some way to get back into the system without doing this...???
> 
> Tux, no. You don't reinstall Linux to fix a bad password; that's
> Microsoft Mentality speaking.
> 
> Boot into single user mode (at the lilo prompt, type 'linux single')
> which should put you into a text shell as root, without logging in.
> Type the passwd command, and change root's password. Enter the
> 'telinit 5' or 'telinit 3' command to get to the normal login.
> 
> or
> 
> Boot from your install/rescue disk, log in as root to that (usually a
> known passwd), mount your root partition as /mnt, and edit the
> /mnt/etc/passwd and/or /mnt/etc/shadow files to remove root's
> password. Reboot, and login as root (no password). Enter the passwd
> command to change roots password

. . . what about if I know my root password, but it is not recognized in
run level 1? I'm trying to edit a file that's screwing up run level 3 for
me, but run level 1 seems to be a read-only level. I've tried logging in
as root from run level 1 but all I get is login incorrect. I can login as
an ordinary user, but again all I get is a read-only access environment.
I've tried su root from here, but though I can login as root OK (somehow
root's password is now recognized I'm still stuck in a read-only level.

How on earth do I get write access as root from run level 1?

GDB


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

From: Arnt Karlsen <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: red hat 6.1
Date: Sat, 15 Apr 2000 18:25:11 GMT

[EMAIL PROTECTED] wrote:
> 
> i have red hat linux 6.1, wanted to know how to use non-rpm programs that i
> download is it possible or should i switch to another linux operating
> system??????????? cant figure out how to install or use

..install _all_ your documentation, then enjoy 'man tar', the how-to's
etc.  Finest easter vacation litterature available.

-- 
..mvh/wKRf Arnt  ;-)

 scenario, n.:
        An imagined sequence of events that provides the context in
        which a business decision is made.  Scenarios always come in
        sets of three: best case, worst case, and just in case.

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

From: "Elden Fenison" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: How to downgrade 56K modem to v.34?
Date: Sat, 15 Apr 2000 11:28:32 -0800

In article <8d87cc$e2g$[EMAIL PROTECTED]>, [EMAIL PROTECTED]
(Bill Unruh) wrote:
> In <8d7g93$3bk$[EMAIL PROTECTED]> Kenny Zhu Qili <[EMAIL PROTECTED]>
> writes:
> 
>>Hi guys, I'm using kppp to dialup with my v.90 modem. I wonder if
>>there's way to downgrade my modem to v.34 so that I can connect to a
>>33.6 line. I tried the init string AT&F+MS=11, but it didn't work.
>>Please help me. Thanks.
> 
> The two modems will negotiate it themselves. You do nto need to do
> anything. If it does not negotiate then there are other problems.

Kenny, I do tech support for an ISP and we often have to advise our users
to disable v.90  on their modems so that they can get a good connection. 
If your modem tries for v.90 but can't do it due to phone line conditions
or whatever, then you will likely have a worse connection than if you did
not try v.90 to begin with.

The problem is, each modem manufacturer does this a little differently. 
You'd need to look at the AT command reference for you particular modem to
get the right command.  Many modems use S37 for this, but others have
different commands.

-- 

Elden Fenison http://www.moondog.org


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

From: [EMAIL PROTECTED] (Bastian)
Subject: Just wondering...
Date: 15 Apr 2000 18:35:27 GMT

... if there's a fetchmail-like program that queries several e-Mail accounts
at the same time. Fetchmail does it sequentially, I'd like it to be done
simultaneously, because I have several servers to query, which is very slow
with fetchmail.

Bastian



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

Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: Q: Best printer for linux box?
Crossposted-To: comp.os.linux.hardware,comp.os.linux.setup,comp.periphs.printers
Date: Sat, 15 Apr 2000 18:52:05 GMT

[Posted and mailed]

In article <[EMAIL PROTECTED]>,
        [EMAIL PROTECTED] writes:
> I recently bought a Lexmark OptraColor 40. It is network PS printer and
> supports Linux/Unix as well as windows. It work great for both systems
> for me. Check www.buy.com clearance page. When I bought it was $94 (new)
> compared to more than $300 in stores.

It's now $84.95 with free shipping. The web page claims 284 are still
available. I bought one a week ago. The main caveat is that you'll pay a
lot on memory and supplies. As a PostScript printer, this thing needs
lots of RAM. It comes with 4MB, which is adequate for text or line art,
but not for something like a full-page printout of a graphics file (say,
a photo from a digital camera). Crucial was slow in filling my order, so I
still don't have my SIMM. :-( Print cartridges are also pricey -- $25-$45,
depending on which cartridge and from what dealer.

-- 
Rod Smith, [EMAIL PROTECTED]
http://www.rodsbooks.com
Author of books on Linux networking & multi-OS configuration

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

Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: 6 OS's, will lilo be sufficient?
Date: Sat, 15 Apr 2000 19:00:58 GMT

In article <[EMAIL PROTECTED]>,
        [EMAIL PROTECTED] (Anthony) writes:
> 
> Perhaps Grub is interesting enough to add it in your book.

GRUB is still pretty new, and I only found out about it late in the
writing process. I think I worked in a mention or two, but not much
detail. If the book sells well enough to warrant a second edition, I'll
certainly add more about it at that time.

-- 
Rod Smith, [EMAIL PROTECTED]
http://www.rodsbooks.com
Author of books on Linux networking & multi-OS configuration

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


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