Linux-Misc Digest #396, Volume #27               Mon, 19 Mar 01 13:13:04 EST

Contents:
  Re: Help: Howto setup dialin server (Dustin Puryear)
  Re: Text files -- Many into One -- How?? (Stefano Ghirlanda)
  Re: konqueror over ssh leaves processes when closed (Bob Hauck)
  nfs startup ("Sudhakar R.")
  mouse roller? ("Sudhakar R.")
  Re: FTP and TELNET problems in Mandrake 7.2 (Michael Lee Yohe)
  vfs problems ("Michael Nahler")
  Lotus Notes (Ericc)
  Initiating kernel crash ("Chris Divine")
  Re: Does Earthlink support Linux? (William Daffer)
  In RH7.0 ~/.bash_profile not executed (Jun Galamay)
  Re: Initiating kernel crash (Michael Heiming)
  Re: Poweroff still failes (Alex Fitterling)
  Stop mail? ("Tom Edelbrok")
  Re: Initiating kernel crash ("Peter T. Breuer")
  Re: Password encryption function? (Markku Kolkka)
  Newbie Question - Case sensitivity causing problems? ("higgy")
  Re: Initiating kernel crash ([EMAIL PROTECTED])
  Re: good newsreader? (Brad Bailey)
  Re: Stop mail? ("Arthur H. Gold")
  Re: Stop mail? (Michael Heiming)

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

From: [EMAIL PROTECTED] (Dustin Puryear)
Crossposted-To: comp.os.linux.networking,comp.os.linux.setup,alt.linux
Subject: Re: Help: Howto setup dialin server
Date: Mon, 19 Mar 2001 09:46:49 -0600
Reply-To: [EMAIL PROTECTED]

On Sat, 17 Mar 2001 09:11:17 GMT, David. E. Goble <goble@gtech> wrote:
>My options.srv file is;
>:192.168.0.25

Is that right? I believe the format is local:peer. So would this be something
like 192.168.0.25:some-reserved-ip-for-ppp? I don't have the docs in front of
me, but you should investigate the appropriate syntax for the IP addy 
specification.

Regards, Dustin

-- 
Dustin Puryear <[EMAIL PROTECTED]>
Integrate Linux Solutions into Your Windows Network
- http://www.prima-tech.com/integrate-linux


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

From: Stefano Ghirlanda <[EMAIL PROTECTED]>
Subject: Re: Text files -- Many into One -- How??
Date: 19 Mar 2001 17:16:15 +0100

"Eric" <[EMAIL PROTECTED]> writes:

> > Not really, you can use it from a program without using a shell, but
> > that's not important.
> 
> Could you show me an example of this?

Here is a little program that uses cat without using the shell:

#include <unistd.h>
extern char **environ;

int main(int argc, char **argv) {
                execve( "/bin/cat", argv, environ );
    return 0;
}

It just does the same job as cat... It's really stupid and I agree in
all practical uses of cat you also need a shell.

-- 
Stefano - Hodie decimo quarto Kalendas Apriles MMI est

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

From: [EMAIL PROTECTED] (Bob Hauck)
Subject: Re: konqueror over ssh leaves processes when closed
Reply-To: hauck[at]codem{dot}com
Date: Mon, 19 Mar 2001 16:29:01 GMT

On Mon, 19 Mar 2001 03:27:29 +0000 (UTC), David Efflandt
<[EMAIL PROTECTED]> wrote:

> SuSE 7.1 booted to runlevel 3.  When I run konqueror (from KDE2)
> remotely over ssh, it starts a bunch of KDE processes on the box it is
> running from.  If I close konquerer, those processes remain and if I
> try to close ssh it hangs saying that there are processes still
> running over that connection.

The processes are KDE "helpers".  KDE programs that use certain things
like dcop and arts will start them up.  They did not die by themselves
in kde 2.0, but do with 2.1, a minute or so after you close the last
program that uses them.

-- 
 -| Bob Hauck
 -| Codem Systems, Inc.
 -| http://www.codem.com/

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

From: "Sudhakar R." <[EMAIL PROTECTED]>
Subject: nfs startup
Date: Mon, 19 Mar 2001 11:28:04 -0500

