Linux-Misc Digest #220, Volume #26                Fri, 3 Nov 00 12:13:04 EST

Contents:
  Re: help with nfs ([EMAIL PROTECTED])
  Re: please help! relaying error ("Peter T. Breuer")
  Re: Help me choose the best fileserver OS for a Compaq proliant server. (Mike Avery)
  Routing problem ("Harald Baier")
  Re: Copy CD to hard disk (Villy Kruse)
  Video Driver ("K")
  Re: LinkSys betrayed us! Poor prospects for Linux. ([EMAIL PROTECTED])
  Looking for web-based e-mail checker for linux ("J.R. Farrar")
  Re: localtime & zoneinfo (John Wingate)
  Re: Detect number of CPU's from within a program? ([EMAIL PROTECTED])
  Re: LinkSys betrayed us! Poor prospects for Linux. ("Neal R. Champion")
  device is busy & filesystem issues (J. Roe)
  Re: Duplicate a DOS floppy disk (XWinger)
  Re: Linux virus software (Jim Bonnet)
  installation of KDE2.0 disables Gnome using GDM (Juergen Helmers)
  How to add attachments to  files using Mail ([EMAIL PROTECTED])
  Re: How to add attachments to  files using Mail (Grant Edwards)
  tail seems to sleep ("dick dijk")
  Re: changing passwd in script (NAVARRO LOPEZ, =?iso-8859-1?Q?Jes=FAs?= Manuel)
  Re: How to add attachments to  files using Mail ("Peter T. Breuer")

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

Crossposted-To: comp.os.linux.setup
From: [EMAIL PROTECTED]
Date: Fri, 03 Nov 2000 09:02:31 -0500
Subject: Re: help with nfs

In <8tujcf$qck$[EMAIL PROTECTED]>, on 11/03/00 
   at 02:50 PM, Joshua Baker-LePain <[EMAIL PROTECTED]> said:


>Good luck.

Excellent! _Exactly_ what I needed. 

Your instructions look great and I hadn't seen that rather competent
HOW-TO before. Between your summary and the HOW-TO, I should be mounted,
so to speak, in no time!

Thanks; I'll report back with my success....

F.

===========================================================
     Felmon John Davis    
     Union College /  Schenectady, NY
     os/2 - ma kauft koi katz em sack
===========================================================


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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: please help! relaying error
Date: 3 Nov 2000 15:14:49 GMT

ATITUS <[EMAIL PROTECTED]> wrote:
: I get a relaying error when trying to send email from a Java program on
: a RedHat server to my company's Exchange server. If I use sendmail
: command, the message goes through without a problem. I have tried using
: the root user and the problem persists. Any suggestions?

Post the error? You have the advantage on us. Error messages are
usually rather informative! Also post the command you are using to
mail out with. Do I understand you to mean that you are using java 
sockets to connect directly to your company's server?


Peter

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

From: [EMAIL PROTECTED] (Mike Avery)
Crossposted-To: 
comp.unix.bsd.freebsd.misc,comp.unix.bsd.netbsd.misc,comp.unix.bsd.openbsd.misc
Subject: Re: Help me choose the best fileserver OS for a Compaq proliant server.
Date: Fri, 3 Nov 2000 08:33:54 -0700

