Linux-Misc Digest #299, Volume #27                Wed, 7 Mar 01 04:13:02 EST

Contents:
  help with linux clustering (BEOWULF) (Hung Ngoc Lai)
  Linux and Windows (Onebest1)
  Help! partitioning woes with RH 6.1 (Christoph Kukulies)
  Re: Linux and Windows (=?iso-8859-1?Q?J=FCrgen?= Leeb)
  Multiboot on MS Floppy ([EMAIL PROTECTED])
  printer improvement ("Roland Zumkeller")
  Re: Mode lines for monitor (Yvan Loranger)
  Re: ppp (Daryl Fonseca-Holt)
  Re: vpn and linux ("The Spook")
  Re: Lost my Linux partition - now what? ("Eric")
  Re: Shutdown sequence question (Lew Pitcher)
  Re: Parallel port/printer error (Lew Pitcher)
  Changing Mount ("Katriel Traum")
  Re: Triple Booting? ("Eric")
  Re: Help! partitioning woes with RH 6.1 ("Eric")
  How to close OPENED unused sockets? ("Rick")
  Re: Moving Linux from one hard drive to another ("Eric")
  Re: mount iso read / write [redhat 7.0] ("Eric")
  Re: Switching To Linux From Windows ("Harlan Grove")
  LS-120 syntax in fstab and mtab. ("Mordak")

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

From: Hung Ngoc Lai <[EMAIL PROTECTED]>
Subject: help with linux clustering (BEOWULF)
Date: 7 Mar 2001 02:14:55 GMT

Hi Everyone,

I would like to thank everyone for helping me with setting the new 
netfilter script for my linux box (Redhat 7 with kernel 2.4.2).  The box
is running very smooth without a glitch.  

Now I know more about linux and its capability, I am even more
interested in learning more about it especially the linux clustering
capability.  Let me describe what I would like to achieve and ask
for everyone advice whether it is feasible.

At the moment, I am running RedHat Linux 7 with kernel 2.4.2 as
a gateway (firewall and NAT) on a Pentium 233Mhz/64MB RAM
for my home network which connects to the Internet via a DSL
connection with a static IP address.  I have 3 windows machines 
sitting behind the firewall that connectto the Internet via NAT
from the Linux box.  I am also running ssh server, sendmail, NTP
server and webmin on the gateway.  My brother just gives me his
old PC (200Mhz/64MB RAM) and I would like to use this 
opportunity to learn linux clustering and apply this to the gateway
for redudancy and hopefully many more.

I would like to be able to cluster the 200Mhz/64mb RAM machine
with my current 233Mhz machine.  I am willing to reinstall the whole
thing from scractch in order to learn BEOWULF technology.  The 
way I understand about BEOWULF is that it is similar to 
parallel computing.  Therefore, am I correct in assuming that if one
of the box in a cluster dies, my gateway is still functioning.  Does
it mean that I will have redudancy in the gateway (with the 
exception of the DSL connection).  I would like to learn more about
the hand-on with linux cluster.  Could someone please point me
to the right direction?  

Many Thanks....
David


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

From: Onebest1 <[EMAIL PROTECTED]>
Subject: Linux and Windows
Date: Wed, 07 Mar 2001 06:30:05 -0000

Is there anyway that I can install Linux and Windows on the same machine 
so that when the computer starts up, it asks me which I want to start?  If 
so, what are the downsides (if any) to it?

Thanks
-David

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

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

From: Christoph Kukulies <[EMAIL PROTECTED]>
Subject: Help! partitioning woes with RH 6.1
Date: 7 Mar 2001 06:54:36 GMT

My system has a 40 GB IDE disk. After partitioning it into
a scheme 30 MB /boot, 3.2 GB /, 512 MB swap, 35GB (!) /data
and some trickery to get a 2.2.14 kernel to run it under, 
fsck'ing the 35 GB partition still fails.

Is there a general limit (e.g. 32 GB ?) or do I need a newer
kernel or kernel tools (fsck, mkfs etc.)? 

-- 
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]

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

From: =?iso-8859-1?Q?J=FCrgen?= Leeb <[EMAIL PROTECTED]>
Subject: Re: Linux and Windows
Date: Wed, 07 Mar 2001 07:57:19 +0100

