Linux-Misc Digest #59, Volume #24                 Thu, 6 Apr 00 09:13:02 EDT

Contents:
  Checking whether an application is running. (Penpal International)
  Re: Checking whether an application is running. (Bjorn Beheydt)
  shellscript string to integer (Thomas)
  X11 error ("Peet Grobler")
  Re: finger (Winpic)
  Re: finger (Winpic)
  Re: finger (Winpic)
  Re: shellscript string to integer (Adrian Hands)
  Re: Newbie: SCSI Boot Problem... (Andrew Williams)
  Re: finger (Arjan Drieman)
  Re: finger (Winpic)
  sndconfig probs ("Simon H.")
  Netscape 6 (Minko Markov)
  device /dev/fb0 does not exist? (-~=Darek M=~-)
  Re: Checking whether an application is running. (oracle)
  Re: libg2c.a what is it? (Martijn Brouwer)
  Re: Netscape 6 (mitja)
  Re: Suse Linux 6.3 or RedHat 6.1 whats better (merv)
  Psion + Linux ([EMAIL PROTECTED])
  COL2.3 and Netscape Logon prob. ([EMAIL PROTECTED])
  Re: Visio (Microsoft vs. Unix) (Harold Stevens ** PLEASE SEE SIG **)

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

From: Penpal International <[EMAIL PROTECTED]>
Subject: Checking whether an application is running.
Date: Thu, 06 Apr 2000 12:12:38 +0200

How can I check whether an application is running and if so, turning it
on?



-- 
Penpal International
http://ppi.searchy.net/
[EMAIL PROTECTED]

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

From: Bjorn Beheydt <[EMAIL PROTECTED]>
Subject: Re: Checking whether an application is running.
Date: Thu, 06 Apr 2000 10:18:49 GMT

Penpal International wrote:
> 
> How can I check whether an application is running and if so, turning it
> on?
try this: 
ps aux | grep programname

To turn the program on, try stroking, if it doesn't help you can start
kissing and if it is really cold hearted, try a hot video.
-- 
==============================================================================
Bjorn Beheydt

New and Improved Homepage: http://www.linuxfreak.com/~borniet
Linux: because it separates the boys from the men.
==============================================================================

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

From: [EMAIL PROTECTED] (Thomas)
Subject: shellscript string to integer
Date: Thu, 6 Apr 2000 12:15:41 +0200


Hi,

I want to compare the output of the day of month by date with a digit ! 

#!/bin/sh
day=`date +%-d`
if  (test "$date" -gt 10);
 then
......
fi

But the output of date is string and test complains.

Goal is to make a daily report of login/ftp/... activity by cron with the 
/var/log files
Therefore I use a date grep pipe :

date '+%b %-d' | xargs -ivar grep "var" messages | grep pam_unix
.......                                                       

This only works from day 10 because the day 1-9 is printed by syslog with 
an additional space between day and month in the messages.
so I have to do a date '+%b  %-d' from day 1-9 .

Any ideas ?


Xbye
Thomas

To reply via Mail remove the _ at the mail address !

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

From: "Peet Grobler" <[EMAIL PROTECTED]>
Subject: X11 error
Date: Thu, 6 Apr 2000 12:34:43 +0200

Okay. I installed X11 last night. It started up fine the first time, after
which it doesn't work.

When I type startx, I get a load of messages, ending with the following:

waiting for X server to shut down FreeFontPath: FPE
/usr/X11R6/lib/X11/fonts/misc:unscaled" refcount is 2, should be 1; fixing.

The font files are there. I re-installed the fonts, same problem. So I
re-installed X11, same problem. So I wiped X11, re-installed it, same
problem.

What should I do??



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

From: Winpic <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,be.comp.os.linux,nl.comp.os.linux
Subject: Re: finger
Date: Thu, 06 Apr 2000 12:43:24 +0200

Ipchains doesn't work

Is there a possibility to track people who are fingering me with my plan?

WInpic


Arjan Drieman wrote:

