Linux-Misc Digest #65, Volume #25                 Fri, 7 Jul 00 12:13:02 EDT

Contents:
  Re: CD ROM (Dances With Crows)
  Re: Compiling individual kernel modules from the kernel source tree (Nicholas 
Murison)
  Re: NC or Midnight Commander: which came first? ("Jeff Malka")
  Re: help with ISA ne2000 ethernet card (Dances With Crows)
  Re: passwd- shadow- (Mary P)
  Re: NTP trouble... ([EMAIL PROTECTED])
  Re: Uncompressing Linux...: crc error! (Fabian Gebhardt)
  Re: html print filters (Fabian Gebhardt)
  Helix GNOME update kills pager! (Chris Stump)
  xmame doesn't write scores (Piotr)
  Re: Linux and Windows NT, partition magic (Rod Smith)
  linux mandrake 6.1 (Mariusz)
  Is Brainbench Legitimate?? ("mmm007")
  too many open files (Kerry Cox)
  Re: (JOB) Seeking Unix Engineers for Migration/Porting (Greg Wimpey)
  Re: Writing to CD-RW ([EMAIL PROTECTED])
  print filter to select tray (Matthew Fleming)
  print filter to select tray (Matthew Fleming)
  Module and daemon startup (John Hedges)

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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: CD ROM
Date: 07 Jul 2000 10:20:10 EDT
Reply-To: [EMAIL PROTECTED]

On 7 Jul 2000 13:16:50 GMT, Trevor Brown 
<<8k4l82$nr1$[EMAIL PROTECTED]>> shouted forth into the ether:
>My current CD-ROM drive is not reliable enough for me to install Linux (I
>get signal 11).  Does it matter how "fast and advanced" a CD-ROM drive I
>purchase, or will any one do?  I don't want to get a CD-ROM drive that is
>so new that it won't be supported by the version of Linux that I have...
>is this even an issue?  I have Red Hat Linux 6.2.

If it's a SCSI or IDE CD-ROM, it should work.  Don't bother with anything
over 24x, though, as they're incredibly noisy, expensive, and spin down
too quickly (which makes them slower than a 24x under normal usage
patterns!)  You can find reasonable drives on pricewatch.com for a
pittance--$30 for a 24x IDE...

-- 
Matt G / Dances With Crows      /\    "Man could not stare too long at the face
\----[this space for rent]-----/  \   of the Computer or her children and still
 \There is no Darkness in Eternity \  remain as Man." --David Zindell "So did
But only Light too dim for us to see\ they become Gods, or Usenetters?" --/me

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

From: Nicholas Murison <[EMAIL PROTECTED]>
Subject: Re: Compiling individual kernel modules from the kernel source tree
Date: Fri, 07 Jul 2000 16:23:05 +0200
Reply-To: [EMAIL PROTECTED]

Dances With Crows wrote:
> 
> On Thu, 06 Jul 2000 14:45:37 +0200, Nicholas Murison
> <<[EMAIL PROTECTED]>> shouted forth into the ether:
> >Is there a way of compiling individual kernel modules from the kernel
> >source tree (i.e. modules that are contained in linux-2.x.xx.tar.gz)
> >without having to do make menuconfig ; make modules ; make
> >modules-install?  The reason I ask is I've compiled kernel 2.2.16 with
> >an assortment of modules, but I didn't compile the module for an
> >Ethernet card I'm about to install.  Doing the whole make process over
> >again seems a bit harsh.
> 
> How so?  If you haven't done "make clean" between the first time you tried
> this and this time, the "make modules" process will be very very fast as
> only the module that you add will be compiled--the other modules have
> already been compiled, so make will see that and not compile them again.
> That's what make was designed to do, after all.

So, make menuconfig - modularise the relevant driver - make modules -
make modules-install should do it?  I'll have a go :)

> Take a look at the 1300-line Makefile in /usr/src/linux/drivers/net and
> ask yourself if you really want to edit that thing by hand...
> 

