Linux-Misc Digest #59, Volume #28                 Fri, 8 Jun 01 09:13:02 EDT

Contents:
  RH 7.1 upgrade woes (faeychyld)
  Re: can't umount /usr (busy?) ([EMAIL PROTECTED])
  Re: How to use GTK themes? (Jonas Diemer)
  Re: How do I get French (Canada) keyboard to work in SuiSe 7.1? (Yves Bellefeuille)
  merging files into one recurisively (David. E. Goble)
  Re: hardware autodetection (Andrew Purugganan)
  Re: WINE.CONF (Pete Clements)
  Re: Announce: CNCC -- Color Name Combination Center (Lew Pitcher)
  mount ANOTHER linux hdd? (Andrew Purugganan)
  Re: rpm build only get one source (Christopher Albert)
  Re: All your base are belong to us -- an explanation. ("-[tCs]-")
  Re: rc.local file. (Steve Martin)
  Setup an DHCP server ! ("root")
  Re: XFree86 resolution (Chad Lemmen)
  Re: mount ANOTHER linux hdd? ([EMAIL PROTECTED])
  NT Workstation Connection (George Trapkov)
  Can LINUX "kill" a user application on it's own? (Greg Mirek)
  Re: WINE.CONF (Jonas Diemer)
  Re: mount ANOTHER linux hdd? (Jonas Diemer)
  Re: Can LINUX "kill" a user application on it's own? ([EMAIL PROTECTED])
  Re: NT Workstation Connection ([EMAIL PROTECTED])
  Re: NT Workstation Connection (Jonas Diemer)
  Re: NT Workstation Connection ("Willi P�schel")
  Re: sshd - slow initializing connection ("Nils O. Sel�sdal")

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

Date: Fri, 08 Jun 2001 21:14:35 +1000
From: faeychyld <[EMAIL PROTECTED]>
Subject: RH 7.1 upgrade woes

Fortunately I have a dummy installation of
"7" to experiment on,and I upgraded to "7.1"

An initial problem with the gui failing, due to
a conflict with the installed nvidia drivers and the 
now XFree86 internal support for GeForce .

That problem solved,I got my gui back, but NO 
desktop icons (gnome).

Methinks "7.1" has some distance to travel.

So I stick with "7" although I need the new 
glibc libraries for Blender. So the next trick is to
restore "7" and see if they install without conflicts.
 
-
-
- 
Regards F

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

From: [EMAIL PROTECTED]
Subject: Re: can't umount /usr (busy?)
Date: 8 Jun 2001 11:17:20 GMT

faeychyld <[EMAIL PROTECTED]> wrote:
> If you command line is sitting on
> the dir in question , it's busy.

AFAIK when you are shutting down a machine (rebooting or shutting off),
the command line is sitting nowhere.

Davide

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

Date: Fri, 8 Jun 2001 13:20:45 +0200
From: Jonas Diemer <[EMAIL PROTECTED]>
Subject: Re: How to use GTK themes?

On 8 Jun 2001 04:16:59 GMT
[EMAIL PROTECTED] (Andrew Purugganan) wrote:

> From what I understand gtk is essentially a plugin/toolkit for GIMP. 
> Going to themes.org it's even one of the popular windowmanagers, or 
> theme-ing packages. How does one install it? Is it resource-hungry? The 
> reason I ask is, I really prefer lightweight WMs/desktops e.g. blackbox, 
> and so on, but I am willing to try other things, within certain 
> parameters: can easily modify current themes, nice and compact so I can 
> run most voracious multimedia clips, very least resemblance to Windows
> and 
> much closer to Litestep
> 
> --
> 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??

GTK is a toolkit, i.e. a programming library that provides buttons, menues
etc. for an application. therefore, you can't simply talk of gtk as a
windowmanager, although there are wms that use gtk (such as gnomewm).

-- 
Jonas Diemer <[EMAIL PROTECTED]>


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

From: [EMAIL PROTECTED] (Yves Bellefeuille)
Subject: Re: How do I get French (Canada) keyboard to work in SuiSe 7.1?
Date: Fri, 08 Jun 2001 07:31:36 -0400
Reply-To: Yves Bellefeuille <[EMAIL PROTECTED]>

On Mon, 4 Jun 2001, "Peter Szatmari" <[EMAIL PROTECTED]> wrote:

> I have yet to see any distro that properly deals with my keyboard - 
> Hewlett Packard, French Canadian -. Why is this such a problem in Linux?

There's a "Francophones How-To", formerly called "French How-To", that
deals with these issues.

