Linux-Setup Digest #210, Volume #19              Thu, 20 Jul 00 21:13:15 EDT

Contents:
  Re: No Sounds - SBLive! - Need Forced Settings (Chris Barone)
  savage4, help ([EMAIL PROTECTED])
  Re: Flickering Monitor (H Dziardziel)
  Re: Disabling NIS at boot (H Dziardziel)
  Re: No Sounds - SBLive! - Need Forced Settings ([EMAIL PROTECTED])
  Re: environment var's in linux (Bit Twister)
  upgrading kernel & other newbie q's (Quentin Christensen)
  Re: Xwindows doesn't start. (H Dziardziel)
  Re: Adaptec AVA1502 and Ricoh MP6200S CD-R/W (John McCabe)
  Re: Dualboot - Windows 2000 and Redhat 6.2 ("Shane R. Ward")
  Re: ftp sees real user as guest (P&C)
  Linux Install Help ("David N. Haney")
  Re: ftp sees real user as guest (Joachim Feise)
  Re: red hat 6.2 installation (Andrew Wong)
  Re: Jet Direct (ljb)
  Re: Printcap Help.  Tough question, need a hand (ljb)
  Re: Jet Direct (Andy Kinsey)
  Re: No Sounds - SBLive! - Need Forced Settings (Chris Barone)

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

From: Chris Barone <[EMAIL PROTECTED]>
Subject: Re: No Sounds - SBLive! - Need Forced Settings
Crossposted-To: linux.redhat.install
Date: Thu, 20 Jul 2000 23:18:18 GMT

Well, aumix is fine. My /proc/interrupts looks like yours. How do you run
'cdplay' from the command line? Thanks again - Chris


On Thu, 20 Jul 2000, [EMAIL PROTECTED] wrote:
>In linux.redhat.install Chris Barone <[EMAIL PROTECTED]> wrote:
>: No errors, at boot, or when trying to use the mixer, cdplayer, or system
>: sounds. When I try to play the sample, a seven second pause, but no sound. The
>: cat /proc- had no conflicts or errors. My /etc/lilo.conf has no reference to
>: pci. The system thinks it's working just fine. The only error I ever see, is
>: when I shutdown X- there is a 'kaudioserver fatal error' on the terminal
>: screen, I think from trying to play system sounds. As for the 'tar -gunzip' it
>: says there is no such file. I can gunzip it first, and then untar it. After
>: that - I can't 'make install' - thanks for your time - Chris
>
>What about "aumix".  It really seems like things are sort of working (except
>for the obvious bit about not actually hearing any sound) *Maybe* raising the
>output of one of the lines in aumix or some other mixer program will fix the
>problem.
>
>Also try playing a CD with something like cdplay.  
>
>Avoid using kde programs to test sound at this point, since they will need
>kaudioserver running, (and from what you say it looks like it is dying).
>
>If you can see that there is no conflict in any of the /proc/ stuff, AND
>there are resources allocated for the sblive too, I don't think it is a
>system conflict.  Here's my /proc/interrupts by the way:
>
>           CPU0       
>  0:     169985          XT-PIC  timer
>  1:       8270          XT-PIC  keyboard
>  2:          0          XT-PIC  cascade
>  3:     142224          XT-PIC  serial
>  8:          1          XT-PIC  rtc
>  9:          0          XT-PIC  emu10k1
> 10:         11          XT-PIC  eth0
> 12:      27333          XT-PIC  PS/2 Mouse
> 13:          1          XT-PIC  fpu
> 14:       7229          XT-PIC  ide0
> 15:          2          XT-PIC  ide1
>NMI:          0
>
>Well, I'm running out of ideas...
>
>Good luck though,
>
>Chris

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

From: [EMAIL PROTECTED]
Subject: savage4, help
Date: Thu, 20 Jul 2000 23:05:23 GMT

Hi.

I've posted this question here before, but got no help. Also, I have
more details now.
Here it goes: when I try to change to a text-virtual console or
halt/reboot/logout from XFree, my computer hangs:
screen shuts-off; computer doesn't reply to keyboard commands (like
alt-ctrl-del); computer stops processing other running tasks; audio CD
keeps playing.  The only thing I can do, is press to reset button.

