Subject: Linux-Admin Digest #183
From: Digestifier <[email-masked]>
To: [email-masked]
Date: Wed, 12 Oct 94 22:13:52 EDT

Linux-Admin Digest #183, Volume #2               Wed, 12 Oct 94 22:13:52 EDT

Contents:
  Drat--lpd runs, but not lpr. (Jeff Arnholt)
  Re: EIDE 1GB HD PROBLEMS !!!!! (Eric Zager)
  Re: dosemu0.52 & linux1.1.52 problem (R. Dale Thomas)
  Re: PCNFS and file locking (Michael C. Loewen)
  OSF/Motif package for Linux. (Christian Nelson)
  Sunsite (ADA)
  rdate not working (David Fox)
  Re: PACKET SNIFFER FOR LINUX (Richard Kooijman)
  Information on Linux (Manish Desai)
  Re: PACKET SNIFFER FOR LINUX (Alan Cox)
  Re: Q. Does Linux need to be the primary partition? (Randy Hootman)
  Tar and z option with DAT drive (Garry Adkins)
  Re: Mystery Chip...AMD (H. Peter Anvin)
  [HELP] /usr/spool/mail permissions (Matthew S. Crocker)
  Re: Mystery Chip...AMD (Jeff Kesselman)
  Re: Please fix your domain! (Morten Steinvik)
  Why doesn't ftp work?? (Tom Griffing)
  Re: New Adeptec SCSI not detected (Mark Curtis)
  Re: Security hole - has noone noticed so far? (Lee Silverman)
  Which controls initial PATH environment? (Jingsong Li)
  Re: ftp sites for linux (Shawn D. McPeek)

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

From: [email-masked] (Jeff Arnholt)
Subject: Drat--lpd runs, but not lpr.
Date: 8 Oct 1994 17:05:20 GMT
Reply-To: [email-masked]

I'd appreciate any advice on the following: when setting
up my HP 4P laserjet on Linux (using LPT1), I'm able
to print to the queue (IE, lpq shows that the file is
waiting to print), but the printer never receives the
file.  lpc gives some message like "lp unable to print--
offline," but the printer behaves normally under DOS/WfW3.11.

Any general suggests as to what to try next?  I've
exhausted the possibilities in the HOWTO.  I'm fairly sure
that an expert could troubleshoot this in minutes.

Many thanks.

---
   
Jeff Arnholt: mail [email-masked]   
Mayo Medical and Graduate Schools        
200 1st St. SW, Rochester, MN 55905

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

From: [email-masked] (Eric Zager)
Subject: Re: EIDE 1GB HD PROBLEMS !!!!!
Date: 12 Oct 1994 18:20:17 GMT

: When I use fdisk and I try to create partition over 528 MB ( or 540 MB ? )
: I always get following error message from fdisk:

: Partition X has different physical/logical endings:

: phys=(1023,15, 63) logical=(1072, 15, 63)

: May I ignore this warning or there is any solution ?

I'd send mail, but you don't have a valid return address.  I posted the same
question on Sunday.  I omitted some replies directly related to atdisk2 code,
but here are a couple of the other responses.

============================================================================

From [email-masked] Wed Oct 12 09:58:49 1994
Date: Sun, 9 Oct 1994 22:12:53 -0700
From: "Bruce D. Elliott" <[email-masked]>
To: [email-masked]
Newsgroups: comp.os.linux.admin
Subject: Re: Big IDE- fdisk 'different phys/log...'

> I've been following the discussions of large IDE drives, but am
> running into an fdisk message which I haven't seen mentioned.  I'd
> like to know if I'm safe ignoring it, or if it means something 
> significant.
> 
> After trying a number of configurations, I decided to install the
> drive (a Western Digital AC2540, 540 Mb) on a second IDE card, so that
> I could rule out the possibility of wierd interactions with AT BIOS.  The
> drive geometry is hard coded into the kernel (1.1.52 w/ atdisk2-1.1.47+).
> 
> After partitioning the drive, fdisk 1.5 reports-
> 
> Command (m for help): p
> Disk /dev/hd1a: 16 heads, 63 sectors, 1048 cylinders
> Units = cylinders of 1008 * 512 bytes
> 
>     Device Boot  Begin   Start     End  Blocks   Id  System
> /dev/hd1a1           1       1     246  123983+  83  Linux native
> Partition 1 does not start on cylinder boundary:
>      phys=(0, 0, 2) should be (0, 1, 1)

