Linux-Misc Digest #641, Volume #25                Fri, 1 Sep 00 15:13:02 EDT

Contents:
  Re: Offline mailing automation (scripts?) (Laurens =?iso-8859-1?Q?Kils-H=FCtten?=)
  Re: looking for FAT32 gurus.... ("Sjoerd Langkemper")
  Re: Root password (Leonard Evens)
  3Ware Escalade 6000 series ("Jason")
  Re: Samba: Win95 + Win98 (Greg F Walz Chojnacki)
  Re: looking for FAT32 gurus.... ([EMAIL PROTECTED])
  Re: Mkisofs: How to create an empty ISO9660 image (Grant Edwards)
  kernel compile and the Athlon (praedor)
  Re: Slow system, RAM memory requirements ? ("Dave Stanton")
  Re: Samba: Win95 + Win98 (D G)
  Re: Finding your clock speed (Naren Devaiah)
  Freeware/Open Source COM/DCOM? (Andries Dippenaar)
  monitoring the memory usage (Ulf)
  HP NetServer LH Pro (K. C. Adams)
  newbie: linuxserver ftp connection problems (Gerald)
  Re: make mp3 with linux (Topaz Crow)
  ls -lt can be misleading (Ramin Sina)
  samba problems (Henry Luk)
  Re: for in list     in bash (Erik Max Francis)
  Re: for in list     in bash (Barry Margolin)

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

From: [EMAIL PROTECTED] (Laurens =?iso-8859-1?Q?Kils-H=FCtten?=)
Subject: Re: Offline mailing automation (scripts?)
Date: Fri, 1 Sep 2000 09:57:36 +0200

On Thu, 31 Aug 2000 03:47:40 +0100, tolan <[EMAIL PROTECTED]> wrote:
>
>2}have an additional, nightly, maildrop.  the difficulty with this isnt
>using cron, but in getting the script to close the dial up connection. 
>i guess im going to use wvdial to connect, this requires a ctrl-C to end
>it, how can i send this to wvdial only after the maildrop has run?

I found the problem of closing the ppp link as soon as all queues have been
flushed very annoying also, here is how I deal with it: pppd passes some
variables to the ip-up and ip-down scripts, these are:

#       $1      the interface name used by pppd (e.g. ppp3)
#       $2      the tty device name
#       $3      the tty device speed
#       $4      the local IP address for the interface
#       $5      the remote IP address
#       $6      the parameter specified by the 'ipparam' option to pppd  

I set the last variable to POLL, like this:

--- optionsfile for polling: ---
/dev/modem
115200
lock
0.0.0.0:195.222.212.162
ipcp-accept-local
ipcp-accept-remote
remotename myisp
name accountatisp
defaultroute
ipparam POLL                  <<<---- this sets the sixth variable to POLL
connect /etc/ppp/scripts/myisp
================================


I call this file "/etc/ppp/peers/myisp-poll". When I just want to poll 
news and mail, I start pppd like this:

pppd call myisp-poll

In my ip-up there are the usual things like "sendmail -q" and so forth and
this line, which actually does the trick:

--- last line of my ip-up: ---

if test $6 = POLL ; then killall pppd ; fi

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

this checks out whether the sixth argument to pppd, referred to by $6 has
been set to POLL and if so brutally takes down all pppd processes, this is
of course a problem if you have more than one pppd session running, but I
usually don't so I didn't bother :-)

there is another file called "/etc/ppp/peers/myisp" which lacks the ipparam
line, so when I don't want the connection to be brought down after polling I
start pppd like this:

pppd call myisp

now seems easy to me, but it took me some time at first...

cheers, 

laurens

-- 
Laurens Kils-Huetten    
Clasingstr. 3   
D-20255 Hamburg 
Tel/Fax: +49-40-43270065
email: [EMAIL PROTECTED]


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

From: "Sjoerd Langkemper" <[EMAIL PROTECTED]>
Subject: Re: looking for FAT32 gurus....
Date: Fri, 01 Sep 2000 16:21:32 GMT

<[EMAIL PROTECTED]> wrote:
> [some FAT32 questions ]