> On Tue, 04 Apr 2000 14:00:04 +0200, winpic <[EMAIL PROTECTED]> wrote:
> >
> >How do I keep track of people who are fingering me?
>
> You can use ipchains to log all connection attempts to the finger port:
>
> ipchains -A input -p tcp -d 0/0 79 -y -l -j ACCEPT
>
> Or you can install a logger like ippl, get it at
> ftp://sunsite.unc.edu/pub/Linux/system/Network/daemons/
>
> Arjan
> --
> Why is American beer served cold?
> So you can tell it from urine.
> -- David Moulton


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

From: Winpic <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,be.comp.os.linux,nl.comp.os.linux
Subject: Re: finger
Date: Thu, 06 Apr 2000 12:43:45 +0200

Ipchains doesn't work

Is there a possibility to track people who are fingering me with my plan?

WInpic


Arjan Drieman wrote:

> On Tue, 04 Apr 2000 14:00:04 +0200, winpic <[EMAIL PROTECTED]> wrote:
> >
> >How do I keep track of people who are fingering me?
>
> You can use ipchains to log all connection attempts to the finger port:
>
> ipchains -A input -p tcp -d 0/0 79 -y -l -j ACCEPT
>
> Or you can install a logger like ippl, get it at
> ftp://sunsite.unc.edu/pub/Linux/system/Network/daemons/
>
> Arjan
> --
> Why is American beer served cold?
> So you can tell it from urine.
> -- David Moulton


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

From: Winpic <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,be.comp.os.linux,nl.comp.os.linux
Subject: Re: finger
Date: Thu, 06 Apr 2000 12:44:07 +0200

Ipchains doesn't work

Is there a possibility to track people who are fingering me with my plan?

WInpic


Arjan Drieman wrote:

> On Tue, 04 Apr 2000 14:00:04 +0200, winpic <[EMAIL PROTECTED]> wrote:
> >
> >How do I keep track of people who are fingering me?
>
> You can use ipchains to log all connection attempts to the finger port:
>
> ipchains -A input -p tcp -d 0/0 79 -y -l -j ACCEPT
>
> Or you can install a logger like ippl, get it at
> ftp://sunsite.unc.edu/pub/Linux/system/Network/daemons/
>
> Arjan
> --
> Why is American beer served cold?
> So you can tell it from urine.
> -- David Moulton


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

From: Adrian Hands <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: shellscript string to integer
Date: Thu, 06 Apr 2000 10:45:57 GMT

Thomas wrote:
> 
> Hi,
> 
> I want to compare the output of the day of month by date with a digit !
> 
> #!/bin/sh
> day=`date +%-d`
> if  (test "$date" -gt 10);
>  then
> ......
> fi
> 
> But the output of date is string and test complains.

you want $day, not $date
sh variables aren't typed, so if a string contains numeric characters,
it's a number.

#!/bin/sh
day=`date +%d`
if [ "$day" -gt 10 ]
then
  .....
fi

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

From: Andrew Williams <[EMAIL PROTECTED]>
Subject: Re: Newbie: SCSI Boot Problem...
Date: Thu, 06 Apr 2000 12:54:42 +0200
Reply-To: [EMAIL PROTECTED]

Your Jaz-drive has a scsi-id lower than that of the hard-drive.  The
disc/drive with the lowest id is /dev/sda, the next /dev/sdb and so on.
Change the jaz-drive's ID, a straight swap with that of the disc would
also do it.


[EMAIL PROTECTED] wrote:

> Question:
> How do I force Linux to always assign the root/boot device to the same
> device (e.g. /dev/sdb).
>
> Problem:
> I have a Jaz 2G external drive.  When I boot Linux without connecting
> the Jaz drive it boots without any problems.  The boot/root device
> is /dev/sdb.
>
> Connect the Jaz 2G drive and problems start.  Linux assigns the
> boot/root device to /dev/sdc and the Jaz drive to /dev/sdb.  This
> causes a Kernel panic.  I can force the boot/root device to change
> to /dev/sdc using LILO boot options, but I soon run into problems
> where /dev/sdb is referred to.
>
> Thanks...
> --Kevin.
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.

