Linux-Misc Digest #942, Volume #24               Mon, 26 Jun 00 13:13:02 EDT

Contents:
  Re: info/texinfo to man pages (John Hasler)
  Re: WordPerfect 8: icons mangled (fred smith)
  util-linux (crypto patch) ("LAN Service Group")
  sym 53c416 (clode)
  Re: clustering/raid ([EMAIL PROTECTED])
  Please introduce me a book for linux specific functions. ("Tsuginosuke")
  Dynamic Fonts in netscape (Sandhitsu R Das)
  Re: Gnutella fans, READ THIS! (John Hasler)
  Re: connecting to ISP with linux (John Hasler)
  Re: The X Server... (Mike Hoegeman)
  Re: stability of culture of helpfulness (Tim Palmer)
  RE: Setting console fonts... (Uncle Meat)
  Re: Please introduce me a book for linux specific functions. (Vilmos Soti)
  Re: Who is loading the system and why? (David Steuber)
  Re: fetchmail hangs on first run (David Steuber)

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

From: John Hasler <[EMAIL PROTECTED]>
Subject: Re: info/texinfo to man pages
Date: Mon, 26 Jun 2000 14:53:21 GMT

John Culleton writes:
> Perhaps I can hack it to handle straight "info" files which is how most
> of my systems's documentation is stored.

The sources for the packages those docs came in contain the texinfo files
from which the info files were generated.
-- 
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin

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

From: fred smith <[EMAIL PROTECTED]>
Subject: Re: WordPerfect 8: icons mangled
Date: Mon, 26 Jun 2000 10:25:32 GMT

Rod Smith <[EMAIL PROTECTED]> wrote:
: In article <[EMAIL PROTECTED]>,
:       [EMAIL PROTECTED] writes:
:> Rod Smith <[EMAIL PROTECTED]> did eloquently scribble:
:>> This problem is common with 24-bit displays, and occasionally with
:>> 32-bit displays. Try switching X to use a 16-bit display and see if it
:>> goes away. (BTW, several other programs, including Netscape, suffer from
:>> the same problem.)
:> 
:>> Rumor had it that XFree86 4.0 would include a workaround for this
:>> problem. 
:> 
:> I don't think it's an X problem. I think it's an Motif problem (It can't
:> handle 24 bit displays. Only 8, 16 and 32).
:> 
:> Now that it's been opened, maybe someone'll fix the problem in Motif.

: According to the XFree86 web site, it is a problem with programs that
: make incorrect assumptions about the way the colors are handled. I don't
: recall the details. I never meant to imply that it was an XFree86 bug.
: There ARE workarounds possible in the X server, though. I've seen
: reports that Accelerated-X does *NOT* suffer from these same problems at
: 24-bit color depth, for instance.

I don't know about a bug, or where the bug is, but...
Using the Mach64 server (which I am using) I've yet to see that problem
in WP8, Netscrape, or anywhere else. I'm guessing it may be somehow
related to which server one runs?
-- 
---- Fred Smith -- [EMAIL PROTECTED] ----------------------------
  "And he will be called Wonderful Counselor, Mighty God, Everlasting Father,
  Prince of Peace. Of the increase of his government there will be no end. He 
 will reign on David's throne and over his kingdom, establishing and upholding
      it with justice and righteousness from that time on and forever."
=============================== Isaiah 9:7 (niv) ==============================

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

From: "LAN Service Group" <[EMAIL PROTECTED]>
Subject: util-linux (crypto patch)
Date: Mon, 26 Jun 2000 09:30:51 -0700

Hi.  I was following the instructions for the Loopback Encrypted Filesystem
HOWTO at http://www.kerneli.org/loopback-encrypted-filesystem.html but ran
into a bit of a problem.

The HOWTO explains that I must download and patch the kernel with
patch-int-2.2.16.x.  After doing that and recompiling my kernel it left me
another patch in linux/Documentation/crypto/util-linux-2.10m.int.patch which
I was to use against the util-linux-2.10m source tree.  That all went well.
I even had extra options durring 'make menuconfig' on my kernel for cipher
types and such.  I compiled all as modules.