The same problem even happens when I use the VGA16 server (with
XF86Setup, for example).

Some system background info:
Pentium3, 550Mhz; 128MB SDRAM; Savage4 display adapter.
I use Win'98 on the same machine, with no problems at all.
In fact, X itself runs great as well - till the moment I try to quit
it..

I've already tried to upgrade XFree, so please don't suggest it - it
just doesn't help.

As a diagnostic step, I wrote this perl script:
===CUT===
while (open(TIMES,">>times")) {
print TIMES scalar(localtime), "\n";
close(TIMES);
sleep 1;
}
===CUT===

It appends the current date+time to a file named 'times', every second.
I tried running this script from one virtual console, then (without
stopping it) I ran startx from another console. The file kept filling
with times, but the last line in the file contained the time at which I
quit X.


Well?

Thanks..





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

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

From: [EMAIL PROTECTED] (H Dziardziel)
Subject: Re: Flickering Monitor
Date: Thu, 20 Jul 2000 23:24:33 GMT

On Wed, 19 Jul 2000 16:15:58 -0400, "D F"
<[EMAIL PROTECTED]> wrote:

>[EMAIL PROTECTED] wrote in message
><8l50s6$6vg$[EMAIL PROTECTED]>...
>>I am using a compaq DP266mmx and Redhat 6.2
>>
>>I am not sure what video card I have.  My screen is
>consistnely
>>flickering, it is especially bad when I have a lot of white
>on the
>>screen.  Any ideas?
>>
>
>I believe this is an indication that the refresh rate you're
>driving the monitor at is a little too high. Many modern
>monitors will support refresh rates that are annoyingly high
>for the human eye. As long as you're within the specs for
>your monitor, it's not like it's going to endanger the
>hardware or anything like that. It's just that it can be
>annoying to look at. OTOH, if you're overdriving the
>monitor, it could be a problem. Be forewarned.
>
>This happened to me when I was running my ViewSonic in
>1600x1280. When I'd avert my eyes to read a piece of paper
>or something, I'd pick up this annoying flicker from the
>monitor in my peripheral vision and it was driving me crazy.
>I stepped the resolution down to 1280x1024 and it's fine...
>
>Dave Fluri
>North Bay, Ontario  Canada
>
>
Hi,  just a slight adjustment, the higher (1600x1280) resolution
will result in a lower not higher refresh rate.  This is due to
the monitor's sweep frequency limits that the resolution and 
refresh rates combine into.  And, the eye is sensitive to low
not high refresh rates ie flickering is noticeable at low rates
especially at the visual periphery.

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

From: [EMAIL PROTECTED] (H Dziardziel)
Crossposted-To: linux.redhat.install
Subject: Re: Disabling NIS at boot
Date: Thu, 20 Jul 2000 23:30:55 GMT

On Thu, 20 Jul 2000 15:10:50 +0100, "Ben Brown" <[EMAIL PROTECTED]>
wrote:

>run the command ntsysv
>
>Frank E Harrell Jr <[EMAIL PROTECTED]> wrote in message
>news:[EMAIL PROTECTED]...
>> By mistake I answered yes when installation of RedHat 6.2
>> asked me if I wanted NIS enabled.  Is the following the
>> correct procedure for disabling this at boot time?
>> cd /etc/rc.d/rc3.d
>> rm K84ypserv  (symbolic link to ../init.d/ypserv)
>> rm K34yppasswdd
>>
>> Thanks in advance  -Frank
>>
And then look at the rcn.d files to see how the Starting
and Killing of services/daemons is done there.  Very neat.
and 
>> --
>> Frank E Harrell Jr
>> Professor of Biostatistics and Statistics
>> Division of Biostatistics and Epidemiology
>> Department of Health Evaluation Sciences
>> University of Virginia School of Medicine
>> http://hesweb1.med.virginia.edu/biostat
>>
>>
>
>


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

From: [EMAIL PROTECTED]
Crossposted-To: linux.redhat.install
Subject: Re: No Sounds - SBLive! - Need Forced Settings
Date: 20 Jul 2000 23:35:13 GMT