That was actually my first thought; that the individual modules had
their own make target, but alas :)
-- 
Nicholas John Murison
~~~~~~~~~~~~~~~~~~~~~
Don't mess with penguins
Registered Linux User #153895   http://counter.li.org

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

From: "Jeff Malka" <[EMAIL PROTECTED]>
Subject: Re: NC or Midnight Commander: which came first?
Date: Fri, 7 Jul 2000 10:24:37 -0400

I am a complete newbie to Linux

> That's the default key binding in MC for find-file. You can set your own
> key bindings in a config file, so you can have the NC keys if you want.

What does this mean and how do I do it?  :-)

Thanks.

--
Jeff Malka <[EMAIL PROTECTED]>



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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: help with ISA ne2000 ethernet card
Date: 07 Jul 2000 10:28:50 EDT
Reply-To: [EMAIL PROTECTED]

On Fri, 7 Jul 2000 19:15:47 +0530, Anurodh 
<<[EMAIL PROTECTED]>> shouted forth into the ether:
>I am total Linux newbie. I have installed red hat 6.2. But i cant figure out
>how to configure the ne2000 ISA card i have. My machine is a 486 66Mhz with
>16Mb Ram.
>I installed linux with the card in the slot.
>I cant figure out how to configure the enthernet card.  dont even know if it
>how do i check if my card is properly installed or not. I have had a real
>hard time gettin this info off the net.

That's because you didn't exactly look around very hard.  Did you check
http://linuxdoc.org/HOWTO/Ethernet-HOWTO.html ?  Do that.  Read the Net-3
HOWTO as well while you're there, and also Read The Fine Manual that
Redhat supplies with their distro.  If you didn't buy the boxed set, it's
in /usr/doc/ .

If you know the IRQ and I/O range the card uses, it's pretty easy to set
up.  Test it out by doing "modprobe ne irq=X io=Y"; you will be informed
if the modprobe doesn't work.  If it does work, nothing will appear to
happen... except that you will be able to see the ne module if you enter
"lsmod", and you can then set your IP address using ifconfig or the pump
client.

You can edit /etc/conf.modules to have this performed automatically upon
boot; check the documentation mentioned above for details on how, or use
the Linuxconf utility (warning, Linuxconf can make it difficult to
hand-hack the config files) to set things up.

-- 
Matt G / Dances With Crows      /\    "Man could not stare too long at the face
\----[this space for rent]-----/  \   of the Computer or her children and still
 \There is no Darkness in Eternity \  remain as Man." --David Zindell "So did
But only Light too dim for us to see\ they become Gods, or Usenetters?" --/me

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

From: [EMAIL PROTECTED] (Mary P)
Subject: Re: passwd- shadow-
Date: 7 Jul 2000 14:27:42 GMT
Reply-To: [EMAIL PROTECTED]

On 7 Jul 2000 09:37:44 GMT, Christoph Kukulies
 <[EMAIL PROTECTED]> wrote:
>RH 6.1:
>What are the file passwd-, and shadow- for?
>(trailing '-' sign)

on my system (RH 5.2) the file /etc/passwd is 
owned by "setup" but /etc/passwd- is not 
owned by any package. Maybe when you change
your password, setup doesn't overwrite the
old file but copies it to passwd- ? Just
a guess.

MP




-- 
    _
   . .
    V
  // \\
 //   \\
  (W W)

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

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.networkingcomp.os.linux.redhat
Subject: Re: NTP trouble...
Date: Fri, 07 Jul 2000 07:36:23 -0700



"Quiney, Philip [HAL02:HH00:EXCH]" wrote:
> 
> Stuart Rauh wrote:
> >
> > Using Redhat 6.2 and Xntp-5.93-14 to keep the server clock on time.
> >
> > Xntpd doesn't complain but doesn't update the clock either.  When trying
> > to update manually with "ntpdate clock.psu.edu" it responds with "No
> > server suitable for synchronization found".
> >
> > I can ping clock.psu.edu from the Linux box.  An NTP client on a Win98
> > machine connected through IP masq on the Linux box updates fine.  I just
> > can't get the Linux box to sync up!
> >
> Hi,
> 
> As root run ntpq...
> 
> If it fails then xntpd is not running - it will refuse to run if the
> time is more than 50 mins (IIRC) from the network time. If this is the
> case use 'date' to get the time nearer and then 'setclock' to write to
> the BIOS clock. Once in ntpq you can display the status of xntpd and get
> the 'peer' information. 

