Linux-Misc Digest #30, Volume #27                 Mon, 5 Feb 01 12:13:03 EST

Contents:
  setup issue:  boot partition size too big ("Jeremy Paiz")
  Re: print screen (JM)
  Re: Disk space not marked as free? ("Julius Longauer")
  Re: Which Linux distribution is best? ([EMAIL PROTECTED])
  Linux for a Portable Dell ("Angel Belda")
  Re: Free internet phone calls for Linux ?  Net2Phone ? (Tim Limbert)
  lynx -source give Authorization Error (Bosco Tsang)
  Ipchains DROP target reporting with 2.4.x kernel (Robert Lynch)
  Won't compile anymore!!! ([EMAIL PROTECTED])
  Re: setup issue: boot partition size too big (Mike E.)
  GPL ([EMAIL PROTECTED])
  Re: GPL ([EMAIL PROTECTED])
  How to debug sporadic system crash? (Juhani Jaakola)
  dhcp working with mail & samba (Ron)
  Re: open_ssl question (Mark Hahn)
  Z52 ("lenny")
  Re: Can't umount (Eric P. McCoy)

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

From: "Jeremy Paiz" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.questions
Subject: setup issue:  boot partition size too big
Date: Mon, 5 Feb 2001 10:46:55 -0500

i am trying to setup redhat linux 6.2 on a dual boot system which currently
is running windows on the first partition of size 33gb.  in linux setup when
it comes time to partition i get an error complaining that the boot
partition size is too big, even with the minimum size of 1mb.  i have
learned that the reason is because the boot partition must reside before the
1024 sector of the machine.  my questions are, and keep in mind that this is
my first endeavor with linux:

  1) how do i do this, and
  2) will this affect windows on the first partition ?

i would like to avoid starting from scratch, i.e. re-installing windows,
because the computer is shared among several users, and information loss
would probably imminent.  originally, there was a single partition running
windows.  my steps up to this point were as follows:

  a) defragment drive c: from windows
  b) split the partition into 2 partitions using the fips utility
     (existing one ~33gb running windows, and a new one ~5gb for linux)
  c) in linux setup, delete the newly created partition
  d) partition for linux

thanks in advance for any help.

--

________________________________________________________________________

  JEREMY M PAIZ
   Software Engineer
   Research & Development Division

   Welding Technology Corporation
   24775 Crestview Court
   Farmington Hills MI  48335-1507

    Email:  [EMAIL PROTECTED]
      Web:  http://www.weldtechcorp.com
    Phone: (248) 477-3900 x3362
      Fax: (248) 477-8897
   Mobile: (248) 568-1592





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

From: JM <[EMAIL PROTECTED]>
Subject: Re: print screen
Date: Mon, 05 Feb 2001 16:54:15 +0100

Michael Heiming wrote:

> I don't know which window manager you use, 
I use WindowMaker
        JM

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

From: "Julius Longauer" <[EMAIL PROTECTED]>
Subject: Re: Disk space not marked as free?
Date: Mon, 5 Feb 2001 17:00:16 +0100

Fritz <[EMAIL PROTECTED]> writes:
> Hi,
>
> I got the following problem:
> Having two Linux partitions, one at moutpoint '/' (hda9) and one at '/usr'
> (hda13), it appears that my root partition was filled up to 87%, so I
> decided to move the '/opt' directory (580mb) to a newly created partition.
> I did it like this:
> 1. move /opt to a spare place
> 2. delete /opt
> 3. create new /opt (md)
> 4. add new partition to mountpoint /opt
> 5. copy back old /opt /... to new
> I expected to have my disk usage for hda9 thus lowered by 580M, about 50%
> of the partition, however df still shows 87% of usage. On the other hand,
I
> see 34% usage on hda12, the new partition.
> I verified that /opt now resides on hda12 (it does) and counted up
manually
> the values given by du for hda9 (which now are really about  300M), so I
am
> suspecting that the disk usage for hda9 is not correct.
> Can anybody advise me ? I am not an experienced Linux user and might have
> done something wrong.  How can I get rid of this? Are there any utilities
> to map directories and free space to partitions?
>
Let's guess: The whole contents of your former /opt directory is still there
on hda9 and consumes disk space but you (and du) can't see it while hda12 is
mounted. So umount hda12 and look if there are any files in it.

