Linux-Misc Digest #779, Volume #24               Sun, 11 Jun 00 18:13:04 EDT

Contents:
  Re: vote on MS split-up (WhyteWolf)
  Re: uninstalling linux ("Wouter Verhelst")
  Weird sounds (Steve Wolter)
  Re: Wanted: Mail decoding/printing program or script ("Peter J. Linden")
  Re: vote on MS split-up ("David ..")
  Re: democracy? (Jim Richardson)
  Re: Apache 1.3.12 on RH6.2 (Akira Yamanita)
  Re: Slow Mouse under X (Dances With Crows)
  Efficient compression of hard disk partition images ? (Andreas Grosche)
  RedHat 6.2, Kppp setup solution! ("Tomo Popovic")
  Re: kernel panic, no init found (David Grogan)
  Re: Efficient compression of hard disk partition images ? (Marco Schmidt)
  Re: Efficient compression of hard disk partition images ? (Malcolm Taylor)
  Re: Using Linux as a proxy server?
  Programming Server Daemons - FAQ'S ??? ("Rainer Brosi")

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

From: [EMAIL PROTECTED] (WhyteWolf)
Crossposted-To: comp.os.linux.advocacy
Subject: Re: vote on MS split-up
Date: 11 Jun 2000 19:00:43 GMT

In article <[EMAIL PROTECTED]>, Rick wrote:

[sniped for her pleasure]

>History and Microsft have proven the market cannot kill M$, even when
>the market is more innovative.

25 year history has proven that ... 
10,000 history has proven that tyrants always 
fall sooner or later




-- 
-=-=-=-=-
Honesty is for the most part less profitable than dishonesty.
                -- Plato
-=-=-=-=-

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

From: "Wouter Verhelst" <[EMAIL PROTECTED]>
Subject: Re: uninstalling linux
Date: Sun, 11 Jun 2000 19:10:30 GMT

Edo <[EMAIL PROTECTED]> schreef in berichtnieuws
0hR05.162244$[EMAIL PROTECTED]
> I've installed red hat 6.2 on a partition created with fips. Now i have
two
> partitions, one for windows 98 and one for red hat. I made a boot disk and
> didn't install LILO.
> Now i would like to get a bigger hard disk for linux and keep my old hard
> disk completely dedicated to win without losing any data.
> How can i uninstall linux from my hard drive without losing any windows
data
> and get back the whole hard disk dedicated to windows?
> I thought I can use disk druid to get rid of linux partitions and then?
> The free space can be dedicated to the old windows partitions without
> reformatting?
> Or it's better leaving it as free space and then using restorrb from fips?
> Thanks!

Two options:
- (more expensive option, less work to do) Use Partitionmagic to reorganize
your partitions. This is commercial software (so you have to pay for it) to
grow and shrink partitions the way you like, when you like. Although I
wouldn't do this w/o making backups of my critical data (in case of a power
failure during some, but not all, parts of the resizing process, you may
lose all your data), I've never had any problems with this software.
- (cheaper option, but more work) first, create a FAT-partition on your
brand new disk. find your windoze-bootdisk. Copy all windoze information to
that new drive. re-fdisk your first drive (create one FAT-partition). reboot
from disk and make that partition bootable (by using the DOS utility sys
which should be on that disk -check that before you fdisk!-). now copy the
data from the backup partition back to the older disk. re-fdisk your new
disk. reboot. install linux on new disk.

after that, you should not have troubles.
--
Greetings,

Wouter



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

From: Steve Wolter <[EMAIL PROTECTED]>
Subject: Weird sounds
Date: Sun, 11 Jun 2000 21:10:44 +0200

Hi,
I am a relative newbie to Linux, but not to computers in general, and
I have a question relating to my current workstation (FYI, I am using
Kernel 2.2.10):