I suggest putting setclock in cron to force a sync with the bios clock
once a day. I have found that Linux being such and extremely reliable
platform, and the fact that some machines bios clocks drift, that if the
machine is restarted, xntpd does not start due to the large diff between
the bios clock and the network time. This is prevelant on older machines
or machines that have flakey bios batteries.

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

From: Fabian Gebhardt <[EMAIL PROTECTED]>
Subject: Re: Uncompressing Linux...: crc error!
Date: Fri, 07 Jul 2000 16:55:44 +0200

Vilmos Soti wrote:
> ...
>       _we don't need my problem again_
> ...
> Check if the disk where the given kernel is located doesn't have bad blocks.

The disk is clean!

> Try to use
> 
> image=/usr/src/linux/.../bzImage

No, I copyed it to /boot/vmlinuz.new and changed my lilo.conf to
'image=/boot/vmlinuz.new'.
The strangest thing is, that my old kernels still run without problems.

> 
> in your lilo.conf. If you still get the same error then the newly
> compiled kernel is broken and you might need to recompile her.

I think I have to do this. :(

> 
> Vilmos
Thanks

-- 
CU, Fabian Gebhardt 
   
   E-Mail:      [EMAIL PROTECTED]
   ICQ#:        77948091
   Homepage:    http://www.ki.tng.de/~gebhardt
   Schul-Seite: http://www.ebg.org

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

From: Fabian Gebhardt <[EMAIL PROTECTED]>
Subject: Re: html print filters
Date: Fri, 07 Jul 2000 16:59:46 +0200

News Reader wrote:
> does any one know I can print an html file
> to a nonscript printer if I want more than the raw html source code
> on paper.

Use ghostscript. (look in the HowTo)
-- 
CU, Fabian Gebhardt 
   
   E-Mail:      [EMAIL PROTECTED]
   ICQ#:        77948091
   Homepage:    http://www.ki.tng.de/~gebhardt
   Schul-Seite: http://www.ebg.org

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

From: Chris Stump <[EMAIL PROTECTED]>
Subject: Helix GNOME update kills pager!
Date: Fri, 07 Jul 2000 09:57:24 -0500
Reply-To: [EMAIL PROTECTED]

Greetings,

I recently installed the helix distribution of GNOME on my Red Hat linux
6.2 machine.  Everything was fine until last night when I used the
update agent.  I used the program to download and install a few packages
for my system (I couldn't tell you which ones, I don't exactly remember)
and then all of a sudden, afterwards, my GNOME pager (a.k.a. desk guide)
no longer pages.  Basically, there is no longer a grid on the pager that
allows me to page through desktops.  There is just one desktop, and when
I check the properties box, I can't seem to find anything to correct
this problem.   I read the GNOME user's guide too, but I still can't
find anything that helps--the option to have one desktop showing in the
properties box isn't checked.  I don't get it, could you please help
me?  Any advice is much appreciated =)

Thank you for your time and in advance to all who reply.


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

From: Piotr <[EMAIL PROTECTED]>
Subject: xmame doesn't write scores
Date: 7 Jul 2000 15:22:20 GMT

Sorry for writing this list but I tried more appropriate ones and didn't help.

I have xmame-0.37b2.2 and also I've installed patch to recognize the
high score file (hiscore.dat) in its right path (works fine):
/usr/games/lib/xmame/hiscore.dat.
I have a problem : no scores are saved.
Using :

#strace xmame

I see that the hiscore.dat file is opened only for reading:

open("/usr/games/lib/xmame/hiscore.dat", O_RDONLY) = 8
fstat(8, {st_mode=0, st_size=0, ...})   = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40016000
read(8, "", 4096)                       = 0
close(8)                                = 0
munmap(0x40016000, 4096)                = 0
read(0, "", 32)                         = 0