Julius






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

From: [EMAIL PROTECTED]
Subject: Re: Which Linux distribution is best?
Date: Mon, 5 Feb 2001 15:38:52 +0000

Peter T. Breuer <[EMAIL PROTECTED]> did eloquently scribble:
> Arctic Storm <[EMAIL PROTECTED]> wrote:
>>> I have a P133 with 32MB RAM and 10G HD, but my System Bios has this 8.4
>>> Gig barrier. I am not getting BIOS upgrade for the motherboard. When I
>>> try to install Win 98, at the time of installation, the scandisk
>>> freezes the machine.
>>> Would I have the same problem with Linux too? If not, which

>> 32 MB RAM isn't going to cut it.
>> Either add 32 more to get total of 64, or give up.

> I have a P100 with 32MB ram running everything just fine, including X.
> (that's slackware 7, though debian 2.2 is also possible).

> Come to that, I have a 486sx50 with 8MB ram also doing fine. Also with
> X - but it just runs as a terminal. That's slackware 3.0.

Yeh! This arctic storm seems to be nothing but a bit of hot air.
I started out on Linux with a 486 with 8 megs of RAM!
(And I wrote my final year project and project report on that (In
Wordperfect 8 no less)).

Some people seem to talk a lot of bull when it comes to minimum requirements
these days.
-- 
______________________________________________________________________________
|   [EMAIL PROTECTED]   | "I'm alive!!! I can touch! I can taste!         |
|Andrew Halliwell BSc(hons)|  I can SMELL!!!  KRYTEN!!! Unpack Rachel and    |
|            in            |  get out the puncture repair kit!"              |
|     Computer Science     |     Arnold Judas Rimmer- Red Dwarf              |
==============================================================================

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

From: "Angel Belda" <[EMAIL PROTECTED]>
Subject: Linux for a Portable Dell
Date: Mon, 5 Feb 2001 16:46:39 +0100

        Do you know if I am going to have any problem to install RedHat 6.2
with XWindow support.


        Thanks



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

From: [EMAIL PROTECTED] (Tim Limbert)
Subject: Re: Free internet phone calls for Linux ?  Net2Phone ?
Date: 5 Feb 2001 15:51:23 GMT

Arctic Storm <[EMAIL PROTECTED]> wrote in 
<DWWe6.4900$[EMAIL PROTECTED]>:

>Free internet phone calls for Linux ?  Net2Phone ?
>I think Net2Phone is a great service.  You can make phone calls with a 
>computer for free, and because I have DSL, the quality is almost perfect.
>However, I was not able to find Net2Phone client for Linux.
>Does anyone know of free internet phone service for Linux?
>
>
>

They don't even have one for Mac, yet.

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

From: Bosco Tsang <[EMAIL PROTECTED]>
Crossposted-To: comp.infosystems.www.browsers.misc
Subject: lynx -source give Authorization Error
Date: Mon, 05 Feb 2001 16:17:14 GMT

I am trying to use the "lynx -source
http://localhost/testing.cgi?id=123q23&text=abdd" to get the source for the
query result. It works sometime (and the url works on Netscape and IE all the
time), but other times it will give the following error. Strangely enough,
for the error, there is nothing logged in the error log. Just wonder what's
the problem here?  Any idea on how to fix this?

-- <table border=0> <tr><td bgcolor="#ffffcc"> <!DOCTYPE HTML PUBLIC
"-//IETF//DTD HTML 2.0//EN"> Authorization Required This server could not
verify that you are authorized to access the document requested. Either you
supplied the wrong credentials (e.g., bad password), or your browser doesn't
understand how to supply the credentials required.

</table>

--
/+++++++++++++++++++++++++++++++++++++++++
WARNING: Spam & Junk Mail Protection strictly enforced
Unsolicited Mail will be handled via http://spamcop.net
+++++++++++++++++++++++++++++++++++++++++/


Sent via Deja.com
http://www.deja.com/

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

From: Robert Lynch <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Ipchains DROP target reporting with 2.4.x kernel
Date: Mon, 05 Feb 2001 16:33:56 GMT

Hiya-

I am using an old box as a firewall on my home system, it has a
2.4.x kernel, and uses netfilter and the simple masq script from:

http://netfilter.kernelnotes.org/unreliable-guides/NAT-HOWTO-4.html

together with an added set of targets:

iptables -N logit
iptables -A logit -j LOG --log-level warning --log-prefix "logit:
"
iptables -A logit -j DROP

so I can pick off the nature of DROP'ed packets.  This dumps
output into messages, which I then parse with the following Perl
script I wrote:
==
#!/usr/bin/perl -w
# Perl Cookbook, pp. 282-3
use Socket;
# Perl Cookbook, pp. 646-7 (socket stuff)
# location of log to check
my $log = "/var/log/messages";
# string which marks firewalling DROP msg.
my $log_string = "logit:";
my ($line_in,$line,$name);
my @fields;
open VARLOG, $log or die "Can't open log: $!\n";
for (;;) {
    while (defined ($line_in = <VARLOG>)) {
        chop $line_in;
        # remove dangerous characters
        # per "Effective Perl Programming, p.145"
        $line_in =~ tr/\0-\037\177-\377//d;
        $line_in =~ s/(['\\])/\$1/g;
        $line_in =~ /(.*)/;
        $line = $1;

        @fields = split(/ /, $line);
        if($line =~ /$log_string/) { 
            print "DROP: ";
            # do IP -> name lookup
            my ($src_ip) = map { /SRC=(.*)/ } @fields;
            my ($my_port) = map { /DPT=(.*)/ } @fields;
            # find protocol
            my ($proto) = map { /PROTO=(.*)/ } @fields;

            $name = gethostbyaddr(inet_aton($src_ip), AF_INET)
                or die "Can't look up $src_ip: $!\n";
            print "$fields[0] $fields[2] $fields[3]";
            print " $proto from: $name to port: $my_port";
            print "\n";
            }
        }
    # sleep 10 sec., then update to end of log
    sleep 10;
    seek(VARLOG, 0, 1);
}
====
(Perl gurus: OK, enjoy your laugh, but remember, TMTOWTDI.)

Here's some sample output after testing my "shields" with the
scans at:

https://grc.com/x/ne.dll?bh0bkyd2

===
...
DROP: Feb 4 21:48:26 TCP from: shieldsup.grc.com to port: 113
DROP: Feb 4 21:48:39 TCP from: shieldsup.grc.com to port: 139
DROP: Feb 4 21:48:42 TCP from: shieldsup.grc.com to port: 139
DROP: Feb 4 21:48:50 TCP from: shieldsup.grc.com to port: 139
DROP: Feb 4 21:49:02 TCP from: shieldsup.grc.com to port: 143
DROP: Feb 4 21:49:05 TCP from: shieldsup.grc.com to port: 143
...
===
Just thought this might interest some people.  Thanks to Linus,
the kernel krew, Rusty Russell and all the other Linux people for
a great new shiny kernel!

Bob L.
-- 
Robert Lynch-Berkeley CA [EMAIL PROTECTED]

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

From: [EMAIL PROTECTED]
Subject: Won't compile anymore!!!
Date: Mon, 05 Feb 2001 16:25:54 GMT

I have a RedHat 7.0 machine with all the latest upgrades (run
updateAgent everyday or so).

I can't compile my kernel anymore...(use to be able just fine)

The first time I tried, I got ./arch/i386/boot does not exist so I
created it.

make Xconfig works
make clean/dep/bzImage won't work.

I get the "can't find rule" every time.


I have looked up and down the Makefile and clean, dep, and bzImage are
nowhere to be found. No rules
are defined.  Should I use the kernel from kernel.org ? and see if that
works? does it have the Makefile
in it?

What could have happened?

Thanks

I beleive I have the 2.2.16-22 kernel.


JF Bertrand


Sent via Deja.com
http://www.deja.com/

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

From: Mike E. <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.questions
Subject: Re: setup issue: boot partition size too big
Date: Mon, 05 Feb 2001 16:26:47 GMT

In article <95mi0f$l0q$[EMAIL PROTECTED]>,
  "Jeremy Paiz" <[EMAIL PROTECTED]> wrote:
> i am trying to setup redhat linux 6.2 on a dual boot system which
currently
> is running windows on the first partition of size 33gb.  in linux
setup when
> it comes time to partition i get an error complaining that the boot
> partition size is too big, even with the minimum size of 1mb.  i have
> learned that the reason is because the boot partition must reside
before the
> 1024 sector of the machine.  my questions are, and keep in mind that
this is
> my first endeavor with linux:
>
>   1) how do i do this, and
>   2) will this affect windows on the first partition ?
>
> i would like to avoid starting from scratch, i.e. re-installing
windows,
> because the computer is shared among several users, and information
loss
> would probably imminent.  originally, there was a single partition
running
> windows.  my steps up to this point were as follows:
>
>   a) defragment drive c: from windows
>   b) split the partition into 2 partitions using the fips utility
>      (existing one ~33gb running windows, and a new one ~5gb for
linux)
>   c) in linux setup, delete the newly created partition
>   d) partition for linux
>
> thanks in advance for any help.
>
> --
>
>
________________________________________________________________________
>
>   JEREMY M PAIZ
>    Software Engineer
>    Research & Development Division
>
>    Welding Technology Corporation
>    24775 Crestview Court
>    Farmington Hills MI  48335-1507
>
>     Email:  [EMAIL PROTECTED]
>       Web:  http://www.weldtechcorp.com
>     Phone: (248) 477-3900 x3362
>       Fax: (248) 477-8897
>    Mobile: (248) 568-1592
>
>
Your options are; resize and move your windows partition so that you can
create a small boot partition before it, boot linux from a floppy drive,
or use one of the Linux Loaders that is not limited by the 1024 sector
issue.  (Choosing which one of those to use is almost as complicated and
involved as choosing which distribution you want to use.)

