Re: [newbie] Command execution

2000-06-02 Thread Jim Brown


When you type in a program to be executed, bash will search for the
programs based on what's in your PATH environmental variable.
If you don't have "./" in your PATH, it won't look there
for the program.  Just add "./" to your PATH in .bash_profile, it will fix
the problem.  It's a matter of taste whether you want it to look in
the current dir or not I guess.

Someting like:

vi .bash_profile
/PATH
PATH=$PATH:$HOME/bin:./


Barry Winch wrote:

> Can someone please explain the concept behind ./ in executing a command.
>
> If I am in the directory where the programme resides and type the programme
> name, I get a:
> "bash: programme name: command not found" message
>
> If, from the same directory I type ./programme name everything works as
> advertised.
>
> Thanks
>
> Barry

--
CF 10K Walk:  http://members.home.net/jimgbrown/strides.html
 ___
\/\_\@  /  /\ __  ___  ___  [EMAIL PROTECTED]
/ / /\ / / /\  /--/ //\_\/\_/\ /\/\/\ /\_/\ [EMAIL PROTECTED]
/__/ / / // / / / /__/ // / /__/ //_/_/ // // / home: (972)495-3821
\__\/  \/ \/\/\/  \__\/ \/  \__\/ \_\_\/ \/ \/  work: (972)889-4228
Cole's Law:  Thinly sliced cabbage.






Re: [newbie] CD Burner

2000-05-23 Thread Jim Brown


The CD RW seems to be faked out to be a SCSI device even though
it's really an IDE device.  Try linking cdrom -> scd0 and read the tutorial

on the mandrake site for CD RW it sort of talks about this.  Mine used
to think it should be hdd and wouldn't do anything but after switching
to scd0, everything works now, my cd player, gtoaster, etc.

Michael wrote:

> Hi there!
> I have a problem with the configuring of my CD RW. I am currently
> reading the MUO's
> Howto on it, but I can't get beyond step 1. ls -l /dev/cdrom results:
> lrwxrwxrwx   1 root root3 May 17 16:52 ?dev/cdrom ->hdc
> then i do
> ls -l /dev/cdrom1 and getthe same except  8 May 22 13:38 /dev/cdrom1
> ->/dev/hdd
>
> The howto says to go to step 8 from here, but I can't make heads nor
> tails of it.
> Maybe it is a bit early for the "registered Linux user # " stuff.
> ;-P
>
> Right now it won't play or anything but does seem to be hooked up right.
>
>   ???
>
> --
>   -michael brower-
>"Dancing with Penguins"
> Registered Linux User #175480

--
CF 10K Walk:  http://members.home.net/jimgbrown/strides.html
 ___
\/\_\@  /  /\ __  ___  ___  [EMAIL PROTECTED]
/ / /\ / / /\  /--/ //\_\/\_/\ /\/\/\ /\_/\ [EMAIL PROTECTED]
/__/ / / // / / / /__/ // / /__/ //_/_/ // // / home: (972)495-3821
\__\/  \/ \/\/\/  \__\/ \/  \__\/ \_\_\/ \/ \/  work: (972)889-4228
Cole's Law:  Thinly sliced cabbage.




Re: [newbie] Lexmark Z11 Printer Driver for Linux?

2000-05-14 Thread Jim Brown


Doesn't work.


Charles A Edwards wrote:

> Mike
>Login as root. Open DrakeConfig and choose Priner Config. Follow through
> the setup questions untill you get to  select printer and there choose HP
> DeskJet 500C, print a test page and you are done.
>
>Charles
>
> - Original Message -
> From: "Michael A. Kellogg" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, May 14, 2000 3:03 PM
> Subject: [newbie] Lexmark Z11 Printer Driver for Linux?
>
> > Hi folks!
> >
> > Ok, It's a shot in the dark, but does anyone know of a printer driver that
> will
> > work for a Lexmark Z11 printer.  Or, if possible, any emulation that might
> work
> > for Linux.  Any help would be appreciated!  Thanks!
> >
> > Mike
> >
> >