... but never for writing

I have created the empty file (touch hiscore.dat) in the following
directory:

# ls -l /usr/games/lib/xmame/hiscore.dat
-rw-rw-rw-   1 root     root            0 May 31 23:04 /usr/games/lib/xmame/hiscore.dat

the privileges of /usr/games/lib/xmame are as follows:
# ls -l /usr/games/lib
drwxrwsrwx   3 root     games         4096 Jun 11 11:20 xmame/

PLEASE HELP ME

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

Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: Linux and Windows NT, partition magic
Date: Fri, 07 Jul 2000 15:24:38 GMT

In article <ya695.17301$[EMAIL PROTECTED]>,
        <[EMAIL PROTECTED]> writes:
> 
>> 1. Does  Partition Magic work smoothly? Which version is needed? Does
>>    NT have a 'real' MS-DOS mode, like WIN9x or only a DOS box?
>>    (I presume you need to be Superuser to do it anyhow).
> 
>       Version 4 will refuse to work on hdd's bigger than 8 gigs. If you have
> <=8gig hdd, you can use 4.0

I'm pretty sure it's version 3 and earlier that can't work with >8GB
drives, and that version 4 fixed that problem.

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

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

From: Mariusz <[EMAIL PROTECTED]>
Subject: linux mandrake 6.1
Date: Fri, 07 Jul 2000 15:30:03 GMT

How to change setting of display from 1024x768 to 800x600.

--
Posted via CNET Help.com
http://www.help.com/

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

From: "mmm007" <[EMAIL PROTECTED]>
Subject: Is Brainbench Legitimate??
Date: Fri, 7 Jul 2000 11:30:39 -0400

I just took a free Brainbench Linux Administrator certification exam and
barely passed. That exam was tough.  I thought it would be a joke sinces its
free.  I
talked to a couple of friends and they took the exams and were surprised.
Have any of you taken these exams?




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

From: Kerry Cox <[EMAIL PROTECTED]>
Subject: too many open files
Date: Fri, 07 Jul 2000 09:34:07 -0600

I'm hoping someone can help me with this. I am running an AMD K6 350 Mhz
processor with Red Hat 6.1 vanilla install. I had to go back to the
2.2.5 kernel in order to add the patches for a Matrox meteor video
capture card. I also installed the bigphysarea patch to the 2.2.5
kernel. The box works great. It grabs video images from off a trffic cam
and then places them on the web. You cna look at the main page at
http://www.ksl.com/TV/traff/traffic.htm
However, after a certain period of time it opens too many files and does
not close them correctly. Any one have any ideas? I've tried adding some
extra parameters to the /etc/ld.so.conf file since the error looks to be
coming from the /lib directory as it keeps making calls to the /lib
libraries and is unable to open them. I'd be happy to share the printout
from lsof to anyone who had an idea.
Thanks.
KJ 

-- 

/-----------------------------\  /--------------------------\
|        Kerry J. Cox         |__|    [EMAIL PROTECTED]     |
|  System Administrator KSL    __      (801) 575-7771       |
|      http://www.ksl.com     |  |      ICQ#37681165        |
\-----------------------------/  \--------------------------/

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

From: Greg Wimpey <greg.wimpey@waii*removetomail*.com.invalid>
Crossposted-To: comp.unix.aix,comp.unix.solaris,comp.sys.hp.hpux,comp.sys.dec
Subject: Re: (JOB) Seeking Unix Engineers for Migration/Porting
Date: 07 Jul 2000 09:36:17 -0600

[EMAIL PROTECTED] (Michael Kraemer) writes:

> Huh ? IMHO Linux is just another flavor of UNIX.  The only
> difference I see is that it still lags behind the "commercial"
> versions in certain areas ( JFS, LVM, smit, HACMP, ... ).

I think that the most-often used adjective to describe Linux is
"Unix-like", as no AT&T-derived code was used in writing the Linux
kernel.  It provides a POSIX-compliant system call interface, but that
stil doesn't mean, technically, that it's Unix.