Since this is a linux newsgroup your questions are asked in the wrong group.
Linux has nothing to do with fat32. Of course you'll find the smartest
people here, but that doesn't change the fact that you should ask these
questions in another newsgroup.

Sjoerd



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

From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: Root password
Date: Fri, 01 Sep 2000 11:04:11 -0500

Micromans wrote:
> 
> I have a Redhat 6.0 Linux system on a training machine that also has W98,
> NTWS 4.0, and NT Server 4.0. The Redhat boots from floppy. All others boot
> with NT boot loader. I have lost the Linux root password. How can I get it
> back? I have complete access to the machine since it is in my home office. I
> could rebuild the Linux but would rather just get the password back.
> 
> Thanks,
> Micromans

If you are booting from a floppy made with mkbootdisk (which is
what makes it during installation), you should get a Lilo: prompt.
Enter
linux single
at the prompt.  There is a good chance this will let you boot
single user without having to enter a password.

Someone else suggested a somewhat more complicated method, which
included included mounting /usr and running passwd.  Since
the passwd and shadow files are in /etc, I don't see how that
would work.

Another method would be to use a rescue disk.   The RedHat 6.0
boot floppy allows you to enter rescue at the lilo prompt and
then asks you to insert a second rescue disk.  Some sites still
have RedHat 6.0 available and of course you may have the RH6.0
CD.  In that case you should find an image of the rescue disk
in the images directory.  You can copy it with NT or Windows
using the rawrite command which is also part of the distribution.
The rescue system provides you with a version of Linux running
in memory.  You can then mount the root filesystem which will
contain the passwd (also shadow if shadow passwords has been
enabled) and you can edit those files.  Unfortunately, it is
likely that the only editor available in this rescue system is
ed, which few people know how to use.  But it is not too difficult
to master, and you can experiment with it first.   All you have
to do is remove the password field from passwd or from shadow
if shadow passwords have been enabled.  For shadow, you first
have to change its permissions so it is a writable file.
Then after you reboot, you can use the ordinary passwd command
as root to set a new password.  

You can also try using Tom's root/boot disk, which also gives
you a system running in memory but has a wider choice of editors.

-- 

Leonard Evens      [EMAIL PROTECTED]      847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208

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

From: "Jason" <Jason(AT)cyborgworkshop.com>
Subject: 3Ware Escalade 6000 series
Date: Fri, 1 Sep 2000 11:29:39 -0500

My company has decided to build a toy server to experiment with new services
on.  I want to get ahold of a Escalade 6000 series card to do IDE RAID
(remember, this is just a toy) but a coworker wants a Promise Fasttrack RAID
card.   Anyone had any experience with either one?


--
                         Jason
          www.cyborgworkshop.com
...and the geek shall inherit the earth...



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

From: Greg F Walz Chojnacki <[EMAIL PROTECTED]>
Subject: Re: Samba: Win95 + Win98
Date: 1 Sep 2000 16:39:23 GMT

Rasputin <[EMAIL PROTECTED]> wrote:
: O'Reilly 's SAMBA book is online at their site:

: http://www.oreilly.com/catalog/samba/chapter/book/index.html

Very cool!

Looks like I just have to set "guest = ok" and avoid all problems.

Thanks to all.

Greg

-- 
[EMAIL PROTECTED]     UW-Milwaukee News Services & Publications    414/229-4454
http://www.uwm.edu/News/                                     FAX:414/229-6443

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

From: [EMAIL PROTECTED]
Subject: Re: looking for FAT32 gurus....
Date: Fri, 01 Sep 2000 16:51:49 GMT

wow! I didn't expect such a harsh response. lemme explain why I posted
here. I know you say that linux has nothing to do with FAT32 but.... it
has support for FAT32 right? yes it does, so that means somewhere
buried in the kernel is the code that handles interfacing with FAT32
filesystems. As I have looked at the terrible support given by
microsoft, I thought I would post here thinking that maybe some of the
people who have experience with that sort of stuff would reply. How was
I to know I would bashed for doing it. I think if the smartest people
were really here, maybe you wouldn't have posted such an un-intelligent
response.

sorry to have wasted your valuable bandwidth.