In article <oQ7I5.10143$[EMAIL PROTECTED]>, 
[EMAIL PROTECTED] says...
> Hi,
> 
> I am not trying to start a religious war here. I am simply trying to decide
> on the best platform to choose for my particular application. I come from a
> Windows NT background, so I can't say I know much about Unix. Last time I
> touched Unix, it was SunOS 4.x (if that qualifies as unix :). I played with
> Linux a bit, but not enough to appreciate what it has to offer.
> 
> Anyway, I want to build the highest throughput file server I can manage. I
> don't care about web capabilities, I don't care about database performance.
> I just want to be able to receive and spit out files fast. I don't even care
> if it runs DOOM. :)
> 
> So here is my question:
> 
> In view of my hardware (Compaq Proliant 4-way or 8-way Xeon server, gigabit
> NICs, about 1 GB of ram, Compaq disk array controller (possibly
> fibrechannel).. which OS would support this hardware the best? Since I don't
> see drivers for any of the BSD* OSs on the Compaq web site, do I need to
> rule out BSD? Also, what about SMP support?
> 
> As a background, the current implementation uses Windows NT 4.0. The gigabit
> NICs have only had a 10% usage max, so I believe that the current bottlenect
> is the server and not the network. The average client load is about 40
> clients, with peaks of about 150 clients. The server serves various sized
> files, from 1 byte to 500 MB.

Damn near anything can be a bottleneck... but I saw two things missing 
from this discussion.  One is... what makes you think the current 
performance is bad?  40 to 150 clients is not usually considered a heavy 
load, depending on what they are doing.  With the sort of hardware you 
are talking about, any of the OS's you mention should be able to deliver 
respectable performance.  In fact, the hardware is probably overkill.

It is worth noting that NT has had some ongoing problems with gigabit 
ethernet performance.  You might be better off with 4 100mbps cards than 
a gigabit card under NT.  I'm not sure if these issues have been resolved 
with W2K.  NetWare, FreeBSD, Linux, and other platforms have all been a 
good 30% faster with gigabit ethernet than NT.  However, if you are 
seeing 10% network utilization, it's not likely you're hitting that 
limitation.

Another thing missing from the discussion is NetWare.  If what you want 
is print and file services, and you want them fast, that is an excellent 
way to go.  While NetWare isn't the best choice as an application server, 
that wasn't the original question.  And while NetWare doesn't make good 
use of multiple processors, it also doesn't need to for print and file 
services.

Mike

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

From: "Harald Baier" <[EMAIL PROTECTED]>
Subject: Routing problem
Date: Fri, 3 Nov 2000 16:25:08 +0100

Hi there!
I am a newbie to networking, but I have to configure a linux box with two
DMZ�s and MASQUERADING!
I have 5 official IP-Adresses: 212.122.23.70 and 212.122.23.104 to 107
Now I have 4 Network devices:
eth0: 212.122.23.70 (INTERNET), eth1:212.122.23.107 (DMZ1),
eth2:212.122.23.105 (DMZ2), eth3:10.1.0.250 (LAN)
and 212.122.23.106 is the Server#1 in DMZ1 and 212.122.23.104 is Server#2 in
DMZ2

My Kernel IP routing table looks something like:
212.122.23.0    *    255.255.255.0    U    0    0    0    eth0
212.122.23.0    *    255.255.255.0    U    0    0    0    eth1
212.122.23.0    *    255.255.255.0    U    0    0    0    eth2
10.1.0.0            *    255.255.0.0        U    0    0    0    eth3
loopback           *    255.0.0.0            U    0    0    0    lo
default                212.122.23.1    0.0.0.0    UG    0    0    et0

I can ping from the inside LAN to the Internet
I can ping from the linux box to the Internet
I can�t ping the Servers from the LAN, neither from the linux box
I can�t ping anything from the Servers


Thanks for your replys!!

Harald




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

From: [EMAIL PROTECTED] (Villy Kruse)
Subject: Re: Copy CD to hard disk
Date: 3 Nov 2000 15:44:07 GMT

On Fri, 03 Nov 2000 14:34:53 GMT, Frank Reifenstahl <[EMAIL PROTECTED]> wrote:

>
>> is /cdrom mounted on a msdos partition?
>
>No. On a ext2.
>

Shouldn't matter though.  Once mounted it is iso9660 file system for
everything below the mount point, and the type of file system that
contains the directory you mount on doesn' matter.


What does matter is which extension if any the CD file system is
created with.  Is it RockRidge, (win9x, what is that called again?)
or pure iso9660.  Then you have several mount options, such as
map=o/map=n, conv=a/conv=b/conv=m/conv=t, check=r/check=s

Check the man page for mount for more details.




Villy

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

From: "K" <[EMAIL PROTECTED]>
Crossposted-To: 
alt.linux,comp.os.linux.admin,comp.os.linux.hardware,comp.os.linux.redhat,comp.os.linux.x.video
Subject: Video Driver
Date: Fri, 03 Nov 2000 15:44:41 GMT

Has anyone got a clue on how to make a generic AGP video card with an
SIS6326 chip. It's not a new card. The closest I can get is getting xwindows
up to what is a blank screen, usually blue or green, and sometimes with a
vertical line from top to bottom for the mouse.

[EMAIL PROTECTED]



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

From: [EMAIL PROTECTED]
Subject: Re: LinkSys betrayed us! Poor prospects for Linux.
Crossposted-To: comp.os.linux.hardware,comp.os.linux.networking
Date: Fri, 03 Nov 2000 15:31:03 GMT

In comp.os.linux.hardware [EMAIL PROTECTED] wrote:
: i agree 100%. i was conned into buying the LNE100TX for the same reason.
: "linux tested " - yeah, right! my foot!! went through the same steps but
:  still havent been able to configure the damn card.
: could SOMEBODY pls. provide a step-by-step approach to this
: problem...dont want to give up on linux. not just yet...

Do a deja search on me for something titled "LNE100TX success" or "Linksys
success" - forget exactly which.

-- 
   Jeff Gentry  [EMAIL PROTECTED]  [EMAIL PROTECTED]
"You're one of those condescending UNIX users! ...."
"Here's a nickel kid ... get yourself a real computer."

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

From: "J.R. Farrar" <[EMAIL PROTECTED]>
Subject: Looking for web-based e-mail checker for linux
Date: Fri, 3 Nov 2000 10:50:16 -0500

Anyone know where I can find a down and dirty e-mail interface using a web
server on my Redhat box? Just need one that will simply let me log in and
check/delete/compose mail. Security is not a concern for this box and
connection.

Thanks.



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

From: John Wingate <[EMAIL PROTECTED]>
Subject: Re: localtime & zoneinfo
Date: Fri, 03 Nov 2000 16:07:37 GMT

Micer <[EMAIL PROTECTED]> wrote:
> I am just learning about localtime and how it links to a time zone to keep
> download files at the correct date/time stamp. But an associate tells me
> that Linux can't run properly without a localtime, ie: it will put in the
> wrong time for everything.

File timestamps are always kept in UTC; localtime is irrelevant. 
Display of file timestamps by (for example) ls uses library functions
to translate the UTC times to whatever you have set as your local
timezone.  You can even override the system's idea of local time by
setting the TZ environment variable[1], as in:

   $ ls -l xxx
   -rw-r--r--   1 jww      jww             0 Nov  3 10:43 xxx
   $ TZ=HST ls -l xxx
   -rw-r--r--   1 jww      jww             0 Nov  3 05:43 xxx

(I am in the US/Eastern time zone.)

Linux runs on UTC.  Human users like to see the local time, so there is
provision for that, as just illustrated.  Your associate is confused. 
It's not that the wrong time is put for everything, merely that the
wrong time (from your point of view) is displayed.

[1] If you have an account on a machine in another time zone, you can do
this to get times displayed in your own local time.

-- 
John Wingate             Language serves three functions.  One is to
[EMAIL PROTECTED]     communicate ideas, one is to conceal ideas, and
                         the third is to conceal the absence of ideas.
                                                        --Otto Jespersen

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

From: [EMAIL PROTECTED]
Subject: Re: Detect number of CPU's from within a program?
Date: Fri, 03 Nov 2000 16:00:54 GMT

Concerning the automatic detection of the number of processors,
Jean-David Beyer <[EMAIL PROTECTED]> wrote:

> From a program-portability point of view, that may be a bad idea.
> Your program should not need to know how many CPUs there are. If
> the OS is working correctly, the only difference you should see if
> there are more processors would be more throughput. And you program
> should not need to know what that is. It should do the best it can.

As it happens, the algorithm in question is trivially parallelized,
so it is easy to exploit multiple processors and get near-linear
speed-up. Unfortunately, the OS cannot do the parallelization for me.

For this reason, I want to launch as many threads as there are CPU's.
It is important that the detection be automatic, since the algorithm
may be launched remotely on machines with different numbers of CPU's.

Can anyone tell me (even if they believe it's a bad idea) how to
automatically determine the number of processors?

Thanks for your help.

Robert Dodier



Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: "Neal R. Champion" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.networking
Subject: Re: LinkSys betrayed us! Poor prospects for Linux.
Date: Fri, 3 Nov 2000 10:16:49 -0600

I have two Windows 98se machines and one Linux machine on my home network
all using Linksys NICs and a Linksys Hub and a Linksys router to share my
internet connection.  It all works great.  When configuring the Linksys card
under RedHat linux I did download the latest driver (tulip.c).  When using
Mandrake Linux it configured the card out of the box.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Neal R. Champion, Senior Consultant <[EMAIL PROTECTED]>
~ Gandalf Development, Inc. <www.gandalfdev.com>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




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

From: J. Roe <[EMAIL PROTECTED]>
Subject: device is busy & filesystem issues
Date: Fri, 03 Nov 2000 16:07:54 GMT

Hi,

I have two filesystem issues that I can't figure out.

1. Often, when I try to unmount a filesystem (ie floppy or zip). I will
get "device is busy".  But there is no activity and no users are using
this filesystem (i.e. /mnt/floppy or /mnt/zip).  I have no idea why this
is happening and how to resolve this.

2.  something is wrong with my floppy filesystem when trying to mount
ext2 filesystem disks.

here are attempts:

[janine@boco janine]$ mount /mnt/floppy/
mount: wrong fs type, bad option, bad superblock on /dev/fd0,
       or too many mounted file systems

[janine@boco janine]$ mount /dev/fd0 /mnt/floppy/
mount: only root can do that

[janine@boco janine]$ mount -t ext2 /mnt/floppy/
mount: only root can do that

question-- is this something that only root should do?  why can't a user
do this?

so, as root:

[root@boco /root]# mount /dev/fd0 /mnt/floppy/
mount: you must specify the filesystem type

[root@boco /root]# mount -t ext2 /dev/fd0 /mnt/floppy/
mount: wrong fs type, bad option, bad superblock on /dev/fd0,
       or too many mounted file systems


can't get it to work!!

Sometimes when it does mount...and I check the size via df, I get a
bizarre disk size like 92meg for a 1.4 meg floppy.

Here is my /etc/fstab file

/dev/hda3   /           ext2    defaults        1 1
/dev/hda4   /home       ext2    defaults        1 2
/dev/hda1   /mnt/win98  vfat    noauto,user     0 0
/dev/cdrom  /mnt/cdrom  iso9660 noauto,owner,ro 0 0
/dev/syjet  /mnt/syjet  ext2    noauto,user     0 0
/dev/sda4   /mnt/zip    ext2    noauto,user,mode=0777   0 0
/dev/fd0    /mnt/floppy ext2    noauto,user    0 0
/dev/fd0    /mnt/dosflop vfat    noauto,user     0 0
none       /proc         proc    defaults        0 0
none       /dev/pts      devpts  gid=5,mode=620  0 0
/dev/hda2  swap        swap    defaults        0 0


Any help would be greatly appreciated.
--
Janine Roe
[EMAIL PROTECTED]

...the more i learn, the less i know about before
the less i know, the more i want to look around...


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: XWinger <[EMAIL PROTECTED]>
Subject: Re: Duplicate a DOS floppy disk
Date: Fri, 03 Nov 2000 16:30:04 -0000

I tried to use your commands and the following error appears:
end_request: I/O error, dev 02:00, sector 2826
end_request: I/O error, dev 02:00, sector 2828
end_request: I/O error, dev 02:00, sector 2830
and same error ending with 2832,34,36,38,26,28,30,32,34,36,38,40,42

I think it might be what "Dances with Crows" (the other nice person who 
replied to my question) says about some sectors being bad. The disk 
basically has nothing on it except the DOS file structure and those bad 
sectors. I don't know whether those sectors are physically bad or just 
marked bad in FAT. Is there any way to duplicate a disk like this? Thanks 
in advance.

> Easy enough:
> 
> cd /tmp
> (insert source diskette)
> dd if=/dev/fd0 of=dkt.img bs=10k
> (insert target diskette)
> dd if=dkt.img of=/dev/fd0 bs=10k
> rm dkt.img
> 
> I have no idea whether that will circumvent the copy-protection
> scheme.  I would like to know whether it works, though!
> 
> -Lee Allen


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

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

From: Jim Bonnet <[EMAIL PROTECTED]>
Subject: Re: Linux virus software
Date: Fri, 03 Nov 2000 09:15:39 -0800

Ken Siersma wrote:
> 
> Hello,
> I was wondering if anyone knows of good virus protection software for
> linux?
> Thanks,
> Ken

What viruses are there that you may be worried about? 

-- 
Jim Bonnet

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

From: Juergen Helmers <[EMAIL PROTECTED]>
Subject: installation of KDE2.0 disables Gnome using GDM
Crossposted-To: 
alt.uu.comp.os.linux.questions,comp.os.linux.setup,comp.os.linux.x,comp.windows.x.kde,news.groups.os.linux.setup
Date: Fri, 3 Nov 2000 11:31:16 -0500

Hi!

I'm using Mandrake 7.2 on a Dual Celeron machine. I have both the new 
KDE2.0 and helixcode gnome installed. I use gdm that comes with gnome as my 
login manager. Sice I installed KDE2.0, Each time I restart the Xserver, 
the option of running Gnome upon login under GDM is not available anymore. 
Meaning, the file /etc/X11/gdm/Sessons/Gnome is not executable anymore. I 
can make it executable again and Gnome shows up again. But I would lke to 
fix this properly. So either I find out why this happens or if somebody 
knows where to place the "chmod +x /etc/X11/gdm/Sessons/Gnome" command so 
each time before gdm is executed it will fix this problem up front !?

Thanks Juergen



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

From: [EMAIL PROTECTED]
Subject: How to add attachments to  files using Mail
Date: Fri, 03 Nov 2000 17:31:17 +0100

I wonder how it's possible to send a mail (from the command line, or using a 
shell script) with attachments included. I need to be able to create a mail
that includes a number of different files (binary files) that can be sent to
to a mail client like Outlook Express or similar.

I have looked at pine, that supports mime, but I have not been able to add
attachments from the command line.



Thanks in advance
Bo Jacobsen    [EMAIL PROTECTED]

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

From: [EMAIL PROTECTED] (Grant Edwards)
Subject: Re: How to add attachments to  files using Mail
Date: Fri, 03 Nov 2000 16:49:38 GMT

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

>I wonder how it's possible to send a mail (from the command line, or using a 
>shell script) with attachments included. I need to be able to create a mail
>that includes a number of different files (binary files) that can be sent to
>to a mail client like Outlook Express or similar.

