Linux-Misc Digest #861, Volume #24 Mon, 19 Jun 00 08:13:03 EDT
Contents:
Re: net connection is very slow (Guardian)
LILO 21.4.4 compilation (Mariusz Szczerbinski)
Re: Netscape & Other Web Browsers (J Bland)
Re: LILO installation (Guardian)
Re: Athlon problems (Guardian)
Installing a printer from the command line ("HellNo")
Re: screen shots (Guardian)
Re: Horrible sound at startup with SB 64 (Guardian)
Re: Cannot use large IDE disk w/ fdisk (Guardian)
Error compiling isdn4k-utils ("FROZEN_Steam")
Re: Installation problem wth nvidia drivers ("FROZEN_Steam")
named? (Guardian)
Re: Detecting alarms with MegaRaid? (=?iso-8859-1?Q?S=E9bastien?= Cottalorda)
Corel Office 4 Linux? (Guardian)
voice/speech ("Bryant Graham")
Linux Hangs (freeze) HELP. (Rafael)
Re: Installing a printer from the command line (Nicholas Murison)
how to make a network between windows 98 and linux? (jeffrey)
Re: how to share /usr directory? (J Bland)
Re: workgroup management/diary system (lee stone)
Problem with Dual P-II (Mohtashim Shadmani)
Re: Long Answer for: Installing a printer from the command line (J.M. Paden)
----------------------------------------------------------------------------
From: Guardian <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: net connection is very slow
Date: Mon, 19 Jun 2000 03:16:23 -0400
Reply-To: [EMAIL PROTECTED]
On Mon, 19 Jun 2000 00:03:17 GMT, Ravi S Manda
<[EMAIL PROTECTED]> wrote:
>Hi,
>
>I am pretty new to Linux. I have installed Mandrake 7.1 (linux 2.2.14)
>When I connect to the net (Freewwweb is the ISP) using a 56K modem and
>kppp, the connection tells me it connected at 50K. But when I bring up
>netscape, it takes 5 minutes to load http://www.linux-mandrake.com !!!
>It takes that much time, for almost any site on net.
>
>I tried tuning my irqs (giving higher interrupt for the modem) it still
>didn't imporove much. Is there anything I can do to get atleast 28.8 ?
>I have a P-III w/128MB ram.
>
>Thanks!
>-----
>-Ravi
Try
AT&F1 or AT&F
Consult your modem manual for correct init string.
Guardian
------------------------------
From: Mariusz Szczerbinski <[EMAIL PROTECTED]>
Subject: LILO 21.4.4 compilation
Date: Mon, 19 Jun 2000 07:11:18 GMT
I'm trying to compile LILO 21.4.4 and I recive error while trying to
compile disk.s file. This is an as86 command and I have no idea how to
fix it. It is on RH60.
Does anybody had similar problem before ? Do you maybe know the place
where I can find precompiled version of LILO ? I need this to suppor my
30GB disk (more tham 1024 cyl problem).
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] (J Bland)
Subject: Re: Netscape & Other Web Browsers
Date: 19 Jun 2000 03:02:31 GMT
On Mon, 19 Jun 2000 01:45:26 GMT, DarkStar <[EMAIL PROTECTED]> wrote:
>Netscape either causes my system to hang or completely kills the X
>server. I need to know of any other web browsers that are available.
As a tip: turn off Java, don't run it as root, and learn the dubious merits
of killall -9 netscape. Oh, and repeatedly swear at it, it doesn't help but
it makes you feel better.
>So, are there any?
Upcoming/beta/in development:
Opera
Netscape 6
Mozilla
Konquorer
Available right now:
lynx (text based)
w3m (text based)
links (text based)
Mosaic/Arena/Chimera (old and a bit duff GUI browsers)
Upgrade your version of Netscape (latest is 4.73, though I'm sure it's
getting worse now...)
So, if you want an up to date and stable alternative to Netscape you've
either got to wait or be prepared to put a little (or a lot) of work into
using pre-release software. A text based one could do, depends what you're
looking at, w3m/links are really quite good.
It sucks, I know. Currently No.1 Linux gripe atm I would think.
Frinky
------------------------------
From: Guardian <[EMAIL PROTECTED]>
Subject: Re: LILO installation
Date: Mon, 19 Jun 2000 03:25:33 -0400
Reply-To: [EMAIL PROTECTED]
On Sun, 18 Jun 2000 11:05:58 GMT, [EMAIL PROTECTED] wrote:
>I have a partition on my hdd, for win98 and for redhat6.2.
>I just installed 6.2, I cant seem to get the LILO to load. It only loads
>up 2 letters, "LI", instead of "LILO boot:"
>
>I am using an VIA Apollo 6XVE+ mboard, with AWARD BIOS. I tried to set
>my BIOS to default and reinstall Linux, but it doesnt work.
>Somebody help me... PLEASE!!!!
>
>
You bios should have already been set to AUTO - - - - LBA mode.
Linux works with LBA; however, I have had problems with RH when
installing lilo on the MBR. Now I use slak with a a lilo boot floppy
with no problems.
The boot/root disk has instructions, I think you hit F4 and read that.
You will have to tell it were to mount the root parition
root=/dev/hda2 or something like that. Then you can edit
/etc/lilo.conf and change to boot from /dev/fd0 (floppy) now run
/sbin/lilo, reboot with the lilo boot floppy in the drive.
I have Linux setup tutorial around that explains this in full. Can't
find right now, email me if you want it.
Guardian
------------------------------
From: Guardian <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.misc,comp.os.linux.hardware
Subject: Re: Athlon problems
Date: Mon, 19 Jun 2000 03:32:38 -0400
Reply-To: [EMAIL PROTECTED]
On Sun, 18 Jun 2000 11:56:54 GMT, James Pearson
<[EMAIL PROTECTED]> wrote:
>I'm having problems running Redhat 6.2 on an Athlon box - it freezes
>when I try to run mkfs on a disk partition.
>
>My set up:
>
>Athlon 700Mhz, Gigabyte 7IX mainboard, 256Mb RAM, 2 IBM
>Ultra66 disks (IBM-DTLA-307030).
>
>Redhat 6.2 with kernel 2.2.14-12.
Why you tring to run mkfs, doesn't the installer do this for you? I
suspect you have hardward conflicts, try toggling the bios pnp-os =
yes/no setting.
Guardian
------------------------------
From: "HellNo" <[EMAIL PROTECTED]>
Subject: Installing a printer from the command line
Date: Mon, 19 Jun 2000 09:33:13 -0700
Hello,
I got a very small box on which I would like to install a local printer. I
haven't got an Xwindows running o I have to install it from the command
line.
Most of the posts I see are explaining how to do this from X. Can anyone
tell me how it should be done from the command line?
RedHat 6.1 on a 386
Thx
HN
------------------------------
From: Guardian <[EMAIL PROTECTED]>
Subject: Re: screen shots
Date: Mon, 19 Jun 2000 03:45:30 -0400
Reply-To: [EMAIL PROTECTED]
On Sat, 17 Jun 2000 18:27:07 GMT, [EMAIL PROTECTED] wrote:
>I am using RedHat 6.2 and I want to take sceern shots in gnome but I
>dont know how to do it can you help me about this...
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.
xv
Guardian
------------------------------
From: Guardian <[EMAIL PROTECTED]>
Subject: Re: Horrible sound at startup with SB 64
Date: Mon, 19 Jun 2000 03:47:10 -0400
Reply-To: [EMAIL PROTECTED]
On Thu, 15 Jun 2000 09:48:13 -0400, aflinsch <[EMAIL PROTECTED]>
wrote:
>"Fabio S." wrote:
>>
>> Hi,
>>
>> I would like to know if somebody know why every time I boot, when the
>> sound modules are loaded, I ear a huge and very annoying noise. I remarked
>
>
>It happens when you initialize the sound card, it's normal.
>Solution #1 - Don't reboot.
>Solution #2 - Turn down the volume on your speakers.
Yep, if you like low quality sound. I removed my sound card from
linux box.
------------------------------
From: Guardian <[EMAIL PROTECTED]>
Subject: Re: Cannot use large IDE disk w/ fdisk
Date: Mon, 19 Jun 2000 03:50:15 -0400
Reply-To: [EMAIL PROTECTED]
On Tue, 13 Jun 2000 13:52:05 -0400, "David R. Klassen"
<[EMAIL PROTECTED]> wrote:
>> How do I tell Linux the number of cylinders? How can I use the drive if
>> I disable it in the BIOS?
>
>--
>David R. Klassen
You don't. Upgrade the bios.
------------------------------
From: "FROZEN_Steam" <[EMAIL PROTECTED]>
Crossposted-To:
alt.uu.comp.os.linux.questions,comp.os.linux.networking,nl.comp.os.linux.netwerken,nl.comp.os.linux.overig
Subject: Error compiling isdn4k-utils
Date: Mon, 19 Jun 2000 10:44:32 +0200
Hello,
I've just downloaded the isdn4k-utils from the suse ftp-server.
I've successfully unpacked it, but when I try 'make' I get the following
error message:
make[1]: Entering directory '/usr/src/isdn4k-utils/lib'
make[1]: Nothing to be done for 'all'
make[1]: Leaving directory '/usr/src/isdn4k-utils/lib'
make[1]: Entering directory '/usr/src/isdn4k-utils/isdnlog/tools/zone'
make[1]: *** No rule to make target 'all'. Stop.
make[1]: Leaving diractory '/usr/src/isdn4k-utils/isdnlog/tools/zone'
make: *** [subtargets] Error 2
Does anyone know what the problem is?
thanx,
Floris
------------------------------
From: "FROZEN_Steam" <[EMAIL PROTECTED]>
Crossposted-To:
alt.uu.comp.os.linux.questions,comp.os.linux.hardware,comp.os.linux.x,nl.comp.os.linux.overig,nl.comp.os.linux.x
Subject: Re: Installation problem wth nvidia drivers
Date: Mon, 19 Jun 2000 10:47:43 +0200
Ok, That works, I've downloaded the src package and the making process goes
well.
But when the driver is loaded, I get a segmentation fault...
Any idea?
"Anton Deguet" <[EMAIL PROTECTED]> schreef in bericht
news:[EMAIL PROTECTED]...
> FROZEN_Steam wrote:
> >
> > Hello,
> >
> > I'm trying to install the nvidia drivers for my tnt2 ultra. (I
downloaded
> > them from www.nvidia.com)
> > But when I do a 'rpm -Uvh NVIDIA-kernel-i386.rpm' I get a message saying
> > that the package needs kernel 2.2.0 or above, but I us 2.2.5!
> >
> > What could be the problem? should I update any other libs?
> >
> > I have SUSE 6.0 with only the kernel updated (2.2.5)
> >
> > Thanx,
> > Floris
>
> The source code needs a kernel 2.2.0 or above but the binary rpm is for
> one release of kernel only and as compiled by Redhat (6.1 or 6.2, don't
> remember). If you have an other release/compilation, you need to
> download the source rpm and follow the procedure described in the FAQ.
> This is rather easy to do.
>
> Anton
>
> --
> Anton Deguet & Jane Delury
> janeton<at>bellatlantic<dot>net
> Anton.Deguet<at>inrialpes<dot>fr, JDelury<at>jhu<dot>edu
------------------------------
From: Guardian <[EMAIL PROTECTED]>
Subject: named?
Date: Mon, 19 Jun 2000 04:51:51 -0400
Reply-To: [EMAIL PROTECTED]
# I need to direct named output to a log file not /var/log/messages
# dis work?
if [ -f /var/log/named.log ] ; then
/usr/sbin/named > /var/log/named.log 2>&1
else
touch /var/log/named.log && /usr/sbin/named > \
/var/log/named.log 2>&1
fi
# Guardian
------------------------------
From: =?iso-8859-1?Q?S=E9bastien?= Cottalorda
Subject: Re: Detecting alarms with MegaRaid?
Date: Mon, 19 Jun 2000 10:50:30 +0200
==============841C7397B81E9BAA234C2D8B
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hi,
I've contacted AMI Megaraid support for the same reason :
That is their answer :
Sir, Which distribution of the Linux O.S. are you using?
We are in the process of developing this.
Keep watch of our website, www.ami.com, for further information as it is
made available.
Hope this helps.
Sebastien
[EMAIL PROTECTED] wrote:
> Hi,
>
> I've installed a AMI MegaRaid on RedHat 6.2 box (kernel 2.2.16).
>
> Anybody has any idea how I can pogrammatically detect an alarm
> condition (such as logical drive being degraded)?
>
> I can run megamgr and see that's it degraded, but that doesn't work for
> running a script that send me an alert if something goes wrong.
>
> Any one have an ideas?
>
> Thanks,
>
> John
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
==============841C7397B81E9BAA234C2D8B
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hi,
<p>I've contacted AMI Megaraid support for the same reason :
<br>That is their answer :
<p><b>Sir, Which distribution of the Linux O.S. are you using?</b><b></b>
<p><b>We are in the process of developing this.</b>
<br><b>Keep watch of our website, www.ami.com, for further information
as it is</b>
<br><b>made available.</b>
<br>
<p>Hope this helps.
<p>Sebastien
<p>[EMAIL PROTECTED] wrote:
<blockquote TYPE=CITE>Hi,
<p>I've installed a AMI MegaRaid on RedHat 6.2 box (kernel 2.2.16).
<p>Anybody has any idea how I can pogrammatically detect an alarm
<br>condition (such as logical drive being degraded)?
<p>I can run megamgr and see that's it degraded, but that doesn't work
for
<br>running a script that send me an alert if something goes wrong.
<p>Any one have an ideas?
<p>Thanks,
<p>John
<p>Sent via Deja.com <a href="http://www.deja.com/">http://www.deja.com/</a>
<br>Before you buy.</blockquote>
</html>
==============841C7397B81E9BAA234C2D8B==
------------------------------
From: Guardian <[EMAIL PROTECTED]>
Subject: Corel Office 4 Linux?
Date: Mon, 19 Jun 2000 04:55:25 -0400
Reply-To: [EMAIL PROTECTED]
How is it?
Running Slackware 7 and noticed that RPM is installed.
Should I spend the $$$ or wait?
Guardian
------------------------------
From: "Bryant Graham" <[EMAIL PROTECTED]>
Subject: voice/speech
Date: Mon, 19 Jun 2000 04:14:40 -0000
Is there any speech products for Linux on the market? Similar to
DragonDictate or MS's product?
------------------------------
From: Rafael <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x
Subject: Linux Hangs (freeze) HELP.
Date: Mon, 19 Jun 2000 11:43:42 +0200
Reply-To: [EMAIL PROTECTED]
My Linux (Red Hat 6.2, kernel 2.14 and 6.1) hangs. I run on the same
computer Windows 98 and it works without hangings. I would like use
only Linux on this computer but I can't. It hangs (freeze), the reset
button could not restart computer (black screen). I have to turn power
of (Hard reset). Please help me. What could be the reason.
I have Epox MVP3C2 mainboard, I use S3 868 PCI graphic card with 2 Mb
RAM on it.
I downloaded lately new kernel 2.14-12 and instaled it. After it things
went worst, my computer started eaven hangs at lower speed of the
processor.
It is realy strange that when I am adding additional PCI card I have to
slow down the speed of the mainboard and processor.
I have in my computer:
Modem Zoltrix Internal Sp Phone V.34 (ISA)
TurtleBeach Malibu Sound card (ISA)
Realtek 8029 Network card (PCI)
Realtek 8129 Network card (PCI)
S3 Vision 868 PCI graphic card
Hard Drive 27 GB IBM - IDE ATA-66 - master on first controler
CD Rom x 32 slave on second controler
When I changed Voltage from 2.4 to 2.8 of the core (processor) it little
help and it is not hanging so often. But than my procesor geting hotter.
I tried changing cards in slots , I take one network card away, but it
did not help. I tried 3 different bioses, without help.
Please give me some advice, I starting be mad about this problem.
Why the same computer not hang in Windows 98 (never) but in Linux very
often and it freeze tottaly, no responce and I have turn of power to
restart it, reset button did not restart it.
It hangs also in text mode, so it means that it is not related to X
Window.
Rafael
------------------------------
From: Nicholas Murison <[EMAIL PROTECTED]>
Subject: Re: Installing a printer from the command line
Date: Mon, 19 Jun 2000 11:57:53 +0200
Reply-To: [EMAIL PROTECTED]
HellNo wrote:
>
> Hello,
> I got a very small box on which I would like to install a local printer. I
> haven't got an Xwindows running o I have to install it from the command
> line.
>
> Most of the posts I see are explaining how to do this from X. Can anyone
> tell me how it should be done from the command line?
>
> RedHat 6.1 on a 386
>
> Thx
> HN
You might want to have a look at the Linux HOWTOs, which you'll find
under the directory /usr/doc/Linux-HOWTOs/. The Printing-HOWTO is a
very thorough document with lots of information on how to set up a
printer under Linux by editing the configuration files maually instead
of going through a GUI interface. Also, if you're setting up an HP
deskjet of some sorts, the Config-HOWTO includes a short and simple
example where the author is setting up an HP deskjet 500 where he
includes the configuration files that are needed.
--
Nicholas John Murison
~~~~~~~~~~~~~~~~~~~~~
Don't mess with penguins
Registered Linux User #153895 http://counter.li.org
------------------------------
Date: Mon, 19 Jun 2000 18:20:32 -0700
From: jeffrey <[EMAIL PROTECTED]>
Subject: how to make a network between windows 98 and linux?
i have just bought a new computer,and have install red hat linux 6.1,and
want to link it with my current computer which installed windows 98,how
to do it?
------------------------------
From: [EMAIL PROTECTED] (J Bland)
Subject: Re: how to share /usr directory?
Date: 19 Jun 2000 10:43:08 GMT
>> >computers share a single copy of /usr directory using NFS. However,
>> >the RedHat installation program seems to insist that each computer
>> >must have its own /usr directory in the local hard disk. Is there
>> >any way to do it?
>>
>> Yes. Create a /usr directory on the local hard disc and mount the /usr
>> from the server onto it.
>>
>> Mounts need mount points; where else were you going to put it?
>
>So, at which point during the installation should I mount it? Should
>I allow the installation program to really copy the files to there?
>As there should really be no need to copy the files to there again,
>can I skip this step somehow?
Well, I have a machine here that's fully set up to run by itself but most of
the time loads its apps and data from a central server. You can just mount
/usr etc over the top of the existing dir.
If all you want to do is use /usr off another machine install enough to get
the machine to boot and run the nfs mount /usr at an appropriate point (my
machines are SuSE, so I installed the nfs support packages, added some lines
to /etc/fstab such as
server.ip.address:/usr /usr nfs ro 0 0
then let SuSE mount nfs partitions at boot up. I would think that RedHat
would do something similar if you modify /etc/fstab.
I'm not an expert at this nfs lark yet, but it works.
Frinky
------------------------------
From: lee stone <[EMAIL PROTECTED]>
Subject: Re: workgroup management/diary system
Date: Mon, 19 Jun 2000 11:25:25 +0100
Thanks Robie!
Robie Basak wrote:
>
> On Sat, 17 Jun 2000 09:30:48 +0100, lee stone said:
> >hi
> >
> >I am about to set up an office with 25 people using win98 machines and a
> >linux/samba server.
> >
> >does anyone know of a good workgroup scheduling/diary system to run on
> >linux using a web interface for the users?
>
> Look around on http://freshmeat.net - I've seen announcements of some.
>
> Robie.
> --
--
lee stone - stone initiatives
UK +44 (0) 207 435 2015
US VoiceMail- +1 (661) 752 9492
http://www.stone-initiatives.com/
what is music therapy and how can you help?
http://www.nordoff-robbins.org.uk/
------------------------------
From: Mohtashim Shadmani <[EMAIL PROTECTED]>
Subject: Problem with Dual P-II
Date: Mon, 19 Jun 2000 13:17:35 +0200
Hello,
I have a Dual Processor PC ( TYAN 1682 ) with 32 MB RAM, under Win 98 or
NT 4.0 it works fine, without any problem but as i start Linux (SuSE
6.3 / Kernel 2.2.13) it goes to freeze, after some random time (for
example after 3 min. some times after 20 min and so on) I have
thoroughly read the manual of Mother Board and of BIOS, (by the way,
BIOS is new, old was false flashed by me ) but I am still unable to
under stand the problem. Always next time during the Booting of Linux,
as default from Linux, as it runs "fsck" it says
"Drive was not cleanly unmounted Check Forced ...... Deleted inode
xxxxxx as zero dtime. FIXED", where xxxxx is a "inode-nummer, which is
always same, every time it do so and which i could never find, in the
Linux as long as it works.
My Computer has the following Hardware :
2 x 16 MB EDO ram
1 x S3 ViRG/DX Graphic card 2MB [VGA-card]
1 x Hauppauge WinTV (BT 878) [TV-card]
1 x Terratech DMX ( Canyon 3D) [Sound card]
1 x Creative Sound Blaster AWE 64 [Sound card]
1 x 3Com 905/TX NIC [Network card]
2 x P-II 300 MHz mit 66 FSB [Processor]
1 x CD-ROM and Floppy
1 x Hard disk from conner with 425 MB space
on IDE channel 0 [master]
1 x Western Digital Hard disk with 2.1 GB space
on IDE channel 0 [Slave]
can suggest me, how should i configure my computer so that i can work in
linux too ?
Regards
Mohtashim Shadmani
------------------------------
From: [EMAIL PROTECTED] (J.M. Paden)
Subject: Re: Long Answer for: Installing a printer from the command line
Date: Mon, 19 Jun 2000 11:19:10 GMT
Reply-To: [EMAIL PROTECTED]
"HellNo" <[EMAIL PROTECTED]> wrote:
>Hello,
>I got a very small box on which I would like to install a local printer. I
>haven't got an Xwindows running o I have to install it from the command
>line.
>
>Most of the posts I see are explaining how to do this from X. Can anyone
>tell me how it should be done from the command line?
>
>RedHat 6.1 on a 386
>
>Thx
>HN
>
>
The following is an old log of my installation of a HP Deskjet 520
with Slackware. I have not yet upgraded to Slackware 7 (have the CDs,
but have not found the time yet.)
The following is a copy of a checklist I developed while struggling to
get my own printer working under linux for the first time.
lpd will not function unless you are configured for tcp/ip, even if
you are not using it to connect to a network or the internet. For
Slackware look in Disk n5. lpr is located within tcpip.tgz file now.
Note: The following exception has been noted by C.J. Read:
"However there are exceptions, notably the lpd in
slakware/a1/bsdlpr.tgz
(only 70k of tarball too!). I have a laptop with no networking
installed but lpr functions, as does "magicfilter"."
You can make the necessary configuration changes by logging in as
"root" and using the command:
netconfig
This will prompt you for ENTER HOSTNAME: pick any name you want to,
but I suggest you use all lowercase. You will then be asked for
domain, which in your case will be eaze.net. You should also say yes
to "Only use loopback".
As for /etc/HOSTNAME:
<name_you_have_assigned_your_box>
My linux box is known as trivium and this is the
only entry in etc/HOSTNAME. You can name your box anything
you wish.
When you configured your kernel at time of installation, did you say
yes to parallel printer support? If not, do so when you reinstall.
I suggest you doublecheck. I just finished changing from an
old kernel to 2.0.33 and distinctly remembered several entries in my
configuration that did not make it into the .config file. I am not
sure if it was because of my typing, or whether there is an occasional
problem in the software that causes this problem. To double check you
can:
cd /usr/src/linux
ls -a
less .config
Note: Make sure you use the "." in ".config".
There should be an entry under the #character
devices section
CONFIG_PRINTER=y
To confirm the identity of the printerport:
dmesg | more
This should show something like "lp1 at 0x0378, using polling
device
0x378 is /dev/lp1
Do you actually have a filter in /var/spool/lpd/lp? If you
don't, you will need to put one there. If you do, check to see if any
part of it looks wrong.
There are some occasions where the printer is actually on what
linux considers to be lp0, instead of lp1.
I suggest you try the following:
cd /etc
edit the printcap file with vi or whatever editor you prefer.
Put a # in front of :lp=dev/lp1:\
insert a new line:
:lp=/dev/lp0:\
Then try to print to see if this changes anything. If it does
not, then remove the line re lp0 and the # in front of the old line re
lp1.
If you are running syslogd, you can look in your logs for
messages from lpd. If there is one saying it "cannot execv "name of
input filter", your problem is with the filter.
syslogd messages are available in two files. You can access them
by:
As root
cd /var/log
less syslog
or
As root
cd /var/adm
less syslog
or
tail -50 /var/adm/syslog
This will show you the last 50 lines of the syslog.
cat /proc/devices
Is there a 6lp? If there is, then lp is loaded.
cat filename > /dev/lp0
and if that doesn't work, then try /dev/lp1 or /dev/lp2 --
still no
printer action, then you might have to recompile your kernel.
ps -ax | grep lpd
If you get something like 48 ? S 0:00 /usr/sbin/lpd, then lpd
is running.
Did you create a spool file? Something like
mkdir /usr/spool/lpd/some name for your printer
Does it have the right ownership and permissions? If you do not have
the x (execute permission) nothing will work.
chown root.daemon /usr/spool/lpd
chown root.daemon /usr/spool/lpd/some name for your printer
chmod ug=rwx, o=rx /usr/spool/lpd
chmod ug=rws, o=rx /usr/spool/lpd/some name for your printer
Did you create the additional files in your spool directory?
cd /usr/spool/lpd/some name for your printer
touch .seq errs status lock
chown root.daemon .seq errs status lock
chmod ug=rw,o=r .seq errs status lock
Note:
You use "touch" to create files and establish the creation
date for files. You need all four of the files
(.seq errs status and lock). The .seq file will contain the job
number counter for lpr to assign. errs is the place lpd sends errors
for logging. status is the file that contains messages that will be
reported when you type: lpc stat. The lock file is used to prevent
lpd from trying to print two files on the same printer at one time.
Do you have these files? Note the "." in the ".seq" file. You can
only see it if you use ls -a. If you do not have these files then
create them with the touch command.
Are you using a filter? Is it properly included in your printcap
file?
Do all the lines (except for the final line) of your printcap file end
with a backslash "\" ? If any of them, except for the last line, fail
to have a trailing backslash, the process is stopped.
Is there a trailing "ghost" space or tab after any of the "\" which
end the lines of your printcap? If in typing the printcap entries you
inadvertently hit a spacebar or tab, there will be a "ghost" space or
tab. You will not be able to see them, but they will cause a failure
in the execution of the printcap at that point. You can search for
the "ghosts" by :
vi /etc/printcap
Do not hit the "i" for insert, but move the cursor to the end of each
line in the printcap file by using arrows and
"end". If there are hidden spaces/tabs the cursor will go beyond the
"\" at the end of the line. If there are any spaces there, eliminate
them by using "x".
I suggest you also try:
echo $PRINTER
This will identify what your printer is identified as
within the file /etc/profile.
If the response does not match your printer, then type:
PRINTER=lp | export PRINTER
or
add a line to the /etc/profile
cd /export
vi profile
hit "i"
export PRINTER= lp
hit Shift-:
type: wq
Enter
Is your device initialized?
try 'ls > /dev/lp0' or 'ls > /dev/lp1'
Make sure you are root when you do this as only root can
write directly to the device)
There should be a symbolic link between /usr/spool -> /var/spool
ln -s /usr/spool /var/spool
My own printing problems were solved when I downloaded a copy
of apsfilter and installed it. The apsfilter program took over the
creation of all the necessary entries in printcap and established the
files and dependencies for me. If you continue to have problems, I
recommend that you try apsfilter. You can find it at :
sunsite.unc.edu/pub/Linux/system/Printing/aps-4.9.1.tgz
If you are able to successfully print, but at some later date
suddenly find that you begin receiving messages that the lpd daemon is
not present, there may be some printing files that have been left in
the queue that your filter cannot identify. Delete these files and
then try again. This may cure the problem.
Regards,
[EMAIL PROTECTED]
"The last temptation is the greatest treason:
To do the right deed for the wrong reason."
--T.S. Eliot
------------------------------
** 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
******************************