In article <gIQr5.133361$Kw2.1045539@flipper>,
  "Sjoerd Langkemper" <[EMAIL PROTECTED]> wrote:
> Since this is a linux newsgroup your questions are asked in the wrong
group.
> Linux has nothing to do with fat32. Of course you'll find the smartest
> people here, but that doesn't change the fact that you should ask
these
> questions in another newsgroup.
>
> Sjoerd
>
>


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

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

From: [EMAIL PROTECTED] (Grant Edwards)
Subject: Re: Mkisofs: How to create an empty ISO9660 image
Date: Fri, 01 Sep 2000 17:19:09 GMT

In article <[EMAIL PROTECTED]>, Villy Kruse wrote:

>>I've gone twice through mkisofs its help but still haven't
>>checked how to create an empty 650MB ISO image possibly with
>>Joliet and RockRidge extensions. I'd like to mount this image
>>through the loop device.
>
>What would the purpose be?

As a portible, easy-to-distribute index of well-designed
Microsoft products?

 or...

[insert your favorite "world's shortest book" joke here]

-- 
Grant Edwards                   grante             Yow!  Could I have a drug
                                  at               overdose?
                               visi.com            

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

From: praedor <[EMAIL PROTECTED]>
Subject: kernel compile and the Athlon
Date: Fri, 01 Sep 2000 11:20:18 -0600

I have a question regarding compiler optimization
for an Athlon system.  I have an K7 700 and want
to know if compiling for a 686 really is better than
compiling for a 386.  My reading on this indicates
that the compiler optimizations are for either
Intel cpus or there is ONE AMD-specific option for
the K6.  Is 686 optimizations fine for Athlons?

praedor


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

From: "Dave Stanton" <[EMAIL PROTECTED]>
Subject: Re: Slow system, RAM memory requirements ?
Date: Fri, 1 Sep 2000 18:24:41 +0100


<[EMAIL PROTECTED]> wrote in message news:8oob8k$glm$[EMAIL PROTECTED]...
> Slow system, RAM memory requirements ?
> I have Cyrix 686 PR200 with 16 MB SDRAM and 1.4 GB hard drive.
> I recently installed RedHat Linux 6.2 with GNOME; 64 MB swap partition.
> It's extremely slow!
> I read that the minimum requirement is 4 MB RAM, so 16 MB RAM should be
> more than sufficient.
> Then why is the system so slow?  I mean, even simple things like
> opening/dragging windows becomes a time-consuming production.
> Is there any way to "speed" up the system, without adding more RAM;
> don't want to upgrade an old computer that's got one foot in the grave.
> What are some methods to "trim" down the system, without losing the
> user-friendly GUI,...

IceWM is supposed to be resource friendly.

Dave



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

From: D G <[EMAIL PROTECTED]>
Subject: Re: Samba: Win95 + Win98
Date: Fri, 01 Sep 2000 10:32:07 -0700

Greg F Walz Chojnacki wrote:
> Well, my solution was to remove encryption from the Win boxes and setup user
> accounts on the linux server.

As long as you don't mind sending passwords in the clear.  Otherwise,
it's trivial to set up an smbpasswd file that will work with the windows
passwords.  How to keep the passwords synchronized though, I'm not
sure--but there is a solution.

-- 
DG
e-mail is: [EMAIL PROTECTED]
(remove the Z's--they're what I do when I read SPAM!)

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

From: Naren Devaiah <[EMAIL PROTECTED]>
Subject: Re: Finding your clock speed
Date: Fri, 01 Sep 2000 10:50:25 -0700
Reply-To: naren_at_cs.pdx.edu

"Peter T. Breuer" wrote:
> 
> Sjoerd Langkemper <[EMAIL PROTECTED]> wrote:
> : "Naren Devaiah" <[EMAIL PROTECTED]> wrote:
> :> cat /proc/cpuinfo
> 
> : Argh! The first line indicates I have zero CPU's in my computer! So what's
> : my clock speed?
> 
> The first line indicates you can't count :-). Or can't read singular
> nouns. Or have too high a sarcasm content.
> 
> : processor       : 0
> 
> : bogomips        : 31.85
> 
> man bogomips. Or read the bogosity howto.
> 
> Peter