$ echo "message body" | mutt -s "subject string" -a foo.bin -a bar.exe 
[EMAIL PROTECTED]

-- 
Grant Edwards                   grante             Yow!  .. are the STEWED
                                  at               PRUNES still in the HAIR
                               visi.com            DRYER?

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

From: "dick dijk" <[EMAIL PROTECTED]>
Subject: tail seems to sleep
Date: Fri, 3 Nov 2000 17:42:35 +0100

Hello,

I am using a "tail -f" to track appends to a logfile, but I found out that
changes are not reflected quickly. My experience on Unix systems is that
changes are shown instantly, but on Linux it takes a long time (minutes)
while the documentation states that the default interval between updates is
1 sec.

Does anyone have the same experience on this? Do you know how to solve this
(to make "tail -f" behave the same as on Unix systems).

Bye,
Dick



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

From: NAVARRO LOPEZ, =?iso-8859-1?Q?Jes=FAs?= Manuel 
Subject: Re: changing passwd in script
Date: Fri, 03 Nov 2000 17:34:08 +0100

Peter Nobels wrote:
> 
> On Fri, 03 Nov 2000 10:39:19 GMT, [EMAIL PROTECTED] (Peter
> Nobels) wrote:
> 
> Might be interesting...
> 
> RedHat passwd has a bug. It prompts before it is ready to receive
> input. Humans are slow (relatively speaking) so this normally isn't
> noticeable. Alas, Expect is fast enough that by the time passwd is
> ready, Expect has already sent the password. So passwd sits and waits
> and Expect sits and waits. It appears hung.
> 
> A simple workaround: Briefly pause before sending the password. A
> tenth of a second is probably sufficient but of course since the
> passwd program makes no guarantees, I can't either.
> 

