Linux-Misc Digest #777, Volume #27 Fri, 4 May 01 11:13:01 EDT
Contents:
Re: Backuping AND restoring data from tape drive (F. Heitkamp)
Re: clear bootflag of /dev/hda2 (2nd try) (peter pilsl)
Re: Best way to manage source code? (Jeremy A. Gray)
Re: clear bootflag of /dev/hda2 (2nd try) ("Eric")
Re: clear bootflag of /dev/hda2 (2nd try) (peter pilsl)
Re: clear bootflag of /dev/hda2 (2nd try) ("Eric")
Re: kppp! connection not responding.. (NyQuist)
Re: Visual file comparision tool ? (Grant Edwards)
Can't login to kde2 (Chad Lemmen)
inetd.conf ("Kenny@BUI")
Compiler for P200MMX (Dedicated to all Manson Fans)
Re: inetd.conf ([EMAIL PROTECTED])
Re: inetd.conf ("Peter T. Breuer")
Re: inetd.conf (Christopher Albert)
Xfree and presario 1600 (miege)
Re: Compiler for P200MMX (Kwan Lowe)
Re: libstdc++-libc6.1-2.so.3 (Kevin Croxen)
Re: inetd.conf ("Kenny@BUI")
Pb : lpr with landscape option (DEBORD =?iso-8859-1?Q?Fran=E7ois?=)
Re: PCI code on solaris 5.6 (Richard Masoner)
<no subject> ("Giulio de Taddeo")
Re: How to configure my Windows keys in Gnome v1.4? (Jeremiah DeWitt Weiner)
Re: inetd.conf ("Jeffrey L. Susanj")
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (F. Heitkamp)
Date: Fri, 4 May 2001 07:28:39
Subject: Re: Backuping AND restoring data from tape drive
Reply-To: [EMAIL PROTECTED]
In message <[EMAIL PROTECTED]> - Sean Akers
<[EMAIL PROTECTED]> writes:
>
>On Tue, 01 May 2001 17:17:11 GMT, Frank de Bot
><[EMAIL PROTECTED]> wrote:
>
>
>
>You still need to -b 64 when restoring
>
Just doing mt -f /dev/ht0 setblk 0
works a lot of times for me.
Fred
------------------------------
From: peter pilsl <[EMAIL PROTECTED]>
Subject: Re: clear bootflag of /dev/hda2 (2nd try)
Date: Fri, 4 May 2001 13:41:45 +0200
In article <9ctr7r$9mk$[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
> >
> > thnx a lot. Unfortunately this directives can only be used in 'other'-
> > sections and not in image-sections :-(
>
> You can work around this ofcourse, but there may be better solutions.
>
> chain two lilo's.
> The first has an others section that can use (de)activate and points to the
> partition where the normal LILO is stored
>
If there is a way I can avoid two lilos, I would prefer it. I would get
two bootmenus then too ... So maybe you can tell me how to work around the
restriction.
but: hey, a few a hours ago I was looking for *any* solution and now I'm
looking for the *best* solution. Thats great !! thnx a lot !! :)
peter
--
pilsl@
goldfisch.at
------------------------------
From: [EMAIL PROTECTED] (Jeremy A. Gray)
Subject: Re: Best way to manage source code?
Date: Thu, 3 May 2001 13:05:01 -0500
On Wed, 2 May 2001 21:19:02 -0700, MH <[EMAIL PROTECTED]> wrote:
> While these responses have been useful, none of them has focused on the
> primary concern of my original post. The question was not so much "how" do
> you compile, install, or uninstall source packages as it was how do you
> manage them?
>
> What strategies are commonly employed to keep everything in order? What
> are the most common, or preferred installation directories, or the best
> method of organizing one's directory hierarchies? Everything in
> /usr/local, /opt, /usr/local/src, usr/src? Use a single all-inclusive
> directory for each package? or with multiple subdirectories? Only compile
> a few critical packages and rely on RPM or DEB for the remainder? How best
> to handle applications with large numbers of source packages, like KDE or
> GNOME? etc.
>
> Or is the best we can do here simply trial and error?
>
Here's what I like to do to manage installed software:
First, I use a package called encap (http://encap.cso.uiuc.edu - I think
this is correct) that was designed for managing software on unix
machines here at UIUC. It expects software to be installed in a
directory like /usr/local/encap/mutt-1.2.5. When it's package installer
(epkg) is run, it will then link all files in that directory to
/usr/local.
That being said, I compile individual packages and place them in
/usr/local/encap & then use epkg to link them to /usr/local. This is
for thing like mutt, slrn, emacs, vim, etc. Large packages like
enlightenment, gnome, and kde are placed in /opt/gnome/encap and linked
to /opt/gnome, for example. For binary only stuff like acrobat and
netscape, I install them in /opt in their own directory (/opt/netscape).
I never put anything in /usr because that is supposed to be reserved for
programs installed with the operating system.
The main benefit of using encap is that I can test a new version of the
software I use without destroying an old version. For instance, I can
have two versions of vim compiled in /usr/local/encap, allowing me to
test the bleeding edge version by simply unlinking the old version and
linking in the new one. If the new version doesn't work, reverting to
the old version is a issue of running 2 commands, not rebuilding.
As for the source trees, if I keep them, I keep them in the appropriate
src directory, i.e. /usr/local/src for /usr/local.
--
Jeremy A. Gray
Physical Chemistry
University of Illinois at Urbana-Champaign
[EMAIL PROTECTED]
------------------------------
From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: clear bootflag of /dev/hda2 (2nd try)
Date: Fri, 4 May 2001 14:07:00 +0200
> > > thnx a lot. Unfortunately this directives can only be used in 'other'-
> > > sections and not in image-sections :-(
> >
> > You can work around this ofcourse, but there may be better solutions.
> >
> > chain two lilo's.
> > The first has an others section that can use (de)activate and points to
the
> > partition where the normal LILO is stored
> >
>
> If there is a way I can avoid two lilos, I would prefer it. I would get
> two bootmenus then to
One could have a zero delay, so it wouldn't be noticable.
(You would get two times LILO written on screen though)
> ... So maybe you can tell me how to work around the
> restriction.
This was the way :-)
> but: hey, a few a hours ago I was looking for *any* solution and now I'm
> looking for the *best* solution. Thats great !! thnx a lot !! :)
The best may still be to use the "activate" program.
It may well be capable of de-activating too. (It's just toggling one single
bit)
(I can't check, as I don't have it here)
Eric
------------------------------
From: peter pilsl <[EMAIL PROTECTED]>
Subject: Re: clear bootflag of /dev/hda2 (2nd try)
Date: Fri, 4 May 2001 14:16:09 +0200
In article <9cu615$fkg$[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
>
> The best may still be to use the "activate" program.
> It may well be capable of de-activating too. (It's just toggling one single
> bit)
> (I can't check, as I don't have it here)
>
the relevant lines are:
flag = count == number ? PART_ACTIVE : PART_INACTIVE;
if (write(fd,&flag,1) != 1) die("write: %s",strerror(errno));
unfortunately I dont speak C. (yes I know, this is a bad thing, but I
never had the time .. So I still play around with all this
fortran,pascal,perl -stuff ...)
peter
--
pilsl@
goldfisch.at
------------------------------
From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: clear bootflag of /dev/hda2 (2nd try)
Date: Fri, 4 May 2001 14:51:39 +0200
> > The best may still be to use the "activate" program.
> > It may well be capable of de-activating too. (It's just toggling one
single
> > bit)
> > (I can't check, as I don't have it here)
> >
>
> the relevant lines are:
>
> flag = count == number ? PART_ACTIVE : PART_INACTIVE;
> if (write(fd,&flag,1) != 1) die("write: %s",strerror(errno));
>
> unfortunately I dont speak C. (yes I know, this is a bad thing, but I
> never had the time .. So I still play around with all this
> fortran,pascal,perl -stuff ...)
try `./activate --help`
The code you included doesn't say much.
flag is made PART_ACTIVE if count equals number, otherwise it's made
PART_INACTIVATE. Then it's written to fd (which is probably referring to a
HDD)
changing PART_ACTIVE to PART_INACTIVE too, will deactivate everything I
suppose
But I still suppose you can already deactivate a partition without messing
with the code.
Eric
------------------------------
From: NyQuist <[EMAIL PROTECTED]>
Subject: Re: kppp! connection not responding..
Crossposted-To:
alt.os.linux.mandrake,comp.os.linux.help,comp.os.linux.networking,comp.os.linux.networking,comp.os.linux.questions,comp.os.linux.setup,free.comp.linux.misc
Date: Fri, 4 May 2001 14:22:39 -0400
plato spoke thusly:
> i just set up my modem to work with Linux Mandrake 7.1. the connection
> works when i run it from LinuxConf (ppp/slip/plip) but not from kppp. in
> kppp, the connection is established BUT nothing works! i tried netscape
> and it
> couldn't open any site. i thought it's a DNS problem, but when i tried to
> ping a machine i know from the console, it didn't reply. my kppp settings
> are as follows:
>
> authentication: PAP
> pppd arguments: noauth
> IP: Dynamic IP Address
> Auto-configure hostname from this IP: Unchecked
> DNS: tried to leave it empty and to put in a couple of DNSs
> Disable existing DNS Servers during Connection: Unchecked
> Domain Name: empty
> Gateway: Default Gateway
> Assign the Default Route to this Gateway: Checked
> Login Script: None
> Device: /dev/modem (i know it's working)
> Flow Control: CRTSCTS
> Line Terminator: CR
> Connection Speed: 57600
> Use Lock File: Checked
> Modem Timeout: 60 Seconds
> Modem Busy Wait: 0 Seconds
> PPP Timeout: 30 Seconds
>
> any ideas??
>
> karim
go to linuxconf --> networking --> routing and gateways --> assign default
route. add the dsn of your isp. and do a find nect time. this has been
answered at least five times before
------------------------------
From: [EMAIL PROTECTED] (Grant Edwards)
Subject: Re: Visual file comparision tool ?
Date: Fri, 04 May 2001 13:28:02 GMT
In article <GvuI6.11$[EMAIL PROTECTED]>, Martin Vonwald wrote:
>Hi all!
>
>I need some file comparision tool (for text files; display all
>added/changed lines) like WinMerge - preferable for KDE or at least plain X.
I don't know what WinMerge is, but both gtkdiff (GTK) or mgdiff
(motif) work nicely. Don't know of anything for KDE.
--
Grant Edwards grante Yow! ... I'm IMAGINING a
at sensuous GIRAFFE, CAVORTING
visi.com in the BACK ROOMof a KOSHER
DELI --
------------------------------
From: Chad Lemmen <[EMAIL PROTECTED]>
Subject: Can't login to kde2
Date: Fri, 04 May 2001 13:39:16 -0000
I'm using Caldera eDesktop 2.4. I installed KDE2 with the rpm's at
ftp://ftp.calderasystems.com/pub/updates/eDesktop/2.4/026/RPMS/
After doing this I was able to login into kde2 by selecting it from
the graphical login menu. I then wanted to remove the kde 1.0 files
so I followed the instruction at this link http://www.linux.nf/ridkde1.htm
Now the graphical login only has options for kde2 and failsafe, but
when I try to login it says my login is not valid. I can still login
onto the console, but not kde anymore. Why doesn't kde2 know my login?
KDE won't let root login either.
------------------------------
From: "Kenny@BUI" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.setup
Subject: inetd.conf
Date: Fri, 4 May 2001 09:44:33 -0400
hello,
we just did a fresh install of rh7.0 and we cannot find inetd.conf in /etc.
we need to vi this file to uncomment a few lines.
thank you,
Kenny.
------------------------------
Date: Fri, 04 May 2001 16:47:54 +0200
From: Dedicated to all Manson Fans <[EMAIL PROTECTED]>
Subject: Compiler for P200MMX
I'm searching for an optimizing compiler for my system. A Pentium 200
MMX is not as fast as it should be for resource-wasting. Does someone
know where to get?
Thanks...
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux,comp.os.linux.setup
Subject: Re: inetd.conf
Date: 4 May 2001 13:55:31 GMT
In comp.os.linux.setup Kenny@BUI <[EMAIL PROTECTED]> wrote:
> we just did a fresh install of rh7.0 and we cannot find inetd.conf in /etc.
> we need to vi this file to uncomment a few lines.
If you have installed a "workstation", the Inet daemon and his
configuration file are not installed. If you want it, you have to
install it.
Davide
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: inetd.conf
Crossposted-To: alt.os.linux,comp.os.linux.setup
Date: Fri, 04 May 2001 13:59:19 GMT
In comp.os.linux.misc Kenny@BUI <[EMAIL PROTECTED]> wrote:
> we just did a fresh install of rh7.0 and we cannot find inetd.conf in /etc.
That's correct (for redhat)!
> we need to vi this file to uncomment a few lines.
No you don't.
(hint: man xinetd)
Peter
------------------------------
From: Christopher Albert <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.setup
Subject: Re: inetd.conf
Date: Fri, 04 May 2001 16:05:51 +0200
[EMAIL PROTECTED] wrote:
>
> In comp.os.linux.setup Kenny@BUI <[EMAIL PROTECTED]> wrote:
> > we just did a fresh install of rh7.0 and we cannot find inetd.conf in /etc.
> > we need to vi this file to uncomment a few lines.
>
> If you have installed a "workstation", the Inet daemon and his
> configuration file are not installed. If you want it, you have to
> install it.
>
> Davide
RH6.2 -> RH7.0 =>
inetd -> xinetd
man xinetd
ls /etc/xinetd.d/
Chris
------------------------------
From: miege <[EMAIL PROTECTED]>
Subject: Xfree and presario 1600
Date: Fri, 04 May 2001 16:06:13 +0200
Hello,
I have a Compaq presario laptop 1600 and I can't configure X.
I have XFree86 4.01.
I have tried a lot of configuration but I always obtain a white screen.
I have been said that the file on
http://www.unm.edu/~tdropps/xconfig.htm, but it did not worked.
If any one has a suggestion .... ?
thanks a lot
alex
------------------------------
From: Kwan Lowe <[EMAIL PROTECTED]>
Subject: Re: Compiler for P200MMX
Date: Fri, 04 May 2001 14:30:06 GMT
Dedicated to all Manson Fans <[EMAIL PROTECTED]> wrote:
> I'm searching for an optimizing compiler for my system. A Pentium 200
> MMX is not as fast as it should be for resource-wasting. Does someone
> know where to get?
Have you looked at the -O option in gcc/egcs?
Or do you mean rebuilding your packages?
------------------------------
From: [EMAIL PROTECTED] (Kevin Croxen)
Subject: Re: libstdc++-libc6.1-2.so.3
Date: 4 May 2001 14:01:05 GMT
In article <9csj3v$s24$[EMAIL PROTECTED]>, Hendrik Maeder wrote:
>In article <[EMAIL PROTECTED]>, "Kirk I Reiten"
><[EMAIL PROTECTED]> wrote:
>
>> I don't see it there unless it's called something else.......???????
>>
>
>Try a more general package name like "libstdc++-libc6.1-2"
>Gives me about 14 hits.
>Then click on a package description and it will list what that rpm
>provides.
>I.e. the top most hit (for mandrake) provides that libstdc++ version.
>
>Hendrik
You might find it in one of the lib packages for your base installation,
depending on whatever distribution we're talking about here. For example
Slack includes this in the cxxlibs package as part of the A series.
--Kevin
------------------------------
From: "Kenny@BUI" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.setup
Subject: Re: inetd.conf
Date: Fri, 4 May 2001 10:32:09 -0400
ok I saw xinetd.conf .
in inetd.conf there was a line for swat that you had to uncomment. where do
I uncomment that line?
I saw in /etc/services a line with swat already uncommented. but Netscape
does not access swat returning a broken pipe error.
thank you.
------------------------------
From: DEBORD =?iso-8859-1?Q?Fran=E7ois?= <[EMAIL PROTECTED]>
Subject: Pb : lpr with landscape option
Date: Fri, 04 May 2001 16:37:34 +0200
Hi!
On redhat 6.2 I try to print an ascii file on landscape format.
I use the lpr command.
But I didn't find the right option to print on landscape format .....
Can you help me ?
------------------------------
From: Richard Masoner <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.solaris,comp.os.linux.development.apps
Subject: Re: PCI code on solaris 5.6
Date: Fri, 04 May 2001 09:33:52 -0500
[ Followups trimmed to comp.unix.solaris ]
vardhan wrote:
> I am not very familiar with writing device drivers. I wrote a few small kernel
> modules
> on Linux. For Solaris, where can I get information about writing such code?
For starters, read the "Writing Device Drivers" publication available online at
http://docs.sun.com/ab2/coll.45.10/DRIVER
Solaris does have loadable modules, but the way you do things is a bit different
from Linux. Yes, you do compile everything in user space (but not necessarily
as root), but some special flags are necessary to compile for the kernel.
Read the docs thoroughly, and good luck :-)
Richard Masoner
------------------------------
From: [EMAIL PROTECTED] ("Giulio de Taddeo")
Subject: <no subject>
Date: Fri, 4 May 2001 14:46:09 +0000 (UTC)
This is a multi-part message in MIME format.
=======_NextPart_000_002B_01C0D4B9.ED9F4410
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Can someone resolve my problem?
I've got a servlet, handled by Apache that moves it to Tomcat, that produces
some html (some normal html, some php wrapped into html and some dinamic
html). This code generated by the servlet has to be re-forwarded not to the
client, but to Apache web server because has to be processed again (only by
Apache).
Does somebody knows how to configure Apache/Tomcat in such a way? Please
send the answer to my email.
Thanks a lot
Giulio de Taddeo
Email: [EMAIL PROTECTED]
=======_NextPart_000_002B_01C0D4B9.ED9F4410
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR></HEAD>
<BODY>
<DIV>Can someone resolve my problem?<BR>I've got a servlet, handled by =
Apache=20
that moves it to Tomcat, that produces some html (some normal html, some =
php=20
wrapped into html and some dinamic html). This code generated by the =
servlet has=20
to be re-forwarded not to the client, but to Apache web server because =
has to be=20
processed again (only by Apache).<BR>Does somebody knows how to =
configure=20
Apache/Tomcat in such a way? Please send the answer to my email.</DIV>
<DIV> </DIV>
<DIV>Thanks a lot<BR>Giulio de Taddeo</DIV>
<DIV> </DIV>
<DIV>Email: <A=20
href=3D"mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</A></DIV></BODY><=
/HTML>
=======_NextPart_000_002B_01C0D4B9.ED9F4410==
--
Posted from relay.iunet.it [192.106.1.2]
via Mailgate.ORG Server - http://www.Mailgate.ORG
------------------------------
From: Jeremiah DeWitt Weiner <[EMAIL PROTECTED]>
Subject: Re: How to configure my Windows keys in Gnome v1.4?
Date: 4 May 2001 14:56:09 GMT
Phillip Pi <[EMAIL PROTECTED]> wrote:
> I have been reading the newsgroups and trying to use xmodmap to
> configure Windows keys in RedHat Linux v7.1. So far, I have been unable
> to make them do anything. This is what I have so far in .Xmodmap file:
> !Left Windows Key
> keycode 115 = Alt_L
Hmm...doesn't your keyboard already have a left Alt key? I'm not
sure if it matters, but better safe than sorry; give them names that don't
conflict with anything else.
Anyway, yes, you want to add that to .Xmodmap. Then run
"xmodmap ~/.Xmodmap". Then use whatever key-mapping-setup program
Gnome offers to map the "Menu" key to "bring up menu". You will also
want to add that xmodmap command to your .xinitrc file so that the
keys get set up every time you start X.
JDW
------------------------------
Crossposted-To: alt.os.linux,comp.os.linux.setup
From: "Jeffrey L. Susanj" <[EMAIL PROTECTED]>
Subject: Re: inetd.conf
Date: Fri, 4 May 2001 14:40:41 GMT
With RedHat 7.0 they began using xinetd.conf. Mostly it sets up a few items
and then transfers control to scripts in xinet.d(I think). There is one
script for each service and to enable or disable a service you change a line
in the script.
Jeff S.
<[EMAIL PROTECTED]> wrote in message
news:9cuccj$f9tg0$[EMAIL PROTECTED]...
> In comp.os.linux.setup Kenny@BUI <[EMAIL PROTECTED]> wrote:
> > we just did a fresh install of rh7.0 and we cannot find inetd.conf in
/etc.
> > we need to vi this file to uncomment a few lines.
>
> If you have installed a "workstation", the Inet daemon and his
> configuration file are not installed. If you want it, you have to
> install it.
>
> Davide
>
>
------------------------------
** 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
******************************