1. Every time I run the machine, it makes weird sounds. it isn't the
internal speaker - I have already disconnected it. The sound card
isn't it, too - speakers out. My HD makes normally louder sounds, but
out of good reasons I couldn't test the computer without the hard
drive yet. It isn't the CD-ROM, too. This sounds start to occur short
time before the drives are mounted, and are best described as clicks.
Their frequency seems to get higher when there is some PS/2 port
activity. 

Do you know what's up? 

2. I can't compile any code! Sorry to ask such a newbie question, but
what is up there? If I type the normal command ("xmkmf -a" IIRC),
there is always some problem with Imake not finding his own temporary
files. I have tried it as root. 
If I use premade makefiles, make can't use them properly, gives me the
line in which the error is, and quits. Unfortunately, I can't read
this language used by the makefiles at all, so don't ask me to correct
them.
Any help?
--
Steve Wolter
ICQ: 58652584

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

From: "Peter J. Linden" <[EMAIL PROTECTED]>
Subject: Re: Wanted: Mail decoding/printing program or script
Date: Sun, 11 Jun 2000 21:13:56 +0200

Vilmos Soti wrote:

> "Peter J. Linden" <[EMAIL PROTECTED]> writes:
>
> > I am looking for a filter/formatting program that will be able to read
> > and decode an MIME encoded email, so that it will print out neatly
> > without any declarytive statements like content-....
>
> Doesn't metamail do this?
>
> Vilmos

Thanks for the tip, seems to work. My printouts look much better now (even
though the inline html messages are still printed as raw html text).

Ciao, Peter




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

From: "David .." <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy
Subject: Re: vote on MS split-up
Date: Sun, 11 Jun 2000 14:04:13 -0500

Rick wrote:
> 
[snip]
> ... only becasue the governemnt was able to M$ into court, and the
> resulting very real legal threat to M$'s continued existence .

EXACTLY!! No one else has the power to do anything about M$'s evil
tactics.

M$'s way, or else.
^^^^^^^^     ^^^^
Innovate  ^ Destroy

-- 
Registered with the Linux Counter.  http://counter.li.org
ID # 123538

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

From: [EMAIL PROTECTED] (Jim Richardson)
Crossposted-To: comp.os.linux.advocacy
Subject: Re: democracy?
Date: Sat, 10 Jun 2000 23:07:38 -0700
Reply-To: [EMAIL PROTECTED]

On Sat, 10 Jun 2000 16:22:21 GMT, 
 Robert J Carter, in the persona of <[EMAIL PROTECTED]>,
 brought forth the following words...:

>In article <[EMAIL PROTECTED]>,
>       Smitty <[EMAIL PROTECTED]> writes:
>> Mark Wilden wrote:
>> 
>>> Salvador Peralta wrote:
>>> >
>>> > let's remember that the United States is not now, nor has it ever been a
>>> > democracy.
>>>
>>> Yes it is. It's a representative democracy. The people do rule, through
>>> their elected officials (in theory, at least).
>> 
>> You are misinformed on that point, Mark.  Please refer to the U.S.
>> Constitution and the legal definitions of republic and democracy.
>> Smitty
>> 
>> 
>
>I think it it YOU who are being misinformed. Saying a republic is
>cannot be a democracy is like saying an orange can't be a fruit. They
>are not mutually exclusive.
>
>-- 

However, the US, by law, is a Republic, It cannot cease being a Republic
dropping the Constitution, (the document which created it in the first place) 
There is nothing that says it must be democratic. Although it allways has been
to a lesser or greater extent. The Constituton requires that the individual
states have a "Republican form of government", and that the whole US guarantee 
that. Besides, he didn't say that the republic and democratic forms are 
exclusive.

In a democracy, the will of the electors is paramount, in  a Republic, even
if the majority wish to do something, the law prevents them. At least in 
theory. 
 In fact, mob rule is all there is, some places dress it up a little better is
all.


-- 
Jim Richardson
        Anarchist, pagan and proud of it