In linux.redhat.install Chris Barone <[EMAIL PROTECTED]> wrote:
: Well, aumix is fine. My /proc/interrupts looks like yours. How do you run
: 'cdplay' from the command line? Thanks again - Chris

To play a CD
cdplay

To stop the CD
cdplay stop

:>: screen, I think from trying to play system sounds. As for the 'tar -gunzip' it
:>: says there is no such file. I can gunzip it first, and then untar it. After
:>: that - I can't 'make install' - thanks for your time - Chris

I meant to reply to this before...

if gunzip is there, 

tar zxvf blahblahblah.tar.gz

should work... I wonder why it isn't for you.  Oh well...

"make install" has to be done as root, in the directory that was just created
by tar.

It will fail if you haven't installed: make, gcc (or egcs), kernel headers,
or the glibc-devel package.  Also since this is a daily snapshot it is possible
that one day's snapshot will fail, and the next will work.

shrug,
Chris

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

From: [EMAIL PROTECTED] (Bit Twister)
Subject: Re: environment var's in linux
Reply-To: This_news_group.invalid
Date: Thu, 20 Jul 2000 23:37:23 GMT

The command
        export RHIDE=/dir/spec/here

Global for everyone on the system    /etc/profile
Global for your account             ~/.bash_profile

Next login should pick up the variable.

On Thu, 20 Jul 2000 17:25:30 +1000, Linda Houston <[EMAIL PROTECTED]> wrote:
>can anyone tell me how to define a global environtment variable in linux,
>specifically a directory for RHIDE so i can read info files from inside it


-- 
The warranty and liability expired as you read the message.
If the above breaks your system, it's yours and you keep both pieces.
Practice safe computing. Backup the file before you change it. 
Do a,  man every_command_here, before doing anything or running a script.

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

From: [EMAIL PROTECTED] (Quentin Christensen)
Subject: upgrading kernel & other newbie q's
Date: 20 Jul 2000 23:57:18 GMT

Hi all,

I'm new to both Linux and this newsgroup, but I've been reading a lot and 
learning a lot, and I think I've done ok for my first 3 days :)  I'm enjoying 
myself anyway & I guess that's the main thing.

Hopefully my questions aren't too out of place here, I apologise in advance if 
they are.  I have been reading lots of stuff, and I'm trying to ask only 
questions that I haven't found covered there, or that I've been given different 
opinions on.

I've been meaning to try linux for a year or so now, but haven't got really 
motivated until I started taking a subject dealing with unix at uni this week 
:)  At uni we're going to be using Solaris, I have a copy of Slackware 7.0 and 
was told by a friend that I won't see any real difference and might as well 
stay with slackware rather than hunting down (or downloading) Solaris.  Is that 
right?  From reading the Solaris book, I haven't seen that much so far that is 
too different.

The kernel I have is version 2.2.13.  I was told by one person that I should 
upgrade this to a newer version, and by someone else that I needn't bother, 
especially if I were to install one of the really new test-versions.  I don't 
really want to start playing with a test or beta version just yet, I'd prefer a 
nice stable version, so I know if it stuff's up it's probably something I've 
done :)  Does anyone have any suggestions / thoughts on this?

I'm a little bit confused by all the different configurations for things, such 
as what is the difference between the different distributions, like Slackware, 
Red Had, et cetera?  Are they just different base setups, such as how I have 
win95 setup compared to how Fred has his win95 setup?

Also I've been having a look at X-Windows, with the different window managers, 
like Enlightenment and KDE - I noticed that in the menu's they had setup 
different (for example) terminal's, is it just that they have links to 
different things, or is the different programs more than that?  The different 
window managers are say, similar to different front-ends for windows 95?

Also, when setting up X, I told it that I have a Diamond Viper 770, though It 
wouldn't let me specify the 32 MB RAM it's got... I've noticed that 'video 
things' seem to be very jerky (eg the screensaver, switching windows) I was 
told that I have to use a version of X that's built for, or compatible with my 
video card to get best results, I'm not even sure which version of X I have! I 
do have an X11R6 directory, if that helps...  And I was told by someone else to 
(re)build a later version of the Kernel, which should I do?  This question at 
least is probably covered in the documentation I have, but I haven't had time 
to read it all yet, I just put it in here, because I wanted to ask the other 
questions, so, while i'm here asking :)

