Linux-Misc Digest #50, Volume #28                 Thu, 7 Jun 01 08:13:03 EDT

Contents:
  Re: GROUP TAKEOVER IN PROGRESS (David LeBlanc)
  Re: writing basic batch commands? (newbie alert) (Matthew Cline)
  Matt Blaze's CFS on Linux - readdir problem. ("Binesh Bannerjee")
  Re: WYSIWYG HTML Editor for linux ("Matt O'Toole")
  Re: Setiathome (David Heinzinger)
  Good State Table program? (Aaron Brice)
  Re: sendmail POP3 question ([EMAIL PROTECTED])
  Re: Good State Table program? ("D. Stimits")
  Re: (no subject) ("D. Stimits")
  Re: linux box cannot be seen in networkneighbourhood of win2000. (David Spence)
  DFE-538TX on Red Hat 7.0 (Antonius Herry Sukardi)
  Re: rc.local file. (serafim)
  linux/gnome/xwindows newbie: cant open display ("Michael Hastings")
  Re: (no subject) ("Glitch")
  Re: The bare minumum. ("Peter T. Breuer")
  Linux Q3A ("Multi User")
  Print to a PDF (Stephen J. Thompson)
  Re: sendmail POP3 question ("Ben Guevremont")
  Re: Print to a PDF (Sebastien Stormacq)
  Re: AC'97 sound chips on board - no sound in RedHat 7.0 ("Wayne Osborn")
  Re: root password problem (Richard Kimber)
  Re: rc.local file. (Lew Pitcher)

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

From: David LeBlanc <[EMAIL PROTECTED]>
Crossposted-To: alt.drugs.pot,comp.lang.javascript,comp.lang.perl.misc,comp.lang.python
Subject: Re: GROUP TAKEOVER IN PROGRESS
Date: 7 Jun 2001 04:52:28 GMT

Don' you just hate it when they don't get their lithium?

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

From: Matthew Cline <[EMAIL PROTECTED]>
Subject: Re: writing basic batch commands? (newbie alert)
Crossposted-To: comp.os.linux.help,linux.redhat.misc
Date: Wed, 6 Jun 2001 21:54:24 -0700

LRW, on Monday 04 June 2001 01:31 pm, did channel for the terrible 
Great Old Ones, and imparted unto us these blasphemous ravings:

> I've been trying to look around, but can't really find anything on
> it. I know I'm just not looking right. Man's, HOW-TO's, nothing
> comes really close in my guessing what topic it would be under. But
> basically I need some basic help in writing simple batched command
> scripts.

For interactive scripts, doing

  read FOO

will read in one line of text from the user, and put it into shell 
variable FOO.

-- 
Matthew Cline        | Suppose you were an idiot.  And suppose that
[EMAIL PROTECTED] | you were a member of Congress.  But I repeat
                     | myself.  -- Mark Twain

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

From: "Binesh Bannerjee" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.security,comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Matt Blaze's CFS on Linux - readdir problem.
Date: 7 Jun 2001 05:42:38 GMT

Hi.
        First of all, I've been trying to subscribe to the mail list,
and have as of yet been unsuccessful. Is it still up?

        Now, to the real problem:
        I hacked at the CFS source, till I got it to work, and it works...
_basically_... I haven't lost any files, and all the files md5 sum the same,
but, I noticed that when in large CFS'd directories, command completion and
shell metacharacter expansion wasn't working, but ls and friends did work
(I'm running CFS-1.4.1 on Linux 2.4.5 with the out of the box NFS from
RedHat 6.2) I tracked it down to this:
        if you read a large CFS directory with readdir it doesn't get
all of the files, but readdir64 will work... Has anyone else
had this problem, and if so, how do I go about fixing it?

Thanks,
Binesh Bannerjee

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

From: "Matt O'Toole" <[EMAIL PROTECTED]>
Subject: Re: WYSIWYG HTML Editor for linux
Date: Wed, 6 Jun 2001 22:49:38 -0700


"del_bert" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...

> On 6 Jun 2001 11:23:13 GMT, Rainer Krienke <[EMAIL PROTECTED]>
wrote:
> > In article <[EMAIL PROTECTED]>,