Mike
--
Support provided by Linuxgruven, Inc.
http://www.linuxgruven.com
314-727-0918


Sent via Deja.com
http://www.deja.com/

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

From: [EMAIL PROTECTED]
Subject: GPL
Date: Mon, 05 Feb 2001 16:44:57 GMT

Hi,

According to the GPL, is it legal for a company to release an RPM (or
some other form of binaries) for Linux without the source code?

Thanks,
  -- John


Sent via Deja.com
http://www.deja.com/

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

From: [EMAIL PROTECTED]
Subject: Re: GPL
Date: Mon, 05 Feb 2001 16:51:29 GMT

[EMAIL PROTECTED] wrote:
> Hi,

> According to the GPL, is it legal for a company to release an RPM (or
> some other form of binaries) for Linux without the source code?

> Thanks,
>   -- John

Yes, but they have to make the source available upon request, I believe
(though I am not a lawyer).

Adam


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

From: Juhani Jaakola <[EMAIL PROTECTED]>
Subject: How to debug sporadic system crash?
Date: Mon, 05 Feb 2001 18:54:34 +0200

Our Linux system has run well for many months, but now it has rebooted
by itself four times in ten days. I have looked at the logs at /var/log,
but there is nothing unusual - suddently the log shows that the system
is coming up. There are no messages of the system going down.