Section 3, Step 10 it tells me to recompile util-linux after reading the
INSTALL and editing MCONFIG (ensuring not to overwrite any auth files like
login, passwd, etc.).  That's where I run into a problem.  When it's almost
done with the compilation it spews:

<snip>
make[1]: Entering directory `/home/kteague/temp/util-linux-2.10m/mount'
cc -c -Wall -Wstrict-prototypes -Wmissing-prototypes -I../lib -pipe -O2 -m48
6 -fomit-frame-pointer -DHAVE_NFS lomount.c
lomount.c:49: `LO_CRYPT_SERPENT' undeclared here (not in a function)
lomount.c:49: initializer element is not constant
lomount.c:49: (near initialization for `crypt_type_tbl[7].id')
lomount.c:50: `LO_CRYPT_MARS' undeclared here (not in a function)
lomount.c:50: initializer element is not constant
lomount.c:50: (near initialization for `crypt_type_tbl[8].id')
lomount.c:51: `LO_CRYPT_RC6' undeclared here (not in a function)
lomount.c:51: initializer element is not constant
lomount.c:51: (near initialization for `crypt_type_tbl[9].id')
lomount.c:52: `LO_CRYPT_DFC' undeclared here (not in a function)
lomount.c:52: initializer element is not constant
lomount.c:52: (near initialization for `crypt_type_tbl[10].id')
lomount.c: In function `set_loop':
lomount.c:255: `LO_CRYPT_SERPENT' undeclared (first use in this function)
lomount.c:255: (Each undeclared identifier is reported only once
lomount.c:255: for each function it appears in.)
lomount.c:256: `LO_CRYPT_MARS' undeclared (first use in this function)
lomount.c:257: `LO_CRYPT_RC6' undeclared (first use in this function)
lomount.c:258: `LO_CRYPT_DFC' undeclared (first use in this function)
make[1]: *** [lomount.o] Error 1
make[1]: Leaving directory `/home/kteague/temp/util-linux-2.10m/mount'
make: *** [all] Error 1
<snip>

Those errors seem to only include the cipher types included with the patch I
applied.  Cipher types that are already part of util-linux (e.g. DES, etc.)
are not in the error above so the problem seems to be with what was patched
in.  I looked in lomount.c, line 49 and found:

<snip>
#ifdef LOOP_SET_FD
struct crypt_type_struct {
        int id;
        char *name;
} crypt_type_tbl[] = {
        { LO_CRYPT_NONE, "no" },
        { LO_CRYPT_NONE, "none" },
        { LO_CRYPT_XOR, "xor" },
        { LO_CRYPT_DES, "DES" },
        { LO_CRYPT_FISH2, "twofish" },
        { LO_CRYPT_BLOW, "blowfish"},
        { LO_CRYPT_CAST128, "cast128"},
        { LO_CRYPT_SERPENT, "serpent"},
        { LO_CRYPT_MARS, "mars" },
        { LO_CRYPT_RC6, "rc6" },
        { LO_CRYPT_DFC, "dfc" },
        { LO_CRYPT_IDEA, "idea"},
        { -1, NULL   }
};
<snip>

Unfortunatly my knowledge of C on a scale of 1-10 (10 being best) ranks at
about... 1.  Please be nice to me. :-)

I've tried recompiling after modprobing the rc5, rc62, and serpent modules
but that didn't make a difference.  I would like to use rc6 but would also
like to have other cipher types available as well.  Also, other errors spew
in the same file on diff. lines but they're related to the errors I get
here.  I didn't think they'd be important so I didn't paste it above.  If I
left anything out please let me know.

One other thing that was confusing in the HOWTO was the modifications to
MCONFIG for util-linux.  The example shown in the HOWTO shows:

<snip>
HAVE_SHADOW=yes
HAVE_PASSWD=yes
<snip>

... whereas MCONFIG states:

<snip>
# If HAVE_SHADOW is set to "yes", then login, chfn, chsh, newgrp, passwd,
# and vipw will not be built or installed from the login-utils
# subdirectory.
HAVE_SHADOW=yes

# If HAVE_PASSWD is set to "yes", then passwd will not be built or
# installed from the login-utils subdirectory (but login, chfn, chsh,
# newgrp, and vipw *will* be installed).
HAVE_PASSWD=no
<snip>

Wouldn't setting both to =yes be contradicting given the explainations for
the config options?  I left mine with the defaults shown.

Other than that the HOWTO was pretty good... especially for being short.
The summary got me going fairly quick and there wasn't any coder
technogarble to confuse me. <whew> :-)  I'm pretty close to getting this to
work.  I was about to try SFS but they don't keep their patches up-to-date.
CFS is pretty limiting.  As I was about to try TCFS I ran across the
loopback encrypted filesystem HOWTO and found that it's kept up-to-date
pretty well.  I'm eager and excited to get this going.  Hopefully it works
with Linux (md) RAID linear (append) without problems.  Thanks in advance
for any assistance provided.

<snip>
maximillion:~# uname -a ;gcc -v
Linux maximillion 2.2.16-raid #1 Sun Jun 25 11:06:02 PDT 2000 i686 unknown
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.2/specs
gcc version 2.95.2 20000220 (Debian GNU/Linux)
<snip>

Please send replies to [EMAIL PROTECTED] and/or back to
this newsgroup.  Thanks.

- Ken





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

From: clode <[EMAIL PROTECTED]>
Subject: sym 53c416
Date: Mon, 26 Jun 2000 16:30:04 GMT

I need the drivers for a SCSI card model: sym 53c416. This driver is for 
an  HP ScanJet 6100c. Where I can find that.
Thanks.



--
Posted via CNET Help.com
http://www.help.com/

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

From: [EMAIL PROTECTED]
Subject: Re: clustering/raid
Crossposted-To: cz.comp.linux,comp.os.linux.setup
Date: Mon, 26 Jun 2000 16:44:07 GMT

In comp.os.linux.setup Michal Kolesar <[EMAIL PROTECTED]> wrote:
> Hi all,

> where can I get informations about clustering/raid on linux?

What kind of informations you're interested in ?
We specialize in HA solutions for Linux, so if you have any questions or
you'd like to get some documentation, please let me know.

regards,
Sergiusz

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

From: "Tsuginosuke" <[EMAIL PROTECTED]>
Subject: Please introduce me a book for linux specific functions.
Date: Tue, 27 Jun 2000 01:32:20 +0900
Reply-To: "Tsuginosuke" <[EMAIL PROTECTED]>

Hello

I am begginer of linux programing, and looking for some book to be bible for
linux specific functions.

When I am coding windows program, I refered a book which describes about
Win32 function specification. Each windows specific function is described
with explanation of argument, return value and so on.

But so far I cannot find the book, website or online help in linux like
that.

If any of you know about it, could you please let me know.

Regards.



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

From: Sandhitsu R Das <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Dynamic Fonts in netscape
Date: Mon, 26 Jun 2000 12:48:15 -0400


Some sites use dynamic fonts and spell out that you require Windows/MAC to
view tha pages in netscape. Isn't there any way to view these in Linux ? I
am particularly interested in www.anandabazar.com, which is a newspaper
site. The language is an Indian regional language, Bengali. In Windows,
without doing anything - IE displays the fonts correctly - but I get
garbage in Netscape running under Mandrake 7.1. Even my IRIX machine at
work does fine.

Is there a way so I can avoid running Windows ? 




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

From: John Hasler <[EMAIL PROTECTED]>
Subject: Re: Gnutella fans, READ THIS!
Date: Mon, 26 Jun 2000 15:34:11 GMT

Francois Labreque writes:
> Hmm... one poster feels cheated that his morally questionable activities
> (stealing music)

a) You have no proof that he was infringing any copyrights.
b) Copyright infringement is not theft.

> Which is worse?  You be the judge.

A real judge might very well rule that you have libeled the first poster.

On the original subject, it looks to me as if gnutella needs an RBL system
of some sort.
-- 
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin

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

From: John Hasler <[EMAIL PROTECTED]>
Subject: Re: connecting to ISP with linux
Date: Mon, 26 Jun 2000 15:15:36 GMT

acepea writes:
> any idea on how to set this pppd's 'usepeerdns' option?

Well, the simplest way would be to use my pppconfig prgram to set up ppp:
it takes care of all the details.  However, it is presently available only
as a Debian package.

Pass pppd the option 'usepeerdns'.  Pppd will get the nameservers from the
peer and pass them to ip-up in a couple of variables.  Ip-up can then
scribble them into /etc/resolv.conf.  It's all in the man page.

Here are the scripts that pppconfig installs.  This one goes in
/etc/ppp/ip-up.d and gets called by /etc/ppp/ip-up with the appropriate
variables set:

#!/bin/sh

# 0dns-up by John Hasler 4 Apr 1999.  You may treat this program as if it
# was in the public domain.

# Rev. Dec 22 1999 to put dynamic nameservers last.

# 0dns-up sets up /etc/resolv.conf for the provider being connected to.  In
# conjunction with pppd's usepeerdns option it also handles dynamic dns.
# It expects to be passed the provider name in PPP_IPPARAM.

# If pppconfig has been removed we are not supposed to do anything.

# test -f /usr/sbin/pppconfig || exit 0

PROVIDER="$PPP_IPPARAM"
ETC="/etc"
PPPRESOLV="$ETC/ppp/resolv"
TEMPRESOLV="$ETC/resolv.conf.ppp.temp$$"
RESOLVBAK="$ETC/resolv.conf.ppp.bak"
RESOLVCONF="$ETC/resolv.conf"

# We better not do anything if resolv.conf.bak already exists.

test -f "$RESOLVBAK" && exit 0

# Put the resolv.conf for this provider (if it exists) in a temp file.
# If we are using dynamic dns it will be empty or contain any resolver
# options the user added.  Otherwise it will be a complete resolv.conf for
# this provider.

test -f "$PPPRESOLV/$PROVIDER" && cat $PPPRESOLV/$PROVIDER > $TEMPRESOLV

# USEPEERDNS, DNS1, and DNS2 are variables exported by pppd.  Do we have
# usepeerdns and a couple of nameservers?  If so, put a couple of
# nameserver lines in the temp file.

if [ "$USEPEERDNS" ] && [ "$DNS1" ] ; then
    echo -e "\nnameserver $DNS1" >> $TEMPRESOLV
    if [ "$DNS2" ] ; then
        echo -e "\nnameserver $DNS2" >> $TEMPRESOLV
    fi
fi

# If we haven't created TEMPRESOLV by now, just exit.

test -f $TEMPRESOLV || exit 0

# Back up resolv.conf.

cp $RESOLVCONF $RESOLVBAK

# And replace it with the new resolv.conf from the temp file.

mv $TEMPRESOLV $RESOLVCONF
chmod 644 $RESOLVCONF
exit 0


This one goes in /etc/ppp/ip-down.d and gets called by /etc/ppp/ip-down.d
when ppp goes down:

#!/bin/sh

# 0dns-down by John Hasler 4 Apr 1999.  You may treat this program as if it
# was in the public domain.

# 0dns-down takes down what 0dns-up sets up.

# If pppconfig has been removed we are not supposed to do anything.

# test -f /usr/sbin/pppconfig || exit 0

ETC="/etc"
RESOLVBAK="$ETC/resolv.conf.ppp.bak"
RESOLVCONF="$ETC/resolv.conf"

test -f "$RESOLVBAK" && mv $RESOLVBAK $RESOLVCONF
chmod 644 $RESOLVCONF
exit 0

-- 
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin

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

From: Mike Hoegeman <[EMAIL PROTECTED]>
Subject: Re: The X Server...
Crossposted-To: nf.comp.linux,alt.os.linux,comp.os.linux.x
Date: Sat, 24 Jun 2000 23:26:02 GMT

The Darkener wrote:
>
> <Snip>
>
> >   h> So really, the computer running the X server could be a stand-alone
> >   h> computer without an x client at all....
> >
> > Yes.  In fact, early on there were a lot of hardware called X terminals,
> > which were very small systems with some flash or similar storage, a
> > dollop of memory, a big monitor, a keyboard, and a mouse, and that's it.
> >
> > There is a protocol these X terminals use to connect to other "big
> > systems" where your home directory, etc. lived, and the clients ran on
> > the "big system" and the X terminal had essentially nothing but the
> > X server process on it.
> >
> > Then everyone decided that was too slow and they wanted their own
> > hardware.  Now that networks and "big systems" are getting fast enough,
> > it looks like things might be moving back that way again.
>
> That is one of my projects on my home LAN... I've got a cheapo computer (P-120) in
> my living room that I'm going to install a PC-2-TV card in, hook it up to my
> television + my lan (which the server resides in my bedroom), and then I'll have
> WebTV! (Well, sorta, a remote X client running a wm and netscape works though!)
> I'm also going to run remote speakers (which are hooked up to an amp which in turn
> is hooked up to the server's sound card) and then run xmms off of the remote
> client, pulling mp3 files from the server in my bedroom, and hearing/controlling
> them in the living room (and/or in my bedroom depending on where I want to flip the
> main/remote speaker knob at that particular moment).
>
> Ahh, the beauty of Linux networking. =)



yeah! .. the linux guys invented all this stuff.
kinda like al gore inventing the internet..

sigh..

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

From: Tim Palmer <[EMAIL PROTECTED]>
Subject: Re: stability of culture of helpfulness
Crossposted-To: alt.os.linux,comp.os.linux.advocacy
Date: Mon, 26 Jun 2000 17:14:59 GMT

On 19 Jun 2000 15:42:22 EDT, Dances With Crows <[EMAIL PROTECTED]> wrote:
>On Mon, 19 Jun 2000 19:02:32 GMT, Oliver Baker
><<[EMAIL PROTECTED]>> shouted forth into the ether:
>>Although I'm neither business savvy nor computer savvy, I'm writing an
>>article for a trade magazine on the subject of a big company that has
>
>Interesting.
>
>>The business people at this
>>company consider Linux a great way to save money on computer support
>>costs--not just because they believe it to be more trouble-free, but
>>because they feel they can just log onto the net and get expert free
>>help any time, thus eliminating the need for most of their support
>>staff.
>>
>>1)Does this make sense--that they could reduce their support staff? (and
>>if so, by how much? if anybody cares to make an estimate.)
>
>Not really, at least not in the short term.  Free help from Usenet is a
>mixed bag.  Sometimes you get exactly what you're looking for right away,
>sometimes you get misleading information, sometimes you get flames,
>sometimes you get completely ignored.  Also, in the beginning of the
>switchover, there would be a big need for some support staff onsite/easily
>reachable as lots of users/admins run into common problems and/or get
>confused.
>
>After users settle in and get used to reading man pages/HTML docs,

 ...and after they get used to using ^P, ^N, ^B, and ^F insted of the arrow
keys, and after they get used
to having PgUp and PgDown only work sometiems, and after they get used
to using DEL insted of BACKSPACE and
after they get used to waiting for Netscape and after they get used to
tiping "mount" befoar loding a CD....

>support costs would

 ...go thru the roof. Youd shure make the UNIX gooru's happy, but the normle users 
will hate halving to rede MAN pages all the time and use VI to eddit text
files.

>drop.  I think companies could have fewer people, but they
>might need more competent people.  (2 Unix BOFH-types at $90,000 each is
>less expensive than 6 tech-support Bobs at $30,000 each, factoring in
>health insurance/benefits/etc.)  ICBW on all that, of course.

But you'd nead 20 teck-support Bob's to handel all the users hoo are going to be 
calling to ask how to do things that wer eesy for them on Windos.

>
>>2) Is this culture of on-line helpfulness impervious to a)increasing
>>numbers of Linux users, b)increasing numbers of queries from Linux users
>>at companies who--it might be perceived--could afford to hire people to
>>generate in-house the answers they are instead getting through the
>>kindness of strangers.
>
>Good question.  <soapbox>I believe that I am *required* to help people
>with Linux support, as my code's full of nasty quick hacks and I'm too

Doant' beet yourself up. Everyother Open Sore's programmer's coad is full
of nasty hack's and bugs to
Lie-nux is all maid up of nasty hack's thats' why it sucks so mutch.

>poor to give loads of cash to the FSF, yet I need to give back to the
>community in some way.  As such, if I can help somebody, I will, whether
>they're Joe Home User or Jane Corporate User.  Linux has been built on a
>culture of altruism and knowledge-sharing; we should keep it up as much as
>possible and encourage those who've learned something to share it.
></soapbox>
>
>That said, I'd be more motivated, less sarcastic/bitchy, and able to help
>more people if somebody were paying me by the hour to solve Linux
>problems.
>

Maybe youd be abal to rite better coad to.



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

From: Uncle Meat <[EMAIL PROTECTED]>
Subject: RE: Setting console fonts...
Crossposted-To: alt.os.linux
Date: Sun, 25 Jun 2000 11:22:33 GMT
Reply-To: [EMAIL PROTECTED]


On 25-Jun-2000 Hendrix opined:
> Hi guys,
>
> How can I set the font size for my console...!!!  I used to do it in DOS
> with the 'mode' command...  Any such command, utility, or setting to use
> for linux...   Thanks,

A 'vga=<some_number>' line in lilo.conf is what I use. If there're others,
I dunno.

--
I believe the technical term is "Oops!"

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

Subject: Re: Please introduce me a book for linux specific functions.
From: Vilmos Soti <[EMAIL PROTECTED]>
Date: Mon, 26 Jun 2000 16:57:46 GMT

"Tsuginosuke" <[EMAIL PROTECTED]> writes:

> I am begginer of linux programing, and looking for some book to be bible for
> linux specific functions.
> 
> When I am coding windows program, I refered a book which describes about
> Win32 function specification. Each windows specific function is described
> with explanation of argument, return value and so on.

Depends what you want to program. If you want gtk, then check out the
documentation at www.gtk.org. Also, there are books about gtk, qt, etc.

You can also find info about the glibc at fsf.org.

Vilmos

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

Subject: Re: Who is loading the system and why?
From: David Steuber <[EMAIL PROTECTED]>
Date: Mon, 26 Jun 2000 17:00:02 GMT

[EMAIL PROTECTED] (J Bland) writes:

' Unless someone knows a way of listing things in the IO queue I think the
' best way of tracking something like this down is just to kill things off one
' by one until you find the culprit, although an educated guess can speeden it
' up.

Well, it seems that apmd was the culprit.  I noticed that it was
listed twice in the ps aux listing.  That aroused my suspicions.  I
stoped it with the /sbin/init.d/apmd stop command.  The load averages
then started to fall.

The apm program still works.  I don't see that I need apmd.  I'm not
exactly sure what it offers.  The man page is of no help.

I've therefor modified /etc/rc.config to not start the ampd program at 
boot up. ( This is a SuSE 6.2 based system ).

Problem solved, I guess.

-- 
David Steuber   |   Hi!  My name is David Steuber, and I am
NRA Member      |   a hoploholic.

All bits are significant.  Some bits are more significant than others.
        -- Charles Babbage Orwell

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

Subject: Re: fetchmail hangs on first run
From: David Steuber <[EMAIL PROTECTED]>
Date: Mon, 26 Jun 2000 17:00:03 GMT

Not sure what the problem is, but there is a better way to run
fetchmail.  If you do a man of fetchmail, and then read it, you will
find that there is a -d option to put fetchmail into daemon mode.  You 
give it the number of seconds between polls of your mail servers. ie

fetchmail -d 900

to check for mail every 15 minutes.

Also, you can add this line near the top of your .fetchmailrc file:

set logfile "/home/jboes/.fetchmail.log"

Adjust according to your actual user name.

To get fetchmail to quit, type:

fetchmail -q

To wake it up and fetch mail now, type:

fetchmail

I don't know if this will fix your problem or not, but it is better
than using cron.

-- 
David Steuber   |   Hi!  My name is David Steuber, and I am
NRA Member      |   a hoploholic.

All bits are significant.  Some bits are more significant than others.
        -- Charles Babbage Orwell

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


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