Regards

Quentin.
-- 
Quentin Christensen.
My Freeware: http://www.ozemail.com.au/~mynx/quentisl/freeware.html
To reduce spam, my email is protected by the Beer spam filter: 
replace the 'chug' with a 'hug' in my address to reach me.

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

From: [EMAIL PROTECTED] (H Dziardziel)
Subject: Re: Xwindows doesn't start.
Date: Fri, 21 Jul 2000 00:01:13 GMT

On Thu, 20 Jul 2000 16:11:57 GMT, [EMAIL PROTECTED] wrote:

>Hello All,
>My startx doesn't work. Please help me fix this issue.
>
>I have tried all of these. And when I start my X. I get the following.
>Hope
> this helps you to help me.
> root> startx
> The error message is as follows:
> (---SVGA): mode "1024x768" needs hysn freg of 80.21khtz deleted
>(---SVGA):
> mode "1280x1024" needs hysn freq of 81.73 khtz deleted .
> .
> .
> .
> (---SVGA): mode "1800x1440" needs hsync freq of 104.52 khrtz deleted
>
Those messages mean the monitor specs do not allow these modes.  You
need to recheck the vertical frequency  (too high) or horizontal
frequency or dot clock (too low) but be careful not too exceed the
supplied specs!  Generally you can lower the vertical rate which will
result in a lower refresh rate and possibly some flicker at higher
resolutions.  See the XFree docs ie " Configuring XFree86: A
Step-By-Step Guide -The XFree86 Project, Inc".

> (**) Fontpath set to "/usr/X11R6/lib/x11/fonts/local/,...." (--)SVGA:
>PCI
> :Intel unknow chipset (0X7121 rev3, memory @0xd8000000, 0xdc000000
> (--SVGA): unable to open /dev/agpgart : No such device.
>
> Fatal server error:
> Aborting.
>
Go to the Intel site forum.  There is a lot of help there on this chip
set and in particular the tricky agpgart setup.

> Please help me to fix this problem, so that I run xwindows on my linux
> system.
>
> Regards
> Ramkumar V
>

I suggest you start by selecting easy generic modes and monitors eg
vga svga evga for all the monitor and desired modes one by one and
fine tune each one by one.  Going for all at once can be a handfull
initially.  Good luck.
> Display
> Chipset
> Intel 810 Chipset Graphics adapter
>
> Memory Type
> Uses System Memory PC100 SDRAM
>
> Memory Size
> Memory allocated by system as needed from 1 - 8MB
>
> Bus
> AGP
>
> Resolution at Maximum Color Depth
> 1024x768/16.7 Million colors
>
> Color Depth at Maximum Resolution
> 256 colors/1600x1200
>
> Maximum Scan Rate/Resolution 96 Hz/1600x1200
>
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.


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

From: [EMAIL PROTECTED] (John McCabe)
Subject: Re: Adaptec AVA1502 and Ricoh MP6200S CD-R/W
Date: Fri, 21 Jul 2000 00:05:23 GMT

Guy Maskall <[EMAIL PROTECTED]> wrote:

>John McCabe wrote:
>
>> [EMAIL PROTECTED] (John McCabe) wrote:
>>
>> I've tried both these suggestions and they don't quite do what I want.
>> Would I be better off splashing out on a real AHA-1520? Will that be
>> detected properly?
>>
>> Thanks.
>>
>> Best Regards
>> John McCabe <[EMAIL PROTECTED]>
>
>Hmmm...
>I can't comment on the benefit of getting a 'proper' aha1520. The fact
>that you can manually get the module to load implies that it's not a h/w
>problem so you wouldn't gain from a new card in that case.

My main aim is to get it all working perfectly without having to
fiddle around with files I don't know much about. Basically I am
hoping that, if I can just replace the AVA-1502 with an AHA-1520, it
will automatically be detected and configured by the kernel without me
having to worry about it.

>As you have scsi_hostadaptor aliased to aha152x then doing
>'/sbin/modprobe scsi_hostadaptor' will be the same as '/sbin/modprobe(or
>insmod) aha152x'. From what you said before, this then loads your host
>adaptor driver and the h/w is detected.