Yes of course.
There is a programm called lilo which is a bootloader. it does exactly
what you want. 
Most linux distributions lead you through the configuration.

Onebest1 schrieb:
> 
> Is there anyway that I can install Linux and Windows on the same machine
> so that when the computer starts up, it asks me which I want to start?  If
> so, what are the downsides (if any) to it?
> 
> Thanks
> -David
> 
> --
> Posted via CNET Help.com
> http://www.help.com/

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

From: [EMAIL PROTECTED]
Subject: Multiboot on MS Floppy
Date: 7 Mar 2001 06:55:51 GMT

I have been able to put six different boot sector programs onto a floppy and
use LILO to choose between them.  I've got this to work "in-principle" on an
MS-DOS formatted 1.4M floppy.

However, Windows cannot read the floppy.  I suspect it's because the LILO boot
sector has overwritten the FAT.

Is there any way around this?

Background information
======================
I have compiled the memtest86 program with six different compilation options,
and have put each of these on the MS-DOS floppy, and adapted the instructions
in Bootdisk-HOWTO to create a boot floppy using LILO.   The booting process
works fine.

However, an attempt to read the floppy with Windows (or Linux) fails.  Further
testing suggests that the act of running LILO is the step that renders the
floppy unreadable (but bootable).  Using an ext-2 formatted floppy works
perfectly.

My motivation for multi-booting on a MS-dos floppy is so I can include
documentation on the floppy that can be read by Windows computers, along with
other Windows utilities.  The intended users of this floppy don't have
Linux.

The memtest86 program is a boot sector, stand-alone program that can be used
on computers regardless of operating system, or (lack of) hard drive.
--
Nick Bishop
Replace "my-deja" with "bigfoot" to reply by email.

 -----  Posted via NewsOne.Net: Free (anonymous) Usenet News via the Web  -----
  http://newsone.net/ -- Free reading and anonymous posting to 60,000+ groups
   NewsOne.Net prohibits users from posting spam.  If this or other posts
made through NewsOne.Net violate posting guidelines, email [EMAIL PROTECTED]

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

From: "Roland Zumkeller" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,linux.debian.user
Subject: printer improvement
Date: Wed, 07 Mar 2001 07:56:49 +0100

Is there a way to improove the printing quality of a HP Laserjet 4L?

I'm using apsfilter, which works. But there are to things that bother me:

1) Fonts (especially small ones) look bad when printing ps files. It seems
that antialiasing is turned off. (Is this possible?)