The system has only a moderate load. It servers WWW pages for six
domains with Apache and hosts a mailing list with Majordomo and
sendmail. It's a fairly normal Red Hat 6.1 installation.

I suspect that the rebooting is caused by a small power outage, but
there are several other computers using the same power outlet, and the
Linux system is the only computer suffering from reboots. There is no
UPS, however.

Another reason would be kernel panic. I have never seen Linux panic, so
I don't know if panic reboots or halts the system. And should panic
leave a trace/dump somewhere?

Is it possible that a hacker reboots the system from outside, with no
messages written in system logs when the system goes down?

Any ideas how should I continue debugging?

Here are some excerpts from dmesg describing hardware:

Linux version 2.2.12-20 ([EMAIL PROTECTED]) (gcc version
egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #1 Mon Sep 27 10:40:35
EDT 1999
Detected 334095623 Hz processor.
Memory: 127616k/131072k available (1008k kernel code, 412k reserved,
1640k data, 64k init)
CPU: Intel Pentium II (Deschutes) stepping 01
(scsi0) <Adaptec AHA-294X Ultra SCSI host adapter> found at PCI 12/0
Adding Swap: 136512k swap-space (priority -1)



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

From: Ron <[EMAIL PROTECTED]>
Subject: dhcp working with mail & samba
Date: Mon, 05 Feb 2001 11:54:27 -0500

I've set up a RedHat 6.1 machine with dhcp (pump-0.7.2-2).  It works
fine except that I can't send email (it requires a valid sender address)
and I can't print to a samba-based printer.  I can make email & the
samba printer work by manually setting the hostname to the assigned ip
address.  This works ok because the box is running continuously and
keeps the same ip address, but it seems contrary to the whole idea of
dhcp!  What am I missing?

Thanks in advance!
Ron

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

From: Mark Hahn <[EMAIL PROTECTED]>
Subject: Re: open_ssl question
Date: 5 Feb 2001 16:57:40 GMT

>> I have just installed open_ssl on my Redhat 6.0 system. Everything goes OK.
>>
>> But I don't really understand the background of  SSL except that it gives
>> secure sockets. So I'm still wondering what certificates are and if they are
>> really required for just running SSH. My real purpose is to just run SSH so
>> I can tap into a Linux box securely over the internet.

you can do ssh without ssl.

>> QUESTIONS: If all I want is SSH do I have to fill in all of the certificate
>> items in openssl.cnf? For example there is [CA_default],

no.

> perhaps you made a mistake or you are mixing things up, SSL and SSH are two
> different things

no, he's not as confused as you think: openssh requires an ssl
implementation.  I have the impression this is for ssl2, though,
since the old, non-open ssh didn't require an ssl implementation.

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

From: "lenny" <[EMAIL PROTECTED]>
Subject: Z52
Date: Mon, 05 Feb 2001 17:03:28 GMT

Hey...

Anyone tried the Lexmark z52 on
redhat or mandrake or any dist.
If you have it working please let
me know so i know there is still hope.
I have the driver from lexmark
it tries to work but can't find
the printer. if i use another
driver it sends info to the printer,
bad info but it is sending something.
Any special instructions??

Thanks
lenny

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

Crossposted-To: comp.os.linux.hardware
Subject: Re: Can't umount
From: [EMAIL PROTECTED] (Eric P. McCoy)
Date: 05 Feb 2001 12:05:23 -0500

Dedicated to all Manson Fans <[EMAIL PROTECTED]> writes:

> When I try try to umount /dev/hda5 (mount-point: /usr) Iget the error
> message 'device is busy'. This happens anytime, on shutting down,
> rebooting or manual umounting (mad sentence, sorry for my english).

It means some file is open for (at least) reading.  You can tell
umount to remount the FS read-only if it can't just unmount it:
`umount -r /usr'.  This will mark the FS clean so you at least don't
have to wait through a lengthy e2fsck.

Check also the order in which things are unrolled (i.e., any FSes
mounted above /usr that aren't being umounted properly or first).

-- 
Eric McCoy <[EMAIL PROTECTED]>
  "Knowing that a lot of people across the world with Geocities sites
absolutely despise me is about the only thing that can add a positive
spin to this situation."  - Something Awful, 1/11/2001

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


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