Is there a difference between scsi_hostadaptor and scsi_hostadapter?

>When you say it doesn't quite do what you want; what exactly do you want?

See above.

>If you do '/sbin/modprobe scsi_hostadaptor' you get what you want, yes?

Not really - no. Because it is manual, not automatic.

>If you add 'post-install scsi_mod /sbin/insmod aha152x' to your
>conf.modules does this not load the aha152x driver?

No - it didn't seem to.

> It shouldn't be
>different but does 'post-install scsi_mod /sbin/insmod scsi_hostadaptor'
>(after the alias scsi_hostadaptor aha152x line) do anything different?
>What about 'post-install XYZ /sbin/insmod scsi_hostadaptor'? (where XYZ
>is either sg or sd or whatever scsi device driver is used for the cd
>device).

That may be worth a try.

Thanks


Best Regards
John McCabe <[EMAIL PROTECTED]>

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

From: "Shane R. Ward" <[EMAIL PROTECTED]>
Subject: Re: Dualboot - Windows 2000 and Redhat 6.2
Date: Fri, 21 Jul 2000 00:06:42 GMT

I have now gotten to the point where I get the
dreaded "Li" at bootup.

A little more info -
Primary IDE master = Windows 2000, NTFS, boot device
ID 0, SCSI, 2GB = Linux drive, sda1 /boot, sda5 /root, sda2 Swap
ID 1, SCSI, 36.4GB = NTFS

Thanks,

Shane


"Shane R. Ward" <[EMAIL PROTECTED]> wrote in message
news:szId5.27525$[EMAIL PROTECTED]...
> I am attempting to use Windows 2000 boot loader to setup a dualboot with
> linux.
>
> What I have is -
> Windows 2000, hda1, NTFS
> Redhat 6.2 ( /root ), sda5
> Redhat 6.2 ( /boot), sda1
>
> What I have done -
> In linux I created a boot file using:
>
>     # dd if=/dev/sda5 of=/bootsect.lnx bs=512 count=1
>
> I then copied "bootsect.lnx" to an NTFS drive.
>
> I placed "bootsect.lnx" on the root directory of my boot drive.
>
> I edited "boot.ini" and added the following line:
>
>     C:\bootsect.lnx="Linux"
>
> When I boot and select "Linux" I get a black screen with a blinking cursur
> in the
> upper left corner.
>
> Any ideas.....
>
> Thanks,
>
> Shane
> [EMAIL PROTECTED]
>
>



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

From: [EMAIL PROTECTED] (P&C)
Crossposted-To: comp.os.linux.networking,alt.os.linux
Subject: Re: ftp sees real user as guest
Date: Fri, 21 Jul 2000 00:21:51 GMT

huh?  I'm a windows person and have no earthly idea what you meant.
I'll be using ws_ftp.  What can I change on my server side?

>
>use "ftp -n <host>" or better yet, "ncftp -u <username> <host>"
>
>
>
>P&C wrote:
>> 
>> I need to log into my ftp server and upload files to my html directory
>> but when I log-in I am logged in as a guest.  As such I can not create
>> or write/update any files.
>> 
>> Please help
>> p c   a t   n t a d m i n   d o t   c o m

p c   a t   n t a d m i n   d o t   c o m

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

From: "David N. Haney" <[EMAIL PROTECTED]>
Subject: Linux Install Help
Date: Thu, 20 Jul 2000 17:28:34 -0700

Linux gurus:

I have tried installing Red Hat 6.2 and 6.1 downloaded from the web
without success.  I have also tried installing TurboLinux 6.0.4
downloaded from the web also without success.  The problems seem
to be a mixture of problems incuding the fact that my machine
only has SCSI drives but mostly a LILO problem.  My disks are
2 gigs and larger.  I have attempted these installations on 
2 different machines with no luck.

The odd thing is that I can install TurboLinux 4.0 that I PURCHASED.
I had NO problems installing this version on both machines.

My question is, do the linux distributors somehow disable the
download versions and make it more difficult to install.  Why
was it so easy to install TurboLinux 4.0 and so impossible to
install other versions?

Are there any suggestions on versions of linux that can be installed
easily?