2) When printing images (or web pages and the like), they appear to be
dithered or rastered (I'm not sure about the correct English term), that
is they consist of quite big points, similiar to newspaper. 

Any help is appreciated, 
Thanks,

- Roland

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

From: [EMAIL PROTECTED] (Yvan Loranger)
Subject: Re: Mode lines for monitor
Date: 7 Mar 2001 07:26:03 GMT
Reply-To: [EMAIL PROTECTED] (Yvan Loranger)

Eric Ho ([EMAIL PROTECTED]) writes:
> Hi,
> 
> Could someone give me the mode lines for my 19" MAG DJ800 monitor ?
> I have been using it for about 2-3 years but I couldn't find the
> manual. Recently, I reinstalled Linux and need the modelines for X.

You probably mean the horiz & vert refresh rates. Try reading the
box or the manufacturer's website. Modelines you can easily compute with
xvidtune. 

--
Merci.........................Yvan     Pour le plein air: Club Vertige
 [EMAIL PROTECTED]     http://www.ncf.ca/vertige

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

From: [EMAIL PROTECTED] (Daryl Fonseca-Holt)
Subject: Re: ppp
Reply-To: [EMAIL PROTECTED]
Date: Tue, 6 Mar 2001 09:17:38 -0600

Address Family 10 is for IP version 6 sockets. You can get rid of the message
by adding:

 alias net-pf-10 off

to /etc/modules.conf. I've never seen the message for family 10, but I already
have alias net-pf-4 off and net-pf-5 off in my modules.conf because I didn't
configure the kernel for IPX or Appletalk DDP protocols.

You can find these definitions in pathtokernelsource/include/linux/socket.h.
They are the AF_(protocol here) macros. This particular one is for AF_INET6.


On Sat, 3 Mar 2001 20:12:59 +0000, Andrew Rounds 
<[EMAIL PROTECTED]> wrote:
>I get the following message in my logfile when I dialup the Internet (using 
>pppd 2.4.0, on kernel 2.4.2)
>
>Mar  3 07:00:01 server1 modprobe: modprobe: Can't locate module net-pf-10
>
>Can anyone tell me what the net-pf-10 module is? 
>
>Thanks
>
>
>

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

From: "The Spook" <[EMAIL PROTECTED]>
Subject: Re: vpn and linux
Date: Wed, 7 Mar 2001 08:49:50 +0100

Wong Ching Kuen Frederick wrote ...
>i have a linux box connected to internet throght leased line. can i setup a
>vpn server on it that i can connect it with my windows 98 client at home?!
>any help will be appreciated.

Depending on what you want to do, you could either connect to with SSH
(Secure Shell) that does encrypted terminal-emulation -- or you might have a
look at PoPToP, a PPTP (Point to Point Tunneling Protocol) server for Linux.

PPTP is natively supported in Windows 95/98/ME/NT/2000, although you must
install it. PPTP works like a virtual dial-up over an existing Internet
connection.

Hope this is what you were after.

  /TRY



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

From: "Eric" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Lost my Linux partition - now what?
Date: Wed, 7 Mar 2001 08:54:08 +0100

> Why not use lilo for mbr in multi-boot systems? I don't personally do that
but
> is there some reason why not?
>

The only reason is what happened to the OP
And since most people don't make bootdisk, it's advised against.

I use it as my main bootloader in the MBR al the time, an like it.

Eric



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

From: Lew Pitcher <[EMAIL PROTECTED]>
Subject: Re: Shutdown sequence question
Date: Tue, 06 Mar 2001 20:48:01 -0500

Fung Wai Keung wrote:
> 
> Hi all,
> 
> I'd like to clarify the shutdown sequence of linux system.  Suppose I boot
> my system into runlevel 4 (I'm building a kiosk system).  When I power
> down system (halt the system), is the following a correct sequence?
> 
> 1. All the K-scripts (eg. K50nfs, K60ypbind, etc) in /etc/rc4.d/ are run
> 2. Jump to runlevel 0
> 3. All the K-scripts (eg. K50nfs, etc) in /etc/rc0.d/ are run
> 4. S00halt script is run
> 5. The message "System halt" is displayed
> 6. The power of the system is cut.
> 
> If the above is not the correct shutdown sequence, would you show me the
> correct one?

 1) shutdown writes it's warning to all logged in users
 2) shutdown signals init to change to runstate 0
 3) init kills the highlevel processes that do not belong to runstate 0
    (this determined by examination of utmp)
 4) init runs the /etc/inittab entries that belong to runstate 0
    one of these entries is the /etc/rc.d/rc.0 script
    4a) rc.0 script runs any SysV init scripts
    4b) rc.0 script kills all remaining processes
    4c) rc.0 script shuts off quota
    4d) rc.0 script shuts off process accounting
    4e) rc.0 records shutdown in wtmp
    4f) rc.0 umounts nft filesystems
    4g) rc.0 turns off swap then umounts local filesystems
    4h) rc.0 sync's filesystems
    4i) rc.0 turns off UPS if UPS powerfail
    4j) rc.0 halts the system

(Wot?? You _don't_ run Slackware?? Shame on you!!)

> If I reboot the system, will the system go to runlevel 6, instead of
> runlevel 0 in steps 3-5?

If you 'shutdown -r', step 2 and following change in that shutdown
signals init to change to runstate 6, and init takes the actions
necessary to switch from the current runstate to runstate 6. 

-- 
Lew Pitcher

Master Codewright and JOAT-in-training
Registered Linux User #112576

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

From: Lew Pitcher <[EMAIL PROTECTED]>
Subject: Re: Parallel port/printer error
Date: Tue, 06 Mar 2001 20:54:31 -0500

"Rodney D. Myers" wrote:
> 
> I had to move my printer from my samba machine (it died) to my Linux
> machine. When I ran Printtool, it found the parallel port, after I
> reran the lpd daemon.
> 
> After a reboot, added another hard drive, the printer does not work.
> 
> After I ran dmesg | more, I get the following error;
> 
> lp0: using parport0 (polling) lp0: on fire

"on fire" is an inside joke (of sorts), derived from the times when a
catastrophic error on a printer might have been that it caught on fire 
;-)