If Linux is the only system that touches this drive, you should be ok.
The problem is that older versions of fdisk (up to 1.5b) will create
a partition beginning in the first cylinder incorrectly.  It should
begin at a track boundary, but fdisk puts it immediately after the
Master Boot Record.  Linux will work properly this way, but some other
systems have been known to "repair" this.  Lilo may be unwilling to
boot from this partition, however.

> /dev/hd1a2         247     247     285   19656   83  Linux native
> /dev/hd1a3         286     286     895  307440   83  Linux native
> /dev/hd1a4         896     896    1048   77112   83  Linux native
> Partition 4 has different physical/logical endings:
>      phys=(1023, 15, 63) logical=(1047, 15, 63)
> 
> 
> Is the message about different physical/logical endings significant?  The
> logical information is correct.  I don't know where the physical information
> is coming from.

As far as linux is concerned, only the logical value matters.  Lilo is
concerned with both, as it has to live with the BIOS.  Both physical
(cylinder/head/sector) and logical (sector counting from zero at the
MBR) are in the Partition Table (in the Master Boot Record).  Fdisk is
simply reporting that the two don't match.  Whatever kind of fdisk you
used to make that partition simply set the cylinder to the highest
possible value.

Note that if some of the Lilo files are in the hd1a4 partition, they
might be above cylinder 1023, which Lilo can't handle.  These would
include the kernel image, the map file, boot.b, and the message file -
if you have one.`

B. D. Elliott   [email-masked]   (Seattle)

=============================================================================

From [email-masked] Wed Oct 12 09:58:21 1994
Date: Tue, 11 Oct 1994 09:32:51 -0700
From: Eric Zager <[email-masked]>
To: [email-masked]
Newsgroups: comp.os.linux.admin
Subject: (fwd) Re: Big IDE- fdisk 'different phys/log...'

Path: news.u.washington.edu!news.uoregon.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!wupost!news.utdallas.edu!corpgate!bcarh8ac.bnr.ca!bmerhc5e.bnr.ca!mlord
From: [email-masked] (Mark Lord)
Newsgroups: comp.os.linux.admin
Subject: Re: Big IDE- fdisk 'different phys/log...'
Date: 11 Oct 1994 14:44:09 GMT
Organization: BNR Ottawa, Canada
Lines: 16
Message-ID: <[email-masked]>
References: <[email-masked]> <[email-masked]> <[email-masked]>
NNTP-Posting-Host: bmerha23.bnr.ca

In article <[email-masked]> [email-masked] writes:
< [*] Delman Lee writes:
<
<   ] Will try and fix it in the atdisk2 code....
<
<The 1.1.52-diffs in mipgsun.mipg.upenn.edu:pub/delman should fix the
<problem. It fakes the bios geometry from the real physical geometry by
<halving the cylinders (and doubling the heads) until cyl<=1024.

Ugh!  This will cause trouble.

The correct solution for linux 1.1.x is to simply define the drive
as having 32 (or 64) heads in the BIOS CMOS setup.  Then DOS, linux, 
and most other stuff will handle it just fine.
-- 
[email-masked]    Mark Lord       BNR Ottawa,Canada       613-763-7482

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

From: [email-masked] (R. Dale Thomas)
Subject: Re: dosemu0.52 & linux1.1.52 problem
Date: 12 Oct 1994 11:15:36 -0700

In article <[email-masked]>,
Robert G. Smith <[email-masked]> wrote:
>Dino Butorac (III rac) ([email-masked]) wrote:
>: I am running linux 1.1.52 and I compiled dosemu0.52. I tried to do things
>: just like it is written in the Quickstart file, but when I type dos -A, I
>: get a 'segmentation fault' and the machine hangs... To be worse, my floppy
>: is scrambled beyond recognition after that :((. After I destroyed 2 floppies
>: I had no other options but to stop experimenting.
>
>The 0.52 version is rather "old" by now.
>Try updating to a recent dosemu:
>
>  tsx-11.mit.edu:/pub/linux/ALPHA/dosemu/private/devel/pre53_25
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
>The recent pre53 dosemu versions compile and run very nicely.
>
>Rob Smith

Perhaps you intended to say: dosemu/Development/pre53_26.tgz

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

From: [email-masked] (Michael C. Loewen)
Subject: Re: PCNFS and file locking
Date: Wed, 12 Oct 1994 01:54:20 GMT

In article <[email-masked]> [email-masked]  (Ron Hume) writes:
>       I am running FTP software's PCTCP and Interdrive,
>to mount some of our unix (Linux) boxes from PC's.
>My only problem is that when I PCNFS mount the 
>linux drive I get the error message 'No port for remote
>lock manager' or something close to that.  I looked
>for a lockd but couldn't find one.  
>

   No one has (yet) written a lock manager (rpc.lockd) for Linux.  High
praise to the first one through the gate!

-- 
Mike Loewen                         The Centre Programmers Unit BBS
[email-masked]         (814) 353-0566     V.32bis/HST

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

From: [email-masked] (Christian Nelson)
Crossposted-To: vt.linux,alt.uu.comp.os.linux.questions
Subject: OSF/Motif package for Linux.
Date: 12 Oct 1994 18:27:25 -0400

I'm looking to purchase the Moticflibraries for my Linux box.  I know
I've seen messages about different offers, but wasn't interested until
now.  What are my options, and about how much do they cost?  I'm
concerned about getting the actual sources, as well as maybe some
documentation.  Also, what is the newest version of Motif now
(1.2.3?), and when is another release scheduled?

Thanks,

===============================================================================
Christian 'shrub' Nelson  | Computer Scientist (ie: geek)
[email-masked] | Naval Research Lab - ENEWS Division
[email-masked] | Washington, D.C. (202)404-7615

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

From: [email-masked] (ADA)
Subject: Sunsite
Date: 11 Oct 1994 20:41:42 GMT

Fellow Linux'ers:

I have been unable to connect with sunsite for quite some time now and
I suspect it will be quite some time before I can get through...

Would some kind soul send me (or post) the .mirrors file from sunsite?
I am in San Diego and would like to find someplace near me that I can
get my Linux fix from...

Thanks in advance,

Mark
([email-masked])

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

From: [email-masked] (David Fox)
Subject: rdate not working
Date: 09 Oct 1994 02:13:50 GMT

I've been trying to use the public domain "rdate" on a 1.1.51 linux
system without success.  It works find on a Sparc, but on Linux
it gets "read timed out" errors.  Any ideas?
--
David Fox                                               xoF divaD
NYU Media Research Lab                     baL hcraeseR aideM UYN

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

From: [email-masked] (Richard Kooijman)
Subject: Re: PACKET SNIFFER FOR LINUX
Date: 12 Oct 1994 18:49:33 GMT

[email-masked] (Alan Cox) writes:

>In article <[email-masked]> [email-masked] (CVL staff member Nate Sammons) writes:
>>So, where is one?  I have heard that there is a "cool network monitor" for
>>Linux, and I want to take a look at traffic on my network, and I am
>>one of the "good guys"

>tcpdump 3.0

Our RMON monitor Beholder and the accompanying SNMP utils (get, set, next 
commands + Perl/sh/tcl programming library) also compile on Linux.

Look on:

dnpap.et.tudelft.nl:/pub/btng/{btng,tricklet}-6.0a.tar.gz

btng-6.0a.tar.gz already includes Tricklet, so if you get BTNG you don't
need tricklet-6.0a.tar.gz.

Richard.

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

From: manish@.chem.uh.edu (Manish Desai)
Subject: Information on Linux
Date: 12 Oct 1994 03:25:27 GMT

Hi,

   I am trying to set up a linux box as a backup server. I have gone through
the most of the docs. available on net. Now I would like to know 
the experience of anyone who is running linux in a networked environment 
with all or one of the following demons/servers.

1) Named
2) bootp
3) NSF
4) gopher server and
5) Mosaic server

  the configuration of the system will be a 486DX/50 MHz processor with local
bus arch. It will have 16Mb of RAM with 210 MB of Harddisk (IDE). Also I want 
to mount 1 GB hard disk from a IBM RS6000 running AIX running 3.0.
The ethernet card will be eitherNE2000 or from HP .

    In particular I will like to know response time , reliability etc. Please
let me know if the above configuration is ok or not.

Please reply to [email-masked].

Thanks in advance,
Manish Desai.

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

From: [email-masked] (Alan Cox)
Subject: Re: PACKET SNIFFER FOR LINUX
Date: Wed, 12 Oct 1994 14:50:38 GMT

In article <[email-masked]> [email-masked] (CVL staff member Nate Sammons) writes:
>So, where is one?  I have heard that there is a "cool network monitor" for
>Linux, and I want to take a look at traffic on my network, and I am
>one of the "good guys"

tcpdump 3.0

Alan
-- 
  ..-----------,,----------------------------,,----------------------------,,
 // Alan Cox  //  [email-masked]   //  GW4PTS@GB7SWN.#45.GBR.EU  //
 ``----------'`----------------------------'`----------------------------''

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

