Linux-Misc Digest #217, Volume #21 Fri, 30 Jul 99 00:13:16 EDT
Contents:
PAM Question ([EMAIL PROTECTED])
Re: What I think of linux. (Frank Sweetser)
Re: Kernel Rebuild Problem (Gergo Barany)
Re: is my hardware supported in linux? (Robert Heller)
Re: Stupid Question About Log Files (Robert Heller)
How to create bootdisk on a LS120 drive? ("Steve Snyder")
Re: LILO and NT40 (Peter Eddy)
Re: latest netscape (James Gray)
Quicktime (Robert Grimm)
Re: Linux Kernel Compilation for 386/486/Pentium? (Matt Cole)
The Lex & Yacc source code for C++ (jievis)
Re: Exabyte 8700 & Linux (Ashley W Campbell)
Re: Assembler for linux on Intel platform. (Matt Cole)
can't open up X applications after ISP connected with usernet (Tim Williams)
Re: How to create bootdisk on a LS120 drive? (Matt Cole)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED]
Subject: PAM Question
Date: Fri, 30 Jul 1999 01:18:38 GMT
I would like to be able to use upper and lower case letters in passwords
on my Linux server for my Win98 clients. Whenever I setup an account
using passwords with upper case letters, Linux will not allow the Win98
clients to login. If I change the password to use only lower case
letters then everything is fine. Do I need to change something in my
PAM config modules or is this a Win98 problem? I need to know where my
problem is so I can fix it. Any help would be appreciated.
[EMAIL PROTECTED]
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: Frank Sweetser <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.linux.sux,alt.os.linux,comp.os.linux.advocacy
Subject: Re: What I think of linux.
Date: 29 Jul 1999 21:54:38 -0400
[EMAIL PROTECTED] (Christopher Browne) writes:
> "Few people are capable of expressing with equanimity opinions which
> differ from the prejudices of their social environment. Most people are
> even incapable of forming such opinions." (Albert Einstein)
> [EMAIL PROTECTED] <http://www.ntlug.org/~cbbrowne/freeecon.html>
allright, i just *have* to ask it... did you pick this sig on purpose for
this article, or did the synchronicity-meter just peg?
--
Frank Sweetser rasmusin at wpi.edu fsweetser at blee.net | PGP key available
paramount.ind.wpi.edu RedHat 5.2 kernel 2.2.5 i586 | at public servers
>Ever heard of .cshrc?
That's a city in Bosnia. Right?
(Discussion in comp.os.linux.misc on the intuitiveness of commands.)
------------------------------
From: [EMAIL PROTECTED] (Gergo Barany)
Subject: Re: Kernel Rebuild Problem
Date: 29 Jul 1999 23:23:41 GMT
In article <7npl2m$hrp$[EMAIL PROTECTED]>, Brad Stevenson wrote:
>Gergo,
>
>Thanks for your response. I do have the kernel sources installed and I am
>quite sure I am executing the command from the directory where the kernel
>sources are located "/usr/src/linux". Could there be any other reasons why
>this might not be working?
Run these commands and post their output here:
ls -l /usr/src |grep linux
ls /usr/src/linux
Gergo
--
Preudhomme's Law of Window Cleaning:
It's on the other side.
GU d- s:+ a--- C++>$ UL+++ P>++ L+++ E>++ W+ N++ o? K- w--- !O !M !V
PS+ PE+ Y+ PGP+ t* 5+ X- R>+ tv++ b+>+++ DI+ D+ G>++ e* h! !r !y+
------------------------------
From: Robert Heller <[EMAIL PROTECTED]>
Subject: Re: is my hardware supported in linux?
Date: Fri, 30 Jul 1999 00:57:30 GMT
"eps" <[EMAIL PROTECTED]>,
In a message on Thu, 29 Jul 1999 04:48:05 GMT, wrote :
"> appreciate any experiences regarding linux and the following hardware:
">
"> Adaptec 2940 SCSI pci card
Yep. Works just fine.
">
"> Plextor 32x CDROM and 8/20x CDR, both SCSI
ALL SCSI CDROMS, SCSI Disks, SCSI Tape drives are supported, if the
SCSI card is supported. The CDR will be treated as a second SCSI CDROM
drive by the kernel -- the linux *kernel* has no direct support for
CDRs, although there is the 'generic' SCSI device. For CD roasting,
check with XCDroast (CDR burning software for Linux). XCDroast uses the
generic SCSI device interface to enter the CDR into write mode.
"> 3com/USR 56K v90 internal modem ISA
So long as it is a *real* modem (not a WinModem). With jumpers, it
*probably* is a real modem.
--
\/
Robert Heller ||InterNet: [EMAIL PROTECTED]
http://vis-www.cs.umass.edu/~heller || [EMAIL PROTECTED]
http://www.deepsoft.com /\FidoNet: 1:321/153
------------------------------
From: Robert Heller <[EMAIL PROTECTED]>
Subject: Re: Stupid Question About Log Files
Date: Fri, 30 Jul 1999 00:57:32 GMT
[EMAIL PROTECTED],
In a message on Thu, 29 Jul 1999 12:35:47 GMT, wrote :
5> Alright, stupid question time. I am system admin for a linux server
5> running a web-based transaction system with apache and MySQL. The main
5> reason I have such a job is I know a bit about linux from a basic user
5> level, but am only just learning the sysadmin part of it.
5>
5> So here's my question: is there anything in the /var/log directory I
5> can go ahead an dump. Specifically, Im curious about the wtmp and
5> wtmp.1 files, which are HUGE. I'm trying to dump as much as possible as
5> right now my daily backups consume 11mb.
5>
5> Does having a .<number> behind the file mean that it can be deleted?
5>
5> If someone can explain this to me, I would be grateful...
Every week the logs are 'rotated' -- the .<number> files get renamed to
.<number+1> (except .4 files are deleted) and the file with no .<number> is
renamed .1. The various logging processes are hit with a signal to re-open
their log files (usually a -HUP).
Yes, you *can* delete any file with a .<number>. It is pointless (and possibly
dangerous) to delete files that are not numbered, since these files are
constantly open. You *should* backup and save the files you delete -- the
log files contains lots of useful information, that might be *essential* in the
event of a problem.
A server box *should* have /var on its own partition. A heavy news, mail,
or print server should have /var/spool on *its* on partition (a separate
*disk* would be better, esp. for news).
So long as /var is on its own partition and so long as things are configured
to put your database on either its *own* partition (disk) and your web server's
DOCUMENT_ROOT is on its own partition or disk, and with / and /usr are own their
own partitions, you'll only need to do monthly full backups of / and /usr,
probably only weekly backups of /var. The only file systems that need serious
backups would be the file system(s) with your database, HTML files and
/var/spool.
You don't need to backup /, /usr, or /var on a daily basis. only /home, and
and other user file systems. The database file system(s), and the file systems
where the HTML files live (unless they are dead static).
Hmmm. '11mb'. What are you using for a backup device? If you have a server
you *should* have a tape drive. 11mb is a drop in the bucket for a tape. A
DDS-1 60m tape holds 1.3gig, uncompressed.
5>
5>
5> Sent via Deja.com http://www.deja.com/
5> Share what you know. Learn what you don't.
5>
--
\/
Robert Heller ||InterNet: [EMAIL PROTECTED]
http://vis-www.cs.umass.edu/~heller || [EMAIL PROTECTED]
http://www.deepsoft.com /\FidoNet: 1:321/153
------------------------------
Crossposted-To: comp.os.linux.hardware
From: "Steve Snyder" <[EMAIL PROTECTED]>
Reply-To: "Steve Snyder" <[EMAIL PROTECTED]>
Subject: How to create bootdisk on a LS120 drive?
Date: Fri, 30 Jul 1999 01:44:43 GMT
I've got an IDE LS120 drive in place of a floppy drive on a RedHat
v6.0 system. I would like to use the LS120 as a boot disk.
I understand that I must partition the LS120 disk because Linux thinks
it's a hard disk. So now I've a 120MB partition which is identified
as /dev/hda1 (the hard disks in my system are all SCSI).
The mkbootdisk utility that RedHat ships with their distro seems to
assume that it is being used on a floppy disk. It doesn't seem to
understand that there may be more than a single partition on the
destination drive.
How do I write LILO to the boot sector of the LS120 and use /dev/hda1
at the boot device?
Thank you.
***** Steve Snyder *****
------------------------------
From: Peter Eddy <[EMAIL PROTECTED]>
Subject: Re: LILO and NT40
Date: Thu, 29 Jul 1999 21:47:02 -0400
I have a similar system at work and I found it was easier to use the NT
boot load selector program. You need to edit c:\Boot.ini and add a line
for linux.
In order to fix your MBR, you need to run "fdisk /mbr".
Sorry I can't be more specific, but I'm not at work right now and I
don't remember the details.
Peter
Matt Menze wrote:
>
> I have a computer with NT4.0 on one hard drive and RH6.0 on another. I
> was trying to set it up to use LILO so I could choose either linux or
> NT. I installed the boot sector on the Master Boot Record (hda)
> thinking that it would work. But now I cannot get NT to boot. I set up
>
> LILO in linuxconf but when it tries to boot from my NT harddrive it
> restarts LILO. I think that I may have overwritten the NT boot sector.
> Is there anyway to create a startup disk from another NT workstation and
>
> restore my NT boot sector?
------------------------------
From: James Gray <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.misc
Subject: Re: latest netscape
Date: Fri, 30 Jul 1999 12:42:31 +0930
Sure. Make sure in the "FontPath" section of your /etc/X11/XF86Config file
you have the following font lines (add any that are missing):
/usr/X11R6/lib/X11/fonts/75dpi:unscaled
/usr/X11R6/lib/X11/fonts/100dpi:unscaled
/usr/X11R6/lib/X11/fonts/75dpi
/usr/X11R6/lib/X11/fonts/100dpi
When you've added these, as root in a terminal windows type "xset fp
rehash". This will force your font server to re-read the FontPath section
and add any lines you added. I'm using RH6 and I can't remember if you need
to add a comma (",") or a colon (":") to the end of each line in the
"FontPath" section, but look at what's there and do the same.
As an incentive, I added the "unscaled" font lines to my font server setup
and Netscape 4.6-1 stopped crashing on Java applets. However, aoccasionally
it will stil loose the plot and need to be killed :-/
Cheers,
James
Dave Erickson wrote:
> And, as for the Java crashes it is caused by a problem with the font
> path in Red Hat 6.0 and not Netscape.
> I don't use 6.0, can someone give that info again?
------------------------------
From: Robert Grimm <[EMAIL PROTECTED]>
Subject: Quicktime
Date: Thu, 29 Jul 1999 22:13:11 -0400
Reply-To: [EMAIL PROTECTED]
Is there a Quicktime compatible program for Linux? Oh! Right! Apple
holds their tech close so nobody can copy it. They have to right one.
Does anybody know an email address that I (and everyone else) could send
a request for the Linux version to?
--
Microsoft is not the Borg. The Borg have networking that works.
http://www.crosswinds.net/~sphincter/
ICQ:43692897
------------------------------
From: Matt Cole <[EMAIL PROTECTED]>
Crossposted-To: gnu.gcc.help
Subject: Re: Linux Kernel Compilation for 386/486/Pentium?
Date: Thu, 29 Jul 1999 22:12:07 -0500
Linux was designed to run on a machine as low as a 386; therefore, many of
the utilities written for it were probably optimized for the 386
(possibility 1)...i.e., your copy of dd probably isn't optimized for a
Pentium.
(Possibility 2)...did you use a slower hard drive in a faster computer, or
a faster hard drive in a slower computer? Try using the same hard drive
in both systems.
Roman Fietze wrote:
> Hello,
>
> When doing "time dd if=/dev/zero bs=100k count=10000 | dd
> of=/dev/zero" on a IBM PC w/ Pentium 166MHz and Linux Kernel 2.2.10 I
> get different execution times for different kernel CPU configurations.
>
> If I configure the kernel for (approx./averaged values):
>
> real user sys
> 386 78 20 57
> Pentium 99 25 70
>
> I did this test just by accident, to show a Linux newcomer, that I
> create an own kernel to improve performance and lower size. So much
> about performance. How come? Other mini benches (e.g. writing a 100MB
> file using dd) also showed minor advantages for the 386 compilation,
> but these were much smaller in the other tests. The machine was
> unloaded at the time of the tests. Every test was run three times,
> deviation was small.
>
> Any ideas? What do you use for compiling on a Pentium like that. How
> about AMD's? How about P3?
>
> Roman
>
> --
> Roman Fietze (Mail Code 5023) Heidelberg Digital/Germany
> [EMAIL PROTECTED]
--
"So Lone Starr, now you see that evil will always triumph, because good is
dumb."
-- Dark Helmet (Rick Moranis), "Spaceballs"
------------------------------
From: jievis <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: The Lex & Yacc source code for C++
Date: Fri, 30 Jul 1999 02:30:30 GMT
Hi,
Who can tell me where can found the source codes of lex and yacc for
c++. it is better if the grammers for preprocesser is included.
Thank in advance.
Jievis
================== Posted via SearchLinux ==================
http://www.searchlinux.com
------------------------------
From: Ashley W Campbell <[EMAIL PROTECTED]>
Subject: Re: Exabyte 8700 & Linux
Date: Thu, 29 Jul 1999 22:33:05 -0400
On Thu, 29 Jul 1999, John Thompson wrote:
> I don't think dump has to know anything about the hardware
> compression. It just feeds the drive a stream of data and
> the drive can do whatever it likes as it writes to the
> tape. Is there a jumper on the drive you can set to enable
> the compression? If so, it's probably a "set and forget"
> type of thing.
Hrmm. It might be automated. I think dump cares about the length of the
tape--do you know if there's any trick to that?
Also, the drive is frightfully simple--it has three lights and an on/off
switch. I wish there were more options--I like to fiddle with things until
they work, but about all of the options tht I have involve the SCSI ID. And
there isn't that much debugging to do there.
-Ashley
>
> > Does anyone know what it is that I need to do? Or, does anyone have any
> > linux Exabyte experiences?
>
> I have an Exabyte 2501 on my other machine. It works fine,
> but doesn't have that fancy hardware compression...
>
> --
>
> -John ([EMAIL PROTECTED])
>
------------------------------
From: Matt Cole <[EMAIL PROTECTED]>
Subject: Re: Assembler for linux on Intel platform.
Date: Thu, 29 Jul 1999 22:15:06 -0500
Just so long as you don't make any DOS/Windows calls in your program.
Remember, they won't exist in Linux.
ryan wrote:
> I am looking for an assembler for linux. I need a linux executible of
> an .asm file that was written for Borland Turbo Assembler (tasm32) for
> the Win NT platform. Is this possible?
>
> Sincerely,
> Ryan T. Rhea
> [EMAIL PROTECTED]
--
"So Lone Starr, now you see that evil will always triumph, because good is
dumb."
-- Dark Helmet (Rick Moranis), "Spaceballs"
------------------------------
From: [EMAIL PROTECTED] (Tim Williams)
Subject: can't open up X applications after ISP connected with usernet
Date: Fri, 30 Jul 1999 02:53:15 GMT
I'm using RH 52 and using Usernet to connect to my ISP. Once I'm
connected, I get a dynamic address and then I can't open up any X
applications (xterm, Netscape, emacs, etc.) I get the message like
"server refused connection to :0.0" Even the 'xhost' command gives
this error. When I disconnect, I continue to have this problem until I
reset the hostname to 'localhost'.
What am I doing wrong?
TIA.
______________________
Tim Williams
------------------------------
From: Matt Cole <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: How to create bootdisk on a LS120 drive?
Date: Thu, 29 Jul 1999 22:02:43 -0500
==============D6425FA3153E4559DA28B791
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
You'll need to put a kernel image and a working set of files on the disk
-- I haven't a clue as to how to do that in RedHat, so you're on your own
there.
You'll need a lilo.conf file similar to the following (make sure it at
least has these lines, and it should work):
boot = /dev/hda
image = /vmlinuz # replace with the name of your image
label = Linux # replace with some identifier string, or leave it
root = /dev/hda1
read-only # if it's an ext2 filesystem, it should be mounted read-only
for checking.
I believe this should work...I'm not quite positive, but it should work --
I don't have a lilo.conf file handy.
After you've saved this file, issue the command: lilo -C lilo.conf
Where lilo.conf is the filename of the file you saved the above text as.
Matt Cole
Steve Snyder wrote:
> I've got an IDE LS120 drive in place of a floppy drive on a RedHat
> v6.0 system. I would like to use the LS120 as a boot disk.
>
> I understand that I must partition the LS120 disk because Linux thinks
> it's a hard disk. So now I've a 120MB partition which is identified
> as /dev/hda1 (the hard disks in my system are all SCSI).
>
> The mkbootdisk utility that RedHat ships with their distro seems to
> assume that it is being used on a floppy disk. It doesn't seem to
> understand that there may be more than a single partition on the
> destination drive.
>
> How do I write LILO to the boot sector of the LS120 and use /dev/hda1
> at the boot device?
>
> Thank you.
>
> ***** Steve Snyder *****
--
"So Lone Starr, now you see that evil will always triumph, because good is
dumb."
-- Dark Helmet (Rick Moranis), "Spaceballs"
==============D6425FA3153E4559DA28B791
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
You'll need to put a kernel image and a working set of files on the disk
-- I haven't a clue as to how to do that in RedHat, so you're on your own
there.
<p>You'll need a lilo.conf file similar to the following (make sure it
at least has these lines, and it should work):
<p>boot = /dev/hda
<br>image = /vmlinuz # replace with the name of your image
<br> label = Linux # replace with some identifier string,
or leave it
<br> root = /dev/hda1
<br> read-only # if it's an ext2 filesystem, it should
be mounted read-only for checking.
<p>I <u>believe</u> this should work...I'm not quite positive, but it should
work -- I don't have a lilo.conf file handy.
<p>After you've saved this file, issue the command: lilo -C lilo.conf
<p>Where lilo.conf is the filename of the file you saved the above text
as.
<p>Matt Cole
<p>Steve Snyder wrote:
<blockquote TYPE=CITE>I've got an IDE LS120 drive in place of a floppy
drive on a RedHat
<br>v6.0 system. I would like to use the LS120 as a boot disk.
<p>I understand that I must partition the LS120 disk because Linux thinks
<br>it's a hard disk. So now I've a 120MB partition which is identified
<br>as /dev/hda1 (the hard disks in my system are all SCSI).
<p>The mkbootdisk utility that RedHat ships with their distro seems to
<br>assume that it is being used on a floppy disk. It doesn't seem
to
<br>understand that there may be more than a single partition on the
<br>destination drive.
<p>How do I write LILO to the boot sector of the LS120 and use /dev/hda1
<br>at the boot device?
<p>Thank you.
<p>***** Steve Snyder *****</blockquote>
<p>--
<br>"So Lone Starr, now you see that evil will always triumph, because
good is dumb."
<br> -- Dark Helmet (Rick Moranis), "Spaceballs"
<br> </html>
==============D6425FA3153E4559DA28B791==
------------------------------
** 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
******************************