Sarcasm aside (of which I find quite a bit !) what the output says is
that the first CPU (Processor 0) is a Cyrix (or similar) and the kernel
is not able to determine the speed.
Bogomips isn't a true reflection of actual CPU speed.

There are a few utilities (sorry I cannot recall their location - maybe
on metalab.unc.edu) which attempt to measure the CPU speed. You should
try them.

-Naren
--
Opinions expressed are my own an no one else's!
(s/_at_/@/ to reply via email)

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

Date: Fri, 01 Sep 2000 20:21:22 +0200
From: Andries Dippenaar <[EMAIL PROTECTED]>
Subject: Freeware/Open Source COM/DCOM?

Hi,

  Is anyone out there aware of an open source or freeware implementation
of COM/DCOM; the Microsoft Component Object Model?  Has this ever been
attempted or is it not worth the pain and (possible) suffering?  It
would make a great way to expose Linux functionality directly to Windows
clients such as to have remote components embed themselves in Windows
documents or component applications.  Since COM/DCOM is based on the DCE
RPC mechanism, I would hazard a wild guess that it might not be a
totally unfeasible thing to do.
  I'm aware of a commercial implementation of COM/DCOM services by
Software AG, but that was done in partnership with Microsoft and they
want big bucks for it.

Any info would be greatly appreciated.
Thanks,
Andries
-- 
       /|~~\ * APJ Dippenaar * "If you wanna make the world a
     /__|__/ * SAN People    *  better place, take a look at
   /    |    * Stellenbosch  *  yourself and make a change."
 /   \__|    * South Africa  *             -- Michael Jackson

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

From: Ulf <[EMAIL PROTECTED]>
Subject: monitoring the memory usage
Date: Fri, 01 Sep 2000 18:06:02 GMT

What tools are available to monitor
- memory usage ("this process uses up x MB of RAM")
- CPU usage
- network interface activity (10% of bandwidth)
- system bus activity
etc.?

How can I detect memory leakage?

How do I use the "memory" function of tcl to query memory usage?

Thanks,
--Ulf


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

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

From: K. C. Adams <[EMAIL PROTECTED]>
Subject: HP NetServer LH Pro
Date: Fri, 01 Sep 2000 18:27:10 GMT

Greetings,

Anyone had any luck installing Linux on a Netserver LH Pro with NetRaid 
Adapter?  

I can get it installed just fine but when it comes down to the reboot it 
comes back with the following:
***
Autodetecting RAID arrays
autorun...
... autorun DONE.
kmod: failed to exec /sbin/modprobe -s -k block-major-8, errno=2
VFS: Cannot open root device 08:05
Kernel panic: VFS: Unable to mount root fs on 08:05
***

Cant seem to get the MEGARAID module to load. 
Thanks for any and all help.

-K-

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

From: [EMAIL PROTECTED] (Gerald)
Subject: newbie: linuxserver ftp connection problems
Date: Fri, 01 Sep 2000 18:44:28 GMT

Could somebody help me please?