Thanks for the help.
-- 
#########              David N. Haney, Ph.D.                 #########
#  Haney Associates                            Phone - 858-483-1197  #
#  5455 Westknoll Dr.                            FAX - 858-483-1046  #
#  La Jolla, CA 92037                       Email - [EMAIL PROTECTED]  #
#################                                #####################

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

From: Joachim Feise <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,alt.os.linux
Subject: Re: ftp sees real user as guest
Date: Thu, 20 Jul 2000 17:29:41 -0700
Reply-To: [EMAIL PROTECTED]

You probably need to reconfigure your ws_ftp client to log in with your
real user name.
Since this is a Linux newsgroup, you probably have to go somewhere
else for step-by-step instructions.
The answer you got refers to a Linux ftp client.

-Joe

P&C wrote:
> 
> huh?  I'm a windows person and have no earthly idea what you meant.
> I'll be using ws_ftp.  What can I change on my server side?
> 
> >
> >use "ftp -n <host>" or better yet, "ncftp -u <username> <host>"
> >
> >
> >
> >P&C wrote:
> >>
> >> I need to log into my ftp server and upload files to my html directory
> >> but when I log-in I am logged in as a guest.  As such I can not create
> >> or write/update any files.
> >>
> >> Please help
> >> p c   a t   n t a d m i n   d o t   c o m
> 
> p c   a t   n t a d m i n   d o t   c o m

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

From: Andrew Wong <[EMAIL PROTECTED]>
Subject: Re: red hat 6.2 installation
Date: Fri, 21 Jul 2000 00:30:03 GMT

Thanks for responding.  I tried both fdisk & disk druid.  Still can't.  Any
ideas?

> Hello Andrew,
> 
> When you tried to install RedHat, did you setup your RH partition as a
> Linux partition?.
> 
> The RedHat DiskDruid utility will enable you to easily do this.
> 
> LGB


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

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

From: [EMAIL PROTECTED] (ljb)
Subject: Re: Jet Direct
Date: 21 Jul 2000 00:55:57 GMT

[EMAIL PROTECTED] wrote:
>I'm running redhat 6.2 and i want it to serve as the spooler for a HP
>plotter with a jet direct card.  Printing will be done from windows machines
>with the correct drivers installed, but for trouble shooting purposes I am
>trying to print from the linux box using a text file with commands
>understood by the plotter.  when i use the "lpr -P plotter testfile" the
>file gets spooled in /var/spool/lpd but never makes it to the plotter!  My
>printcap is as follows:
>
>
>plotter:\
>:lp=:\
>:rm=plotter:\
>:rp=raw:\
>:lf=/var/spool/lpd/plotter.log:\
>:sd=/var/spool/lpd/plotter:
>
>
>I can ping plotter and even telnet into plotter from the linuxbox.  I am
>completely frustrated so any small piece of info would be GREATLY
>appreciated.

Print your test file, then use "lpc status" and "lpq -Pplotter"
and see what they say. This should tell you if the file is stuck
on your system (indicating a network-type problem). If they report
that the queue is empty, I would guess the file was sent to your
plotter correctly, but the plotter ignored it. This can happen with
HPGL devices if (for example) all the plot data is outside the clip
window. Are you really sure you have a good test file?
By the way, I suggest you put :mx#0: in printcap, or large files will
not make it to the plotter, and :sh: to suppress header.

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

From: [EMAIL PROTECTED] (ljb)
Subject: Re: Printcap Help.  Tough question, need a hand
Date: 21 Jul 2000 01:02:13 GMT

[EMAIL PROTECTED] wrote:
>Hey Everyone,
>
>    Hopefully someone can answer this for me.  I am setting up my Redhat 6.2
>box to be a print server for windows machines.  The printer in question is a
>HP Plotter but the issue is really the fact the it has a Jet Direct card.
>For testing purposes I am just using the "lpr -Pplotter testfile" from the
>command line.  I know that the Plotter and jet direct card are in fact
>working because I can telnet to port 9100 and type the contents of the
>testfile and the plotter prints out a nice circle.  isn't that sweet?  So I
>have concluded that my problem lies in the printcap file or some other
>config in RedHat.  Here is my printcap:
>
>plotter:\
>:lp=:\
>:rm=plotter:\
>:rp=raw:\
>:lf=/var/spool/lpd/plotter.log:\
>:sd=/var/spool/lpd/plotter:
>
>So here is the million dollar question.  The printcap specifies that the
>remote printer is plotter (which is resolved to 192.168.1.9 when I ping it
>from redhat) but how does lpd know what port to go to?!  Does the rp=raw
>line tell lpd to use raw port?  When I check /etc/services, there is no raw
>port there.  Someone please cure me of my ignorance.