I've been trying to get nfs to start up on my RH 7.0 box and for some
reason it just won't. 

/etc/rc.d/init.d/nfs start

executes with no messages whatsoever. But when i check the ps -aex, nfs is
not listed. On doing a 

mount -t nfs localhost:/usr /nfstest/

i get the following error
mount: RPC: unable to receive; error = Connection refused

My /etc/exports is as follows
/usr localhost [ro]

Can someone help me with this. Thanx a ton in advance,
-sud



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

From: "Sudhakar R." <[EMAIL PROTECTED]>
Subject: mouse roller?
Date: Mon, 19 Mar 2001 11:29:30 -0500

Is it possible to get the mouse roller working under RH 7.0. If so, how do
i got about it.

Thanx in advance,
-sud



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

From: Michael Lee Yohe <[EMAIL PROTECTED]>
Subject: Re: FTP and TELNET problems in Mandrake 7.2
Date: Mon, 19 Mar 2001 10:12:17 -0600

> work. I then installed the telnet-services rpm and then the
> telnet function started working, but, it seems that the ftp
> function stopped working. Maybe the problems are not
> related.

I think Mandrake 7.2 is based off security implementations found in Red 
Hat 7.0 (if not - don't gripe to me *grin* -- I'm just a developer). 
Either way, check to see if you have a directory called /etc/xinetd.d -- 
this is where all your inetd services are configured at.  A sample file 
is the following:

service telnet
{
        flags           = REUSE
        socket_type     = stream
        wait            = no
        user            = root
        server          = /usr/sbin/in.telnetd
        log_on_failure  += USERID
        disable         = yes
}

Do you notice in this file that disable = "yes"?  If you wish to enable 
telnet services, then simply edit this file (as root), change disable so 
that it equals "no".  THEN - restart the xinetd process.  Hope that helps.

-- 

Michael Lee Yohe ([EMAIL PROTECTED])
Software Developer, Engineering Services
Red Hat, Inc.


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

From: "Michael Nahler" <[EMAIL PROTECTED]>
Subject: vfs problems
Date: Mon, 19 Mar 2001 17:38:00 +0100

Hi guys,

I have a question about the vfs interna. I have to write an excerpt about
it. But one thing I dont understand.

When a filesystem is mounted and I want to modify a file on it. The first
thing, vfs does is to look if the right VFS Inode is already in the VFS
Inode Cache.
Okay, here's my first problem: I have found something about the VFS Inode
structure. But if I want to read a file because of some commands , I usually
reference it by its filename and not by its Inode number. But in the VFS
Inode there is no field for the name of the file it represents. So, how does
the VFS know, which Inode in the VFS Cache stands for the file? Is there any
table maintained by the vfs for each mounted filesystem which points the
Inode-numbers to the filenames?

And then I have a second problem: if i have found the rigth Inode for the
file in the VFS Inode Cache, e.g. for a file in a VFAT partition. How is the
file entered? I dont think that there is a pointer to the blocks of the file
in the filesystem. I think it goes to the VFS Superblock and uses the
specific Superblock operations.

But I still don't know what the relation is betwenn the VFS Inode and the
real file.

Perhaps somebody can help me.
I'm really confused.

Thanks in advance.

Michael



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

From: [EMAIL PROTECTED] (Ericc)
Subject: Lotus Notes
Date: 19 Mar 2001 16:33:28 GMT

    I try to use Linux at work, but my society use Lotus Notes as mail 
system.
        Some one have a solution for me ??

        Thanks 

        Ericc

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

From: "Chris Divine" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help
Subject: Initiating kernel crash
Date: Mon, 19 Mar 2001 09:05:23 -0800

This may sound stupid, but it's for testing purposes. Which running process
on a RH 6.2 server install can be "killed" to initiate a relatively safe
kernel crash and hang the system? I'm testing the capability of initiating
an automatic system reboot if the kernel becomes unstable or the system
crashes.

--
'First they tell you you're wrong and they can prove it;
then they tell you you're right but it isn't important;
then they tell you it's important but they knew it all along.'
---
Chris
"I don't speak for Intel and they don't speak for me"



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