> > There is at least one commercial good graphical html editor for linux.
> > Its hpbuilder from IBM.

> I thought one had to run it in wine.

I think it installs its own WINE in a way that's not even visible to the
user.  It installs and runs just like a native app, like a lot of Java apps
that install their own JVM.

> Use Amaya, done by the w3 consortium. It should meet the standards and
> it's free.

We all love to think all Linux programs are wonderful, but...

Matt O.



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

From: David Heinzinger <[EMAIL PROTECTED]>
Subject: Re: Setiathome
Date: Thu, 07 Jun 2001 00:50:03 -0500

I would not advise trying to do it that way.  Far too many security 
concerns.  I have my seti running in my user directory.  I use kde, so I 
have tk-seti start it up.  So I use /home/me.  I set up tk-seti to start 
the seti client.  You can also set the nice value, so you don't bog down 
the computer when you use it.  (I did it once while retouching a 300 meg 
photo with gimp, took the system [a pIII 850 with 384 meg!!!] down to a 
crawl.)  Hope this helps.
Dave.

PS My linux box will pump out almost 2 to 1 to a windows machine of the 
same setup!


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

From: Aaron Brice <[EMAIL PROTECTED]>
Subject: Good State Table program?
Date: Thu, 07 Jun 2001 06:10:42 GMT

I'm looking for a program that will allow you to manually draw out a
state table diagram, and save the resulting state table in an ASCII file
that would describe it.  So that I could write a script that would parse
the ASCII file and generate code from it.  Anyone know of anything like
this?



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

From: [EMAIL PROTECTED]
Crossposted-To: 
linux.redhat.misc,redhat.config,comp.os.linux.admin,comp.os.linux.help,comp.os.linux.questions,comp.mail.sendmail
Subject: Re: sendmail POP3 question
Date: 7 Jun 2001 06:11:37 GMT

In comp.os.linux.misc Lamar Thomas <[EMAIL PROTECTED]> wrote:
> Anyone know how I now turn my Linux box into a POP3 server?