--
CF 10K Walk:  http://members.home.net/jimgbrown/strides.html
 ___
\/\_\@  /  /\ __  ___  ___  [EMAIL PROTECTED]
/ / /\ / / /\  /--/ //\_\/\_/\ /\/\/\ /\_/\ [EMAIL PROTECTED]
/__/ / / // / / / /__/ // / /__/ //_/_/ // // / home: (972)495-3821
\__\/  \/ \/\/\/  \__\/ \/  \__\/ \_\_\/ \/ \/  work: (972)889-4228
Cole's Law:  Thinly sliced cabbage.






Re: [newbie] CD Rom not accessible

2000-05-10 Thread Jim Brown


I don't know if this will help, but this is what I did.
In /etc/fstab, I moved the cdrom line above the floppy line.  (just for grins)

And also, the device I used was not /dev/hdd it was /dev/scd0.
Once I did those two things everything started working.
I was reading the www.linux-mandrake.com tutorials page is
what gave me that idea to use the scd0.  You might want to go
there and read where it talks about getting a cdwriter working
with mandrake.  Apparently it tricks the cdwriter by using the
scsi device for it even though it's really IDE.  During installation,
it weirdly sets it back to IDE and then it quits working - That's
why it quits working after you install linux-mandrake.  The
tutorial helped me understand it some - check it out.

my fstab looks like (partial):
/mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/scd0 0 0
/mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd0 0 0

make sure /dev/cdrom links to /dev/scd0
cd /dev
ls -l cdrom
cdrom -> scd0


Eduardo Arauz wrote:

> -Original Message-
> From:   Eduardo Arauz [SMTP:[EMAIL PROTECTED]]
> Sent:   Tuesday, May 09, 2000 4:02 AM
> To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
> Subject:RE: [newbie] CD Rom not accessible
>
> Hi Alan i am having a similar problem mounting my cd rom, but in this case
> i ve trying almost everything ( today i will try to switch the IDE cables
> of my cd rom and cd-R to see what happens), and my fstab is exactly like
> the one above
> -- i have changed it to a thousand different forms and nothing happens, it
> sends the following error " unable to accses the specific directory" or the
> other error is " inut/output error"... i am thinking that is a hardware
> problem with my jumpers because the others device supermount perfectly.
> and yes i disabled the supermount and try to make it manual and the same
> error occurs.
> please if you or something else can help me ...
>
> J--->>>>>>imoh, I didn't realize that you're using supermount.
> That line in your /etc/fstab file is not correct, it should be
> like the one below:
>
> /mnt/cdrom  /mnt/cdrom  supermount  fs=iso9660,dev=/dev/cdrom
> 0 0
>
> and of course the softlink /dev/cdrom should link to /dev/hdd
>
> Alan
>
> -Original Message-
> From:   Alan Shoemaker [SMTP:[EMAIL PROTECTED]]
> Sent:   Saturday, May 06, 2000 12:28 PM
> To: [EMAIL PROTECTED]
> Cc: Jim Brown
> Subject:Re: [newbie] CD Rom not accessible
>
> Jimoh, I didn't realize that you're using supermount.
> That line in your /etc/fstab file is not correct, it should be
> like the one below:
>
> /mnt/cdrom  /mnt/cdrom  supermount  fs=iso9660,dev=/dev/cdrom
> 0 0
>
> and of course the softlink /dev/cdrom should link to /dev/hdd
>
> Alan
>
> Jim Brown wrote:
> >
> > Thanks for the info!
> > I did an "ls -l" in the /dev dir and it shows "cdrom -> hdd"
> > I tried deleting that and doing "ln -s hdc cdrom"  and "ln -s hdb cdrom"
> > etc for different devices.  They all still go to the floppy when I get
> into
> > kscd.  I looked at the configuration for kscd and it shows "/mnt/cdrom".
> > I looked at fstab and it shows for the cd:
> > "/dev/cdrom /mnt/cdrom supermount exec,dev,suid,rw,fs=iso9660 0 0"
> >
> > Alan Shoemaker wrote:
> >
> > > Jimit sounds like /dev/cdrom is a softlink pointing to
> > > /dev/fd0.  It should be a softlink pointing to /dev/hdd
> > > instead.
> > >
> > > Alan
> > >
> > > Jim Brown wrote:
> > > >
> > > > Thanks for all of your help and quick responses!!!
> > > > The /dev/hdd doesn't work at all for any type of disk.  I've tried
> music cd,
> > > > linux-mandrake 7.0 install cd, and a dos cd, none work with /dev/hdd.
> > > > The /dev/cdrom mount I spoke of before accesses the floppy drive.  I
> > > > just don't understand what's going on.
> > > >
> > > > Eduardo Arauz wrote:
> > > >
> > > > > what types of files are you trying to mount? remember that you cant
> mount music cd roms in your hdd
> > > > >
> > > > > -Original Message-
> > > > > From:   Jim Brown [SMTP:[EMAIL PROTECTED]]
> > > > > Sent:   Friday, May 05, 2000 7:44 AM
> > > > > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > > > > Subject:Re: [newbie] CD Rom not accessible
> > > > >
> > > > > I tried "mount /dev/hdd cdrom" but that d