Subject: Re: Does Earthlink support Linux?
From: William Daffer <[EMAIL PROTECTED]>
Date: Mon, 19 Mar 2001 17:26:34 GMT

"Matt O'Toole" <[EMAIL PROTECTED]> writes:

> "Michael Perry" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> 
> > On 14 Mar 2001 03:27:35 GMT, Andrew Purugganan <[EMAIL PROTECTED]>
> wrote:
> 
> > >They are offering a promo 700 hrs, and DSL. Were you able to get it to
> > >work with Linux? Or do they have a proprietary dialer, like NetZero?
> > >
> > >--
> > >jazz
> > >Registered linux user no. 164098  +--+--+--+ Litestep user no. 386
> > >Doesn't it bother you, that we have to search for intelligent life
> > >--- OUT THERE??
> >
> > I don't use dsl with earthlink; but I have to admit to having the easiest
> > time with earthlink on the road with dialup ppp.  It works with wvdial
> > really well for me.  I would call earthlink and ask specifically what
> modem
> > they are offering.  At home for me, the Alcatel at home works very well.
> > All you do is plug one cable into the phone line and the other is a cat5
> > ethernet cable which goes to a nat/firewall box.  No setup of pppoe or
> > anything.
> 
> Even though they probably don't support it, Earthlink should be fine with
> DSL/Linux.  How you connect depends on the actual DSL setup you have--  this
> isn't actually provided by Earthlink, but your local phone company, or maybe
> a third party DSL provider.  Most likely, they're using PPPoE.  In any case,
> there's nothing proprietary or unusual about what they use.

  I run DSL through earthlink/Verizon. PPPOE, RH 7, No problems. The
  configuration of PPPOE is a snap. I've been up and connected
  continuously for 17 days.

  But unless you have a dual boot with Win 9x or another machine with
  Win on it, you'll have some problems with tech support if ever you
  run into problems. They don't support linux and most of those people
  know only Windows.

  I do have such a set up, so when the card at the local office went
  out about a month ago I just booted into windows and started calling
  the support offices. They'd have me run through their various drills
  in Windows and once Verizon replaced the card I just booted back
  into Linux. Badda bing, Badda boom!

whd
-- 
Outside of a dog, a book is man's best friend
Inside of a dog it's too dark to read
  -- Groucho Marx

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

From: Jun Galamay <[EMAIL PROTECTED]>
Subject: In RH7.0 ~/.bash_profile not executed
Date: Mon, 19 Mar 2001 09:27:50 -0800
Reply-To: [EMAIL PROTECTED]

The  ~/.bash_profile  is never executed on RH7.0. Is this a known
problem?

Thanks,
Jun Galamay


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

Date: Mon, 19 Mar 2001 18:42:45 +0100
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: Initiating kernel crash

Chris Divine wrote:
> 
> This may sound stupid, but it's for testing purposes. Which running process
> on a RH 6.2 server install can be "killed" to initiate a relatively safe
> kernel crash and hang the system? I'm testing the capability of initiating
> an automatic system reboot if the kernel becomes unstable or the system
> crashes.
> 
Sorry, but Linux is not designed to became unstable or even crash, I never saw
this happen in years, only if your hw is faulty/your power supply/USV go down or
you mucked
the system up dreadful, Linux will crash and in this case your automatic system
reboot wont help.

There is a kernel compile option:

CONFIG_MAGIC_SYSRQ this may be something you are interested in...

Michael Heiming

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

From: Alex Fitterling <[EMAIL PROTECTED]>
Subject: Re: Poweroff still failes
Date: Mon, 19 Mar 2001 18:31:25 +0100

Peter T. Breuer <[EMAIL PROTECTED]> wrote:

Hello "Mr. brialliant question responser", :))

> What's power off? Do you mean telling the mobo to power down after
> halting the O/S :-).  

What actually is mobo, I don't understand...

> I am trying to make my dell 300 reboot when  I say
> so, but alas no, it won't. Is that related? It reboots fine under kernel
> 2.2.18 but 2.4.0 just leaves it stuck there and halted, saying "system
> rebooting", waiting for a button press. Is that related?