Simply install a Pop3 Server on your machine. There are a number
of server available (I use the QMail's one)

Davide


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

Date: Thu, 07 Jun 2001 00:31:42 -0600
From: "D. Stimits" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: Good State Table program?

Aaron Brice wrote:
> 
> I'm looking for a program that will allow you to manually draw out a
> state table diagram, and save the resulting state table in an ASCII file
> that would describe it.  So that I could write a script that would parse
> the ASCII file and generate code from it.  Anyone know of anything like
> this?

Dia "sort of" qualifies there. It's output format is gzipped XML. So
after decompressing you could easily write a parser, and it does UML and
other related charts. See:
http://www.lysator.liu.se/~alla/dia

D. Stimits, [EMAIL PROTECTED]

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

Date: Thu, 07 Jun 2001 00:34:00 -0600
From: "D. Stimits" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: (no subject)

Bruce Barbour wrote:
> 
> I have Red Hat 7.1 installed and it works perfectly, except that when
> loading  "sendmail" hangs for nearly five minutes before the "OK" and
> finish of loading.  Any suggestions?  Tnx

One of your network settings is incorrect, and it times out before
continuing. It could be a bad default route, dns server set wrong, so
on. Which is most likely a general problem, but sendmail might be the
first place to run into it (then again, sendmail itself might have a bad
setting).

D. Stimits, [EMAIL PROTECTED]

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

From: David Spence <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.setup
Subject: Re: linux box cannot be seen in networkneighbourhood of win2000.
Date: Thu, 7 Jun 2001 00:29:17 -0700
Reply-To: [EMAIL PROTECTED]

Glitch wrote:

> 
> does the win2k box have Service pack 1 installed on it?   I think I read
> on another group that SP1 messes things up with communication with Linux
> computers.
> 

I have SP1 installed and everything works fine.  I have read on another 
group that SP2 messes things up.  However, I have not installed SP2 myself, 
so consider this hearsay.

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

From: Antonius Herry Sukardi <[EMAIL PROTECTED]>
Subject: DFE-538TX on Red Hat 7.0
Date: Thu, 07 Jun 2001 15:06:44 +0700

Hi,

I am trying to compile the driver for D-Link DFE-538TX under RedHat 7.0
(Kernel version 2.2.16-22).  The cards comes with the Makefile and the
source code: rtl8139.c. When I do make, it comes back giving me the
following error message:
/usr/include/linux/modversions.h:1:2: #error modules should never use
Kernel-header system header,
/usr/include/linux/modversions.h:2:2: #error but header from an
appropriate kernel source
I look at the /usr/include/linux/modversions.h file, the file only
contains those above lines (the #error lines).  Do I miss some
files/applications/RPMS that I need to install here ?  Since when I look

on the rtl8139.c files, I see that it need to include the modversions.h
file.  And I know that this rtl8139.c file has no problem, since I
compile this same file (using the same Makefile) on a machine running
Mandrake 7.2.  And it compiles well.
Any suggestions ?

Thanks

Antonius


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

From: serafim <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.setup
Subject: Re: rc.local file.
Date: Thu, 07 Jun 2001 10:18:45 +0200
Reply-To: [EMAIL PROTECTED]

Liverpool_fc wrote:
> 
> hello,
> 
> it appears that in rh7.0 the rc.local file is the new autoexec.bat (dos)
> equivalent.
> 
> however this file looks like a script. and i need to add a few services/
> modules that start on boot.
> example virtport (command) (options).
> from my experience if you fiddle with a script your syntax needs to be
> correct.
> adding a command line like the example above will cause the script to give
> errors.
> 
> any suggestions?

Tell us exactly what you want to do and we might find a solution.

Quite common is to add your own module loading commands just befor the
end
of rc.local.

Some people prefer using insmod for module loading and in that case
you enter one line per module taking into account that not all
paths have been set yet, e.g

/sbin/insmod modulename-1 module-params-1
/sbin/insmod modulename-2 module-params-2

et.c.
Mark that entries have to be in the right order. Check dependencies to
get it right.
Exepriment first by loading modules manually.
You may also use modprobe instead of insmod.

Check the result with lsmod after restart.

/Serafim

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

From: "Michael Hastings" <[EMAIL PROTECTED]>
Subject: linux/gnome/xwindows newbie: cant open display
Date: Wed, 6 Jun 2001 14:46:09 +1000

hi all,

i have just installed debian and configured xf86 to run on my toshiba
satallite pro 4300 laptop. this all works great so far except that when i
startx i get three icons on a very pretty debian background: one starts a
terminal session, one configures xwindows options and the other one doesnt
appear to do anything!

i have installed gnome but when i try to start it by typing gnome-session it
returns an error that it 'cant open display'

i have looked into this alot on the web, etc and it appears that i might be
missing some kind of environment variable or something. i am pretty good
with unix but this is my first time with linux and xwindows/gnome.

if anybody could help shed some lighton these topics (good web pages,
newsgroups, etc) or even just come up with an answer to get gnome to run, it
would be most appreciated.

cheers,
mick.



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

From: "Glitch" <[EMAIL PROTECTED]>
Subject: Re: (no subject)
Date: Thu, 07 Jun 2001 04:43:55 -0400

In article <[EMAIL PROTECTED]>, "Bruce Barbour"
<[EMAIL PROTECTED]> wrote:

> I have Red Hat 7.1 installed and it works perfectly, except that when
> loading  "sendmail" hangs for nearly five minutes before the "OK" and
> finish of loading.  Any suggestions?  Tnx
> 

its a DNS issue. Sendmail is doing a hostname lookup on ur machine before
it starts.
Since I doubt you want to run a DNS server on ur machine just put the
name of your machine and itsIP address in the /etc/hosts file. This
allows Sendmail to find your IP and you won't have to wait for it to
timeout instead.

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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: The bare minumum.
Date: Thu, 7 Jun 2001 11:48:26 +0200

Joel <[EMAIL PROTECTED]> wrote:
> Actually, I was thinking of building my own linux distro for the computer
> that has redhat on it right now.  I, personaly, don't like the way redhat
> sets up the computer.  The machine is a bit on the slow side, and I don't
> want all the stuff it puts on there.  I did look through the list of
> packages, and took out anything that I didn't want, still put 800+ MBs of
> stuff (what's taking up all that space?).

Look and tell us. Probably html docs in every language under the sun.
Toss 'em.

Peter

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

From: "Multi User" <[EMAIL PROTECTED]>
Subject: Linux Q3A
Date: Thu, 07 Jun 2001 10:11:40 GMT

Jeeeeez,

This is really driving me up a wall. I'm totally lost here. I've been at
this for almost four days now.

Which files do I need?

I want to run a dedicated Quake III Arena server on my RedHat Linux 7.0
machine.

I found a bunch of different versions and a zillion hacks saying copy this
file here, copy those files there, run this script, delete that cfg, copy
those pak files, use this command line - it's endless.

Exactly which versions of which files should I download and how should I
install things to simply run a Q3A dedicated server on a Linux machine?

Please help,

TIA




--
============================================================================
===================================
News Group Note: This system is utilized by multiple users.
The views and opinions expressed do not necessarily reflect those of the
owners.
Replies should be made to the news groups unless an email is posted inline.
============================================================================
====================================



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

From: Stephen J. Thompson <[EMAIL PROTECTED]>
Subject: Print to a PDF
Date: Thu, 07 Jun 2001 11:30:04 +0100

Hello all,

Is it possible to set up cups to have a printer definition that will
print out to a PDF file?

Thanks.

Stephen.


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

From: "Ben Guevremont" <[EMAIL PROTECTED]>
Crossposted-To: 
linux.redhat.misc,redhat.config,comp.os.linux.admin,comp.os.linux.help,comp.os.linux.questions,comp.mail.sendmail
Subject: Re: sendmail POP3 question
Date: Thu, 07 Jun 2001 10:56:53 GMT

ipop3 is on one of your 2 install CD.  Just use GnoRPM to install it. Then
you have to turn it on by going into the console prompt and run setup >
services > select ipop3.


"Lamar Thomas" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I am running RH 7.1 and sendmail.  I have sendmail up and working and an
> MX record in DNS with my ISP for my domain.  Anyone know how I now turn
> my Linux box into a POP3 server?  Thanks for any help.
>
>
> Lamar
>



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

From: Sebastien Stormacq <[EMAIL PROTECTED]>
Subject: Re: Print to a PDF
Date: Thu, 07 Jun 2001 13:37:23 +0200

Stephen,

When you have Ghostscript installed, there is a program called ps2pdf 
(just a wrapper in fact around the gs program) that can handle the ps -> 
pdf transformation.

So, I guess it must be possible to define a PS -> PDF -> file filter in 
the /etc/printcap
Basically, it is just the setup of a filter that converts the info to 
PDF and then save it to a file.

I never took the time to do it by myself ... Should anybody have done 
that (or any better solution :-) I am interrested too !

Thanks

Seb

Stephen J. Thompson wrote:

> Hello all,
> 
> Is it possible to set up cups to have a printer definition that will
> print out to a PDF file?
> 
> Thanks.
> 
> Stephen.
> 
> 


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

From: "Wayne Osborn" <[EMAIL PROTECTED]>
Subject: Re: AC'97 sound chips on board - no sound in RedHat 7.0
Date: Thu, 07 Jun 2001 19:52:06 +0800

In article <9flnok$v1j$[EMAIL PROTECTED]>, "Wilson Ng"
<[EMAIL PROTECTED]> wrote:

> Hi,
> 
> My on-board sound chip VIA AC97 audio controller (WDM) works fine with
> WinME.  I tried to run sndconfig to enable the sound in my Linux
> installation in RedHat 7.0. The program detected that the sound device
> is VIA82cxxx. After I confirm the autoprobe was done and my system
> hangs. I rebooted Linux and the startup freeze when starting the sound
> module.
> 
> Any body can help?
> 
> Thanks, Wilson.
> 

I had the very same trouble with my EPoX 8KTA3. In the bios, you have to
turn on "Onboard Legacy Audio" AND "SoundBlaster".

/etc/modules.conf is as follows:

alias sound-slot-0 via82cxxx
options sb support=1
 
Now I still have a problem, the audio output level is very low,
expecially CD (hardly audible) even with the mixer set to "eleven"...

Will try the Alsa driver as recommended by Bill Piety - cheers!

-- 
  Wayne A. Osborn, SCADA Engineer.[dnar AT iinet DOT net DOT au]
  Registered Linux User #212818.  [2.2.16-22-Win4Lin-686] [i686]
  7:40pm  up 4 days,  7:54,  5 users,  load average: 2.03, 2.07, 2.03
  ...To err is human, to forgive, beyond the scope of the Operating System.

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

From: Richard Kimber <[EMAIL PROTECTED]>
Subject: Re: root password problem
Date: Thu, 7 Jun 2001 12:50:38 +0100

bot403 wrote:

> Why would you do everythign as root anyways? Its a bad idea to always use
> root. I keep a normal user around and only use root when i have to. Its
> good security and
> linux common sense. Trust me ive done some pretty stupid stuff as root.

I'm always a bit puzzled when people give the impression that one can avoid 
using root all the time.  The way my machine is set up I always have to use 
root: to bring the eth0 interface up and down, install new software, run 
various security checks, update software, do backups, and tweak the system 
in various ways.

Perhaps I'm doing things wrongly.

- Richard.
-- 
Richard Kimber
[EMAIL PROTECTED]
Political Science resources  http://www.psr.keele.ac.uk/
British Election 2001 http://www.psr.keele.ac.uk/area/uk/ge01.htm

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

From: [EMAIL PROTECTED] (Lew Pitcher)
Crossposted-To: alt.os.linux,comp.os.linux.setup
Subject: Re: rc.local file.
Reply-To: [EMAIL PROTECTED]
Date: Thu, 07 Jun 2001 12:01:53 GMT

On 06 Jun 2001 12:58:36 -0700, Micah Cowan <[EMAIL PROTECTED]> wrote:

>[EMAIL PROTECTED] (Lew Pitcher) writes:
>
>> On 06 Jun 2001 18:25:54 +0300, Markku Kolkka
>> <[EMAIL PROTECTED]> wrote:
>> 
>> >"Liverpool_fc" <[EMAIL PROTECTED]> writes:
>> >> however this file looks like a script. and i need to add a few services/
>> >> modules that start on boot.
>> >
>> >Services are started at boot by scripts in the /etc/rc.d/init.d
>> >directory and symlinks to those scripts in /etc/rc.d/rc[0-6].d
>> 
>> Not on all systems. This is a SysV'ism that only _some_ Linux distros
>> have adopted.
>
>s/_some_/most/

I'll stick by '_some_ distros', but give you '_most_ commercial
distros'.

>At least, AFAICT.  But now I'm curious - what distros /don't/ use
>SysV's init?

I didn't say that they didn't use SysV's init. I said that they didn't
use SysV's phylosophy of organizing the init scripts.

I'd guess that most of the small distros (like tomsrtbt, etc.) use the
BSD-style init scripts, and at least one major distro (Slackware)
assuredly doesn't use them (although it has of late supported a bit of
it). 

>I've never liked the fact that I had to download certain
>things from UNIX-sites when I'm building a Linux setup from
>"scratch". 

And I don't like having to go to hardware stores when I'm into a home
reno DIY project. But, that's a part of the definition of home reno
DIY, just like "building your own Unix system" is _defined_ (at least
in part) as "downloading certain things from Unix-sites". And don't
tell me that "Linux isn't Unix", because it's close enough to make the
differences moot.

>How else do people do it?

Either stick with the pre-packaged commercial products built
specifically for the distribution you use, or download apps (source,
RPM, TGZ, or whatever) and install them yourself. Of course, there are
other options, like hire someone to do it for you, but they get
expensive.  ;-)

>Micah


Lew Pitcher, Information Technology Consultant, Toronto Dominion Bank Financial Group
([EMAIL PROTECTED])

(Opinions expressed are my own, not my employer's.)

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


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