Re: [newbie] ppa

1999-08-26 Thread James Schofield

Because you need to tell the system what to use to execute the commands
contained in the file.  Check /etc/rc.d/rc.local and
/etc/rc.d/rc.sysinit and you'll find the same at the top of them. 
Probably the same in the scripts in /etc/rc.d/init.d/.



here is a point Steve.. why not just add the line at the end of the
rc.local script.. thats what I did with my setserial command.. 

Rather than creating a new script??

James



Re: [newbie] ppa

1999-08-26 Thread Manny Styles


- Original Message -
From: James Schofield [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 26, 1999 9:21 AM
Subject: Re: [newbie] ppa


 Because you need to tell the system what to use to execute the commands
 contained in the file.  Check /etc/rc.d/rc.local and
 /etc/rc.d/rc.sysinit and you'll find the same at the top of them.
 Probably the same in the scripts in /etc/rc.d/init.d/.
 
 

 here is a point Steve.. why not just add the line at the end of the
 rc.local script.. thats what I did with my setserial command..

 Rather than creating a new script??

 James



I had considered that too after Steve's help, but I had no idea which rc
script I would add it too.

Manny Styles
[EMAIL PROTECTED]
---


NetZero - We believe in a FREE Internet.  Shouldn't you?
Get your FREE Internet Access and Email at
http://www.netzero.net/download/index.html



Re: [newbie] ppa

1999-08-26 Thread Steve Philp

James Schofield wrote:
 
 Because you need to tell the system what to use to execute the commands
 contained in the file.  Check /etc/rc.d/rc.local and
 /etc/rc.d/rc.sysinit and you'll find the same at the top of them.
 Probably the same in the scripts in /etc/rc.d/init.d/.
 
 
 
 here is a point Steve.. why not just add the line at the end of the
 rc.local script.. thats what I did with my setserial command..
 
 Rather than creating a new script??

Because /etc/rc.d/rc.modules is specifically checked for by
/etc/rc.d/rc.sysinit to allow for setting up modules during boot.  More
a question of cleanliness and style than a question of correctness...
either will work fine. 

-- 
Steve Philp
Network Administrator
Advance Packaging Corporation
[EMAIL PROTECTED]



Re: [newbie] ppa

1999-08-25 Thread Joseph S. Gardner

Steve Philp wrote:

 Manny Styles wrote:
 
  I have an Iomega Zip 100 parallel port zip drive connected to my system.
  When I used Mandrake 5.3, it was detected during installation, and was ready
  to be mounted when I first started the system.  with 6.0, it was not
  detected, and would not mount until I used "modprobe ppa".  Unfortunately,
  this does not completely fix the problem.  I have to use modprobe everytime
  I start my linux system in order to mount my zip drive.  Is there a way I
  can get around this, and/or have the ppa module load at boot?

 Sure, create a file /etc/rc.d/rc.modules that contains:

 #! /bin/sh

 modprobe ppa

 Then set it to be executable:

 chmod +x /etc/rc.d/rc.modules

 And it'll be run auto-magically whenever you boot.

 --
 Steve Philp
 Network Administrator
 Advance Packaging Corporation
 [EMAIL PROTECTED]

Steve,

What is the line#! /bin/shfor?  I thought the "#" char. signified a
comment to follow?

Joe




Re: [newbie] ppa

1999-08-25 Thread Steve Philp

"Joseph S. Gardner" wrote:
 
 Steve Philp wrote:
 
  Manny Styles wrote:
  
   I have an Iomega Zip 100 parallel port zip drive connected to my system.
   When I used Mandrake 5.3, it was detected during installation, and was ready
   to be mounted when I first started the system.  with 6.0, it was not
   detected, and would not mount until I used "modprobe ppa".  Unfortunately,
   this does not completely fix the problem.  I have to use modprobe everytime
   I start my linux system in order to mount my zip drive.  Is there a way I
   can get around this, and/or have the ppa module load at boot?
 
  Sure, create a file /etc/rc.d/rc.modules that contains:
 
  #! /bin/sh
 
  modprobe ppa
 
  Then set it to be executable:
 
  chmod +x /etc/rc.d/rc.modules
 
  And it'll be run auto-magically whenever you boot.
 
  --
  Steve Philp
  Network Administrator
  Advance Packaging Corporation
  [EMAIL PROTECTED]
 
 Steve,
 
 What is the line#! /bin/shfor?  I thought the "#" char. signified a
 comment to follow?
 
 Joe

It means to use /bin/sh to interpret the script that follows. 
Similarly, you would use "#! /usr/bin/perl" for a Perl script and "#!
/bin/csh" for a Csh script.
-- 
Steve Philp
Network Administrator
Advance Packaging Corporation
[EMAIL PROTECTED]



Re: [newbie] ppa

1999-08-25 Thread Steve Philp

Manny Styles wrote:
 
 - Original Message -
 From: Joseph S. Gardner [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, August 25, 1999 7:19 AM
 Subject: Re: [newbie] ppa
 
  Steve Philp wrote:
 snip
   Sure, create a file /etc/rc.d/rc.modules that contains:
  
   #! /bin/sh
  
   modprobe ppa
  
   Then set it to be executable:
  
   chmod +x /etc/rc.d/rc.modules
  
   And it'll be run auto-magically whenever you boot.
  
   --
   Steve Philp
   Network Administrator
   Advance Packaging Corporation
   [EMAIL PROTECTED]
 
  Steve,
 
  What is the line#! /bin/shfor?  I thought the "#" char. signified
 a
  comment to follow?
 
  Joe
 
 
 I believe that it switches to the sh shell from bash shell, which is usually
 the default.  As to why you need sh for a script, I was actually planning to
 write an e-mail asking that exact question.

Because you need to tell the system what to use to execute the commands
contained in the file.  Check /etc/rc.d/rc.local and
/etc/rc.d/rc.sysinit and you'll find the same at the top of them. 
Probably the same in the scripts in /etc/rc.d/init.d/.


-- 
Steve Philp
Network Administrator
Advance Packaging Corporation
[EMAIL PROTECTED]



Re: [newbie] ppa

1999-08-25 Thread Gabriel Fernández

Dear Steve:

   You are right about # being the beginning of a comment.

   However, the combination #! indicates that an executable will follow 
setting up a new shell to work with.

   For instance, if you run the script from CSH or TCSH all the command have 
to be CSH based.  If you add the line '#!/bin/sh' at the beginning of the 
script, it will start a Bourne Shell within your shell and then will execute 
all the commands that follow.

   I hope this helps.

   Bye,

Gabriel


From: "Joseph S. Gardner" [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [newbie] ppa
Date: Wed, 25 Aug 1999 07:19:30 -0400

Steve Philp wrote:

  Manny Styles wrote:
  
   I have an Iomega Zip 100 parallel port zip drive connected to my 
system.
   When I used Mandrake 5.3, it was detected during installation, and was 
ready
   to be mounted when I first started the system.  with 6.0, it was not
   detected, and would not mount until I used "modprobe ppa".  
Unfortunately,
   this does not completely fix the problem.  I have to use modprobe 
everytime
   I start my linux system in order to mount my zip drive.  Is there a 
way I
   can get around this, and/or have the ppa module load at boot?
 
  Sure, create a file /etc/rc.d/rc.modules that contains:
 
  #! /bin/sh
 
  modprobe ppa
 
  Then set it to be executable:
 
  chmod +x /etc/rc.d/rc.modules
 
  And it'll be run auto-magically whenever you boot.
 
  --
  Steve Philp
  Network Administrator
  Advance Packaging Corporation
  [EMAIL PROTECTED]

Steve,

What is the line#! /bin/shfor?  I thought the "#" char. signified a
comment to follow?

Joe




___
Get Free Email and Do More On The Web. Visit http://www.msn.com



Re: [newbie] ppa

1999-08-24 Thread Steve Philp

Manny Styles wrote:
 
 I have an Iomega Zip 100 parallel port zip drive connected to my system.
 When I used Mandrake 5.3, it was detected during installation, and was ready
 to be mounted when I first started the system.  with 6.0, it was not
 detected, and would not mount until I used "modprobe ppa".  Unfortunately,
 this does not completely fix the problem.  I have to use modprobe everytime
 I start my linux system in order to mount my zip drive.  Is there a way I
 can get around this, and/or have the ppa module load at boot?

Sure, create a file /etc/rc.d/rc.modules that contains:

#! /bin/sh

modprobe ppa

Then set it to be executable:

chmod +x /etc/rc.d/rc.modules

And it'll be run auto-magically whenever you boot.

-- 
Steve Philp
Network Administrator
Advance Packaging Corporation
[EMAIL PROTECTED]



Re: [Re: [newbie] PPA?]

1999-08-23 Thread Don Whitman

Steve Spiller [EMAIL PROTECTED] wrote:
Don Whitman wrote:
 
 I unfortunately have a HP 722c printer. I am trying to install ppa.
I
 downloaded ppa to my home directory, extracted the archive, changed
 directories, and compiled the program (to the best of my knowledge). There
are
 still some files I need to add.
 I have some questions though. It said to copy the file to the
/usr/local/src
 directory before all that was done. I have tried several things;
 /home/Don/ppa.0.8.6.tar.gz cp /usr/local/src , snip

I may be wrong here (I'm a relative newbie) but shouldn't that be:
cp /home/Don/ppa.0.8.6.tar.gz /usr/local/src

I have tried that among other things. I got no such file or directory.
Don


Get your own FREE, personal Netscape WebMail account today at 
http://webmail.netscape.com.