-- 
Yves Bellefeuille <[EMAIL PROTECTED]>, Ottawa, Canada
Francais / English / Esperanto
Esperanto FAQ: http://www.esperanto.net/veb/faq.html
Rec.travel.europe FAQ: http://www.faqs.org/faqs/travel/europe/faq


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

From: goble@gtech (David. E. Goble)
Subject: merging files into one recurisively
Date: Fri, 08 Jun 2001 11:49:22 GMT
Reply-To: goble@gtech

Hi all;

Iam running RedHat 6.2 (server). I want to merge together a bunch of
files, that are in a directory structure. Then remove all duplicate
words and setting the remainer as a comma separated list of words.

How can I do this?

ie

dir1
 file1
 subdir1
  filen...
 subdirn...     

mergedfile
word1, word2, wordn, ...

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

From: [EMAIL PROTECTED] (Andrew Purugganan)
Crossposted-To: alt.os.linux,comp.unix.bsd.freebsd.misc
Subject: Re: hardware autodetection
Date: 8 Jun 2001 11:44:18 GMT

Gregory Bond ([EMAIL PROTECTED]) wrote:
[ [EMAIL PROTECTED] (Wroot) writes:
[ device B.  The FreeBSD GENERIC kernel has very careful ordering of ISA
[ ethernet probes for exactly this reason.

dang, i ought to try FreeBSD sometime. I have an ethernet card 
(allegedly detected ne2k-pci with io=0x6100 & irq=11) actually a RealTek 
8029 supported by said module, but it could beone of two things happening: 
1) picked up an old configuration? I thought there was no "registry" in Linux
2) detected yes, but can't kicckstart it somehow. I've been trying 
different ifconfig & route & ping comands but the light on the card still 
won't blink. It only blinks once at power on, like a diagnostic one
Any thoughts?
--
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??

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

From: [EMAIL PROTECTED] (Pete Clements)
Subject: Re: WINE.CONF
Date: 8 Jun 2001 04:57:23 -0700

[EMAIL PROTECTED] (Yvan Loranger) wrote in message 
news:<9fqb9g$ors$[EMAIL PROTECTED]>...
> Pete Clements ([EMAIL PROTECTED]) writes:
> > Can someone post/email me a copy of thier wine.conf file as 
> > mine seems to be blank and i ame not brave enough to code it myself
> > from the man pages. I have tried re-installing the latest ver of
> > wine and it stills seems not to put anything in that file.
> 
> do you mean .winerc ?

Well whatever. Wine will use either /etc/wine.conf or /$home/.winerc
However both of my files are blank :-( and wine returns that it can not
find the windows dir specified in  one of the above files!

Cheers,

Pete.

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

From: [EMAIL PROTECTED] (Lew Pitcher)
Crossposted-To: comp.lang.tcl,comp.os.linux.x,comp.windows.x,comp.emacs
Subject: Re: Announce: CNCC -- Color Name Combination Center
Reply-To: [EMAIL PROTECTED]
Date: Fri, 08 Jun 2001 12:01:43 GMT

On 07 Jun 2001 23:15:36 -0300, * Tong * <[EMAIL PROTECTED]>
wrote:

>Hi,
>
>Have you ever wondered what the standard X-window color names are?

Nope, I've read the rgb.txt file, and know what the colour names are.

[rest of ad snipped]

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

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

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

From: [EMAIL PROTECTED] (Andrew Purugganan)
Subject: mount ANOTHER linux hdd?
Date: 8 Jun 2001 11:46:16 GMT

Would it be possible to tack on another hard disk that has a totally
different distro on it, to access its /usr (well, maybe the RPM/deb files
on it)

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

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

From: Christopher Albert <[EMAIL PROTECTED]>
Subject: Re: rpm build only get one source
Date: Fri, 08 Jun 2001 14:14:11 +0200

Alien Guest wrote:
> 
> I am now to linux.
> 
> I am writing an installer (rpm). Follow the www.rpm.org/how-to, I have
> three sourced in the spec:
> 
> Source0: some.tar
> Source1: another.tar
> Source2: last.tar
> 
> all three .tars are in the /usr/src/redhat/SOURCES/
> 
> however, when run "rpm -ba myspec.spec", only the source0 gets untared
> to the BUILD dir.
> 
> I have read the doc, it seems very simple, and there is no need (or
> just can not) specify how many sources I need.
> 
> I even tried to specify BuildRoot.
> 
> Any suggesion may help.
> 
> Thanks in advance.
> 
> -Alien
> 
> -Alien

Alien,

There are some complicated macros behind the setup directive in the spec
file.
You really should get MaximumRPM at the www.rpm.org site and read this
book. The
chapters on package building will take you through some examples that
will get
you started. There is not much more I can say, since I have no idea of
what these
tar files of yours do, or what kind of directory structure is necessary
for your build.
You probably have to have a line for each of your sources as well as the
appropriate
swithces to the %source macro to get them unpacked in the right places.

The book is very good.


Chris

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

From: "-[tCs]-" <[EMAIL PROTECTED]>
Crossposted-To: alt.drugs.pot,comp.lang.javascript,comp.lang.perl.misc,comp.lang.python
Subject: Re: All your base are belong to us -- an explanation.
Date: Fri, 08 Jun 2001 14:27:34 +0200

On Fri, 08 Jun 2001 04:51:47 -0500, [EMAIL PROTECTED] (Richard
Steiner) wrote:

>Here in comp.os.linux.misc, [EMAIL PROTECTED] (Wroot) spake unto us, saying:
>
>>[EMAIL PROTECTED] (Shawn Michael Taub) wrote 
>>
>>> All your base are belong to us,
>>
>>Where is this from? I keep seeing it everywhere. Must be a classic.
>>Something Pr. Nixon used to say, perhaps?
>
>It's a line from a poorly translated game (ZeroWing) that was a
>standing joke on some of the Starsiege:Tribes forums a while back. 
>Seems it took on a life of its own, and someone created a whole pile of
>fake photos that showed the phrase in all sorts of interested contexts.
>
>A web site outlining some of the history is here:
>
>  http://hubert.retrogames.com/article.php?sid=1

I particularly like the Mr. T version of the story..

-=Cornelis
--
                                 ____ __ ___
                             ___(_  _) _) __) ___
                            (___) )(( (_\__ \(___)
                                 (__)\__|___/
= = =
                  Narc Narc  (��)�
                 "Better bongs than bombs"
= = =
"half a joint in my ashtray, hooray!
I didn't know I hadn't finished you." -Raven
============================================

This message is made out of 100% recycled and happy electrons

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

From: Steve Martin <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux,comp.os.linux.setup
Subject: Re: rc.local file.
Date: Fri, 08 Jun 2001 08:30:56 -0400

serafim wrote:

> > > Quite common is to add your own module loading commands just befor the end
> > > of rc.local.
> >
> > You might also put your desired module loading commands into a file
> > called "rc.modules"; this file is executed (if present) by rc.sysinit.
> 
> Well, well ... I didn't know. Thanks - your suggestion is neater.
> You never stop learning ...

Glad I could help. One thing I forgot to mention, one that's bitten
me in the past; if you're creating the rc.modules file (and not just
adding to an existing one), remember to give it execute permissions,
or else rc.sysinit will not be able to run it.


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

From: "root" <[EMAIL PROTECTED]>
Subject: Setup an DHCP server !
Date: Fri, 8 Jun 2001 14:33:42 +0200

Hi,

I want to setup an dhcp server on Redhat 7.1.
I installed the dhcp-2.0p15-4.rpm package delivered with RedHat CDROM.

Here is my /etc/dhcpd.conf :
#
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
option domain-name-servers 192.168.1.2, 194.2.0.20, 194.2.0.50;
option netbios-name-servers 192.168.1.2;
option domain-name "company.com";

subnet 192.168.1.0 netmask 255.255.255.0 {
 range 192.168.1.6 192.168.1.100;
}
#

I also created an /var/lib/dhcp/dhcpd.leases

The daemon started without error message, but my Windows 95/98 NT clients
can't get their IP address !

I also started the dhcpd deamon with -d -f flags. But i didn't see anything.

Anybody have an idea ?
Thanks for your answer.
Minh



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

From: Chad Lemmen <[EMAIL PROTECTED]>
Subject: Re: XFree86 resolution
Date: Fri, 08 Jun 2001 12:34:08 -0000

>>I noticed that my system Caldera 2.4 has two XF86Config files.  One in
>>/etc/XF86Config and one it /etc/X11/XF86Config.  The one in /etc has
>>modes lines.  I think both files are being used.  I'm not sure if this
>>is specific to Caldera or not.  Also after I install XFree86 by running
>>the Xinstall.sh script and I type xdpyinfo to see what version I'm now
>>running it show 4.0.2 or 4.1.0 (I've tried both versions).  The problem
>>is that it defaults to a real high resolution so I go into XF86Setup to
>>change it to 800x600.  After doing this xdpyinfo show my version at
>>3.3.6, which is what Caldera 2.4 ships with.  Why is the version number
>>switching back after running XF86Setup?  This brings me to my main
>>problem right after the install of a new version of XFree86 I can do X
>>:1 to get a second X session, but after running XF86Setup I'mnot
>>allowed to run a second X session as a normal user(must be root).  It
>>seems by running XF86Setup some of the configuration files are being
>>overwrittenby the old version.  Any ideas what could be going on here? 

> XF86Setup is *only* for X version 3.x .  To configure X 4.x correctly,
> use xf86cfg.  If Caldera does things like SuSE, then /etc/XF86Config is
> the config file for X 3.3.6 and /etc/X11/XF86Config is the config file
> for X 4.x .  You don't need to use any external program to change which
> modes are available under any X program.  Take a look at
> /etc/X11/XF86Config and you will find a section like so:

>     Subsection "Display"
>         Depth       8
>         Modes       "640x480" "800x600" "1024x768" "1280x1024"
>     EndSubsection
>     Subsection "Display"
>         Depth       16
>         Modes       "640x480" "800x600" "1024x768" "1280x1024"
>     EndSubsection
>     Subsection "Display"
>         Depth       24
>         Modes       "1280x1024" "1024x768" "640x480" "320x240
>     EndSubsection

> I use 24-bit color and have a 19" monitor, so 1280x1024 is the preferred
> resolution for me.  Edit the appropriate Modes line under the Depth you
> prefer, and make sure that "800x600" is the first mode on the line, and
> that no modes larger than that are present on that line unless you like
> the virtual screen functionality of X (many people don't, some love it.)

> The X 4.x config files do not generally have modelines in them; X 4.x
> likes to use standard VESA modes if it can.  Generally, the only time
> you will need modelines in an X 4.x config file is if you like to use
> weird resolutions like 320x240....


Thanks for the info.  xf86cfg won't work on version 4.1.0, it exits with
a "signal 11 error"  I think thats what it was.  It does that after reporting
a bunch of unresolved sym links.  So I installed 4.0.2 and ran 
XFree86 -configure and it generated XF86Config for me without errors.  I then
reinstalled 4.1.0 and just used the XF86Config generated from 4.0.2.  I added
a Mode line for "800x600" and added DefaultDepth 24 since it was defaulting
to 8.  Everything seems to be working ok now.


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

From: [EMAIL PROTECTED]
Subject: Re: mount ANOTHER linux hdd?
Date: 8 Jun 2001 12:34:50 GMT

Andrew Purugganan <[EMAIL PROTECTED]> wrote:
> Would it be possible to tack on another hard disk that has a totally
> different distro on it, to access its /usr (well, maybe the RPM/deb
> files on it)

If you have the support for its filesystem you can mount it.
When you mount an NTFS or a VFAT disk it's not like you are mounting
a disk with a different distro on it?

Davide

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

From: George Trapkov <[EMAIL PROTECTED]>
Subject: NT Workstation Connection
Date: Fri, 08 Jun 2001 08:44:31 -0400

I want to connect to a Windows NT shared workstation which is on a
totally different network. I know the

IP=129.1.1.1
 user name=george
server=Test
password=georget

What do I need to connect?


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

From: [EMAIL PROTECTED] (Greg Mirek)
Subject: Can LINUX "kill" a user application on it's own?
Date: 8 Jun 2001 05:45:49 -0700

I have been running an application under LINUX and, for some strange
reason, it seems to get "killed" via a kill -9.  The problem is, I
don't know "whom" is doing the killing.

Can (will) LINUX kill a process on it's own?  I believe what's
happening in my application is a memory leak of some kind and, I'm
theorizing now, that LINUX is aware of the situation and is taking
some action.

Greg Mirek

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

Date: Fri, 8 Jun 2001 14:48:44 +0200
From: Jonas Diemer <[EMAIL PROTECTED]>
Subject: Re: WINE.CONF

On 8 Jun 2001 04:57:23 -0700
[EMAIL PROTECTED] (Pete Clements) wrote:

> [EMAIL PROTECTED] (Yvan Loranger) wrote in message
> news:<9fqb9g$ors$[EMAIL PROTECTED]>...
> > Pete Clements ([EMAIL PROTECTED]) writes:
> > > Can someone post/email me a copy of thier wine.conf file as 
> > > mine seems to be blank and i ame not brave enough to code it myself
> > > from the man pages. I have tried re-installing the latest ver of
> > > wine and it stills seems not to put anything in that file.
> > 
> > do you mean .winerc ?
> 
> Well whatever. Wine will use either /etc/wine.conf or /$home/.winerc
> However both of my files are blank :-( and wine returns that it can not
> find the windows dir specified in  one of the above files!
> 
> Cheers,
> 
> Pete.

did u get my config? did it help?

-- 
Jonas Diemer <[EMAIL PROTECTED]>


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

Date: Fri, 8 Jun 2001 14:53:19 +0200
From: Jonas Diemer <[EMAIL PROTECTED]>
Subject: Re: mount ANOTHER linux hdd?

On 8 Jun 2001 11:46:16 GMT
[EMAIL PROTECTED] (Andrew Purugganan) wrote:

> Would it be possible to tack on another hard disk that has a totally
> different distro on it, to access its /usr (well, maybe the RPM/deb files
> on it)
> 

yeah, just mount it do a different mounting point. lez say your 2nd disk is
just a normal root filesystem on ext2fs (most distros use this). just make
an empty directory like this:

mkdir /linux2

then mount your disc (letz pretend it is connected as primary slave on your
mainboards ide controller), and it has only one primary partition:

mount /dev/hdb1 /linux2

this should work, although i haven't tested it. now, the /usr directory of
your 2nd harddrive is unter /linux2/usr.

hope this helps

-- 
Jonas Diemer <[EMAIL PROTECTED]>


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

From: [EMAIL PROTECTED]
Subject: Re: Can LINUX "kill" a user application on it's own?
Date: 8 Jun 2001 12:55:22 GMT

Greg Mirek <[EMAIL PROTECTED]> wrote:
> Can (will) LINUX kill a process on it's own?

If the machine is shutting down or rebooting for some reason each
process will receive a kill signal, otherwise, the only way for
your application to receive such signal is that root sent it
to you.

If you belive that your application have memory problems use
electric fence or other debugging tools to check the problem.

Davide

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

From: [EMAIL PROTECTED]
Subject: Re: NT Workstation Connection
Date: 8 Jun 2001 12:57:24 GMT

George Trapkov <[EMAIL PROTECTED]> wrote:
> I want to connect to a Windows NT shared workstation which is on a
> totally different network. I know the
> What do I need to connect?

Use smbclient and smbmount. See also the SAMBA-HOWTO. But in my
experience, if the machine is in a different subnetwork the
system will not work.

Davide


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

Date: Fri, 8 Jun 2001 14:57:03 +0200
From: Jonas Diemer <[EMAIL PROTECTED]>
Subject: Re: NT Workstation Connection

On Fri, 08 Jun 2001 08:44:31 -0400
George Trapkov <[EMAIL PROTECTED]> wrote:

> I want to connect to a Windows NT shared workstation which is on a
> totally different network. I know the
> 
> IP=129.1.1.1
>  user name=george
> server=Test
> password=georget
> 
> What do I need to connect?
> 

first u gotta be able to ping the windows mashine. you probably have to set
up a route to it (unless your default route points to it). then, you can
use smbclient or smbmount, both utilz allow you to enter the target's IP
adress (in addition to the server name).

this should give you an overview. for more detailed instructions try the
man pages first:

man route
man smbclient
man smbmount

-- 
Jonas Diemer <[EMAIL PROTECTED]>


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

From: "Willi P�schel" <[EMAIL PROTECTED]>
Subject: Re: NT Workstation Connection
Date: Fri, 8 Jun 2001 14:58:10 +0200

> I want to connect to a Windows NT shared workstation which is on a
> totally different network. I know the
>
> IP=129.1.1.1
>  user name=george
> server=Test
> password=georget
>
> What do I need to connect?
>

That depends on what you want to do, when you are connected...
If you just want to access the SMB (netbios) file shares of that machine (i
assume that this is the case) you can use smbclient or smbmount. If this is
not already icluded in your system (distribution) you can download and read
about it at

www.samba.org

Willi





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

From: "Nils O. Sel�sdal" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.setup,comp.unix.questions,linux.redhat,linux.redhat.install
Subject: Re: sshd - slow initializing connection
Date: Fri, 8 Jun 2001 14:34:09 +0200


"Bit Twister" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On Sat, 02 Jun 2001 00:19:52 -0400, inetquestion
> > <[EMAIL PROTECTED]> wrote:
> >I'm running redhat 7.1 and was reading an article about different
> >methods of starting sshd.  One problem I noticed is that the
> >connection to the server is very slow.
>
> >The article mentioned
> >that this could be because the services is restarting evertime a
> >connection is attemped instead of running all the time.
>
> The "running all the time" would mean the target box has sshd daemon
> running just waiting for a ssh connection.
>
> A box would have to be maxed out to not be able to spin up
> a ssh session pretty quick.
It does help alot running it as a daemon, ssh generates site keys each
time it starts, and
that takes time.




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


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