From: [email-masked] (Randy Hootman)
Subject: Re: Q. Does Linux need to be the primary partition?
Date: Tue, 11 Oct 1994 20:29:25 GMT

If your question is: Can I have linux and os/2 together on seperate 
partitions and use the os/2 boot manager to boot into either, then the 
answer is yes.

Randy

: I like what I have seen of Linux so far and would like to try it on the side. 
: Can I install it in some empty space set aside at the end of my drive? Can I use Bootman (os/ two) sorry, no number keys running) and boot into linux. I would just use my dos fat and os-too partitions mounted in the normal way. If it is set as a bootabl
e partition, but not the primary one will it work or just be 
: confused?

-- 

///////////////////////////////////////////////////////////////////////
     "In recognizing the humanity of our fellow beings,
      we pay ourselves the highest tribute." - Thurgood Marshall
//////////////////////////////////////////////////////////////////////
Randy Hootman                Randysoft Software             (408) 229-0119

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

From: [email-masked] (Garry Adkins)
Subject: Tar and z option with DAT drive
Date: 9 Oct 1994 04:48:13 GMT

Hi all!

I'm going to buy a DAT drive in a few days, and I was wondering about
using the z option with the DAT drive...  I assume that it slows 
the speed of the backup, but does it have any other effect?

Thanks!
Garry
--
========================================================================
Garry Adkins                             [email-masked]  
========================================================================
USnail: 712 Chestnut St.                 GTENet:  +1-304-453-3962

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