"raw" is built in to the firmware in the JetDirect card as the name
of the print queue used for lpd print requests. Actually there are
two, "raw" and "text" (which does end-of-line conversions).
This does NOT use port 9100! Port 9100 is an HP-specific thing. When
you use rm=/rp= in printcap, you are talking to the standard BSD "print"
server (port 515) service in the JetDirect card.

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

From: Andy Kinsey <[EMAIL PROTECTED]>
Subject: Re: Jet Direct
Date: Fri, 21 Jul 2000 01:13:02 +0000

Ty Hudson wrote:

> I'm running redhat 6.2 and i want it to serve as the spooler for a HP
> plotter with a jet direct card.  Printing will be done from windows machines
> with the correct drivers installed, but for trouble shooting purposes I am
> trying to print from the linux box using a text file with commands
> understood by the plotter.  when i use the "lpr -P plotter testfile" the
> file gets spooled in /var/spool/lpd but never makes it to the plotter!  My
> printcap is as follows:
>
> plotter:\
> :lp=:\
> :rm=plotter:\
> :rp=raw:\
> :lf=/var/spool/lpd/plotter.log:\
> :sd=/var/spool/lpd/plotter:
>
> I can ping plotter and even telnet into plotter from the linuxbox.  I am
> completely frustrated so any small piece of info would be GREATLY
> appreciated.
>
> Thanks,
>
> Ty Hudson

Ty,

I have pasted my /etc/printcap file below:

# /etc/printcap
#
# Please don't edit this file directly unless you know what you are doing!
# Be warned that the control-panel printtool requires a very strict format!
# Look at the printcap(5) man page for more info.
#
# This file can be edited with the printtool in the control-panel.

##PRINTTOOL3## REMOTE ljet3 300x300 letter {} LaserJet3 Default 1
lp:\
 :sd=/var/spool/lpd/lp:\
 :mx#0:\
 :sh:\
 :rm=192.168.0.4:\
 :rp=raw:\
 :if=/var/spool/lpd/lp/filter:
##PRINTTOOL3## REMOTE ljet4 300x300 letter {} LaserJet4 Default 1
lp0:\
 :sd=/var/spool/lpd/lp0:\
 :mx#0:\
 :sh:\
 :rm=192.168.0.5:\
 :rp=raw:\
 :if=/var/spool/lpd/lp0/filter:
##PRINTTOOL3## REMOTE cdj550 300x300 letter {} DeskJet550 3 1
lp1:\
 :sd=/var/spool/lpd/lp1:\
 :mx#0:\
 :sh:\
 :rm=192.168.0.6:\
 :rp=raw:\
 :if=/var/spool/lpd/lp1/filter:

I have 3 printers on the network (the Laserjet III is on a jetdirect; the
others are on old Milan printserver boxes). All of them have been set up in
printtool as remote unix printers. Notice that their respective IP addresses
are set in the "rm=" line. For remote host, set the IP address of the jetdirect
box. For remote queue, set it to raw. Then select the plotter in the input
filter section. You MUST set an IP address on the jetdirect box for IP printing
to work. I did this by using the JetAdmin program for Windows 95. If you have
no way of using Windows, you can download WebJetadmin for Unix from HP's
website and set the IP address with that. If you need to, you can e-mail me.
Let me know how you make out.

Hope this helps,

Andy




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

From: Chris Barone <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.install
Subject: Re: No Sounds - SBLive! - Need Forced Settings
Date: Fri, 21 Jul 2000 01:08:49 GMT

I tried cdplay, nothing happens. I will update the kernel, with the
correct libraries, and then try the driver install gain. I'll let you
know - Thanks again - Chris

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


** 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.setup) 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-Setup Digest
******************************

Reply via email to