> Any ideas as to what is going on?
> 
> I know that the printer works.


Well, your printer port is asserting certain signals (status info
supposedly from the printer) that leads the parport driver to think that
a catastrophic error has occurred on the printer ("on fire"). You have a
hardware problem, either in the setup of the parallel port (check your
BIOS settings), in the cable to the printer, or in the printer itself.


-- 
Lew Pitcher

Master Codewright and JOAT-in-training
Registered Linux User #112576

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

From: "Katriel Traum" <[EMAIL PROTECTED]>
Subject: Changing Mount
Date: Wed, 7 Mar 2001 10:15:01 +0200

I have a Linux installed on 1 Hard-Drive, with one Partition.
My server runs squid, and the /var/spool/squid, is eating up at my drive
space and speed.
I added a new Hard-Drive to my computer.
Now, is there a way to change the mount for /var to the new disk ( say
/dev/hdb ), and still maintaining all data?

 Thanks,

--
Katriel Traum
Cisco Systems Israel



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

From: "Eric" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,alt.os.linux.suse,uk.comp.os.linux
Subject: Re: Triple Booting?
Date: Wed, 7 Mar 2001 09:19:58 +0100

> i suppose u go out of valid boot clusters,
> i had the same problem with my notebook when (on a 6GB HD) i asked to boot
> with a partition after 2GB of disk...
> depending of the bios u must generally stay under 2 or 4 GB with the
> bootable partitions

No, you should stay under 1024 cylinders.
Newer LILO's (v21.4.3 and above) can use extended int13 calls,
so if your BIOS supports these, even this limit is gone.

Eric



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

From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: Help! partitioning woes with RH 6.1
Date: Wed, 7 Mar 2001 09:21:24 +0100

> Is there a general limit (e.g. 32 GB ?) or do I need a newer
> kernel or kernel tools (fsck, mkfs etc.)?
>

Indeed there was such a limit, get the latest 2.2 kernel, and use that.

Eric



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

From: "Rick" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.unix.programmer,comp.os.linux.networking,alt.os.linux,comp.dcom.net-management,alt.os.linux.mandrake
Subject: How to close OPENED unused sockets?
Date: Wed, 7 Mar 2001 16:19:28 +0800

Hi all,
After running this program netspec (used for traffic generation), it doesn't
close the sockets used.

After exec comd:  #netstat -a | more
i can see that the connections are still ESTABLISHED.

Is there a way to manually close the sockets?


Regards.




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

From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: Moving Linux from one hard drive to another
Date: Wed, 7 Mar 2001 09:32:11 +0100

> I recently added a second hard drive to my computer and, using Partition
> Magic V4, copied all (almost - more about that in a minute) of the Linux
> partitions from the master hard drive (hda) to the new slave (hdb) an
> resized them larger. Then I brought up Linux on hda and mounted the hdb
> copy of the root partition and modified that partition's /etc/fstab and
> /etc/mtab to point to the hdb versions of the partitions (except for the
> 'almost'). I then created a boot floppy with lilo to boot the hdb copy
> of Linux and it came up OK.
>
> First question: This almost seems too easy. Is that all there is to it?

Yes, nice heh :-)
(But check with `mount` that no hda partitions are used)

> I want to delete the hda Linux partitions so that I can increase the
> Win95 and OS/2 partitions I have on the first drive but I don't want to
> do it until I'm sure there isn't some problem lurking in some hidden
> corner.

The hidden corners belong to windows, not to linux ;-)

