*BSD News Article 32735


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!news.Hawaii.Edu!ames!hookup!yeshua.marcam.com!usc!howland.reston.ans.net!vixen.cso.uiuc.edu!news.uoregon.edu!usenet.coe.montana.edu!bsd.coe.montana.edu!nate
From: nate@bsd.coe.montana.edu (Nate Williams)
Newsgroups: comp.os.386bsd.questions
Subject: Re: ethernet and printer problems...
Date: 13 Jul 1994 13:54:18 GMT
Organization: Montana State University, Bozeman  Montana
Lines: 55
Message-ID: <300rma$s8q@pdq.coe.montana.edu>
References: <2vumgl$c2m@agate.berkeley.edu>
NNTP-Posting-Host: 153.90.192.29

In article <2vumgl$c2m@agate.berkeley.edu>,
Randy Yen-pang Chou <randyc@soda.berkeley.edu> wrote:
>
>I've been trying to setup a printer and ethernet card for a friend and
>kept on running into problems.  The printer doesn't print and the
>ethernet connection is very slow.  Here's the system configuartion:
>
>
>- FreeBSD 1.1R installed
>- Gateway 2000 486DX266
>- Ethernet , NE2000 (16 bit)
>  The card is attached to irq 5 and seems to be correctly detected as ed1.
>- Apple Prowriter postcript printer on lpt1
>- 8 MB ram
>- Ati Mach32 video card
>
>
>The printer seems to be setup correctly.  The LED on the printer actually
>flashes when I do a "lpr [ps file]" but nothing gets printed.  But the
>same file prints fine in dos when I do "copy [ps file] lpt1:".
>Here's the printcap:
>
>lp|mylp:\
>	:lp=/dev/lpt0:\
>	:sd=/var/spool/lpd/mylp:

That's because the printer is getting confused by the 'banner page' which
is printed in ASCII format.  The file is getting to the printer, but it is
prepended with the banner page.  You either need to get a filter which
converts the banner page to PostScript or turn off the banner page.  See
TFM.


>The ethernet problem seems a lot more complicated.  I keep on getting:
>
>/386bsd: ed1 timeout

This could be caused by numerous things, but one that bit me is the BUS
speed.  In my attempts to keep my system stable, I set the bus speed too
low which caused me all sorts of grief.  Make sure the speed is about
8Mhz (not too much higher or else you will have problems as wel).

Other possible problems include a bug David fixed which may manifest itself
as lots of ethernet timeouts.  Lastly, the problem could be another card
grabbing the IRQ or port (hardware conflict).  This is unlikely if the
system works at all, but stranger things have been known to happen.


Nate

-- 
nate@bsd.coe.montana.edu     |  FreeBSD core member and all around tech.
nate@cs.montana.edu          |  weenie.
work #: (406) 994-4836       | 
home #: (406) 586-0579       |  Available for contract/otherwise work.