hm... I had this some time, but still I tried to force my system to
power down there. But then - you won't believe - it actually
restarted... hm... :)

> Being aware that apm/apci and smp don't mix (it's a dual mobo with one
> processor in at present, and an smp kernel), I have all kinds of anti
> apm innoculations in the lilo append line, such as

can you tell me the difference of apci and apm please ?

>    apm=off reboot=cold

>From where did you get such parameters... ?

> but no go. Just halt.  

hm... I suffer with you... and of course I pray for you..

> Sounds like broken apm or mobo without apm/apci.  

What is this, as stated above... and furhter above... would be good to
know I guess...


>> I think as an result of the power-off behavior, and of one conclusion
>> made upon those, I think it is due a hardware failure, or conflict. I
>> am using K6XV3+ Main-board (VIA chip-set), with K6III-400.

> Congrats on your brilliant conclusion. "It works for everyone else,
> and it doesn't work for me, so I must be unusual".  

Yes that's what I thought... and I don't dare to get out on streets
either, anymore... :)

>> For example if someone shows, how to call power-off in a C code, so
> Just take the code from the power-off you have.

...where to find this needle in kernel tree ? I was thinking uppon
some concise solution... the more I'll understand...

A.F.



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

From: "Tom Edelbrok" <[EMAIL PROTECTED]>
Subject: Stop mail?
Date: Mon, 19 Mar 2001 17:48:14 GMT

How do you stop a bash script that is being run from crontab from creating
mail messages every time it runs? I have a script that is set up to run
every minute, and am getting piles of mail messages to delete!

Thanks,
Tom



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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help
Subject: Re: Initiating kernel crash
Date: Mon, 19 Mar 2001 18:49:42 +0100

In comp.os.linux.help Chris Divine <[EMAIL PROTECTED]> wrote:
> This may sound stupid, but it's for testing purposes. Which running process
> on a RH 6.2 server install can be "killed" to initiate a relatively safe

killing user processes doesn't crash the kernel.

> kernel crash and hang the system? I'm testing the capability of initiating
> an automatic system reboot if the kernel becomes unstable or the system

Then you should be well able to write you own module that does a memcpy of
1024 bytes from adress 0 to address 4GB, and insmod it!

But if you want to "hang the system", suspending init should be
interesting (rememember to kill inetd and all other sevices beforehand).

> crashes.

Peter

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

From: Markku Kolkka <[EMAIL PROTECTED]>
Subject: Re: Password encryption function?
Date: 19 Mar 2001 19:45:49 +0200

Paul Harrison <[EMAIL PROTECTED]> writes:
> Which file in the Linux kernel source code contains the crypt()
> function?

None, it's not a kernel function. Try glibc source instead.

-- 
        Markku Kolkka
        [EMAIL PROTECTED]

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

From: "higgy" <[EMAIL PROTECTED]>
Subject: Newbie Question - Case sensitivity causing problems?
Date: Mon, 19 Mar 2001 17:13:24 -0000

I'm trying to install XFree86 4.0.2 for Zipslack, which is running off a
Win98 partition, but the installer script doesn't seem to be able to find
the files. I have noticed, however, that despite starting with capital
letters when displayed in windoze, the downloaded files are showing up
entirely in lower-case under linux. It seems the install script wants
Xbin.tgz etc. and just ignores xbin.tgz (infact the script wouldn't work at
all - until I entered "sh xinstall.sh", instead of "sh Xinstall.sh", as per
the docs).

Any ideas why this might be happening and how I might get round it?

Thanks,

Dave.



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

From: [EMAIL PROTECTED]
Subject: Re: Initiating kernel crash
Date: Mon, 19 Mar 2001 18:06:08 GMT

Michael Heiming <[EMAIL PROTECTED]> writes:
> Chris Divine wrote:
>> This may sound stupid, but it's for testing purposes. Which running
>> process on a RH 6.2 server install can be "killed" to initiate a
>> relatively safe kernel crash and hang the system? I'm testing the
>> capability of initiating an automatic system reboot if the kernel
>> becomes unstable or the system crashes.