Crossposted-To: comp.sys.ibm.pc.hardware.systems,comp.os.linux.misc
From: [email-masked] (H. Peter Anvin)
Subject: Re: Mystery Chip...AMD
Reply-To: [email-masked] (H. Peter Anvin)
Date: Sun, 9 Oct 1994 07:20:02 GMT

Followup to:  <[email-masked]>
By author:    [email-masked] (Daniel Zappala)
In newsgroup: comp.os.linux.admin
> 
> But doesn't Intel sell a chip that upgrades a 486DX-33 into a 486DX2-66?
> How do they manage that?
> 

It's just a 486DX2-66 with a 487 pinout that fits in a 487 socket.  It
switches off the DX-33, so if you keep it in the system it is only
going to sit there like a heating pad.

It was part of an Intel scheme to sell these "upgrade" parts without
causing a messy aftermarket of used DX-33 chips, which might affect
profit margins.  Fortunately, both consumers and MB manufacturers
rejected this as an expensive ploy and waste of MB space.  However, if
you buy an "Overdrive" chip from Intel, make sure to get the one with
the right pinout (486 or 487).  Of course, the 487 itself is just a DX
chip with different pinout.

Conclusion: Intel marketing sucks.

        /hpa

-- 
INTERNET: [email-masked]             --- Allah'u'abha ---
IBM MAIL: I0050052 at IBMMAIL     HAM RADIO:   N9ITP or SM4TKN
FIDONET:  1:115/511 or 1:115/512  STORMNET:    181:294/1 or 181:294/101
Keyboard not found, press F1 to continue

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