WWW.eskimo.com/~warlock
        Linux, because life's too short for a buggy OS.


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

From: Akira Yamanita <[EMAIL PROTECTED]>
Subject: Re: Apache 1.3.12 on RH6.2
Date: Sun, 11 Jun 2000 19:54:33 GMT

Terence PIRART wrote:
> 
> I install apache on my RH6.2 server and I start the deamon.
> When I try to access my site typing 'www.mysite.com' I get an 404 error
> but if I type 'www.mysite.com/index.html' I get the page in my browser.
> 
> Maybe there is something wrong in my httpd.conf file, but I can't find
> what.
> 
> Any suggestion would be appreciated
> 
> Terence

Do you have this line in /etc/httpd/conf/httpd.conf?
(/etc/httpd/conf/srm.conf if you use the old config style.)

DirectoryIndex index.html index.htm index.shtml index.cgi

At the very minimum, it should be "DirectoryIndex index.html"
You can check the Apache error log (/var/log/httpd/error_log)
to see what file it's trying to access.

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

From: [EMAIL PROTECTED] (Dances With Crows)
Crossposted-To: comp.os.linux.setup
Subject: Re: Slow Mouse under X
Date: 11 Jun 2000 16:11:24 EDT
Reply-To: [EMAIL PROTECTED]

On 11 Jun 2000 18:46:54 GMT, Ron Gibson 
<<[EMAIL PROTECTED]>> 
shouted forth into the ether:
>Under X it is annoying to use because I have to move the mouse really
>far to get the pointer to move compared to how far I had to move a
>serial mouse or what is needed in movement of the mouse under other OS's
>In checking /etc/XF86Config man page I see nothing to adjust this under 
>the pointer section.
>This is usually referred to as "Tracking Speed" or "Acceleration" under
>other OS's and is adjustable.

AFAICT, this setting is adjustable, but not through editing
XF86Config.  Under KDE, you can adjust mouse tracking and accel. via
kcontrol -> Mouse, and under GNOME, you do the same thing via the GNOME
control panel.  The low-level bits for this can be set/seen with the
XChangePointerControl and XGetPointerControl functions (present with Xlib
in every Linux install.)

-- 
Matt G / Dances With Crows              \###| You have me mixed up with more
There is no Darkness in Eternity         \##| creative ways of being stupid?
But only Light too dim for us to see      \#| Beer is a vegetable.  WinNT
(Unless, of course, you're working with NT)\| is the study of cool. --MegaHAL

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

From: Andreas Grosche <[EMAIL PROTECTED]>
Crossposted-To: comp.compression
Subject: Efficient compression of hard disk partition images ?
Date: 11 Jun 2000 22:26:20 +0200

Trying to compress large (200-1400 MB) image files of entire hard disk
partitions under Linux 2.0.36, I've found both gzip and bzip2 (Lempel-Ziv,
not even mentioning the LZW of "compress" which saves as little as 0.0% on
the largest files) to perform quite poorly on this task (the latter not
unexpectedly, since the bzip2 man page makes an explicit warning about
"low-level disk images" as a source), and I wonder which programs would
use compression algorithms that could be considerably more efficient for
this rather special application.

While zip (2.0.1) reports to achieve much better compression (surprisingly
enough), in fact the resulting file seems to have the exact same size
(except for the additional zip signature) as gzip's creation - here's an
example of repacking gzip (.gz source is 855458955 bytes!) to zip:

# dd if=/mnt/image/devhda1.gz | gunzip | zip - - -9 -v | dd of=/dev/null
1670818+1 records in
1670818+1 records out
...     (in=1401683968) (out=318588025) (deflated 77%)
total bytes=1401683968, compressed=318588025 -> 77% savings
1670818+3 records in
1670818+1 records out

Would be quite impressive - if zip was really doing that much better...

However the last two lines (output from the final dd) tell a different story:

I do not know where the reported compressed file of just 318588025 bytes
actually ends up, for even when zip is explicitly advised to compress
standard input to standard output with the double dashes (this should be
the default anyway), at the end of the pipe there seem to be no savings
for dd to write - or is anything wrong with the above chain of commands ?

At least I don't see any error in there at the moment, especially since

# dd if=/mnt/image/devhda1.gz | gunzip | zip -0 -v | less

shows the uncompressed file passed through these commands, just as expected.

I suppose a simple run-length encoding might do better when compressing
these image files, which in part consist of nothing but large areas of one
and the same fill byte written to them by a format program, and for the
rest contain an admittedly "difficult" mix of mostly binary program files.

The gzip man page mentions "pack" and "compact" as Huffman compressors,
but I have not found their Linux sources (or binaries) available for
download anywhere yet, so I hope someone can let me know where to find
them, or maybe an even more appropriate program available for this job.

Thanks in advance for your replies (also by eMail to the address below) !

Greetinx

Andreas Grosche <[EMAIL PROTECTED]>


P.S.: When using "> target" instead of "| dd of=target", zip fails when
the target is the null device for testing, but it works with a real file:

# dd if=/dos/devhda2.img | zip -9 -v > /dev/null
  adding: -....................................2414+0 records in
2414+0 records out
 s=497583, actual=497614
zip error: Internal logic error (incorrect compressed size)

Does anyone know why one must not send the output to this place by " > ",
when the very same thing works just fine with " | dd of=" ?

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

From: "Tomo Popovic" <[EMAIL PROTECTED]>
Subject: RedHat 6.2, Kppp setup solution!
Date: Sun, 11 Jun 2000 15:13:58 -0500

Enclosed, please find the file that contains all hints I used to solve the
problem with Kppp and Red Hat Linux 6.2.
Please let me know if it is useful and if something needs to be added. Thank
you.

I hope it will help.

Regards,
Tomo Popovic





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

From: David Grogan <[EMAIL PROTECTED]>
Subject: Re: kernel panic, no init found
Date: Sun, 11 Jun 2000 16:39:15 -0400

This was my first kernel compile so I didnt have any previous config files,
but...
The problem was the ELF thing.  I was under the impression that if I
compiled
in support for binaries/misc I didnt need to compile in support for any
other types.
When I went back and read the section again, I realized I was wrong.  After
recompiling
with support for ELF binary format, it worked.  Thanks a lot.

David

Juergen Heinzl wrote:

> In article <[EMAIL PROTECTED]>, David Grogan wrote:
> >I just compiled the full source for kernel 2.2.16, and added an entry in
> >lilo for it.  When I rebooted, it identified all of my hard drives,
> >mounted / read only, then said "kernal panic: no init found, try passing
> >init=".  Has anyone had any experience fixing this?  Is it something
> >that I left out of the compilation, or something that I forgot to do
> >afterwards?  All your help is appreciated.
>
> Use the old kernel, then do a -
> diff /usr/src/linux/.config /usr/src/linux/.config.old
> -
>
> I presume you ran lilo after modifying /etc/lilo.conf and of course
> you need support for the ELF binary format compiled into the kernel.
>
> Ta',
> Juergen
>
> --
> \ Real name     : J�rgen Heinzl                 \       no flames      /
>  \ EMail Private : [EMAIL PROTECTED] \ send money instead /


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

From: Marco Schmidt <[EMAIL PROTECTED]>
Crossposted-To: comp.compression
Subject: Re: Efficient compression of hard disk partition images ?
Date: Sun, 11 Jun 2000 23:18:37 +0200
Reply-To: [EMAIL PROTECTED]

On 11 Jun 2000 22:26:20 +0200, Andreas Grosche
<[EMAIL PROTECTED]> wrote:

>Trying to compress large (200-1400 MB) image files of entire hard disk
>partitions under Linux 2.0.36, I've found both gzip and bzip2 (Lempel-Ziv,
>not even mentioning the LZW of "compress" which saves as little as 0.0% on
>the largest files) to perform quite poorly on this task (the latter not
>unexpectedly, since the bzip2 man page makes an explicit warning about
>"low-level disk images" as a source), and I wonder which programs would
>use compression algorithms that could be considerably more efficient for
>this rather special application.

The compression rate totally depends on the disk's content, one can
hardly make any general statements. Using the programs listed in the
Archive Comparison Test (ACT, a search engine should come up with
homepage), you could find out what works best for /you/. But someone
else with a harddisk full of uncompressed (!) images, or text, or
sampled sound will have different results. A partition full of archive
files (e.g. gzipped tarballs) will not compress at all.

Regards,
Marco

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

From: [EMAIL PROTECTED] (Malcolm Taylor)
Crossposted-To: comp.compression
Subject: Re: Efficient compression of hard disk partition images ?
Date: Sun, 11 Jun 2000 21:15:45 GMT

Andreas Grosche <[EMAIL PROTECTED]> wrote:

>Trying to compress large (200-1400 MB) image files of entire hard disk
>partitions under Linux 2.0.36, I've found both gzip and bzip2 (Lempel-Ziv,
>not even mentioning the LZW of "compress" which saves as little as 0.0% on
>the largest files) to perform quite poorly on this task (the latter not
>unexpectedly, since the bzip2 man page makes an explicit warning about
>"low-level disk images" as a source), and I wonder which programs would
>use compression algorithms that could be considerably more efficient for
>this rather special application.

Try RK, quite slow and memory intensive (using the -mx modes), but it
should give significantly better compression.

http://malcolmt.tripod.com/rk.html

Malcolm

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

Crossposted-To: comp.os.linux.security,comp.os.linux.setup
Subject: Re: Using Linux as a proxy server?
From: <[EMAIL PROTECTED]>
Date: 11 Jun 2000 19:38:19 +0100

[EMAIL PROTECTED] (Uwe Borchert) writes:

> ..[replacing N(eandertaler) T(echnologie) with Linux]...

> >http://www.qmail.org/
> >
> Maybe you need a pop3d to. Look for the right packages. Take a look at:

> Package: cyrus-pop3d
> Package: qpopper
> Package: cucipop

Before you consider qpopper, have a look at the security
advisories that have been published about it.

(It is wise to research other candidates in the same way; 
qpopper doesn't have a monopoly on security holes.)

Note that qmail comes with its own qmail-pop3d.

> Dont forget to kill all unwanted services, disable them in the inetd
> configuration. At least you might only need:
> 
>  * a proxy: squid and/or sockd
>  * a web-filter: internet junk buster (?)
>  * a chaching named: bind8x (?)

Note that some versions of BIND have a remote root vulnerability.
An alternative might be Dan Bernstein's dnscache (http://cr.yp.to/).

Also don't use a standard Red Hat installation. Look at Trustix,
Bastille, or the like. Physically remove any software packages you
don't need.

>  * a smtpd: sendmail 8.9x, smail or qmail

In order of decreasing preference: qmail, postfix, sendmail, exim, smail.

>  * a pop3d or a imapd

Or both.

>  * a httpd: apache

Only if you need it. Apache is not particularly easy to configure,
and security holes are not unheard of. You may be better off placing
it on a different host than the firewall. (Or on two hosts, if you
need both an internal and an external server.)

>  * the sshd for remote login

> disable the ftpd and the telnetd, you dont need them and they are 
> security holes. 

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

From: "Rainer Brosi" <[EMAIL PROTECTED]>
Subject: Programming Server Daemons - FAQ'S ???
Date: Sun, 11 Jun 2000 23:53:18 +0200

Hi,

I want to learn how to programm a daemon, that listens to a specific port
and reports some data of the incoming connections and gives some friendly
words to the client back.

Are there severel FAQ's or other sources of help ???

Best Regards,
Rainer Brosi



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


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