--
Mielipiteet omiani - Opinions personal, facts suspect, especially on my
        http://home.germany.net/101-69082/samba.html
Simple Samba Solutions web page.                            ICQ 1722461



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

From: [EMAIL PROTECTED] (Arjan Drieman)
Crossposted-To: comp.os.linux.networking,be.comp.os.linux,nl.comp.os.linux
Subject: Re: finger
Date: 6 Apr 2000 10:55:10 GMT
Reply-To: [EMAIL PROTECTED]

On Thu, 06 Apr 2000 12:43:24 +0200, Winpic <[EMAIL PROTECTED]> wrote:
>Ipchains doesn't work

Ipchains does work.  Maybe there's another rule that's dropping or
accepting the connection before this one.  Try this to make it the
first rule:

ipchains -I input 1 -p tcp -d 0/0 79 -y -l -j ACCEPT


If that works, change the order of your firewall rules.


>Is there a possibility to track people who are fingering me with my plan?

Not that I know off.


Posting once should be enough.  Don't email people unless it gets
inappropriate or too private for the newsgroup... AND CERTAINLY don't
email it 5 times dammit.


Arjan
-- 
Without question, the greatest invention in the history of mankind is
beer.  Oh,I grant you that the wheel was also a fine invention, but the
wheel does not go nearly as well with pizza. 
-- Dave Barry's Bad Habits, Dave Barry


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

From: Winpic <[EMAIL PROTECTED]>
Subject: Re: finger
Date: Thu, 06 Apr 2000 12:47:04 +0200

How can I enable this?

winpic

[EMAIL PROTECTED] wrote:

> On Tuesday, April  4, 2000  2:00 PM, winpic <[EMAIL PROTECTED]> wrote:
>
> from the cfingerd.conf manpage :
>
>        USERLOG is the optional file in which all attempts to fin�
>        ger a user are logged for the  users  own  reference.   If
>        ALLOW_USERLOG  is  not  enabled  this  file  is completely
>        ignored.    If   ONLY_CREATE_FINGERLOG_IF_FILE_EXISTS   is
>        enabled  cfingerd  will  only  document finger requests if
>        this file already exists in the users home directory.  The
>        default name is .fingerlog.
>
> --
> BBP


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

From: "Simon H." <[EMAIL PROTECTED]>
Crossposted-To: comp.sys.laptops,comp.os.linux.portable
Subject: sndconfig probs
Date: Thu, 06 Apr 2000 12:40:52 +0100
Reply-To: [EMAIL PROTECTED]

My Linux system has no working sound at present (e.g. CDs). Running
sndconfig, all goes well until I get to the bit where it plays a sound
sample. I've tried several configurations: in some cases I can't hear
the sound, so I guess in these cases I've got it configured wrong. In
other cases I still don't hear any sound but get a message like:

Modprobe error:

/lib/modules/2.2.12-20/misc/cs4232.0:
init module: Device or resource busy
uart401: Device or resource busy

which may as well be Greek to me. It's RH6.1 on a Toshiba Satellite. Any
suggestions?

Thanks (again!)
Simon


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

Subject: Netscape 6
From: Minko Markov <[EMAIL PROTECTED]>
Date: Thu, 06 Apr 2000 11:55:40 GMT

Hi,

Did anyone try the new netscape?
It did not work here. I started
"netscape" in the "package" directory,
then it displayed some mozilla-like
messages indicating the progress,
and then exited. I mean, exited
without any complaint of missing
library or something similar. Very
strange, no error message, no core
dump, the process just terminates
before the window shows up.

Thanks for any suggestion.

Minko

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

Subject: device /dev/fb0 does not exist?
From: -~=Darek M=~- <[EMAIL PROTECTED]>
Date: Thu, 06 Apr 2000 05:34:14 -0700

That's what I get after installing Slackware 7 with the full
installation (the process takes too long and I had to repeat it
4 times so I chose the full :) I believe the full installation
installed all X Win there are. What can I do to create the fb0
device?