> Second question: The 'almost' I referred to was the swap partition.
> Partition Magic has documentation that says it has full support for
> Linux ext2 and swap partitions. Except, it seems, that you can't do
> anything with a Linux swap partition except delete it. Partition Magic
> had all other options greyed out or missing regarding swap partitions.
> Couldn't copy, move, resize or create a Linux swap partition. So, for
> now, Linux on hdb is pointing to the swap partition on hda. How can I
> create a Linux swap partition without making Partition Magic think that
> the partition table is corrupt? Creating a partition with Linux fdisk
> won't do. That leaves the entire disk "bad" to Partition Magic and
> results in fdisk for OS/2, DOS and Win95 useless even for the other hard
> drive. All three fail to come up once you've used Linux fdisk to create
> a partition.

Then you do something wrong
I have absolutely no problem with any DOS/Win98/WinNT on partitiontables
created
solely with the help of linux' fdisk. (I don't have OS/2, but it should not
be different)

You must however take in consideration that PM is very strict on what is
allowed in
a partition table. As long as you stick to those restrictions, you're OK.
Usually it's just so that different CHS values are used. Check what PM uses,
and verify
that linux thinks the same. If not, don't use linux fdisk.

If they are equal, use cfdisk (instead of fdisk).

Eric



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

From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: mount iso read / write [redhat 7.0]
Date: Wed, 7 Mar 2001 09:36:46 +0100

> I wish to mount an existing ISO from a cd in readwrite mode.

You can't

> cat /dev/cdrom > test.iso (works)
> mount -t iso9660 -o loop test.iso /dev/iso (works)
> mount -t iso9660 -o loop=/dev/loop0,rw /dev/iso (mounts read, but not
write)
> mount test.iso /mount/iso -o loop,rw (same issue)
>
> when I try to mkdir
> "mkdir: cannot create directory `/mnt/iso/test': Read-only file system

iso9660 FS is fixed once created.

> Running redhat 7.0 with the helixgnome add-on.
>
> Object.  Need to create a NT workstation 4.0 CD, replacing the existing
> atapi.sys with an updated version so it doesn't crash when you try to
> install NT, while keeping the backup bootable.  Most honorable actually.
>
> What am I doing wrong?

You try the impossible.
The correct approach would be to make a new iso9660 FS with the replaced
file

check out mkisofs

Eric



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

From: "Harlan Grove" <[EMAIL PROTECTED]>
Subject: Re: Switching To Linux From Windows
Date: Wed, 07 Mar 2001 08:55:46 GMT

[EMAIL PROTECTED] (Michael Perry) wrote:
> On 7 Mar 2001 03:51:00 GMT, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> wrote:
>>
>>What is the advantage of using Linux over Windows. I am pretty new at
>>this but am fed up with certain windows problems. Any help would be
>>appreciated.
>>
>>==================================
>>Posted via http://nodevice.com Linux Programmer's Site
>
>Well, there are several.  If you want freedom from the grind of
>hardware and software upgrades that are foisted upon you by people who
>make you spend more and more and you get less and less, you should look
>into Linux.  If you want to take a stand, endorse the ideas and
>philosophies of free software, step on up to the Linux side.  If you
>want to play with an operating system which offers learning, education,
>entertainment, and some really great folks, then there is room.  
>
>There are lots of reasons to leave windows.  What is your reason for
>choosing Linux?  Be honest here.  What are you expecting from your
>Linux experience?

Caveat: if the OP chooses an RPM-based distribution, s/he faces the
potential of RPM Hell, the Linux equivalent of Windows DLL Hell.
Debian-based distributions may do a better job, but over a dial-up
connection I'd bet updating is somewhat arduous.

To the OP: what do you want to do? Linux crashes less often than
Windows, but that won't matter if you can't find a Linux equivalent to
some Windows application you need/want.


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

From: "Mordak" <[EMAIL PROTECTED]>
Subject: LS-120 syntax in fstab and mtab.
Date: Wed, 7 Mar 2001 04:11:25 -0500

I have an LS-120 that I want to get working in SuSE 7.1 it is my /dev/hdd
so, I would like to know what the proper syntax is to insert this in my
fstab and mtab files.

fstab was:
/dev/hdd    /floppy    vfat    defaults 0 0

I can't remember what my mtab was. That seemed to work  under SuSE 7.0 but
not now under 7.1.
Any help is appreciated,
Mordak




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


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