Hmmm... though it actually works as a bug, it migth well be a feature:
all getting-password apps rely badly on the string passed (I mean, those
that, as usual, rely on the client sending a string as a password, rely
badly on it) so, if there's a lag between the password prompt and being
ready to recive the string (and a well-behaved app should expect this)
should trash out any input recieved too early (flush buffers out) so no
bogus string is passed (hum-hom... what about a man-in-the-middle app
who trash rubish between the login prompt and the moment the string is
recieved? Since the password would be rejected once and once more, most
probably the user or the sysadmin will change it... just in time for my
spy-app to catch the new one!).  It migth probe all login apps trash the
buffers, but RH, being PAM dependant by default is slighty slower than
others...
-- 
SALUD,
Jes�s
***
[EMAIL PROTECTED]
***

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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: How to add attachments to  files using Mail
Date: 3 Nov 2000 16:50:48 GMT

[EMAIL PROTECTED] wrote:
: I wonder how it's possible to send a mail (from the command line, or using a 
: shell script) with attachments included. I need to be able to create a mail

Depends on your mail interface. I use elm, which does it with -a.

: I have looked at pine, that supports mime, but I have not been able to add
: attachments from the command line.

Asking the pine mailing list would seem to be appropriate, or at least searching
the pine faq. But you should be able to use mh directly to compose the mail.

Peter

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


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