PS: Should I just try installing the October GNOME first and
seeing if that helps? Want to upgrade anyway.

PSS: How do I rid myself of KDE and the other X servers in
Slack7? All I am used to doing is 'rpm -e whotever.rpm'

* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!


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

From: oracle <[EMAIL PROTECTED]>
Subject: Re: Checking whether an application is running.
Date: Thu, 06 Apr 2000 12:49:28 GMT

ps -ef | grep somecharactersfromapplicationameforidentification

should get you a list of programs running.

Penpal International wrote:

> How can I check whether an application is running and if so, turning it
> on?
>
> --
> Penpal International
> http://ppi.searchy.net/
> [EMAIL PROTECTED]


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

From: [EMAIL PROTECTED] (Martijn Brouwer)
Subject: Re: libg2c.a what is it?
Date: Fri, 07 Apr 00 00:50:17 GMT

In article <[EMAIL PROTECTED]>, Rob Komar <[EMAIL PROTECTED]> wrote:
>Oliver Gebele <[EMAIL PROTECTED]> wrote:
>> Does anybody know what the libg2c.a is used for?
>
>It is the g77 (gnu Fortran 77) runtime library.

To me it seems that it is the librarie of f2c, the fortran to c translator. As 
far as I know g77 is just an frontend for gcc, just like g++. The people on 
comp.lang.fortran can tell you more.

Bye,

Martijn


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

From: mitja <[EMAIL PROTECTED]>
Subject: Re: Netscape 6
Date: Thu, 6 Apr 2000 14:49:17 +0200
Reply-To: [EMAIL PROTECTED]

Minko Markov wrote:
> Hi,
> 
> Did anyone try the new netscape?
> It did not work here. I started
> "netscape" in the "package" directory,
> then it displayed some mozilla-like
> messages indicating the progress,
> and then exited. I mean, exited
> without any complaint of missing
> library or something similar. Very
> strange, no error message, no core
> dump, the process just terminates
> before the window shows up.
> 
> Thanks for any suggestion.
> 
> Minko
You need Libjpeg.so.62.

Mitja

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

From: merv <[EMAIL PROTECTED]>
Subject: Re: Suse Linux 6.3 or RedHat 6.1 whats better
Date: Thu, 06 Apr 2000 12:57:23 GMT

This is a multi-part message in MIME format.
==============05215EBFEB01449544B7CE05
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Cannot comment on which is the "better", but I would like to know if anyone
has run Oracle8i on SuSe?

Merv.

John Scudder wrote:

> Rafael wrote:
>
> > I heard that Suse is better is it true?
>
> Yes!
>
> I was using Red Hat 5.X for about a year with no problems (well no BIG
> problems).  Then I 'upgraded' to  Red Hat 6.1 and was disappointed.
> There were several problems and/or new querks that annoyed me.  On top
> of that, my printer wouldn't work properly.
>
> In disgust, I dumped RedHat and bought Caldera Open Linux 2.3.      The
> installation process of Caldera is a wonder to behold, but now I had a
> problem with my sound card.   Plus Open Linux kept giving me compile
> errors when I tried to add new software.  Forget that stuff...
>
> I dumped Caldera...sounds like I give up too easy??  Well I played
> around with these other two distributions for about a month each...thats
> enough horsing around. I went out and bought SuSE 6.3.  That was about 2
> months ago.  I love it.  Everything is working the way I like it.
> This one is a keeper.
>
> John

==============05215EBFEB01449544B7CE05
Content-Type: text/x-vcard; charset=us-ascii;
 name="merv.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for merv
Content-Disposition: attachment;
 filename="merv.vcf"

begin:vcard 
n:Colton;Mervyn
tel;fax:353 1 6799936
tel;work:353 1 6799933
x-mozilla-html:FALSE
adr:;;;;;;
version:2.1
email;internet:merv@ifwdc
title:Technical Director
fn:Mervyn Colton
end:vcard