> Sorry, but Linux is not designed to became unstable or even crash, I
> never saw this happen in years, only if your hw is faulty/your power
> supply/USV go down or you mucked the system up dreadful, Linux will
> crash and in this case your automatic system reboot wont help.

This overstates things a mite.  If you're using the IDE-SCSI emulation
mode, and kill (say) a CD writing session, the SCSI "pseudo-bus" can
get confused enough that the system can and will "hang."

I would certainly agree that a _software-based_ "auto reboot" scheme
is not likely to fly terribly well; if the system is hosed enough that
user space stuff is halted, it is unlikely that there will be enough
there for the "auto reboot."

On the other hand, a hardware "watchdog" would be entirely sensible to
try out.  

There's kernel support for this; basically, you create /dev/watchdog,
and set up a daemon that writes to that file once per minute.
(Probably somewhat more often than that to prevent any momentary
Unfortunate Pauses from leading to a reboot...)

The hardware side accepts a signal from /dev/watchdog, and basically
resets the timer count every time.  If the timer reaches 1 minute (or,
probably, some other configurable schedule), the computer is switched
off and on again.

Methinks the best way of getting a "crash" would be to pick from:

a) Killing the watchdog daemon
b) shutdown -h now
-- 
(reverse (concatenate 'string "gro.mca@" "enworbbc"))
http://www.ntlug.org/~cbbrowne/rdbms.html
When  you're finally  holding all  the cards,  why does  everyone else
decide to play chess?

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

From: [EMAIL PROTECTED] (Brad Bailey)
Subject: Re: good newsreader?
Reply-To: [EMAIL PROTECTED]
Date: Mon, 19 Mar 2001 18:06:13 GMT

In <[EMAIL PROTECTED]>, Dowe Keller
 <[EMAIL PROTECTED]> wrote:
:On Sun, 18 Mar 2001 22:47:07 GMT, lop <[EMAIL PROTECTED]> wrote:
:>i am searching for a good newsreader running under linux. mainly used
:>for downloading binaries. so that my win2k comp has not to run the
:>whole night. (its nearly impossible to sleep next to my comp)
:>most preferrable would be a programm which runs under console, because
:>of remote access. (i dont have Xwindows installed and iam not willing
:>to install it unless it is really needed)
:>please tell me if there is a prog out there which is good.
:
:I would recommend slrn. My system has 16M of memory, and slrn feels
:fast even when running X.  I don't know however about how it handles
:downloads, as I don't frequent pr0n^Wbinary ngs.

slrn handles them fine. It downloads, combines, and decodes quite
nicely. I'll second the recommendation, as slrn is the best program
I know of to meet the OP's requirements.

Regards, Brad.
-- 
"For every winner, there are dozens of losers. Odds are you're one of
 them." --despair.com

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

Date: Mon, 19 Mar 2001 12:11:25 -0600
From: "Arthur H. Gold" <[EMAIL PROTECTED]>
Subject: Re: Stop mail?

Tom Edelbrok wrote:
> 
> How do you stop a bash script that is being run from crontab from creating
> mail messages every time it runs? I have a script that is set up to run
> every minute, and am getting piles of mail messages to delete!
> 
> Thanks,
> Tom
Redirect the mail to /dev/null (add `> /dev/null' to the
crontab entry sending the mail).

HTH,
--ag
-- 
Artie Gold, Austin, TX  (finger the cs.utexas.edu account
for more info)
mailto:[EMAIL PROTECTED] or mailto:[EMAIL PROTECTED]
--
Clone Bernie!

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

Date: Mon, 19 Mar 2001 19:09:23 +0100
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: Stop mail?

Tom Edelbrok wrote:
> 
> How do you stop a bash script that is being run from crontab from creating
> mail messages every time it runs? I have a script that is set up to run
> every minute, and am getting piles of mail messages to delete!

Just delete or comment the line in /etc/crontab or the users crontab and
reload cron.

Type:

apropos cron

and you get all available man pages on your system on this topic...

Michael Heiming

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


** 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 by posting to comp.os.linux.misc.

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