Linux-Misc Digest #788, Volume #26 Fri, 12 Jan 01 09:13:02 EST
Contents:
Re: Which prog for streaming (Michael Heiming)
where is mysql? (Immortal Love)
ps command behaviours (Herve Gautier)
automount ("Peter Cork")
Re: ps command behaviours (Herve Gautier)
Re: changing window managers & .Xclients (NDQ)
Re: Backup software for Linux? (Martin Gregorie)
Re: ppp problem with ISP ("Gene Heskett")
Setting time using time reference on the internet ? ("Bo Jacobsen")
Re: TCP session timeout??? ("Alan")
Re: ps command behaviours ("Tauno Voipio")
Re: Any Linux lover want to defend this? (Mike De Bruyn)
building kde with --enable-final (Dirk Groeneveld)
Re: Setting time using time reference on the internet ? (Daryl Fonseca-Holt)
Re: Any Linux lover want to defend this? (Bob Tennent)
Re: updating with rpm(s) (Dances With Cows)
Re: duplex printing ([EMAIL PROTECTED])
Re: Any Linux lover want to defend this? (John Smith)
Re: duplex printing (Harold Stevens ** PLEASE SEE SIG **)
----------------------------------------------------------------------------
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: Which prog for streaming
Date: Fri, 12 Jan 2001 12:35:53 +0100
[EMAIL PROTECTED] wrote:
> In article <[EMAIL PROTECTED]>,
> Michael Heiming <[EMAIL PROTECTED]> wrote:
> > Tobias Schenk wrote:
> >
> > > Hi,
> > >
> > > is it still up to date to use 'tar' if I want to stream my data for
> > > backup? I think not.
> > > Which programs do you use and what is your streaming philosophy to do
> > > so?
> > > I have an HP 12GB SCSI-DAT-Streamer. Are there certain issues to this.
> > > Which progs do I need to handle a streamer? I heard of 'st'. But apart
> > > from ejection it doesnt seem to work correctly.
> > >
> > > Thank you for any advice
> > >
> > > Tobias
> >
> > Hello,
> >
> > I would recommend using tar, why?
> >
> > It just works and is easy to handle if you really read:
> >
> > man tar
> > man mt
>
> Only problem you might have with tar is without multi-streaming or
> buffering, you may not be able to keep the drive moving all the time.
> If a streamer runs out of data, it has to backup and then come
> back to speed which slows down the write considerably. You can
> hear it doing it on a lot of drives. I was thinking the HP DAT
> was a helical scan drive which isn't impacted that much by this
> due to the slow transport speed, but I'm not familiar with that
> particular model.
>
> In any case, if you're backing up more than a few small systems,
> I would always go with a commercial grade backup program. They
> handle tape labeling, scheduling, indexing, and various other
> things that are easy to mess up doing it manually. A lot of
> shops don't like to plunk down the cash but it pays for itself
> in labor saving and backup reliability.
>
> Sent via Deja.com
> http://www.deja.com/
Hello,
I have no problem keeping the drive (ex. HP SureStore DLT 40) moving all the
time, I don't understand what you mean?
If you had read the docs you would have read:
--label
which you can use/extend in a script with something like this:
"Level-${LEVEL} Backup ${NOW} from ${HOSTNAME}"
which gives you perfect control of your tape. As for labeling, it shouldn't
be to hard to use a pencil and write the same as
--label gives you on those pice of thick paper that come with new tapes.
Scheduling is not so complicated, make once a plan, considering what you need
to backup how often.
Reliability?
Wow, AFAIK tar is used for backups since decades, I don't think that there is
any other solution as reliable as tar!
All the comercial solutions I used/tested were just a pice of crap and mostly
unsecure as hell...
Good luck
Michael Heiming
Sysadmin
--
__ __ __ Virtueller Bau-Markt AG
\ / [__) [__] [ __ Meerbuscher Strasse 64
\/ [__) | | [_./ 40670 Meerbusch
www.vbag.de Michael Heiming ([EMAIL PROTECTED])
------------------------------
From: Immortal Love <[EMAIL PROTECTED]>
Subject: where is mysql?
Date: Fri, 12 Jan 2001 18:20:06 +0800
I would like to ask where is the mysql_installation_directory when i
install mysql from rpm download from official site. coz i type mysqladmin,
the system replies with no such command. thx.
------------------------------
From: Herve Gautier <[EMAIL PROTECTED]>
Subject: ps command behaviours
Date: Fri, 12 Jan 2001 11:33:19 +0100
Reply-To: [EMAIL PROTECTED]
Hi !
I have 2 questions about the ps command :
1) Why sometimes the ps command output does not fill all the lines of my xterm ?
The output is truncated, why ?
2) Why the ps command output put some processes between "[]" ?
Example :
123 124 .... [bash]
Thanks in advance.
--
GAUTIER Herve (R.V)
professional email : [EMAIL PROTECTED]
------------------------------
Reply-To: "Peter Cork" <[EMAIL PROTECTED]>
From: "Peter Cork" <[EMAIL PROTECTED]>
Subject: automount
Date: Fri, 12 Jan 2001 10:40:17 GMT
Hi,
Anyone come accross this problem before.
I use autofs to mount one local drive and a few
network drives on my Redhat 6.2 machine.
The automounting of the filesystems is working but
I am unable to see the files on the mounted drive.
Any ideas?
Peter
------------------------------
From: Herve Gautier <[EMAIL PROTECTED]>
Subject: Re: ps command behaviours
Date: Fri, 12 Jan 2001 12:04:43 +0100
Reply-To: [EMAIL PROTECTED]
Herve Gautier wrote:
>
> Hi !
>
> I have 2 questions about the ps command :
>
> 1) Why sometimes the ps command output does not fill all the lines of my xterm ?
> The output is truncated, why ?
>
> 2) Why the ps command output put some processes between "[]" ?
> Example :
> 123 124 .... [bash]
Ok I found the answer for this question.
The man tells that when a program is swap out to disk,
ps display it in bracket without command line arguments.
But when I work again with this program ? It should be swap out to
memory, isn't it ? So I should see it without bracket, no ?
>
> Thanks in advance.
>
> --
> GAUTIER Herve (R.V)
> professional email : [EMAIL PROTECTED]
--
GAUTIER Herve (R.V)
professional email : [EMAIL PROTECTED]
------------------------------
From: NDQ <[EMAIL PROTECTED]>
Subject: Re: changing window managers & .Xclients
Date: Fri, 12 Jan 2001 12:23:00 +0100
Reply-To: NDQ <[EMAIL PROTECTED]>
Dave Brown wrote:
>
> In article <[EMAIL PROTECTED]>, Steve Connet wrote:
> >Hi... I am new to linux and really do not know what I am doing.
> >
> >In order to change window managers, before I run startX, I edit my
> >.Xclients file and uncomment the one I want. It looks like this:
> >...
> >
> >Is this the *right* way to do it? It works.. but not sure if it is
> >"appropriate." Should these be in another file? .xinitrc perhaps? I do
> >not have an .xinitrc.
> >
> It depends. When you do that, various desktop switchers lose control.
> Since I never used a desktop switcher, this was of no consequence.
> The redhat one (gnome?) uses an entry in .wmstyle (.wm_style?) to
> tell .Xclients what the "preferred window manager" is.
>
> .xinitrc is useful if you do not use a graphical login screen (via
> xdm or gdm or kdm or whatever); it's only invoked if you "startx".
> .Xclients takes its place for a graphical login.
I login at level 3, type "startx" and hupp ... go to X ;-)
I use ".Xclients" file.
Q.
------------------------------
From: [EMAIL PROTECTED] (Martin Gregorie)
Subject: Re: Backup software for Linux?
Date: Fri, 12 Jan 2001 11:49:31 GMT
On Thu, 11 Jan 2001 17:47:21 -0500, Jean-David Beyer
<[EMAIL PROTECTED]> wrote:
>Perhaps, but I do mine at night when I am asleep and the machine lightly
>loaded (as far as file IO is concerned), and since I do not want to get
>a CD-ROM burner with a disco-adapter to feed it blank CD-ROMs
>automatically, I will have to stick with my 8 Gigabyte DDS-2 tapes. I
>cannot get all my stuff onto a CD-ROM.
My reasoning exactly. Besides the DAT is much faster than the HP-8100i
in my Windoze box.
--
gregorie | Martin Gregorie
@logica | Logica Ltd
com | +44 020 76379111
------------------------------
Date: 12 Jan 2001 6:32:24 -0500
From: "Gene Heskett" <[EMAIL PROTECTED]>
Subject: Re: ppp problem with ISP
Crossposted-To: comp.os.linux.networking
Gene Heskett sends Greetings to Glitch ;
>> ]Current lines in /etc/modules.conf are:
>>
>> ]alias ppp0 ppp
>> ]alias ppp1 ppp
>>
>> Remove those lines. They do not belong.
> I did
>>
>> ]I guess i'd have to recompile a kernel in order to fix that however I
>>
>> Do not do that.
> already tried,didnt do much. I forget what so dont ask, lol I've tried
> too many things to remember the results of all of the ideas.
>>
>> ]already did that and teh driver for the 2.4.0-test5 kernel was called
>> ]ppp_generic.o. Do i change the alias ppp0 entry to use ppp_generic
>> ]instead of just ppp?
>>
>> Ah, so you are also using your own compiled kernel. I assume that you
>> have read all the docs in teh kernel having to do with necessity to
>> update things with ppp. You are using pppd version 2.4.0?
> Yes, im running 2.4.0-test5 and I'm using pppd 2.3.10 I believe. And I
pppd-2.3.anything doesn't work with 2.4 kernels, get the latest in
tar.gz format from ftp.linuxcare.com.au as has been recommended many
times here. There is also an rpm floating around, claims to have been
built by 'PLD' but I couldn't make it work at all. If you're running
RH7.0, junk the compiler, and replace all 6 pieces of it with 2.95.2
versions for trouble-free compiling.
> knew there was a possiblity i'd have to update my pppd but I didnt know,
> and couldnt find, the doc file that lists what the requirements are. I
> posted anothr message in this group yesterday and someone said i do
> indeed need to upgrade my pppd to 2.4.0. I just replied to one person
> who responded to that post asking where to get pppd b/c i just looked on
> sunsite and didn't see a new version of pppd. There were a lot of other
> utilities and an old version of pppd but not 2.4. I'm also getting the
> final release of 2.4 kernel right as I type this.
> I'm hoping after getting the new pppd some of my probelms will go away,
> namely the message about modprobing for ppp. I have ppp compiled in
> (evident from kernel bootup messages listing ppp info) and even when I
> recompiled my 2.4.0test5 kernel w/ ppp as a module the module wasn't
> named just ppp. it was ppp_generic so i think i was still getting those
> modprobe errors but I don't remember for sure.
Cheers, Gene
--
Gene Heskett, CET, UHK |Amiga A2k Zeus040, Linux @ 600mhz
email gene underscore heskett at iolinc dot net
#Amiga based X10 home automation program EZHome, see at:#
# <http://www.thirdwave.net/~jimlucia/amigahomeauto> #
ISP's please take note: My spam control policy is explicit!
#Any Class C address# involved in spamming me is added to my killfile
never to be seen again. Message will be automaticly deleted without dl.
This messages reply content, but not any previously quoted material,
is � 2000 by Gene Heskett, all rights reserved.
--
------------------------------
From: "Bo Jacobsen" <[EMAIL PROTECTED]>
Subject: Setting time using time reference on the internet ?
Date: Fri, 12 Jan 2001 13:04:06 +0100
Does anyone know how to make linux syncronize it's clock with a
reference on the internet. I want my Linux server to syncronize
automatically maybe once every day, so I'm sure the clock is always
set correctly.
I have heard that both NASA and CERN has public references.
Thanks in advance
Bo Jacobsen [EMAIL PROTECTED]
------------------------------
From: "Alan" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,alt.uu.comp.os.linux.questions,uk.comp.os.linux
Subject: Re: TCP session timeout???
Date: Fri, 12 Jan 2001 12:17:23 -0000
Thanks all! That looks to be enough. Phew.
------------------------------
From: "Tauno Voipio" <[EMAIL PROTECTED]>
Subject: Re: ps command behaviours
Date: Fri, 12 Jan 2001 12:29:03 GMT
"Herve Gautier" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Herve Gautier wrote:
> Ok I found the answer for this question.
> The man tells that when a program is swap out to disk,
> ps display it in bracket without command line arguments.
>
> But when I work again with this program ? It should be swap out to
> memory, isn't it ? So I should see it without bracket, no ?
>
Yes. As soon as it is scheduled for execution the active pages are brought
back in. That is the magic of virtual memory.
Tauno Voipio
tauno voipio @ iki fi
------------------------------
From: Mike De Bruyn <[EMAIL PROTECTED]>
Subject: Re: Any Linux lover want to defend this?
Date: Fri, 12 Jan 2001 13:43:29 +0100
I like Opera,
pitty it's not free.
If they should make it open scourse and I think it should stand a good
change to become even more popular than Netscape (talking about Linux-users
of course...)
greetings,
John Smith wrote:
>
> Dun get me wrong.
>
> <snip>
------------------------------
From: Dirk Groeneveld <[EMAIL PROTECTED]>
Subject: building kde with --enable-final
Date: Thu, 11 Jan 2001 23:57:39 +0100
Hi!
Has anyone made any experiences with the --enable-final switch for many
kde2 ./configure's? What does it do? Does it pay off?
Thanx, Dirk
------------------------------
From: [EMAIL PROTECTED] (Daryl Fonseca-Holt)
Subject: Re: Setting time using time reference on the internet ?
Reply-To: [EMAIL PROTECTED]
Date: Fri, 12 Jan 2001 06:43:30 -0600
On Fri, 12 Jan 2001 13:04:06 +0100, Bo Jacobsen <[EMAIL PROTECTED]> wrote:
>Does anyone know how to make linux syncronize it's clock with a
>reference on the internet. I want my Linux server to syncronize
>automatically maybe once every day, so I'm sure the clock is always
>set correctly.
>
>I have heard that both NASA and CERN has public references.
>
>
>
>Thanks in advance
>Bo Jacobsen [EMAIL PROTECTED]
>
>
>
>
I use ftp://metalab.unc.edu/pub/Linux/system/admin/time/nist-2.1.12.tar.gz
to sync my clock with NIST in Boulder, Colorado.
<[EMAIL PROTECTED]>
------------------------------
From: [EMAIL PROTECTED] (Bob Tennent)
Subject: Re: Any Linux lover want to defend this?
Date: 12 Jan 2001 13:04:06 GMT
Reply-To: [EMAIL PROTECTED]
On Fri, 12 Jan 2001 15:24:27 +0800, John Smith wrote:
>
>Somehow, there just isn't a robust enough browser for Linux.
>(Linux = Internet??? where's the browser?)
Try galeon. It's based on the Gecko (Mozilla) renderer but without the
Mozilla cruft. It's pretty new though and, for example, doesn't support
printing yet. But it's improving fast.
Bob T.
------------------------------
From: Dances With Cows <[EMAIL PROTECTED]>
Subject: Re: updating with rpm(s)
Date: Fri, 12 Jan 2001 07:03:48 -0600
Why mess with it? I paid $7 for a redhat 7.0 cd and then upgraded
the gnorpm and up2date rpm to the Dec 00 version. Now, all my updates
are automated. The gnome update program logs in and checks if redhat
has any new updates and then downloads and installs them
automatically.
Give it a try and you will love it.
dwc
On 12 Jan 2001 07:50:46 GMT, Christoph Kukulies
<[EMAIL PROTECTED]> wrote:
>I have a bunch of update rpms for RH 6.1 and would like to
>install them. Earlier attempts to do this gave me a lot of
>errors that packages were missing or already installed or
>dependent of others etc etc.
>
>I created a list of the files below and put an rpm --install
>in front of every item.
>
>Maybe it's not clever to use the alphabetical order
>but which one?
>
>MPEG-1.2.2-6.i386.rpm
>Mesa-3.0-3.i386.rpm
>ORBit-0.5.0-2.i386.rpm
>ORBit-devel-0.5.0-2.i386.rpm
>auctex-9.10g-2.i386.rpm
>bind-8.2.2_P3-1.src.rpm
>binutils-2.9.5.0.22-6.i386.rpm
>control-center-1.0.51-1.src.rpm
>cpp-1.1.2-30.i386.rpm
>dhcp-2.0-5.i386.rpm
>dhcpcd-1.3.18pl3-1.i386.rpm
>e2fsprogs-1.17-1.i386.rpm
>e2fsprogs-devel-1.17-1.i386.rpm
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: duplex printing
Date: Fri, 12 Jan 2001 13:12:19 +0000 (UTC)
Harold Stevens ** PLEASE SEE SIG ** <[EMAIL PROTECTED]> wrote:
: In <[EMAIL PROTECTED]>, Berend van Wachem:
: [Snip...]
:
: |> I can't get our HP 4050 to print in
: |> Duplex mode. I can't find any options under printtool. Does anyone know
: |> how I can print either duplex or simplex with red hat 7.0?
: [Snip...]
: I'm not familiar with the specifics of this printer or RH7.0, but I don't
: think it depends on either, if in Postscript mode. The duplex (two-sided)
: printing is signaled in a Postscript file in the preamble section, by the
: commands
: %%BeginFeature:*Duplex
: <</Duplex true>>setpagedevice % 0 BeginPage
: %%EndFeature
: I use sed (or some such; even manual editing) to insert these lines prior
: to submitting the job to the Postscript print queue. Obviously this means
: the printer itself must be capable of duplex, and embedded mode switch.
We are using a QMS printer capable of printing duplex, booklet and other
modes. To switch the printer into any of these modes I use a little script
as filter to prepend the postscript file with the appropriate command.
This is from the /etc/printcap:
===============================================
qmsdup|dup:\
:lp=/dev/null:sh:\
:sd=/var/spool/lpd/dup:\
:if=/usr/local/bin/duplex
# the 'duplex' script sends the printjob to qms
===============================================
qms|lp:\
:lp=:rm=min012:\
:rp=min012:\
:sd=/var/spool/lpd:\
:mx#0
===============================================
and this is the filter script from /usr/local/bin:
===============================================
#!/bin/sh
# filter to switch printer to duplex mode
sed -e '
1i\
%!\
%%IncludeFeature: duplex \(on\)\
%%End Comments' | lpr -Pqms
===============================================
The 'sed' command inserts the line 'IncludeFeature: duplex(on)\' after the
first line in the printfile. The ( and ) have to be escaped by \.
Then the file is sent to the printer.
Rolf
------------------------------
From: John Smith <[EMAIL PROTECTED]>
Subject: Re: Any Linux lover want to defend this?
Date: Fri, 12 Jan 2001 21:34:56 +0800
So many people share the same sentiment.
There are so many great apps like Gimp and etc... for Linux but not a good
enuf browser.
Yeah I got Konqueror and I am waiting for it to get better.
Opera I have use it and somehow I find many site with java does not work
(blame MS??).
I think as a basic user and I just want my machine to be rock solid.
Ha. I keep my Linux clean originally + AIM + Staroffice and that's it.
Just could get a decent browser :(
Opera if u are listening, make it better and make it free. There will be
lots of Linux user do not mind using Opera instead of Netscape and do not
mind a little ads box. But we do mind to pay the cost to own it :)
Mike De Bruyn wrote:
> I like Opera,
>
> pitty it's not free.
> If they should make it open scourse and I think it should stand a good
> change to become even more popular than Netscape (talking about
> Linux-users of course...)
>
>
> greetings,
>
>
>
>
>
>
>
>
>
>
> John Smith wrote:
>
> >
> > Dun get me wrong.
> >
> > <snip>
------------------------------
From: [EMAIL PROTECTED] (Harold Stevens ** PLEASE SEE SIG **)
Subject: Re: duplex printing
Date: Fri, 12 Jan 2001 14:06:16 GMT
In <93mvri$43fs$[EMAIL PROTECTED]>, Rolf Skowronek:
[Snip...]
|> We are using a QMS printer capable of printing duplex, booklet and other
|> modes. To switch the printer into any of these modes I use a little script
|> as filter to prepend the postscript file with the appropriate command.
[Snip...]
Thanks; these are precisely what the OP needed, as I understood it.
--
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 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
******************************