If you want a jounaling file system, ReiserFS is available right now,
as is (I think) ext3.  One or both of these will be incorporated into
the next stable kernel version (2.4), to be released later this year.
I think I've heard there is also a volume manager available for Linux,
although I don't know much about it.  And as for SMIT, well, I've
never been the world's biggest SMIT fan, but with RPM, linuxconfig,
and other tools, Linux has a pretty large set of system admin tools.
I have no idea if anything like HACMP is available or in the works for
Linux.  It would be cool, though :)

BTW, I'm not trying to slam AIX here, just noting that Linux is a
fairly feature rich O/S.

-- 
Greg Wimpey    greg.wimpey@westgeo*removetomail*.com.invalid
Comments my own, not my company's.

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

From: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux
Subject: Re: Writing to CD-RW
Date: Fri, 07 Jul 2000 15:46:33 GMT

In article <[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] wrote:
> [EMAIL PROTECTED] wrote:
> >
> > Hi,
> >
> > Is Linux capable of writing to rewritable CDs (CD-RW) ? I could only
> > find tools for burning CD-R's.
> >
> > Thanks
> >
> > Wroot
> >
> > Sent via Deja.com http://www.deja.com/
> > Before you buy.
>
> You will be able to use them, as the other posters already mentioned,
> but you cannot use the UDF filesystem yet as far as I know. So if you
> don't care to make an iso9660 FS on the CD-RW's you're OK. There is
read
> support for the UDF filesystem, but for writing there's no support
yet.
>
> Eric
>

Are you saying I can't do incremental writing to CD-RW? So whenever I
want to add a file to my CD-RW, I will have to write the whole disk?
iso9660 is the CD-R standard, isn't it?

Thanks

Wroot


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

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

From: [EMAIL PROTECTED] (Matthew Fleming)
Subject: print filter to select tray
Date: 7 Jul 2000 15:57:20 GMT



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

From: [EMAIL PROTECTED] (Matthew Fleming)
Subject: print filter to select tray
Date: 7 Jul 2000 15:58:47 GMT



Linux-meisters,

I have a Linux box which prints to an HP 4050TN over a network. The
default tray for this printer is tray #3, but the jobs sent from the
Linux box have to use tray #2. The PCL command for switching to tray
#2 should be esc&l1H, according to the HP manual. So I have a printcap
entry for the printer which is:

sec|lpr4:\
        :lp=:\
        :rm=141.106.18.77:\
        :rp=text:\
        :sd=/var/spool/lpd/sec:\
        :lf=/var/spool/lpd/sec/log:\
        :if=/var/spool/lpd/sec/filter:\
        :af=/var/spool/lpd/sec/acct:\
        :ar:bk:mx#0:\
        :sh:

where /var/spool/lpd/sec/filter is just:

#!/usr/bin/perl
print "\033&l1H";
while (<>) {
print;
}
print "\033&l5H";

(the last line should just reset the default). 

However, it don't work. 

Any suggestions much appreciated.

Matthew Fleming
==============================================================================
Matthew G. Fleming, MD                  phone : 414.456.4072  
Associate Professor                     fax   : 414.456.6518
Department of Dermatology               s-mail: Dept. of Dermatology
Medical College of Wisconsin                    Medical College of Wisconsin
                                                MFRC Room 4061
e-mail: [EMAIL PROTECTED]                             Milwaukee, WI 53226-4810
==============================================================================

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

From: [EMAIL PROTECTED] (John Hedges)
Subject: Module and daemon startup
Date: Fri, 07 Jul 2000 15:55:58 GMT

1. What is the best way to get a kernel module loaded at startup? Ive
already set the module up to work with modprobe. Should I use init.d
or is there another mechanism for kernel modules?

2. I want to run a normal program as a daemon in init.d. Is there a
way, perhaps using the init.d daemon function (in init.d/functions),
to make this work as the program needs to be backgrounded somehow?
Maybe there is a simple wrapper program to fork / exec to do it for
me. Maybe I should just write one :-)

Thanks in advance 

John


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


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