From: [email-masked] (Matthew S. Crocker)
Subject: [HELP] /usr/spool/mail permissions
Date: 12 Oct 1994 18:13:13 GMT

Howdie,

  what are the proper permissions of /usr/spool/mail/  

If I don't have it chmod a+w elm chokes because it can't create a lock
file,  what should everything be set at?

(using smail, elm, pine + evey other news reader).  

Do I need to recompile elm so it puts it lock file in a different
directory.  right now users can delete mail spool files!  (not very
nice)

please respond via email
[email-masked]

--
-Matthew S Crocker               "The mask, given time, comes
[email-masked]               to be the face itself."  -anonymous
*OS/2*OS/2*OS/2*OS/2*OS/2*OS/2*OS/2*OS/2*OS/2*OS/2*OS/2*OS/2*OS/2*OS/2*OS/2*
 *linux*linux*linux*linux*linux*linux*linux*linux*linux*linux*linux*linux*

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

Crossposted-To: comp.sys.ibm.pc.hardware.systems,comp.os.linux.misc
From: [email-masked] (Jeff Kesselman)
Subject: Re: Mystery Chip...AMD
Date: Sun, 9 Oct 1994 06:13:34 GMT

In article <[email-masked]>,
 <[email-masked]> wrote:
>> 
>> I have an AMD 486DX-40.  Any news on an add-in from AMD to turn this into a
>> 486DX2-80, or do I need to buy a whole new chip?
>> 
>> Daniel
>
>Yes you have to buy a WHOLE new chip.
>

I'm DYING to know what the original poster meant  by this?  How would you 
ADD-IN to a sealed piece of silicon?????

Could you explain please?

JK

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

From: [email-masked] (Morten Steinvik)
Subject: Re: Please fix your domain!
Date: 11 Oct 1994 21:21:21 GMT

Thomas Koenig ([email-masked]) wrote:
: >        (some name) @myhost.subdomain.domain

When the answer is as easy as this one I certainly think you should post the
solution to the problem along with your two pages description of the
problem.

The correct file is
/usr/local/lib/news/mailname

on all standard slackware installations (I know of).

Change the contents of this file to your mail-return-address.

Morten Steinvik
--
             (2b) || (!2b), that is the question...
          Turn your 486 into an XT--just add Windows!
      Morten Steinvik   [email-masked]    Jogger on IRC

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

From: [email-masked] (Tom Griffing)
Subject: Why doesn't ftp work??
Date: Sun, 9 Oct 1994 04:57:08 GMT

The title says it ... Why doesn't ftp work?

It work from a remote machine with the anonymous user id,
but won't work from any other id.  I've modified the
files /etc/ftpusers and /etc/ftpaccess, but am certainly
missing something ... seems like defining a class with
"real" in the typelist doesn't work.

Can anybody offer any soultions?

--
 _____________________________________________________
| Thomas L. Griffing       |                          |
| [email-masked]         |  (214) 352-3441          |
|__________________________|__________________________|

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

From: leadfoot@leftlane (Mark Curtis)
Subject: Re: New Adeptec SCSI not detected
Date: 7 Oct 1994 18:36:22 GMT

Zeos Technical Support account for Internet ([email-masked]) wrote:
: Mark Curtis (leadfoot@leftlane) wrote:
: : Zeos Technical Support account for Internet ([email-masked]) wrote:

: : : You need to have a boot disk that gives you the LILO boot: prompt.  At that
: : : prompt, type:

: : : ramdisk aha152x=0x340,11,7,1

: : I'm using an aha1542CF at port 230, IRQ 11, and DMA 7.  Would I use
: : ramdisk aha152x=0x230,11,7,1, or isn't this correct?  What does the
: : 1 at the end of this option do?  I'm trying to install the Slackware
: : 1.2 release off the CD included with the book "Internet CD".  I just
: : haven't been able to get the kernel to see my AHA-1542CF SCSI
: : controller when it boots so I can't complete the installation.