==============05215EBFEB01449544B7CE05==


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

From: [EMAIL PROTECTED]
Subject: Psion + Linux
Date: Thu, 06 Apr 2000 12:47:11 GMT

Is there a program like PsiWin for Linux?
If yes, where can I download it?
Or is it possible to let the Psion communicate with Linux like a Modem?
http://www.ott-net.ch/Psion2PC.htm
On this Homepage there it is described how to connect a Psion with
Windows without PsiWin!
Can anybody tell me the things I've got to do, to let the Psion
communicate with Linux?

Thanks Steve


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

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

From: [EMAIL PROTECTED]
Subject: COL2.3 and Netscape Logon prob.
Date: Thu, 06 Apr 2000 12:49:10 GMT

I need some help with Netscape and Caldera Openlinux 2.3.
Thru kppp my system is connected to the internet but when
running Netscape I get this error.

Here is the error message I recieve.

The following hosts are unknown�local.localdomain
Home.netscape.com
Home6.netscape.com
Internic.net

This means that some or all of the hosts are unreachable.
Perhaps there is a problem with your Name Server?
Or, system fails to access any web resources using a domain
name.
If your site must use a non_root name server, you will
Need to set the $SOCKS_NS environment variable, to the
SOCKS host preference, to the IP address or the host
In question rather than it�s name.

Consult your System Administrator.

I have so far done the following changes, following advice from
various newbie sites and the help section on elinux to no avail.

I've edited the account > DNS
the /etc/resolv.conf-- with the DNS IP addresses of my ISP
the /etc/ppp/options-- with the defaultroute and noauth
the /etc/sysconfig/network-- with the name mymachine
the /etc/hosts-- with 127.0.0.1 localhost.localhost.localdomain
127.0.0.1 mymachine.linuxfan.mymachine
In the loopback
and in the bottom of the edit page the nameserver + Ip addresses
of my ISP
the /etc/host.conf-- with order hosts,bind
ALSO
the /etc/hosts.allow-- to ALL: 127.0.0.1

It seems to me there has got to be an easier way to go about this.
In order to learn more about Linux and download some apps that I
really would like to use under this OS, I need to connect.
Is there perhaps another WEB Browser, that wouldn't give so many
problems.
any help you can give to this lowly newbie would be appreciated. If
you could, give me the information in a step by step manner.
If I have to reload Caldera Open Linux 2.3 and start again that's no
problem.

Thanks



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

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

From: [EMAIL PROTECTED] (Harold Stevens ** PLEASE SEE SIG **)
Subject: Re: Visio (Microsoft vs. Unix)
Crossposted-To: comp.unix.solaris,comp.unix.bsd.freebsd.misc
Date: Thu, 06 Apr 2000 13:02:06 GMT

In <[EMAIL PROTECTED]>, Zenin:

[Snip...]

|>      currently being worked around by implementing perl's fork() using
|>      threads under NT, thus making fork() w/network portable between NT
|>      (and 98?) and Unix.  Microsoft, of all companies, is paying for much
|>      of this effort.

...No suprise here. As with all their consumer sharkware seeking for years to
corner the market on protocols, having dug the pit, they now fall into it. It
is mostly the abysmal performance NT servers suffered compared to Open Source
OS products driving them to attend anything other than themselves.

This was clear even despite their typical marketing hype and armtwisting when
the Halloween Documents were exposed and eventually corroborated.

And so now, they've only themselves to blame for the yawning US DOJ precipice
looming on The Road Ahead, political gladhanding lately notwithstanding. This
is not as much a matter of money as justice, and the wealthy crowd apparently
still does not "get it" in any significant manner.

Again, no historical suprise at all, in 110 years of US Antitrust actions.

--

Regards, Weird (Harold Stevens) * IMPORTANT EMAIL INFO FOLLOWS *
Pardon the bogus email domain (dseg etc.) in place for spambots.
Really it's (wyrd) at raytheon, dotted with com. DO NOT SPAM IT.
Standard Disclaimer: These are my opinions not Raytheon Company.


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


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