Re: [newbie] CD Rom not accessible

2000-05-07 Thread Jim Brown


Yahoo!!!  That's it!!  It works

Thanks alot to everyone who helped!!!


Paul wrote:

> On Sat, 6 May 2000, Jim Brown wrote:
>
> Hello Jim,
>
> >Ok, I got the cdrom drive working, well sort of.  I mounted it to /dev/scd0 and I
> >could mount the Linux install disk and get a directory as well as a DOS disk I
> >had laying around, I could mount it and get a directory.
>
> That is good.
>
> >However, when I try to use the kscd program to read a music cd, it just says
> >it has an access error. I made sure the cd drive wasn't mounted to anything,
> >but I can't get kscd to see  a music cd.  I verified that kscd is pointing to 
>/mnt/cdrom.
> >Should I be trying to mount it somehow?
> >Anyway, this seems odd to me since I thought supermount was supposed to
> >automagically mount and unmount the cds and such for me.
>
> Yes, supermount should take care of that. I ran into a similar problem,
> and it turned out that the permissions on the /dev/dsp (digital sound
> processor) were messy. chmod g+rx /dev/dsp fixed my problem, I hope it
> does so for you also.
>
> Paul
>
> )0(---)0(
>
> A mistake only becomes an error
> if you refuse to correct it.
>
> )0([[EMAIL PROTECTED]]-)0(
> http://nlpagan.net - ICQ 147208
> Registered Linux User 174403

--
CF 10K Walk:  http://members.home.net/jimgbrown/strides.html
 ___
\/\_\@  /  /\ __  ___  ___  [EMAIL PROTECTED]
/ / /\ / / /\  /--/ //\_\/\_/\ /\/\/\ /\_/\ [EMAIL PROTECTED]
/__/ / / // / / / /__/ // / /__/ //_/_/ // // / home: (972)495-3821
\__\/  \/ \/\/\/  \__\/ \/  \__\/ \_\_\/ \/ \/  work: (972)889-4228
Cole's Law:  Thinly sliced cabbage.






Re: [newbie] CD Rom not accessible

2000-05-06 Thread Jim Brown


Thanks for all of the helpful answers, I'm getting there I think!

Ok, I got the cdrom drive working, well sort of.  I mounted it to /dev/scd0 and I
could mount the Linux install disk and get a directory as well as a DOS disk I
had laying around, I could mount it and get a directory.

However, when I try to use the kscd program to read a music cd, it just says
it has an access error. I made sure the cd drive wasn't mounted to anything,
but I can't get kscd to see  a music cd.  I verified that kscd is pointing to 
/mnt/cdrom.
Should I be trying to mount it somehow?

Anyway, this seems odd to me since I thought supermount was supposed to
automagically mount and unmount the cds and such for me.


Alan Shoemaker wrote:

> Jimit sounds like /dev/cdrom is a softlink pointing to
> /dev/fd0.  It should be a softlink pointing to /dev/hdd
> instead.
>
> Alan
>
> Jim Brown wrote:
> >
> > Thanks for all of your help and quick responses!!!
> > The /dev/hdd doesn't work at all for any type of disk.  I've tried music cd,
> > linux-mandrake 7.0 install cd, and a dos cd, none work with /dev/hdd.
> > The /dev/cdrom mount I spoke of before accesses the floppy drive.  I
> > just don't understand what's going on.
> >
> > Eduardo Arauz wrote:
> >
> > > what types of files are you trying to mount? remember that you cant mount music 
>cd roms in your hdd
> > >
> > > -Original Message-
> > > From:   Jim Brown [SMTP:[EMAIL PROTECTED]]
> > > Sent:   Friday, May 05, 2000 7:44 AM
> > > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > > Subject:Re: [newbie] CD Rom not accessible
> > >
> > > I tried "mount /dev/hdd cdrom" but that doesn't work.  I messed
> > > with my fstab.  Not it looks like "/dev/cdrom /mnt/cdrom supermount
> > > exec,dev/suid,rw,fs=iso9660 0 0" but when I run "mount /dev/cdrom"
> > > it now accesses the floppy drive!!!  Close, but no cigar.  Any idea
> > > what I'm doing wrong???
> > >
> > > Eduardo Arauz wrote:
> > >
> > > > have you mounted your cdrom ?
> > > > try to umount it and mount it again on hdd
> > > > mount /dev/hdd cdrom
> > > >
> > > > -Original Message-
> > > > From:   Jim Brown [SMTP:[EMAIL PROTECTED]]
> > > > Sent:   Wednesday, May 03, 2000 9:30 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject:[newbie] CD Rom not accessible
> > > >
> > > > I'm having trouble accessing my CDRom for Music and data.
> > > > When I click on the CDRom Icon with a windows or linux
> > > > (mandrake install disk) cd, I can't see any data.  When I get
> > > > into the kscd program, it can't find a disk.  When I go to
> > > > lothar it finds my cd (model: CRW6206A, device:/dev/hdd
> > > > bustype: atapi/ide).  When I go back to kscd and try to set
> > > > /dev/hdd in the cdrom device it still doesn't see it.  When I go
> > > > to drakeconf and then click filesystems and local drive, I
> > > > can set the cdrom to /dev/hdd, but that doesn't help either.
> > > > I guess I'm a newbie.  Please help.
> [snip]

--
CF 10K Walk:  http://members.home.net/jimgbrown/strides.html
 ___
\/\_\@  /  /\ __  ___  ___  [EMAIL PROTECTED]
/ / /\ / / /\  /--/ //\_\/\_/\ /\/\/\ /\_/\ [EMAIL PROTECTED]
/__/ / / // / / / /__/ // / /__/ //_/_/ // // / home: (972)495-3821
\__\/  \/ \/\/\/  \__\/ \/  \__\/ \_\_\/ \/ \/  work: (972)889-4228
Cole's Law:  Thinly sliced cabbage.






Re: [newbie] CD Rom not accessible

2000-05-06 Thread Jim Brown


Thanks for the info!
I did an "ls -l" in the /dev dir and it shows "cdrom -> hdd"
I tried deleting that and doing "ln -s hdc cdrom"  and "ln -s hdb cdrom"
etc for different devices.  They all still go to the floppy when I get into
kscd.  I looked at the configuration for kscd and it shows "/mnt/cdrom".
I looked at fstab and it shows for the cd:
"/dev/cdrom /mnt/cdrom supermount exec,dev,suid,rw,fs=iso9660 0 0"


Alan Shoemaker wrote:

> Jimit sounds like /dev/cdrom is a softlink pointing to
> /dev/fd0.  It should be a softlink pointing to /dev/hdd
> instead.
>
> Alan
>
> Jim Brown wrote:
> >
> > Thanks for all of your help and quick responses!!!
> > The /dev/hdd doesn't work at all for any type of disk.  I've tried music cd,
> > linux-mandrake 7.0 install cd, and a dos cd, none work with /dev/hdd.
> > The /dev/cdrom mount I spoke of before accesses the floppy drive.  I
> > just don't understand what's going on.
> >
> > Eduardo Arauz wrote:
> >
> > > what types of files are you trying to mount? remember that you cant mount music 
>cd roms in your hdd
> > >
> > > -Original Message-
> > > From:   Jim Brown [SMTP:[EMAIL PROTECTED]]
> > > Sent:   Friday, May 05, 2000 7:44 AM
> > > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > > Subject:Re: [newbie] CD Rom not accessible
> > >
> > > I tried "mount /dev/hdd cdrom" but that doesn't work.  I messed
> > > with my fstab.  Not it looks like "/dev/cdrom /mnt/cdrom supermount
> > > exec,dev/suid,rw,fs=iso9660 0 0" but when I run "mount /dev/cdrom"
> > > it now accesses the floppy drive!!!  Close, but no cigar.  Any idea
> > > what I'm doing wrong???
> > >
> > > Eduardo Arauz wrote:
> > >
> > > > have you mounted your cdrom ?
> > > > try to umount it and mount it again on hdd
> > > > mount /dev/hdd cdrom
> > > >
> > > > -Original Message-
> > > > From:   Jim Brown [SMTP:[EMAIL PROTECTED]]
> > > > Sent:   Wednesday, May 03, 2000 9:30 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject:[newbie] CD Rom not accessible
> > > >
> > > > I'm having trouble accessing my CDRom for Music and data.
> > > > When I click on the CDRom Icon with a windows or linux
> > > > (mandrake install disk) cd, I can't see any data.  When I get
> > > > into the kscd program, it can't find a disk.  When I go to
> > > > lothar it finds my cd (model: CRW6206A, device:/dev/hdd
> > > > bustype: atapi/ide).  When I go back to kscd and try to set
> > > > /dev/hdd in the cdrom device it still doesn't see it.  When I go
> > > > to drakeconf and then click filesystems and local drive, I
> > > > can set the cdrom to /dev/hdd, but that doesn't help either.
> > > > I guess I'm a newbie.  Please help.
> [snip]

--
CF 10K Walk:  http://members.home.net/jimgbrown/strides.html
 ___
\/\_\@  /  /\ __  ___  ___  [EMAIL PROTECTED]
/ / /\ / / /\  /--/ //\_\/\_/\ /\/\/\ /\_/\ [EMAIL PROTECTED]
/__/ / / // / / / /__/ // / /__/ //_/_/ // // / home: (972)495-3821
\__\/  \/ \/\/\/  \__\/ \/  \__\/ \_\_\/ \/ \/  work: (972)889-4228
Cole's Law:  Thinly sliced cabbage.






[newbie] CD Rom not accessible

2000-05-04 Thread Jim Brown


I'm having trouble accessing my CDRom for Music and data.
When I click on the CDRom Icon with a windows or linux
(mandrake install disk) cd, I can't see any data.  When I get
into the kscd program, it can't find a disk.  When I go to
lothar it finds my cd (model: CRW6206A, device:/dev/hdd
bustype: atapi/ide).  When I go back to kscd and try to set
/dev/hdd in the cdrom device it still doesn't see it.  When I go
to drakeconf and then click filesystems and local drive, I
can set the cdrom to /dev/hdd, but that doesn't help either.
I guess I'm a newbie.  Please help.


--
CF 10K Walk:  http://members.home.net/jimgbrown/strides.html
 ___
\/\_\@  /  /\ __  ___  ___  [EMAIL PROTECTED]
/ / /\ / / /\  /--/ //\_\/\_/\ /\/\/\ /\_/\ [EMAIL PROTECTED]
/__/ / / // / / / /__/ // / /__/ //_/_/ // // / home: (972)495-3821
\__\/  \/ \/\/\/  \__\/ \/  \__\/ \_\_\/ \/ \/  work: (972)889-4228
Cole's Law:  Thinly sliced cabbage.