: : : Then, when you get Linux installed, you will have to install LILO and
: : : add the following line to the /etc/lilo.conf file:

: : : APPEND='aha152x=0x340,11,7,1'

: : I take it this becomes:

: : APPEND='aha152x=0x230,11,7,1 <-  whats this 1 for?

: Boy, one thing I sure missed.  The aha1542 driver is used for what you
: are trying to do.  The driver only appeats to support port addresses
: 0x330 and 0x340.  That is likely why it is not working.  You will have
: to change your 1542's address.

I can't change it.  I have other hardware that is using that port
address.  My MMU-401 MIDI card is using 330 and IRQ 2.  All the
MIDI software and games using general MIDI all assume 330.  If I move
the MIDI card to some other address and then move the 1542CF to
330 I'll have MIDI software sending strange stuff to my SCSI adapter.
Some of the MIDI software can be configured, but much of it just
assumes 330, the factory default for MIDI cards.

The SCSI controller supports 130, 134, 230, 234, 330, and 334.  I
have the Adaptec SCSI bios at the factory default address, but I
did move the port base to 230.  In DOS/Windows this all works fine.

I'd try hacking on the driver, but I have to get the system loaded
before I can do that.  I can't load the system because all my
disks, CDROM, and tape drive all run off the SCSI controller.

I'm Stuck!

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

From: [email-masked] (Lee Silverman)
Subject: Re: Security hole - has noone noticed so far?
Date: 08 Oct 1994 02:33:27 GMT

In article <[email-masked]> ron@chaos (Ron Atkinson) writes:

   Exactly what I just did.  I'm tired of hearing and seeing Smail bugs and
   at the moment I can't deal with these security problems anymore.  I
   installed sendmail last night and I'm getting others to install it too
   until Smail can get fixed.  

There's a good one!  A sendmail bug was just reported a few months
ago, adding yet another to the DOZENS of bugs reported about sendmail.
Most of the bugs reported in sendmail give *outside* users access to
your machine; this smail bug was only available to users who have
already logged in.  Big difference.  Sendmail (The standard one,
anyway, 8.6.9) arguably the single hardest unix package to configure
correctly.  Smail is a damn good program, and I use it all the time.
I am going to check out Zmailer 2.97, but in the meantime, for ease
and understandability, and for security reasons, I'm going to stick to
smail rather than risk using sendmail.
--
Lee Silverman, Brown class of '94, Brown GeoPhysics ScM '95
Email to: [email-masked]
Phish-Net Archivist: [email-masked]
"Nonsense - you only say it's impossible because nobody's ever done it."

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

From: [email-masked] (Jingsong Li)
Subject: Which controls initial PATH environment?
Date: 12 Oct 1994 15:51:11 -0400

Hi,

I have linux running slackware 1.2. In my /etc/profile, I notice there is a line

PATH=$PATH:/usr/games....

And when I login as user, "echo $PATH", I get:

/usr/local/bin:/usr/bin:/bin:/usr/games.....

but as root, I get:

/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:usr/sbin:/usr/games....

So which program controls the initial $PATH?

Thanks.

JL
-- 

=========================================================================
Jingsong Li Mech. Engr. Dept.  Univ. of Rochester Rochester, NY 14627
Tel:    716-275-2350 E-Mail [email-masked]

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

From: [email-masked] (Shawn D. McPeek)
Subject: Re: ftp sites for linux
Date: 12 Oct 1994 21:38:18 GMT

Chris Sorge ([email-masked]) wrote:

: Hi all,

:      This is my first time posting in this group, and would really appreciate
: help you could give me as far as sites go to ftp linux.  All responses
: are greatly appreciated.  Thanks in advance.

sunsite.unc.edu

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

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

You can send mail to the entire list (and comp.os.linux.admin) via:

    Internet: [email-masked]

Linux may be obtained via one of these FTP sites:
    nic.funet.fi				pub/OS/Linux
    tsx-11.mit.edu				pub/linux
    sunsite.unc.edu				pub/Linux

End of Linux-Admin Digest
******************************