I just installed linux redhat 6.1 on a 486-80 and want to configure it as a 
webserver (installed the apache, wu-ftpd and anon-ftp rpm's)

Accessing the linuxserver from a w2000 workstation using HTTP poses no 
problems at all but when I try to connect using FTP, there seems to be a 
period of inactivity (about one minute) between the request and response from 
the server. After this period everything seems ok and the connection works 
normally.

What's causing this? Are there any faqs around how to correctly setup a 
linuxwebserver+nt workstation?

Thanks, best regards

Gerald Kof

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

From: [EMAIL PROTECTED] (Topaz Crow)
Subject: Re: make mp3 with linux
Date: 1 Sep 2000 18:53:54 GMT
Reply-To: alt.anonymous.messages;ATTN: Topaz Crow

On Fri, 01 Sep 2000 10:32:31 GMT, Rasputin <[EMAIL PROTECTED]> wrote:
>[EMAIL PROTECTED] <rty> wrote:
>>I just want  find a good mp3 maker on linux as L3ENC.
>>    could you show me one ? Thank so much
>
>Sure, I use cdparanoia to rip Cds to wav, then bladeenc to create MP3s
>from those.
>
>Both work in batch mode, so they're handy for running overnight.
>
>I got the recommendations from the MP3 howto at www.linuxdoc.org.
>

Have you tried ripit.pl.  A perscript that puts them together.
Pretty cool.


-- 
Topaz Crow
No replies by email, sorry.
Reply to alt.anonymous.messages Subject: ATTN: Topaz Crow
PGP/GPG: DSS: 0xBADA36EA  RSA: 0x357245A1 

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

From: Ramin Sina <[EMAIL PROTECTED]>
Subject: ls -lt can be misleading
Date: Fri, 01 Sep 2000 14:55:53 -0400

This must be a common question. I am sure I am using the wrong command.
Iam wondering what is the correct way of doing this:

I have several versions of some directory  on my hard disk and
periodically I add to, change, or update the files inside them. If an
updated files is deep inside a directory/subdirectory/..., then the
command "ls -lt" or even "ls -lct" on theTOP directory does not give the
correct date. How can I make the updated time of all the subdirectories
be reflected in the TOP directory?

I have deleted several directories which I had thought to be old and
obsolete, but which had in fact new files burried deep inside them...

Thanks,
Ramin Sina
RH 6.2


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

Crossposted-To: comp.os.linux.networking,comp.os.linux.questions
From: Henry Luk <[EMAIL PROTECTED]>
Subject: samba problems
Date: Fri, 1 Sep 2000 17:36:58 GMT

I got a Linux server with a samba server connecting with two other client
machines, one is win98 and another is win2000.  From the two windows
machines, I can see the printer (HP LaserJet 5L) which is connected to the
server.  However, I couldn't print any files from the two client machines.
Here is the contents of my smb.conf file:

[global]
        workgroup = OEMWORKGROUP
        encrypt passwords = Yes
        min print space = 2000
        print command = /usr/bin/lpr -P%p -r %s

[test]
        comment = For testing only, please
        path = /export/samba/test
        read only = No
        guest ok = Yes

[printers]
        path = /usr/spool/public
        guest account = pcguest
        guest ok = Yes
        print ok = Yes

[queen]
        path = /usr/spool/public
        read only = No
        guest ok = Yes
        print ok = Yes
        printer name = queen
        oplocks = No
        share modes = No


Any help is appreciated!

HL


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

From: Erik Max Francis <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.shell
Subject: Re: for in list     in bash
Date: Fri, 01 Sep 2000 11:51:57 -0700

Barry Margolin wrote:

> That grep won't work -- first of all, you're confusing wildcards and
> regexps, and second of all you forgot to quote the wildcard.  But why
> use
> grep at all, when you could do $(ls *.log | sort) ?

Which would be pretty pointless, since *.log is a glob and already sorts
its arguments, so sending them to ls is redundant, and so is sorting
them.

-- 
 Erik Max Francis / [EMAIL PROTECTED] / http://www.alcyone.com/max/
 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ There are countless planets, like many island Earths ...
\__/ Konstantin Tsiolkovsky
    Kepler's laws / http://www.alcyone.com/max/physics/kepler/
 A proof of Kepler's laws.

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

From: Barry Margolin <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.shell
Subject: Re: for in list     in bash
Date: Fri, 01 Sep 2000 19:03:57 GMT

In article <[EMAIL PROTECTED]>,
Erik Max Francis  <[EMAIL PROTECTED]> wrote:
>Barry Margolin wrote:
>
>> That grep won't work -- first of all, you're confusing wildcards and
>> regexps, and second of all you forgot to quote the wildcard.  But why
>> use
>> grep at all, when you could do $(ls *.log | sort) ?
>
>Which would be pretty pointless, since *.log is a glob and already sorts
>its arguments, so sending them to ls is redundant, and so is sorting
>them.

Didn't I say all that later in my message?  I was just addressing the
actual mistakes in the above paragraph, not the redundancies.

-- 
Barry Margolin, [EMAIL PROTECTED]
Genuity, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.

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


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