Re: HELP!!

2002-02-13 Thread Ian

Ted Ozolins wrote:
 
 On Saturday 09 February 2002 07:14 pm, Net Llama wrote:
  I think a key piece of info that is missing here is whether he has
  simply forgetten the password(s), or if something occured to render
  authentication broken.
 
  Tinkering with /etc/shadow may not be the best idea, especially if this
  is simply a matter of a forgetten password, where booting into single
  user mode would be the ideal fix.
 
 
 I thought that in an earlier post it did state that  I have forgotten my
 password I'm assuming that he meant the root password. I still think this
 is nothing more than client passwords timing out.

When passwords time out...you are/should be prompted to change them. 
They shouldn't just expire and lock users out.

-- 
Linux SxS [http://sxs.homeip.net/]
___
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: HELP!!

2002-02-13 Thread Ted Ozolins

On Wednesday 13 February 2002 06:49 am, Ian wrote:


 When passwords time out...you are/should be prompted to change them.
 They shouldn't just expire and lock users out.

I ran across this once while using COL 2.4. There is no warning that tells 
you that the user passwords have expired. Since I'm always changing something 
or upgrading some package, I use the root password a lot.  Once logged in as 
root, I entered in the passwords for all the users and all was back to 
normal. I then unchecked the box expires in and had no problems since. I 
change user passwords on a regular basis, but when I decide and not when the 
system decides its time to roll them.

-- 
Ted Ozolins (VE7TVO)
Westbank, B. C.
___
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: HELP!!

2002-02-13 Thread daddy

On Wednesday 13 February 2002 02:13, Ted wrote:
 
 I thought that in an earlier post it did state that  I have
 forgotten my password I'm assuming that he meant the root
 password. I still think this is nothing more than client passwords
 timing out.
If I wrote that it was a mistake.  I had not forgotten my password.  
I have had times when a user's password would stop working but I 
could always login as root and take of it.  This time was different - 
I couldn't get in as root.  I was totally locked out of the system.

Mark
___
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: HELP!!

2002-02-13 Thread daddy

On Wednesday 13 February 2002 08:49, Ian wrote:
 

 When passwords time out...you are/should be prompted to change
 them. They shouldn't just expire and lock users out.
I have yet to see a warning letting any user know that their password 
will expire under my eD2.4 system.  Do I need to set something up for 
this to happen?

Mark
___
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: HELP!!

2002-02-13 Thread daddy

On Wednesday 13 February 2002 09:58, Ted wrote:

 I ran across this once while using COL 2.4. There is no warning
 that tells you that the user passwords have expired. Since I'm
 always changing something or upgrading some package, I use the root
 password a lot.  Once logged in as root, I entered in the passwords
 for all the users and all was back to normal. I then unchecked the
 box expires in and had no problems since. I change user passwords
 on a regular basis, but when I decide and not when the system
 decides its time to roll them.
I ended up changing the expiration time to several years.  We'll see 
if that takes care of it.

Mark
___
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: HELP!!

2002-02-13 Thread Ted Ozolins

On Wednesday 13 February 2002 09:12 pm, daddy wrote:
 On Wednesday 13 February 2002 09:58, Ted wrote:
  I ran across this once while using COL 2.4. There is no warning
  that tells you that the user passwords have expired. Since I'm
  always changing something or upgrading some package, I use the root
  password a lot.  Once logged in as root, I entered in the passwords
  for all the users and all was back to normal. I then unchecked the
  box expires in and had no problems since. I change user passwords
  on a regular basis, but when I decide and not when the system
  decides its time to roll them.

 I ended up changing the expiration time to several years.  We'll see
 if that takes care of it.

 Mark
I set mine to 0 and have not had any problems with it. (Thats on an eD2.4 
box) Yes I know 3.1.1 is out and 3.1 has been out for a while now but, I 
hesitate to upgrade my wifes computer in fear that something will get messed 
up. She likes the way its set up and since it aint broken she doesn't want it 
fixed. Only three reboots since the release of 2.4 due to kernel upgrades. 

-- 
Ted Ozolins (VE7TVO)
Westbank, B. C.
___
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: HELP!! (fixed - not solved)

2002-02-12 Thread Michael Scottaline

On Mon, 11 Feb 2002 23:36:16 -0600
daddy [EMAIL PROTECTED] scribbled in frustration:

On Sunday 10 February 2002 07:34, Michael wrote:
 On Sun, 10 Feb 2002 08:23:49 -0500

 Michael Scottaline [EMAIL PROTECTED] scribbled in frustration:
 You may want to check your system for a rootdisk folder.
 Mike

 ===
 OOOPS!  I meant rootkit

 Mike
If I have one what does that mean?
===
Some one has gotten control of your box and has root access.  Others will
hopefully correct me if I'm wrong and offer saner advice, but this may be
one situation where a COMPLETE re-install *might* be required. Mike

-- 
Laws for the liberal education of youth, especially for the lower classes
of people, are so extremely wise and useful that to a humane and generous 
mind, no expense for this purpose would be thought extravagant.
--John Adams 
___
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: HELP!! (fixed - not solved)

2002-02-12 Thread kurt . wall

Typing furiously on February 11, daddy managed to emit:
 On Sunday 10 February 2002 07:34, Michael wrote:
  On Sun, 10 Feb 2002 08:23:49 -0500
 
  Michael Scottaline [EMAIL PROTECTED] scribbled in frustration:
  You may want to check your system for a rootdisk folder.
  Mike
 
  ===
  OOOPS!  I meant rootkit
 
  Mike
 If I have one what does that mean?

That you've been hacked.

Kurt
-- 
Why do they call a fast a fast, when it goes so slow?
___
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: HELP!! (fixed - not solved)

2002-02-12 Thread Net Llama

--- daddy [EMAIL PROTECTED] wrote:
 On Sunday 10 February 2002 07:34, Michael wrote:
  On Sun, 10 Feb 2002 08:23:49 -0500
 
  Michael Scottaline [EMAIL PROTECTED] scribbled in frustration:
  You may want to check your system for a rootdisk folder.
  Mike
 
  ===
  OOOPS!  I meant rootkit
 
  Mike
 If I have one what does that mean?

You've been haxored.

=

Lonni J. Friedman  [EMAIL PROTECTED]

Linux Step-by-step help:   http://netllama.ipfox.com

 .

__
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com
___
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: HELP!!

2002-02-12 Thread Ted Ozolins

On Saturday 09 February 2002 07:14 pm, Net Llama wrote:
 I think a key piece of info that is missing here is whether he has
 simply forgetten the password(s), or if something occured to render
 authentication broken.

 Tinkering with /etc/shadow may not be the best idea, especially if this
 is simply a matter of a forgetten password, where booting into single
 user mode would be the ideal fix.


I thought that in an earlier post it did state that  I have forgotten my 
password I'm assuming that he meant the root password. I still think this 
is nothing more than client passwords timing out. 

-- 
Ted Ozolins (VE7TVO)
Westbank, B. C.
___
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: HELP!! (fixed - not solved)

2002-02-11 Thread daddy

On Sunday 10 February 2002 07:34, Michael wrote:
 On Sun, 10 Feb 2002 08:23:49 -0500

 Michael Scottaline [EMAIL PROTECTED] scribbled in frustration:
 You may want to check your system for a rootdisk folder.
 Mike

 ===
 OOOPS!  I meant rootkit

 Mike
If I have one what does that mean?

Mark
___
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: HELP!!

2002-02-11 Thread daddy

On Sunday 10 February 2002 01:30, Ted wrote:
 On Saturday 09 February 2002 07:59 pm, daddy wrote:
  I haven't forgotten my password.  No member of my family can
  access their account.
 
  How can I alter my boot up squence so that I boot up into single
  user mode. Once I do, I would then use the COAS tools to re-enter
  the passwords?
 
  Mark

 I take it you can't even login as root?
Correct.  No user could log in.
___
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: HELP!!

2002-02-10 Thread Michael Scottaline

On Sat, 9 Feb 2002 20:29:04 -0800 (PST)

 Will changing the 5 to 1 in this line of initab get me to boot up into
 single
 user run mode?
 id:5:initdefault:
=
At the boot prompt type: linux 1
or 
linux single

Mike

-- 
Laws for the liberal education of youth, especially for the lower classes
of people, are so extremely wise and useful that to a humane and generous 
mind, no expense for this purpose would be thought extravagant.
--John Adams 
___
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: HELP!! (fixed - not solved)

2002-02-10 Thread Michael Scottaline

On Sat, 9 Feb 2002 22:49:45 -0600
daddy [EMAIL PROTECTED] scribbled in frustration:

OK this is what I did.

Booted up into single user mode
Reset the passwords for the users
Rebooted in the previously broken system
Logged in as if nothing had happened.

So I have cured the symptom but still don't have any clue as to what 
the cause was.  I'll check my /var/log for any hints that I was 
broken into.  This is a good time for me to review my security.

Thanks Llama for pointing me in the right direction.  And thanks 
everyone else for giving me input.

You may want to check your system for a rootdisk folder.
Mike

-- 
Laws for the liberal education of youth, especially for the lower classes
of people, are so extremely wise and useful that to a humane and generous 
mind, no expense for this purpose would be thought extravagant.
--John Adams 
___
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: HELP!! (fixed - not solved)

2002-02-10 Thread Michael Scottaline

On Sun, 10 Feb 2002 08:23:49 -0500
Michael Scottaline [EMAIL PROTECTED] scribbled in frustration:


You may want to check your system for a rootdisk folder.
Mike
===
OOOPS!  I meant rootkit

Mike

-- 
Laws for the liberal education of youth, especially for the lower classes
of people, are so extremely wise and useful that to a humane and generous 
mind, no expense for this purpose would be thought extravagant.
--John Adams 
___
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



HELP!!

2002-02-09 Thread daddy

I'm running eD2.4 with kernel 2.2.14.  KDE2.2.1 on an AMD k2-300.  When I try
to log on as any user I get the password incorrect - login failed message. 
Even as root.  I am currently logged onto another distrib (OL2.3) ona
different partition.  How can I reset the passwords?  Any help would be greatly
appreciated.

Mark
___
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: HELP!!

2002-02-09 Thread Joel Hammer

You could try editing your password files.
Look at /etc/shadow.
For example:
andrew:s52TAIl4IT.:11314:0:-1:7:-1:-1:134535852
aph5::11476:0:-1:7:-1:-1:134535844  

user aph5 has no password and you can log on with just the user name.

Joel


On Sat, Feb 09, 2002 at 12:32:44PM -0600, daddy wrote:
 I'm running eD2.4 with kernel 2.2.14.  KDE2.2.1 on an AMD k2-300.  When I try
 to log on as any user I get the password incorrect - login failed message. 
 Even as root.  I am currently logged onto another distrib (OL2.3) ona
 different partition.  How can I reset the passwords?  Any help would be greatly
 appreciated.
 
___
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: HELP!!

2002-02-09 Thread Net Llama

I think a key piece of info that is missing here is whether he has
simply forgetten the password(s), or if something occured to render
authentication broken.

Tinkering with /etc/shadow may not be the best idea, especially if this
is simply a matter of a forgetten password, where booting into single
user mode would be the ideal fix.

--- Joel Hammer [EMAIL PROTECTED] wrote:
 You could try editing your password files.
 Look at /etc/shadow.
 For example:
 andrew:s52TAIl4IT.:11314:0:-1:7:-1:-1:134535852
 aph5::11476:0:-1:7:-1:-1:134535844  
 
 user aph5 has no password and you can log on with just the user name.
 
 Joel
 
 
 On Sat, Feb 09, 2002 at 12:32:44PM -0600, daddy wrote:
  I'm running eD2.4 with kernel 2.2.14.  KDE2.2.1 on an AMD k2-300. 
 When I try
  to log on as any user I get the password incorrect - login failed
 message. 
  Even as root.  I am currently logged onto another distrib (OL2.3)
 ona
  different partition.  How can I reset the passwords?  Any help would
 be greatly
  appreciated.

=

Lonni J. Friedman  [EMAIL PROTECTED]

Linux Step-by-step help:   http://netllama.ipfox.com

 .

__
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com
___
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: HELP!!

2002-02-09 Thread daddy

On Sat, 09 Feb 2002, Net Llama wrote:
 I think a key piece of info that is missing here is whether he has
 simply forgetten the password(s), or if something occured to render
 authentication broken.
 
 Tinkering with /etc/shadow may not be the best idea, especially if this
 is simply a matter of a forgetten password, where booting into single
 user mode would be the ideal fix.
 
I haven't forgotten my password.  No member of my family can access their
account.  

How can I alter my boot up squence so that I boot up into single user mode. 
Once I do, I would then use the COAS tools to re-enter the passwords?

Mark
___
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: HELP!!

2002-02-09 Thread Bruce Marshall

On Saturday 09 February 2002 22:59 pm, daddy wrote:
 I haven't forgotten my password.  No member of my family can access their
 account.  

 How can I alter my boot up squence so that I boot up into single user mode.
 Once I do, I would then use the COAS tools to re-enter the passwords?

I would hope there is a procedure for that on the step x step stite.  

www.linux.nf

Or download Tom's root-boot disk (a very handy tool in any event)  at:

www.toms.net/rb


-- 
++
+ Bruce S. Marshall  [EMAIL PROTECTED]  Bellaire, MI 02/09/02 23:22  +
++
Success always occurs in private and failure in full view.
___
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: HELP!!

2002-02-09 Thread daddy

On Sat, 09 Feb 2002, you wrote:
 I think a key piece of info that is missing here is whether he has
 simply forgetten the password(s), or if something occured to render
 authentication broken.
 
 Tinkering with /etc/shadow may not be the best idea, especially if this
 is simply a matter of a forgetten password, where booting into single
 user mode would be the ideal fix.
 

Will changing the 5 to 1 in this line of initab get me to boot up into single
user run mode?
id:5:initdefault:
___
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: HELP!!

2002-02-09 Thread Net Llama

--- daddy [EMAIL PROTECTED] wrote:
 On Sat, 09 Feb 2002, Net Llama wrote:
  I think a key piece of info that is missing here is whether he has
  simply forgetten the password(s), or if something occured to render
  authentication broken.
  
  Tinkering with /etc/shadow may not be the best idea, especially if
 this
  is simply a matter of a forgetten password, where booting into
 single
  user mode would be the ideal fix.
  
 I haven't forgotten my password.  No member of my family can access
 their
 account.  

OK, then you need to determine what got broken. Passwords don't just
change themselves.  Either you tinkered with something you shouldn't
have, or your box got compromised.

 How can I alter my boot up squence so that I boot up into single user
 mode. 

Well, if you're running GRUB, then you'll prolly need to edit the boot=
line so that it says something like 'linux single'.  If you're using
LILO, then simply type 'linux single' at the LILO prompt.

 Once I do, I would then use the COAS tools to re-enter the passwords?

Errr...no.  Now is not the time to be going to a GUI to solve your
problems.  You're going to need to get really familiar with the command line.

=

Lonni J. Friedman  [EMAIL PROTECTED]

Linux Step-by-step help:   http://netllama.ipfox.com

 .

__
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com
___
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: HELP!!

2002-02-09 Thread Net Llama

--- daddy [EMAIL PROTECTED] wrote:
 On Sat, 09 Feb 2002, you wrote:
  I think a key piece of info that is missing here is whether he has
  simply forgetten the password(s), or if something occured to render
  authentication broken.
  
  Tinkering with /etc/shadow may not be the best idea, especially if
 this
  is simply a matter of a forgetten password, where booting into
 single
  user mode would be the ideal fix.
  
 
 Will changing the 5 to 1 in this line of initab get me to boot up into
 single
 user run mode?
 id:5:initdefault:

Yes, but if you can get to the point where you can edit that file, then
you're already logged in, and you won't need to edit that file.

=

Lonni J. Friedman  [EMAIL PROTECTED]

Linux Step-by-step help:   http://netllama.ipfox.com

 .

__
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com
___
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



RE: HELP!! (fixed - not solved)

2002-02-09 Thread daddy

OK this is what I did.

Booted up into single user mode
Reset the passwords for the users
Rebooted in the previously broken system
Logged in as if nothing had happened.

So I have cured the symptom but still don't have any clue as to what 
the cause was.  I'll check my /var/log for any hints that I was 
broken into.  This is a good time for me to review my security.

Thanks Llama for pointing me in the right direction.  And thanks 
everyone else for giving me input.

Mark
___
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: Script help

2002-02-06 Thread Tom Wilson

David A. Bandel wrote:
 
 Make the line:
 ping -c 1 -w 2 192.168.0.$i  arp -n 192.168.0.$i | grep -v Iface 
 mac.txt

Thanks to all for the help.  This did the trick for me.  So simple yet I couldn't 
figure it out.  

--
Tom Wilson

-- 

Get your free email from www.linuxmail.org 


Powered by Outblaze
___
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Script help

2002-02-05 Thread Tom Wilson

Hi all,

First, my script abilility rests in /dev/null.  That being said, what I am *trying* to 
do is get a text file with a list of MAC addresses and the corresponding IP's for 
certain ranges of IP's.  

Part of my solution:
---
for i in `seq 100 120`; do
 ping -c 5 -w 5 192.168.0.$1 | arp  macadd.txt
done
---

The problem:

Each time through the loop, it continues to ping the previous address as well as the 
next address thus repeating the entry in the macadd.txt file.  i.e. 

First entry 
Heading  Heading
192.168.0.100  macaddress

Second entry

Heading  Heading
192.168.0.100  macaddress
192.168.0.102  macaddress

Third entry  

   Heading   Heading
192.168.0.100  macaddress
192.168.0.102  macaddress
192.168.0.103  macaddress

and so on and so on.

My question is, does anyone know how to get it to just add the next entry to the list 
in the file instead of creating a whole new list each time around and sticking it in 
there?  

I've looked many places and tried many things but nothing I've done elimiates this 
problem.  

Any advice for me?

TIA,

Tom Wilson
-- 

Get your free email from www.linuxmail.org 


Powered by Outblaze
___
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: Script help

2002-02-05 Thread Joel Hammer

Well, I don't understand the -w option. And I don't understand the pipe
command, and I don't understand what the arp cache is too well, but:
Why not just ping all these addresses first, then use arp to get their
MAC's? If you are on this network, your arp cache will store those mac's,
at least for a while.
If you are not on this network, run the ping command and use tcpdump -i eth0
-n  save and then dredge the save file.
Joel


On Wed, Feb 06, 2002 at 03:26:27AM +0800, Tom Wilson wrote:
 Hi all,
 
 First, my script abilility rests in /dev/null.  That being said, what I am *trying* 
to do is get a text file with a list of MAC addresses and the corresponding IP's for 
certain ranges of IP's.  
 
 Part of my solution:
 ---
 for i in `seq 100 120`; do
  ping -c 5 -w 5 192.168.0.$1 | arp  macadd.txt
 done
 ---
 
 The problem:
 
 Each time through the loop, it continues to ping the previous address as well as the 
next address thus repeating the entry in the macadd.txt file.  i.e. 
 
 First entry 
 Heading  Heading
 192.168.0.100  macaddress
 
 Second entry
 
 Heading  Heading
 192.168.0.100  macaddress
 192.168.0.102  macaddress
 
 Third entry  
 
Heading   Heading
 192.168.0.100  macaddress
 192.168.0.102  macaddress
 192.168.0.103  macaddress
 
 and so on and so on.
 
 My question is, does anyone know how to get it to just add the next entry to the 
list in the file instead of creating a whole new list each time around and sticking 
it in there?  
 
 I've looked many places and tried many things but nothing I've done elimiates this 
problem.  
 
 Any advice for me?
 
 TIA,
 
 Tom Wilson
 -- 
 
 Get your free email from www.linuxmail.org 
 
 
 Powered by Outblaze
 ___
 Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
 Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
___
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: Script help

2002-02-05 Thread David A. Bandel

On Wed, 06 Feb 2002 03:26:27 +0800
begin  Tom Wilson [EMAIL PROTECTED] spewed forth:

 Hi all,
 
 First, my script abilility rests in /dev/null.  That being said, what I
 am *trying* to do is get a text file with a list of MAC addresses and
 the corresponding IP's for certain ranges of IP's.  
 
 Part of my solution:
 ---
 for i in `seq 100 120`; do
  ping -c 5 -w 5 192.168.0.$1 | arp  macadd.txt

Let's analyze this line for a second.  You ping an address 5 times.  (I'll
ignore the typo and assume it's $i not $1).  Then pass it to arp as an
argument.  Or do you?

Try this:
ping -c 1 192.168.0.2
ping -c 1 192.168.0.3
(let's assume both can be pung)
echo 192.168.0.2 | arp

oops. looks like arp doesn't know how to accept piping of an argument. 
Several utilities have this problem.

Make the line:
ping -c 1 -w 2 192.168.0.$i  arp -n 192.168.0.$i | grep -v Iface 
mac.txt

the changes: we really don't need to ping something 5 times to get it's
MAC address, and a 2 second wait is really too long, but better than 5. 
The  says, if the ping exited unsuccessfully (we couldn't ping the
system), then we don't want to run arp, but if successful, we do.  Then
forcefeed arp the same IP so we only get one line.  The -n is, well, do
you really want to resolve the hostname?  The grep -v gets rid of the
Header line.


 done
 ---
 
[snip]

Ciao,

David A. Bandel
-- 
Focus on the dream, not the competition.
-- Nemesis Racing Team motto
Internet (H323) phone: 206.28.187.30
___
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: Script help

2002-02-05 Thread Ian

Tom Wilson wrote:
 
 Hi all,
 
 First, my script abilility rests in /dev/null.  That being said, what I am *trying* 
to do is get a text file with a list of MAC addresses and the corresponding IP's for 
certain ranges of IP's.
 
 Part of my solution:
 ---
 for i in `seq 100 120`; do
  ping -c 5 -w 5 192.168.0.$1 | arp  macadd.txt
 done
 ---
SNIP
 
 I've looked many places and tried many things but nothing I've done elimiates this 
problem.
 
 Any advice for me?

How bout this:

I don't have many hosts on my net, and the subnet is different, change
to suit, but it works here.

---
for i in `seq 1 10`; do
 ping -c 5 -w 1 192.168.1.$i | arp -n | grep 192.168.1.$i 
macadd.txt
done

sort -u macadd.txt  macadd2.txt
mv macadd2.txt macadd.txt
---
-- 
Linux SxS [http://sxs.webhop.net/]
___
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Need help with a bash script - -n and -z always giving true ?

2002-01-23 Thread JW

Hello,

I'm trying to write a bash script for a back up job. Unfortunately I'm not getting 
anywhere.


I need to mount a file system only if the filesystem is 
_not_ already mounted.

I'm thinking of it like this:

Ok, I've been reading documentation and wrote a test script. I've so far managed to 
make it like this:

#!/bin/bash


if [ -n `mount |grep /mnt/root/cschomeserver/e` ] #if it's already mounted don't 
mount it
then PREMOUNTED='YES'  echo is mounted #If it's already mounted set a var
else echo mount /mnt/root/cschomeserver/e is not mounted #if it's not mounted, 
mount it.
fi
echo $PREMOUNTED


Unfortunately it seems that -n is exactly the opposite of what I need because the 
output is backwards. Additionally, it was working backwards but without error a minute 
ago and now it's giving that too many arguments thing - I'm not sure what's changed, 
I tried undoing my (very small) edits to the file and it's still erroring even after 
the un-do so I'm not sure what happened.

When it really is mounted I get the following output from that script:

fluorite:~ # ./test.sh
./test.sh: [: too many arguments
mount /mnt/root/cschomeserver/e is not mounted

Which is backwards - it is mounted. As you can see PREMOUNTED doesn't get set either - 
again, that's backwards.

Then when it really isn't mounted the script _does_  set the var:

fluorite:~ # umount /mnt/root/cschomeserver/e/
fluorite:~ # ./test.sh
YES

So, can someone tell me what the opposite of -n is? According to the man page it's -z 
but that's acting the same as -n (weird) I can't figure it out. I've tried  -n, -z and 
a host of other options I see in the man page and none of it's working and it's 
backwards both ways.

Also can anyone explain the too many arguments part - are you not allowed to run a 
command inside [] for output?

I'm also testing it with the interactive shell, such as the following variation:

fluorite:~ # if test -n $( `mount |grep /mnt/root/cschomeserver/e` ) ;  then 
PREMOUNTED=YES  echo $PREMOUNTED ; else echo no ; fi
YES

Unfortunately this (and test -z) is always returning YES so something's still quite 
wrong.

Obviously I do not understand how to properly get a yes/no value out of the string 
returned from a nested command. If someone could explain even that much I'd appreciate 
it.

TIA



Jonathan Wilson
System Administrator

Cedar Creek Software http://www.cedarcreeksoftware.com
Central Texas IT http://www.centraltexasit.com

___
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: Fwd: Need help to get back on the list

2002-01-17 Thread Pam R

On Wednesday 16 January 2002 5:53 pm, Douglas J Hunley wrote:
 Pam R babbled on about:
  was mailing via my normal isp (btinternet.com) so I now use uklinux for
  all mails to the SxS lists and that works fine.
 
  Pam

  to this thread using btinternet and see if issue still exists. thanks

Trying.

Pam
-- 
Linux Step by Step (UK mirror): http://www.pam.roberts.btinternet.co.uk/sxs/
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: Fwd: Need help to get back on the list

2002-01-17 Thread Pam R

On Thursday 17 January 2002 2:51 am, burns wrote:
 On January 16, 2002 03:34 pm, Dallam Wych wrote:
 Knowing btinternet as I do, I can almost

  assure you that the trouble is on their end not yours. Their service
  seems to vary depending on what region of the country that you live
  in.

 ...And as I recall from having lived in Herts, what day of the week it was.

No, it's the phase of the moon that is critical.

Pam (sending from btinternet)
-- 
Linux Step by Step (UK mirror): http://www.pam.roberts.btinternet.co.uk/sxs/
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: Fwd: Need help to get back on the list

2002-01-17 Thread Dallam Wych

On Thu, Jan 17, 2002 at 08:20:21PM +, Pam R wrote:

 Trying.

Good Luck Pam...Here's hoping there aren't to many leaves on the
phone lines :)
Regards,
Dallam
--
Dallam Wych  [EMAIL PROTECTED]
1024: A89A2371 Ipsa scientia potestas est
2717 4EB8 461D 743B 47CF  Registered Linux User
0D68 C32A 5CDE A89A 2371  counter.li.org:213656



msg08386/pgp0.pgp
Description: PGP signature


Re: Fwd: Need help to get back on the list

2002-01-17 Thread Kurt Wall

Scribbling feverishly on January 17, Pam R managed to emit:
 On Thursday 17 January 2002 2:51 am, burns wrote:
  On January 16, 2002 03:34 pm, Dallam Wych wrote:
  Knowing btinternet as I do, I can almost
   assure you that the trouble is on their end not yours. Their service
   seems to vary depending on what region of the country that you live
   in.
  ...And as I recall from having lived in Herts, what day of the week it was.
 No, it's the phase of the moon that is critical.

No, no, no. You must hold your mouth properly. [sigh] How many times
do I have to tell people this!

Kurt
-- 
You will be winged by an anti-aircraft battery.
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: Fwd: Need help to get back on the list

2002-01-17 Thread Keith Antoine

On Wed, 16 Jan 2002 18:56,Pam R scribed:

 I had the same problem but 100% of the time when the list started up and I
 was mailing via my normal isp (btinternet.com) so I now use uklinux for all
 mails to the SxS lists and that works fine.

 Pam

I have two lousy choices with cable and the second is worse than I have.

-- 
Keith Antoine aka 'skippy'
18 Arkana St, The Gap, Queensland 4061 Australia PH:61733002161
Retired Geriatric, Sometime Electronics Engineer, Knowall, Brain in storage

___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: Fwd: Need help to get back on the list

2002-01-17 Thread David A. Bandel

On Thu, 17 Jan 2002 20:58:57 +
Dallam Wych [EMAIL PROTECTED] spewed into the bitstream:


Dallam,

Would you mind turning off signatures for posting to the list?  Sylpheed
keeps popping up this annoying dialogue box: can't verify signature from
(?).

thanx,

David A. Bandel
-- 
Focus on the dream, not the competition.
-- Nemesis Racing Team motto
Internet (H323) phone: 206.28.187.30
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: Fwd: Need help to get back on the list

2002-01-16 Thread Pam R

On Wednesday 16 January 2002 2:03 am, Keith Antoine wrote:
 On Wed, 16 Jan 2002 01:58,Douglas J Hunley scribed:
  forwarded per Joel's request. He can receive mail from the list fine, but
  whenever he tries to send to linux.nf he gets rejected with what's below.
  anyone know how to help him?

 There seems to be problem somewhere with the list server that is
 intermittant. I occasionally have mail returned as relaying denied, I then
 copy and resend, it then goes fine. No idea why either.

I had the same problem but 100% of the time when the list started up and I 
was mailing via my normal isp (btinternet.com) so I now use uklinux for all 
mails to the SxS lists and that works fine.

Pam
-- 
Linux Step by Step (UK mirror): http://www.pam.roberts.btinternet.co.uk/sxs/
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: Fwd: Need help to get back on the list

2002-01-16 Thread Dallam Wych

On Wed, Jan 16, 2002 at 12:53:49PM -0500, Douglas J Hunley wrote:

  to this thread using btinternet and see if issue still exists. thanks

Doug,
I am using btinternet and haven't had a problem with the few posts I
have made to this list. Knowing btinternet as I do, I can almost
assure you that the trouble is on their end not yours. Their service
seems to vary depending on what region of the country that you live
in.
Regards,
Dallam
--
Dallam Wych  [EMAIL PROTECTED]
1024: A89A2371 Ipsa scientia potestas est
2717 4EB8 461D 743B 47CF  Registered Linux User
0D68 C32A 5CDE A89A 2371  counter.li.org:213656



msg08347/pgp0.pgp
Description: PGP signature


Re: Fwd: Need help to get back on the list

2002-01-15 Thread Tim Wunder

Douglas J Hunley wrote:
 forwarded per Joel's request. He can receive mail from the list fine, but 
 whenever he tries to send to linux.nf he gets rejected with what's below. 
 anyone know how to help him?
 
 --  Forwarded Message  --
 
 Subject: Need help to get back on the list
 Date: Thu, 10 Jan 2002 21:27:57 -0500
 From: Joel Hammer [EMAIL PROTECTED]
 To: Douglas J Hunley [EMAIL PROTECTED]
 
 I need help to get back on the linux step by step mailing list.
 Maybe you can relay this to the list or to the right person.  I had to
 change my ip address because of the @HOME troubles. Everything seems to
 be going well except I couldn't post to the linux list. I re-subscribed,
 but this is what I get in return mail now:
 
 451 [EMAIL PROTECTED] reply: read error from linux.nf.
 
 ... while talking to mail.panamanow.net.:
 
RCPT To:[EMAIL PROTECTED]

 
  550 5.7.1 [EMAIL PROTECTED]... Relaying denied. IP name possibly
 forged [68.33.0.214]
 
 That possibly forged ip is the one I was assigned by @HOME. If you
 could forward this to the list, maybe someone could let me know how to
 solve this.
 
 Thanks,
 Joel
 
 [EMAIL PROTECTED]
 
 ---
 
 

Joel,
Are you using your own box as the smtp server for sending mail? I'm not 
experiencing any problems and I'm using mail.twsn1.md.home.com as my 
smtp server (while at home, anyway).
Try setting up your mailer to use the old @home mail server as your smtp 
server and see if you can post.
HTH,
Tim



___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: cdrom help

2002-01-15 Thread Jim Conner

Well, I gotta open the case and check.  It worked about 2 years ago when this 
box had Windows on it.  Yes, I've been in the box since then and might have 
bumped the wire loose or something.  As far as the settings in KMix, I have 
all the volumes maxed(I'll probably be either deafened or scared witless when 
it does finally work) and have played with about every variation of 
muting/unmuting that I can imagine.  So, I'll open the case when I get a 
chance and check it out.

Jim

On Tuesday, January 15, 2002 1:10, Dave Anselmi wrote:
 Jim Conner wrote:

 [...]

  As for fixing cd audio, it's on that big to-do list that's a mile long. 
  It's not critical, I get all other sounds, but would be nice to have
  working.

 If you have sound working generally, there are only 2 things I can think of
 to add for CD audio.  First, you need a wire connecting your CD's audo port
 to your sound card.  Second, you may need to unmute or otherwise adjust the
 CD audio channel in your mixer.

 Dave


 ___
 Linux-users mailing list
 Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users

-- 
 
  1:42pm  up 22:25,  2 users,  load average: 0.00, 0.06, 0.07

Running Caldera W3.1 - Linux - because life is too short for reboots...

_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: cdrom help

2002-01-14 Thread Mike Andrew

On Mon, 14 Jan 2002 04:15, Tim Wunder wrote:
 Upon investigation, I made a WAG that the reason I needed to load ide-scsi
 during boot was that I had IDE CDROM support compiled into the kernel.

Bugger, bugger, bugger. I *forgot* all about that wrinkle. You are right sir. 


-- 
http://linux.nf -- [EMAIL PROTECTED]

_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: cdrom help

2002-01-14 Thread Mike Andrew

On Mon, 14 Jan 2002 03:30, Ken Moffat wrote:


 ln -s /dev/srX /dev/scdX

 PMFJI .. I have /dev/scd0 and /dev/scd1 for cd-rw and dvd.
 Should I do step 3 above?

Yes. It does no harm.

 Jan 13 07:23:05 localhost kernel: sr1: CDROM not ready.  Make sure there

a symlink will fix that.

 I assume supermount is looking for media. Annoying.

Correct.

The bottom line here is simply to understand that both srX and scdX refer to 
the same animal. How you organise YOUR system is one of the best features of 
Linux. You can.

-- 
http://linux.nf -- [EMAIL PROTECTED]

_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



devfs was Re: cdrom help

2002-01-14 Thread Mike Andrew

On Mon, 14 Jan 2002 02:57, David A. Bandel wrote:

 If you have something better (than devfs), I know lots of folks who 
 would  like to hear your idea of how to do it.  

We have no argument about the 'goodness' of devfs. devfs is going to happen, 
because it has to.

I have run devfs (past tense) I agreed with it, it did not agree with me.

I admire your ability to use it. Richard Gooch has a *lot* of documentation 
to catch up on because 80% of what is there is a 1998 argument as to why 
devfs is needed (in preference to other alternatives). It is scant, to 
non-existent,  on HOW to use it.

 so you need to tell whoever owns the sr_mod module that he's got to rename
 is scd_mod because he's wrong -- no?

This is facetious. The point being that the ramifications of implementing 
scdX in preference to srX were not thought out fully. Redhat is not alone, 
unique or the leader of this new wrinkle. And, I'd fight anyone who said the 
kernel must change because of *any* distro.

_because_ sr_mod is hardwired, _because_ many automounters hunt srX, this new 
approach may die a death and everyone will revert to srX. Right now, there is 
confusion everywhere about the duality of scdX /srX and there's no 
magic-cure. I don't argue the author must change, I point out the reasons why 
thingz iz as they iz. My view is that the dynamic assignment of devfs will 
rule the day and things will revert.

 I've been using devfs since it came out.  I prefer it.  It may not be
 perfect, but it's a damn site better than creating thousands of useless
 device nodes 

No contest. 

-- 
http://linux.nf -- [EMAIL PROTECTED]

_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



help-configmg

2002-01-14 Thread sencer vardarman


hallo, Guy Van Sanden 

I’m a K7S5A+“XP1800+“+ASUS Gf2 user from Berlin. Since
my first start I alwais receive 
„While Initializing device CONFIGMG: Windows
Protection Error. You need to restart your computer.“
with every cold start.
And the computer is very unstabil. It doesn’t make fun
when it crashes by saving, wich happens often.
The one who built and sold it says it is not his
problem. 
I installed Windows again. Nothing changes.
I tested the memory with memetest86. No mistakes.
I check what Windows offers on ist web pages. Nothing
helps.
...
Can you help me to solve this problem.
or
If I can be sure, that it is his mistake, I can make
some more preasure on that guy who sold it to me.
But if I bring the computer to some Profies to be
tested, it will cost me some hundred  €s (no more DMs
#61514;  )
I can not pay it.

Hlp!

Sen





__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: help-configmg

2002-01-14 Thread Lee

Even though this a Linux list, we Linux users are always concerned for
our brethren who are in error (Windows Users). The most obvious
solution  would be to switch to a Linux OS. SuSe is German made and is
user friendly. But, your problem may not be with your Win system ( such
as I hate to say it) it may be hardware connected. If your hard drive is
going bad it might be in the sectors reserved for bootup of the
operating system. That would explain why when you first load Windows it
works for awhile the goes bad. If this the case you might try to run
scandisk surface check and have your computer block off bad sectors. It
does this automatically. This would be just be a temporary fix as once a
hard drive starts to go it keeps getting worse. Another test would be to
load a Linux system (Caldera, Mandrake, SuSe, Red Hat, ect) and use for
awhile. If boot problemscomes back with Linux  replace your hard drive.


Lee




sencer vardarman wrote:
 
 hallo, Guy Van Sanden
 
 I?m a K7S5A+?XP1800+?+ASUS Gf2 user from Berlin. Since
 my first start I alwais receive
 ?While Initializing device CONFIGMG: Windows
 Protection Error. You need to restart your computer.?
 with every cold start.
 And the computer is very unstabil. It doesn?t make fun
 when it crashes by saving, wich happens often.
 The one who built and sold it says it is not his
 problem.
 I installed Windows again. Nothing changes.
 I tested the memory with memetest86. No mistakes.
 I check what Windows offers on ist web pages. Nothing
 helps.
 ...
 Can you help me to solve this problem.
 or
 If I can be sure, that it is his mistake, I can make
 some more preasure on that guy who sold it to me.
 But if I bring the computer to some Profies to be
 tested, it will cost me some hundred  ?s (no more DMs
 #61514;  )
 I can not pay it.
 
 Hlp!
 
 Sen
 
 __
 Do You Yahoo!?
 Send FREE video emails in Yahoo! Mail!
 http://promo.yahoo.com/videomail/
 ___
 Linux-users mailing list
 Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: devfs was Re: cdrom help

2002-01-14 Thread David A. Bandel

On Mon, 14 Jan 2002 23:39:31 +1130
Mike Andrew [EMAIL PROTECTED] spewed into the bitstream:

 On Mon, 14 Jan 2002 02:57, David A. Bandel wrote:
 
  If you have something better (than devfs), I know lots of folks who 
  would  like to hear your idea of how to do it.  
 
 We have no argument about the 'goodness' of devfs. devfs is going to
 happen, because it has to.

But if there's a better way to implement it, that would be a good thing. 
As it stands, it's not that it's good, bad, or indifferent, it's that it's
the _only_ way to dynamically create what you need.

 
 I have run devfs (past tense) I agreed with it, it did not agree with
 me.

Sorry to hear that.  I haven't had any problems with it or I'd have
abandoned it long ago.  But it works well enough I just stick with it.

 
 I admire your ability to use it. Richard Gooch has a *lot* of
 documentation to catch up on because 80% of what is there is a 1998
 argument as to why devfs is needed (in preference to other
 alternatives). It is scant, to non-existent,  on HOW to use it.

True.  I'd say the documentation is the code, but it's nearly
unintelligible to any but a kernel hacker (which I ain't).

 
  so you need to tell whoever owns the sr_mod module that he's got to
  rename is scd_mod because he's wrong -- no?
 
 This is facetious. The point being that the ramifications of
 implementing scdX in preference to srX were not thought out fully.
 Redhat is not alone, unique or the leader of this new wrinkle. And, I'd
 fight anyone who said the kernel must change because of *any* distro.

True.  I should have put a tongue in cheek emoticon with this.  But I
haven't seen any use of scd#, only of sr#.  OTOH, I don't run RH or direct
derivitives (at least not direct enough to have RH's problems).

 
 _because_ sr_mod is hardwired, _because_ many automounters hunt srX,
 this new approach may die a death and everyone will revert to srX. Right
 now, there is confusion everywhere about the duality of scdX /srX and
 there's no magic-cure. I don't argue the author must change, I point out
 the reasons why thingz iz as they iz. My view is that the dynamic
 assignment of devfs will rule the day and things will revert.

Documentation is great.  And you can document the use of scd# forever. 
But until devfs + all the major distros implement it (and RH and a few of
its followers aren't all the major distros), it's nothing but words.  And
a number of distros do use devfs (gentoo and sorcerer come to mind, so I'm
not exactly alone).

Meanwhile, any documentation should probably cover both (as much of an
annoyance as that is).

 
  I've been using devfs since it came out.  I prefer it.  It may not be
  perfect, but it's a damn site better than creating thousands of
  useless device nodes 
 
 No contest. 



-- 
Focus on the dream, not the competition.
-- Nemesis Racing Team motto
Internet (H323) phone: 206.28.187.30
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: cdrom help

2002-01-14 Thread Jim Conner

Found another wrinkle on my system.  This may affect some and not others 
depending on hardware and such.  If you have DMA turned on when you compiled 
the kernel, it will enable DMA for the cdrom and cdrw.  This will cause a 
kernel oops when you mount the cd and the only way out is the reset button.  
I got around it by doing this.  I put these two lines in /etc/rc.d/rc.local:

hdparm -d0 /dev/hdd
hdparm -d0 /dev/hde

Please change this to reflect your appropriate drives.  It turns off DMA for 
the two drives and every thing works just perfect.  Well, almost, cd audio 
doesn't work no matter what I try.  Although I haven't tried the obligatory 
sacrificial chicken on the keyboard. :)

Jim

On Monday, January 14, 2002 6:39, Mike Andrew wrote:
 On Mon, 14 Jan 2002 04:15, Tim Wunder wrote:
  Upon investigation, I made a WAG that the reason I needed to load
  ide-scsi during boot was that I had IDE CDROM support compiled into the
  kernel.

 Bugger, bugger, bugger. I *forgot* all about that wrinkle. You are right
 sir.

-- 
 
  1:42pm  up 23 days, 15:21,  3 users,  load average: 0.10, 0.12, 0.16

Running Caldera W3.1 - Linux - because life is too short for reboots...

_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: cdrom help

2002-01-14 Thread Ken Moffat

This has correccted the problem. Thanks. (again)

On Mon, 14 Jan 2002 23:12:26 +1130
Mike Andrew [EMAIL PROTECTED] wrote:

 On Mon, 14 Jan 2002 03:30, Ken Moffat wrote:
 
 
  ln -s /dev/srX /dev/scdX
 
  PMFJI .. I have /dev/scd0 and /dev/scd1 for cd-rw and dvd.
  Should I do step 3 above?
 
 Yes. It does no harm.
 
  Jan 13 07:23:05 localhost kernel: sr1: CDROM not ready.  Make sure
there 
 a symlink will fix that.
 
  I assume supermount is looking for media. Annoying.
 
 Correct.
 
 The bottom line here is simply to understand that both srX and scdX
refer to  the same animal. How you organise YOUR system is one of the
best features of  Linux. You can.
 
 -- 
 http://linux.nf -- [EMAIL PROTECTED]
 
 _
 Do You Yahoo!?
 Get your free @yahoo.com address at http://mail.yahoo.com
 
 ___
 Linux-users mailing list
 Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users
 


-- 
Ken Moffat
[EMAIL PROTECTED]
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



RE: cdrom help

2002-01-14 Thread Condon Thomas A KPWA


Folks,

This topic has raised a lot of questions, and even touched on an area where
I may be able to contribute (for a change).

The question was raised about whether to copy the CD image to hard drive
before burning to CDRW.  That will work more reliably in some cases, and
won't hurt.

The usual cause of problems during a burn is when the write buffer gets
empty.  For some reason CDRW software (on board) can't seem to accommodate
this (YMMV according to manufacturer).  So, if you are copying from a *fast*
CDROM to a slow CDRW, this may never be a problem.  If, however, they run at
the same speed, or are on the same bus where a data transfer conflict can
slow things down, you might be safer to copy to HD and burn from there.
This is a *great* reason to insure that you don't have both CDs on the same
IDE bus, BTW.  I have seen this problem occur on a 16x read and a 4x write,
but the processor and bus were the limiting factors.

Hope this helps.


   In Harmony's Way, and In A Chord,

   Tom  :-})

+--+
| Thomas A. Condonemail: [EMAIL PROTECTED] |
| Computer Engineer   phone: (360) 315-7609|
| Barbershop Bass SingerSailor and Singer of Chanties  |
| Left Handed and In My Right Mind |
+--+
 /\
 \ /
  X  ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
 / \

___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: cdrom help

2002-01-13 Thread Mike Andrew

On Sun, 13 Jan 2002 04:56, Rick Sivernell wrote:

I am having continual problems with cdroms. I have the following

 scsi id 4  42x scsi cdrom
 scsi id 5  Yamaha 6x4x16 cdwriter   
 hdc is a 52x ide cdrom drive

[snippetty hack]

Rick,

your problem is your misunderstanding of srX and scdX they are BOTH the same 
thing. Viz.

[root@RSivernell rick]# ll /dev/sc* | more
brw-rw-r--    1 rick     disk      11,   0 Oct 11 13:07 /dev/scd0
brw-rw-r--    1 root     disk      11,   1 Oct 11 13:07 /dev/scd1
brw---    1 rick     root      11,   0 Oct 11 13:07 /dev/sr0
brw---    1 rick     disk      11,   1 Oct 11 13:07 /dev/sr1

note the major / minor numbers? They are identical.

First.

modern distros deprecate the use of srX, get rid of them, literally. Promise 
from me that you can do no harm by deleting them.

2)
you don't appear to have /dev/scd2. Do a mknod

3)
ln -s /dev/srX /dev/scdX

iterate X 0, 1 and 2


Each of your cd roms (all THREE) will iterate scd0, scd1 and finally scd2. 
Which is what is *impossible* to say as it depends on the order of module 
load, AND, which gets mounted first. (Blame the crappy scsi framework on 
Linux for that one, it's a brothel)

As a fair and reasonable guess, your system (regardless of what you think you 
have in /etc/fstab) is as follows

scd0 = hdc (because of append statement)
scd1 = writer (lun #4)
scd2 = reader (lun #5)

 /dev/cdrom /mnt/cdrom iso9660 ro,user,noauto,exec 0 0
 /dev/cdwriter /mnt/sr0 iso9660 ro,user,noauto,exec 0 0
 /dev/cdrom2 /mnt/scd1 is09660 ro,user,noauto,exec 0 0

so that YOU don't get confused, scrap out all references to srX in both the 
fstab, and, obviously, the /mnt folder, replace them with the direct scdX 
name.

again, scrap all symlinks to mysterious items like cdrom etc and use direct 
/dev/scdX's. By all means, change back after it's settled down, but first 
work in the literal world (kde makes special use of the name 'cdrom' 
incidentally)

*Temporarily* disable automounters

Finally, reboot, place a cd in each drive and mount each scdX to find out who 
is what. 

There *will be* a timing race between the hdc and the other devices. If it is 
mounted FIRST, it will *probably* affect the scdX order because it's device 
minor node doesn't get registered until the cdrom.o module is loaded. Thus, I 
don't want to complicate things here, but *if* it's mounted first it will be 
scd0, *if* not, it might be scd2. You are going to have to play.

All else fails?

post here

tail -50 /var/log/messages immediately after a reboot

-- 
http://linux.nf -- [EMAIL PROTECTED]

_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: cdrom help

2002-01-13 Thread David A. Bandel

On Mon, 14 Jan 2002 02:19:15 +1130
Mike Andrew [EMAIL PROTECTED] spewed into the bitstream:

 On Sun, 13 Jan 2002 23:36, David A. Bandel wrote:
 
   modern distros deprecate the use of srX, get rid of them, literally.
   Promise from me that you can do no harm by deleting them.
 
  What's your source for this?  
 
 /usr/src/linux/Documentation/devices.txt plus

That's what I get for not reading every word of every piece of
documentation with every new relaese.  now I have to wonder when this
happened. :-(.  OTOH, if I spent all my time rereading every single
document with every single release of every single package, I might be up
to reading in kernel version 1.2.10 about now.  Maybe up to 2.2.18 in
2005.

 
 latest releases of most Distros (RH7.1/2 eg) only have /dev/scdX nodes.
 not srX nodes.

Most of what RH does is wrong, so don't use them as a measure of anything.

 
 I run 2.4.17 w/ devfs
 
 all bets are off. devfs is a good idea, badly implemented, attrociously 
 documented. It doesn't work with the LABEL=/ statement in /etc/fstab

If you have something better, I know lots of folks who would like to hear
your idea of how to do it.  The reason for devfs is the explosion of
devices and the limited major/minor numbers available.  In fact, devfs is
supposed to do away with the device numbers problem because there aren't
enough numbers for every device in the world.  While you may not have but
a few devices connected to your system, if you had one that either didn't
have a major/minor because there were no more, or because another device
you're using is using the major/minor this new device needs, you're SOL
(sorry, out of luck).

 
 when I modprobe ide-scsi then sr_mod, 
 the only devices created are sr0 and sr1.  
 These devices are created dynamically by sr_mod. 
 
 Being pedantic, modules don't do this. devfs intercepts the registration
 and makes (and destoys) nodes on the fly. It picks up on the internally
 named 'sr' labels because, by convention, the names of device drivers
 are associated, programatically, with /dev/names. sr_mod, is an
 unfortunate choice.

so you need to tell whoever owns the sr_mod module that he's got to rename
is scd_mod because he's wrong -- no?

 
 Ignoring devfs for the moment, the only thing any driver, and any 
 application, looks for is major / minor numbers, you can call the thing,
 and address the thing, as /dev/elephants for all that it matters. (it's
 just a lookup to the major/minor number). 

yes, I know how major/minors work (currently).  But that's also their
drawback.  While I don't call any device foo, I have created device nodes
with this name just to show how it works to others.

 
 kernel messages invoked by sr_mod refer to it's device nodes as sr0 ...
 etc. BUT, these are hardwired internal printk messages of sr_mod.
 Popular useage these days is /dev/scd0. 

So, the guy that programs sr_mod is as lost as I am (or hasn't read the
recent documentation changes and/or doesn't take RH as gospel).

 
 Regardless, the point being is that both names /dev/scdX AND /dev/srX
 mean the same thing, they are both the same major minors and cause added
 confusion in an already confused and idiotic scsi node tree. ( I am
 referring to both the dynamic assignment of /dev/sxx anything, and the
 tree jumps to accomodate a squillion scsi minor nodes).

No, it doesn't.  You can't create that many device nodes because of the
limitation of the major/minor numbers.

 
 If it were not recommended to use scdX, and, if distros hadn't already 
 pre-empted this by removing /dev/srX nodes, I would just as emphatically
 reverse my stance and remove scdX anything. Whatever whichway, the
 duality causes problems. (witness the screams in /etc/fstab by many
 users)
 
 To be truthfull David, I hadn't considered devfs, it's an added wrinkle
 to the mess.

I've been using devfs since it came out.  I prefer it.  It may not be
perfect, but it's a damn site better than creating thousands of useless
device nodes (which, BTW, take up inodes/disk space).  On my personal
distro (mine, Chiriqui Linux, the one I created which boots from a CD and
runs in RAM mounting /usr from the CD) uses devfs -- or I would have to
create each device by hand for just what I need or I'd waste precious
space).

Sure would like to hear your idea of a replacement for devfs.

Ciao,

David A. Bandel
-- 
Focus on the dream, not the competition.
-- Nemesis Racing Team motto
Internet (H323) phone: 206.28.187.30
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: cdrom help

2002-01-13 Thread Ken Moffat

On Sun, 13 Jan 2002 08:27:28 -0500
Tim Wunder [EMAIL PROTECTED] wrote:


 After reading that bedtime reading page, it's a wonder anything works...

I'm always amazed anything works (when I'm at the controls).

-- 
Ken Moffat
[EMAIL PROTECTED]
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: cdrom help

2002-01-13 Thread Tim Wunder

Previously, Tim Wunder chose to write:
Yeah, I know, replying to my own post, yada, yada
snip
 My COL3.1 apparently uses both  srx and scdx to refer to the same things:
 brwxrwxrwx   2 root disk  11,   0 Apr 27  2001 /dev/scd0
 brw---   1 dad  root  11,   1 Apr 27  2001 /dev/scd1
 brw---   1 dad  root  11,   0 Apr 27  2001 /dev/sr0
 brw-rw-r--   1 root disk  11,   1 Apr 27  2001 /dev/sr1

 Interesting to note the user/group for my devices. Not sure what's going on
 there...
 sr0 and scd0 are my SCSI CDRW, sr1 and scd1 are my IDE CD-ROM, /dev/hdd. I
 happen to have hdd=ide-scsi in my menu.lst. I also have ide-scsi loaded as
 a module in /etc/modules/default. Everything works, but it sure seems
 horked. Guess I'll try to play around with it some to see if I can figger
 out what's going on. It is likely only the only thing this task will
 accomplish, though, is breakage...
 I'll start by removing the /dev/sr0 and sr1 files and take hdd=ide-scsi
 out of grub's menu.lst file and see what happens.

Well, I removed the /dev/sr0 and sr1 files and took hdd=ide-scsi out of 
grub's menu.lst file and, upon first reboot, my ide CD-ROM was no longer seen 
by xcdroast as a scsi device.

In order for my IDE CD-ROM to be seen as a scsi device, I had to add 
hdd=ide-scsi to the kernel line in my menu.lst file. This is contrary to 
what the bedtime reading document states. So I set out to determine why.

Upon investigation, I made a WAG that the reason I needed to load ide-scsi 
during boot was that I had IDE CDROM support compiled into the kernel. I 
tested my WAG by recompiling the kernel with IDE-CDROM support as a module. 
Upon reboot with this new kernel, I am able to access my IDE-CDROM using 
xcdroast.

Now, off to figure out why I can't access my IDE-ZIP drive with this same 
kernel. But that should be another thread...

Tim
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: cdrom help

2002-01-13 Thread Keith Antoine

On Sun, 13 Jan 2002 22:06,David A. Bandel scribed:
 On Sun, 13 Jan 2002 21:33:19 +1130
 Mike Andrew [EMAIL PROTECTED] spewed into the bitstream:

 [snip]

  modern distros deprecate the use of srX, get rid of them, literally.
  Promise from me that you can do no harm by deleting them.

 What's your source for this?  I run 2.4.17 w/ devfs (the latest).  At
 boot, I have neither scd# nor sr# devices, but when I modprobe ide-scsi
 then sr_mod, the only devices created are sr0 and sr1.  These devices are
 created dynamically by sr_mod.  The info is built into the module.  If
 what you say is true, then I don't understand why I only get sr# and not
 scd#.

David,

I am in no way in either your or Mikes' league; However I have noticed in 
differing distros that srX is missing in some and not in others.
-- 
Keith Antoine aka 'skippy'
18 Arkana St, The Gap, Queensland 4061 Australia PH:61733002161
Retired Geriatric, Sometime Electronics Engineer, Knowall, Brain in storage

___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: cdrom help

2002-01-13 Thread Keith Antoine

On Mon, 14 Jan 2002 02:45,Tim Wunder scribed:

Now thats interesting and i'll have a look at mine.

 Well, I removed the /dev/sr0 and sr1 files and took hdd=ide-scsi out of
 grub's menu.lst file and, upon first reboot, my ide CD-ROM was no longer
 seen by xcdroast as a scsi device.

 In order for my IDE CD-ROM to be seen as a scsi device, I had to add
 hdd=ide-scsi to the kernel line in my menu.lst file. This is contrary to
 what the bedtime reading document states. So I set out to determine why.

 Upon investigation, I made a WAG that the reason I needed to load ide-scsi
 during boot was that I had IDE CDROM support compiled into the kernel. I
 tested my WAG by recompiling the kernel with IDE-CDROM support as a module.
 Upon reboot with this new kernel, I am able to access my IDE-CDROM using
 xcdroast.

 Now, off to figure out why I can't access my IDE-ZIP drive with this same
 kernel. But that should be another thread...

 Tim
 ___
 Linux-users mailing list
 Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users

-- 
Keith Antoine aka 'skippy'
18 Arkana St, The Gap, Queensland 4061 Australia PH:61733002161
Retired Geriatric, Sometime Electronics Engineer, Knowall, Brain in storage

___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: cdrom help

2002-01-12 Thread Bruce Marshall

On Saturday 12 January 2002 14:45 pm, Rick Sivernell wrote:
  I am
 not getting  a stable cdrom operation all the time.

On all CD drives?  or just the IDE one?


-- 
++
+ Bruce S. Marshall  [EMAIL PROTECTED]  Bellaire, MI 01/12/02 15:35  +
++
The flush toilet is the basis of western civilization. - Alan Coult
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: cdrom help

2002-01-12 Thread Tim Wunder

Previously, Rick Sivernell chose to write:
 On Sat, 12 Jan 2002 15:12:15 -0500
 Tim Wunder [EMAIL PROTECTED] wrote:

 Ok now have read the BedTime reader. What I get is

 1 If cdrom is not IDE-RW then hdx=ide-scsi is not needed,
 especially if you have real scsi cdroms  writers.


As long as you don't you want your cd burning software to see it, yes.

 2. if you have 3 cdrom drives you should have   sr0  sr1   sr2 
 etc for list of the drives you have.


If they are all scsi or emulated as scsi by the ide-scsi module.

 3.  If you have 3 or more drivbes  all ypou have is /sev/sr0 / sr1,
  do you need to creat a new device for the remaining cddrives.
  If so, how or what is the propper meth to perform this.


I don't follow this. AFAIK, all devices identified by the kernel and the 
ide-scsi module will have their device names created automagically.

FWIW, I believe mknod is the command you need to use to create devices. But 
I'm not convinced that's what you want to do.

Recommendation:
Remove all symlinks in /dev
Remove the kernel line hdc=ide-scsi 
Re-boot the system and look at your /dev directory. As I understand it, you 
should then have 
/dev/sr0: SCSI CD-ROM or CDRW
/dev/sr1: SCSI CDRW or CD-ROM
/dev/hdc: IDE CD-ROM

If you want the IDE CD-ROM to be seen by xcdroast, or your preferred CD 
burning software, you'll need to load the ide-scsi module during the boot 
process (refer to the Bedtime reading to find the right place according to 
your distro).
That should give you  a third device, /dev/sr2, which should be the IDE-CDROM 
as seen thru scsi-emulation.
Test the config by placing a data CD in each drive, one by one, and mounting 
it, 'mount -tiso9660 /dev/srx /mnt/whatever'
Then, create the /dev/cdrom, /dev/cdwriter, /dev/whatever symlinks you want.

HTH, 
Tim
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: cdrom help

2002-01-12 Thread Ken Moffat

On Sat, 12 Jan 2002 16:02:53 -0500
Tim Wunder [EMAIL PROTECTED] wrote:

 Recommendation:
 Remove all symlinks in /dev
 Remove the kernel line hdc=ide-scsi 
 Re-boot the system and look at your /dev directory. As I understand it,
you  should then have 
 /dev/sr0: SCSI CD-ROM or CDRW
 /dev/sr1: SCSI CDRW or CD-ROM
 /dev/hdc: IDE CD-ROM


PMFJI
Here is what worked for me.
I have 1 cdrw and one dvd, both shown as scsi, and the devices are scd0
and scd1. (I've seen somewhere that sr0 and sr1 are outdated. (?)) And I
use the lilo line append=hdb=ide-scsi hdc=ide-scsi
This works in Redhat7.1, ELX and Libranet.
I deleted my cdrom links in /dev (cdrom-hdb and cdrom1-hdc) and replaced
them with ln -s /dev/scd0 /dev/cdrom
ln -s /dev/scd1 /dev/cdrom1

Just another alternative to investigate.
The stepbystep site was a big help.
http://linux.nf

-- 
Ken Moffat
[EMAIL PROTECTED]
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: cdrom help

2002-01-12 Thread Collins Richey

On Sat, 12 Jan 2002 13:15:18 -0800
Ken Moffat [EMAIL PROTECTED] wrote:

 On Sat, 12 Jan 2002 16:02:53 -0500
 Tim Wunder [EMAIL PROTECTED] wrote:
 
  Recommendation:
  Remove all symlinks in /dev
  Remove the kernel line hdc=ide-scsi 
  Re-boot the system and look at your /dev directory. As I understand it,
 you  should then have 
  /dev/sr0: SCSI CD-ROM or CDRW
  /dev/sr1: SCSI CDRW or CD-ROM
  /dev/hdc: IDE CD-ROM
 
 
 PMFJI
 Here is what worked for me.
 I have 1 cdrw and one dvd, both shown as scsi, and the devices are scd0
 and scd1. (I've seen somewhere that sr0 and sr1 are outdated. (?)) And I
 use the lilo line append=hdb=ide-scsi hdc=ide-scsi
 This works in Redhat7.1, ELX and Libranet.
 I deleted my cdrom links in /dev (cdrom-hdb and cdrom1-hdc) and replaced
 them with ln -s /dev/scd0 /dev/cdrom
 ln -s /dev/scd1 /dev/cdrom1
 
 Just another alternative to investigate.

Yes, elx only uses /dev/scd... /dev/sr... do not exist.

-- 
Collins Richey - Denver Area
WWTLRD? - FreeBSD 4.4 + xfce + sylpheed
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: cdrom help

2002-01-12 Thread Tim Wunder

Previously, Ken Moffat chose to write:
 On Sat, 12 Jan 2002 16:02:53 -0500

 Tim Wunder [EMAIL PROTECTED] wrote:
  Recommendation:
  Remove all symlinks in /dev
  Remove the kernel line hdc=ide-scsi
  Re-boot the system and look at your /dev directory. As I understand it,

 you  should then have

  /dev/sr0: SCSI CD-ROM or CDRW
  /dev/sr1: SCSI CDRW or CD-ROM
  /dev/hdc: IDE CD-ROM


erm, make that 
/dev/scd0: SCSI CD-ROM or CDRW
/dev/scd1: SCSI CDRW or CD-ROM
/dev/hdc: IDE CD-ROM

 PMFJI
 Here is what worked for me.
 I have 1 cdrw and one dvd, both shown as scsi, and the devices are scd0
 and scd1. (I've seen somewhere that sr0 and sr1 are outdated. (?)) And I
snip
I stand corrected.
(jeez, and I JUST read the damn bedtime reading page, too!)

Tim
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: cdrom help

2002-01-12 Thread Ken Moffat

On Sat, 12 Jan 2002 16:37:36 -0500
Tim Wunder [EMAIL PROTECTED] wrote:

   (I've seen somewhere that sr0 and sr1 are outdated. (?)) And I
 snip
 I stand corrected.
 (jeez, and I JUST read the damn bedtime reading page, too!)
 
 Tim

I didn't mean to correct, just offer an alternative. I've heard that both
can work, depending on the distro.

-- 
Ken Moffat
[EMAIL PROTECTED]
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: cdrom help

2002-01-12 Thread Rick Sivernell

List

  Thanks for response. Need to add some info here.

Running ew 3.1.1  using kde 2.2

/var/log/messages:

Jan 11 06:31:40 RSivernell kernel: Adaptec aic7850 SCSI adapter
Jan 11 06:31:40 RSivernell kernel: aic7850: Single Channel A, SCSI Id=7,
3/255 SCBs Jan 11 06:31:40 RSivernell kernel:

scsi ID 6
Jan 11 06:31:40 RSivernell kernel:   Vendor: ARCHIVE   Model: 4326XX 03813-XXX 
Rev: 645a

scsi ID 5
Jan 11 06:31:40 RSivernell kernel:   Vendor: YAMAHAModel: CRW6416S 
Rev: 1.0b Jan 11 06:31:40 RSivernell kernel:   Type:   CD-ROM
ANSI SCSI revision: 02

scsi ID 4
Jan 11 06:31:40 RSivernell kernel:   Vendor: TOSHIBA   Model: CD-ROM XM-6401TA 
Rev: 1009 Jan 11 06:31:40 RSivernell kernel:   Type:   CD-ROM
ANSI SCSI revision: 02

IDE CDROM:
Jan 11 06:31:40 RSivernell kernel: scsi1 : SCSI host adapter emulation for IDE
ATAPI devices Jan 11 06:31:40 RSivernell kernel:   Vendor: E-IDE Model:
CD-ROM 52X/AKHRev: A62 Jan 11 06:31:40 RSivernell kernel:   Type:   CD-ROM   
 ANSI SCSI revision: 02



.

Jan 11 06:32:36 RSivernell kernel: Attached scsi CD-ROM sr0 at scsi0, channel 0,
id 5, lun 0
Jan 11 06:32:36 RSivernell kernel: Attached scsi CD-ROM sr1 at scsi0, channel 0,
id 6, lun 0
Jan 11 06:32:36 RSivernell kernel: Attached scsi CD-ROM sr2 at scsi1, channel 0,
id 0, lun 0
Jan 11 06:32:36 RSivernell kernel: (scsi0:A:5): 10.000MB/s transfers (10.000MHz,
offset 15) Jan 11 06:32:36 RSivernell kernel: sr0: scsi3-mmc drive: 16x/16x
writer cd/rw xa/form2 cdda tray Jan 11 06:32:36 RSivernell kernel: Uniform CD-ROM
driver Revision: 3.12 Jan 11 06:32:36 RSivernell kernel: sr1: scsi-1 drive
Jan 11 06:32:36 RSivernell kernel: sr2: scsi3-mmc drive: 8x/52x cd/rw xa/form2
cddatray


[root@RSivernell rick]# ll /dev/cd* | more
lrwxrwxrwx1 root root3 Jan 10 15:49 /dev/cdrom - /dev/sr1
lrwxrwxrwx1 root root8 Jan 12 14:38 /dev/cdrom2 - /dev/sr2
 no sr2 lrwxrwxrwx1 root root3 Jan 12 10:59 /dev/cdwriter
- /dev/sr0

[root@RSivernell rick]# ll /dev/sr* | more
brw---1 rick root  11,   0 Oct 11 13:07 /dev/sr0
brw---1 rick root  11,   1 Oct 11 13:07 /dev/sr1


[root@RSivernell rick]# ll /dev/scd* | more
brw-rw-r--1 rick disk  11,   0 Oct 11 13:07 /dev/scd0
brw-rw-r--1 root disk  11,   1 Oct 11 13:07 /dev/scd1

  if scd? replaces sr?, why does caldera still use sr??  The on desktop Icon use

ICON URLs on Desktop
/auto/cdrom  for /dev/sr1
/auto/cdwriter  for /dev/sr0
/dev/sr2  for /mnt/sr2   there is not any /dev/sr2 or /dev/scd2 

   I have removed from grub/menu.lst hdc=ide-scsi  rebooted. All is
the same as before.  The most stable cd drive is my cdwriter @ /dev/sr0.

cheers
-- 
Rick Sivernell
Dallas, Texas  75287
972 306-2296
[EMAIL PROTECTED]
Caldera Open Linux eWorkStation 3.1
Registered Linux User

   .~.
  / v \
 /( _ )\
   ^ ^
In Linux we trust!
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: cdrom help

2002-01-12 Thread Ralph Sanford

Somewhat inexperienced at this SCSI setup, but looking at my system the
real SCSI CD's are sr0 and sr1.  The sr? values are assigned based on
the SCSI id number.  In fact I recently (yesterday) had a problem adding
a SCSI dvd as SCSI id 0 on a system that already had SCSI id 4 and 5
because the SCSI id 4 device had already been linked as sr0.  After the
new dvd was added as SCSI id 0 the new dvd became sr0 and the
pre-existing SCSI id 4 device become sr1.  The links did not
automatically change and the new dvd assumed the identity of the SCSI
device which was sr0.

What I am suggesting is that your SCSI cd system is as follows:
/dev/sr0 scsi id 4 42x cdrom
/dev/sr1 scsi id 5 cdwriter
/dev/scd1emulation 52x ide cdrom

This does not agree with the info that you provided, but on my system
the lower SCSI id device gets the lower sr? value.

To solve my problem the /dev/dvd and  /dev/cdrecorder were removed
(rm).  Then new links were established for /dev/sr0  -  /dev/dvd  and
/dev/sr1  -  /dev/cdrecorder.  Until these links were established on
the system fstab did not reflect the physical system.

Having only ever worked on two SCSI systems treat the above comments
with caution.

On Sat, 2002-01-12 at 12:45, Rick Sivernell wrote:
 List
 
I am having continual problems with cdroms. I have the following
 
 scsi id 4  42x scsi cdrom
 scsi id 5  Yamaha 6x4x16 cdwriteronly one that seems to work all the time
 scsi id 6  scsi dat 4mm tape drive  not a problem ow.
 
 hdc is a 52x ide cdrom drivethere on bootup but do anything and it 
 disappears or hangs system
 
 I have set kernal line to hdc=ide-scsi, verify below. I get 3 icons on the
 desktop and most of the time they say they are mounted, cd drive  cdwriter. I am
 not getting  a stable cdrom operation all the time.
 
 Please correct me if I am wrong, I know you guys will g with pleasure.
 
 The system boots up and sees the true scsi as scd? and the ide as hd?.
 Thus the scd0  scd1 for my scsi cdrom drives, there are no scsi hard drives 
 in this system,  the ide-scsi as sr0. A mout point in /auto should be for 
 /dev/cdrom - sr0 as cdrom, a second for /dev/cdwriter - /dev/scd0 as
 /auto/cdwriter,  /dev/cddrive 2 - /dev/scd1 as /auto/cdrom2.
 
 What is going wrong, or do I need to provide more info. I have read the sxs 
 @linux.nf. not quite sure here.
 
 hda is a 60g harddrive ide
 
 ile setups:
 
 [root@RSivernell rick]# ll /dev/ta* | more
 lrwxrwxrwx1 root root3 Dec 21 03:23 /dev/tape - st0
 
 [root@RSivernell rick]# ll /dev/cd* | more
 lrwxrwxrwx1 root root3 Jan 10 15:49 /dev/cdrom - sr1
 lrwxrwxrwx1 root root9 Jan 12 10:55 /dev/cdrom2 - /dev/scd1
 lrwxrwxrwx1 root root6 Dec 21 03:01 /dev/cdu31a - sonycd
 brw-rw-r--  1 root disk24,   0 Oct 11 13:07 /dev/cdu535
 lrwxrwxrwx1 root root3 Jan 12 10:59 /dev/cdwriter - sr0
 
 [root@RSivernell rick]# ll /dev/sc* | more
 brw-rw-r--1 rick disk  11,   0 Oct 11 13:07 /dev/scd0
 brw-rw-r--1 root disk  11,   1 Oct 11 13:07 /dev/scd1
 
 [root@RSivernell rick]# ll /dev/sr* | more
 brw---1 rick root  11,   0 Oct 11 13:07 /dev/sr0
 brw---1 rick disk  11,   1 Oct 11 13:07 /dev/sr1
 
 [root@RSivernell rick]# cat /etc/fstab
 devpts /dev/pts devpts gid=5,mode=620 0 0
 /proc /proc proc defaults 0 0
 none /proc/bus/usb usbdevfs defaults 0 0
 /dev/cdrom /mnt/cdrom iso9660 ro,user,noauto,exec 0 0
 /dev/cdwriter /mnt/sr0 iso9660 ro,user,noauto,exec 0 0
 /dev/cdrom2 /mnt/scd1 is09660 ro,user,noauto,exec 0 0
 /dev/fd0 /mnt/floppy auto defaults,user,noauto 0 0
 none /dev/shm shm defaults 0 0
 /dev/hda1 / reiserfs defaults 1 1
 /dev/hda5 /opt reiserfs defaults 1 1
 /dev/hda3 /home reiserfs defaults 1 1
 /dev/hda2 /boot ext2 defaults 1 1
 /dev/hda13 /backup ext2 defaults 1 1
 /dev/hda12 /archive reiserfs defaults 1 1
 /dev/hda11 /projects reiserfs defaults 1 1
 /dev/hda10 /import_export reiserfs defaults 1 1
 /dev/hda14 swap swap defaults 0 0
 /dev/hda6  /u01  reiserfs  user  0  0
 /dev/hda7  /u02  reiserfs  user  0  0
 /dev/hda8  /u03  reiserfs  user  0  0
 /dev/hda9  /uo4  reiserfs  user  0  0
 
 [root@RSivernell rick]# cat /etc/mtab
 /dev/hda1 / reiserfs rw 0 0
 devpts /dev/pts devpts rw,gid=5,mode=620 0 0
 /proc /proc proc rw 0 0
 none /proc/bus/usb usbdevfs rw 0 0
 /dev/hda5 /opt reiserfs rw 0 0
 /dev/hda3 /home reiserfs rw 0 0
 /dev/hda2 /boot ext2 rw 0 0
 /dev/hda13 /backup ext2 rw 0 0
 /dev/hda12 /archive reiserfs rw 0 0
 /dev/hda11 /projects reiserfs rw 0 0
 /dev/hda10 /import_export reiserfs rw 0 0
 /dev/hda6 /u01 reiserfs rw,noexec,nosuid,nodev 0 0
 /dev/hda7 /u02 reiserfs rw,noexec,nosuid,nodev 0 0
 /dev/hda8 /u03 reiserfs rw,noexec,nosuid,nodev 0 0
 /dev/hda9 /uo4 reiserfs rw,noexec,nosuid,nodev 0 0
 RSivernell:(pid503) /auto nfs
 

cdrom help

2002-01-12 Thread Rick Sivernell

List

   I am having continual problems with cdroms. I have the following

scsi id 4  42x scsi cdrom
scsi id 5  Yamaha 6x4x16 cdwriteronly one that seems to work all the time
scsi id 6  scsi dat 4mm tape drive  not a problem ow.

hdc is a 52x ide cdrom drivethere on bootup but do anything and it 
disappears or hangs system

I have set kernal line to hdc=ide-scsi, verify below. I get 3 icons on the
desktop and most of the time they say they are mounted, cd drive  cdwriter. I am
not getting  a stable cdrom operation all the time.

Please correct me if I am wrong, I know you guys will g with pleasure.

The system boots up and sees the true scsi as scd? and the ide as hd?.
Thus the scd0  scd1 for my scsi cdrom drives, there are no scsi hard drives 
in this system,  the ide-scsi as sr0. A mout point in /auto should be for 
/dev/cdrom - sr0 as cdrom, a second for /dev/cdwriter - /dev/scd0 as
/auto/cdwriter,  /dev/cddrive 2 - /dev/scd1 as /auto/cdrom2.

What is going wrong, or do I need to provide more info. I have read the sxs 
@linux.nf. not quite sure here.

hda is a 60g harddrive ide

ile setups:

[root@RSivernell rick]# ll /dev/ta* | more
lrwxrwxrwx1 root root3 Dec 21 03:23 /dev/tape - st0

[root@RSivernell rick]# ll /dev/cd* | more
lrwxrwxrwx1 root root3 Jan 10 15:49 /dev/cdrom - sr1
lrwxrwxrwx1 root root9 Jan 12 10:55 /dev/cdrom2 - /dev/scd1
lrwxrwxrwx1 root root6 Dec 21 03:01 /dev/cdu31a - sonycd
brw-rw-r--  1 root disk24,   0 Oct 11 13:07 /dev/cdu535
lrwxrwxrwx1 root root3 Jan 12 10:59 /dev/cdwriter - sr0

[root@RSivernell rick]# ll /dev/sc* | more
brw-rw-r--1 rick disk  11,   0 Oct 11 13:07 /dev/scd0
brw-rw-r--1 root disk  11,   1 Oct 11 13:07 /dev/scd1

[root@RSivernell rick]# ll /dev/sr* | more
brw---1 rick root  11,   0 Oct 11 13:07 /dev/sr0
brw---1 rick disk  11,   1 Oct 11 13:07 /dev/sr1

[root@RSivernell rick]# cat /etc/fstab
devpts /dev/pts devpts gid=5,mode=620 0 0
/proc /proc proc defaults 0 0
none /proc/bus/usb usbdevfs defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 ro,user,noauto,exec 0 0
/dev/cdwriter /mnt/sr0 iso9660 ro,user,noauto,exec 0 0
/dev/cdrom2 /mnt/scd1 is09660 ro,user,noauto,exec 0 0
/dev/fd0 /mnt/floppy auto defaults,user,noauto 0 0
none /dev/shm shm defaults 0 0
/dev/hda1 / reiserfs defaults 1 1
/dev/hda5 /opt reiserfs defaults 1 1
/dev/hda3 /home reiserfs defaults 1 1
/dev/hda2 /boot ext2 defaults 1 1
/dev/hda13 /backup ext2 defaults 1 1
/dev/hda12 /archive reiserfs defaults 1 1
/dev/hda11 /projects reiserfs defaults 1 1
/dev/hda10 /import_export reiserfs defaults 1 1
/dev/hda14 swap swap defaults 0 0
/dev/hda6  /u01  reiserfs  user  0  0
/dev/hda7  /u02  reiserfs  user  0  0
/dev/hda8  /u03  reiserfs  user  0  0
/dev/hda9  /uo4  reiserfs  user  0  0

[root@RSivernell rick]# cat /etc/mtab
/dev/hda1 / reiserfs rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
/proc /proc proc rw 0 0
none /proc/bus/usb usbdevfs rw 0 0
/dev/hda5 /opt reiserfs rw 0 0
/dev/hda3 /home reiserfs rw 0 0
/dev/hda2 /boot ext2 rw 0 0
/dev/hda13 /backup ext2 rw 0 0
/dev/hda12 /archive reiserfs rw 0 0
/dev/hda11 /projects reiserfs rw 0 0
/dev/hda10 /import_export reiserfs rw 0 0
/dev/hda6 /u01 reiserfs rw,noexec,nosuid,nodev 0 0
/dev/hda7 /u02 reiserfs rw,noexec,nosuid,nodev 0 0
/dev/hda8 /u03 reiserfs rw,noexec,nosuid,nodev 0 0
/dev/hda9 /uo4 reiserfs rw,noexec,nosuid,nodev 0 0
RSivernell:(pid503) /auto nfs
intr,rw,port=1023,timeo=8,retrans=110,indirect,map=/etc/am.d/localdev,dev=00
08 0 0

[root@RSivernell rick]# cat /boot/grub/menu.lst
#
# /boot/grub/menu.lst - generated by Lizard
#


# options

timeout = 5
splashscreen = (hd0,1)/boot/message.col31

default = 0

title  = Linux
root   = (hd0,1)
kernel = /boot/vmlinuz-2.4.9-modular vga=274 quiet root=/dev/hda1  hdc=ide-scsi
initrd = /boot/initrd-2.4.9.gz

cheers

-- 
Rick Sivernell
Dallas, Texas  75287
972 306-2296
[EMAIL PROTECTED]
Caldera Open Linux eWorkStation 3.1
Registered Linux User

   .~.
  / v \
 /( _ )\
   ^ ^
In Linux we trust!
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: dhcp help, please...

2001-12-30 Thread David A. Bandel

On Sat, 29 Dec 2001 23:33:22 -0500
Jerry McBride [EMAIL PROTECTED] spewed into the bitstream:

[snip]

I'll let someone else handle the first question.

 
 Also, what happens when the lease expires? Is a new lease automatically
negotiated or do I have to manually intervene in some manner like
restarting the firewall, etc.

RFC 2131 should answer all your questions about how DHCP works
(dhcprequest, dhcprelease, dhcpinform, dhcp..., etc.). 

Bottom line, unless you are blocking udp ports 67 and 68, all dhcp lease
renewals are automagic.

Ciao,

David A. Bandel
-- 
Focus on the dream, not the competition.
-- Nemesis Racing Team motto
Internet (H323) phone: 206.28.187.30
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: dhcp help, please...

2001-12-30 Thread Dave Anselmi

Jerry McBride wrote:

 I'm getting ready for the pending @home to @comcast change over and the biggest 
hurddle I have yet to make is implementing dhcp.

 I'm working with dhclient as supplied with workstation 3.1. From the commandline or 
a fresh boot I can get dhclient to negotiate with my isp for a new ip address and 
it'll even correctly write out a new /etc/resolv.conf file for me... Such magic.

 The dhcp hurddle I haven't quite cleared is understanding what I've done.

 Would someone point me to a really good FAQ or how-to for the dhclient
 included in workstation 3.1? Everything I've come across speaks of
 dhcpd... which I believe is different from what I'm working with.

What you have is the software from the Internet Software Consortium.  dhclient is the 
client half, what you need.  dhcpd is the server half, what your ISP uses.  There is 
another package called dhcpcd which is an alternative client.  It probably
isn't as flexible as dhclient (especially for dhcp 3.0 features), but it works well.

I hear that the mailing lists are a little stuffy.  The folks at ISC have been around 
long enough to develop an attitude.  Perhaps it's even justified, they have been 
around a *long* time.

Anyway, take a look at the man pages to start.  dhclient will tell you the name of the 
config file, and the man page on it is pretty good.  Take a look at what you have 
already and don't get bogged down in all the options.  You should be ok at that
point.

Most of the settings like dns and lease times are set on the server.

If you're *really* interested, there's a book on DHCP.  It and various on-line 
resources are listed here:

http://www.isc.org/products/DHCP/

HTH,
Dave


___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: dhcp help, please...

2001-12-30 Thread Jerry McBride

On Sun, 30 Dec 2001 12:46:59 -0700 Dave Anselmi [EMAIL PROTECTED] wrote:

 Jerry McBride wrote:
 

---snip---

  The dhcp hurddle I haven't quite cleared is understanding what I've done.

---snip---

 What you have is the software from the Internet Software Consortium.  dhclient is 
the client half, what you need.  dhcpd is the server half, what your ISP uses. 

That's my understanding also. Thanks for confirming it. It's really a pain to figure 
this stuff out as documentation is really sparse. All I really need to do at the 
moment is get the client half under my belt and get my lan sharing the inet resource 
over it.

 There is another package called dhcpcd which is an alternative client. 

I found it and decided early on to ignore it. From what I gleened from the few docs 
and info sources, it's not what I need. Thank you.

 I hear that the mailing lists are a little stuffy. 


---snip---

Yeah, I've tasted the archives and... well.. I've got enough to deal with than to add 
them to my list. :')


 Anyway, take a look at the man pages to start.  dhclient will tell you the name of 
the config file, and the man page on it is pretty good.

I've printed the relavent pages and they do make for interesting reading.

 Take a look at what you have already and don't get bogged down in all the options.  
You should be ok at that point.
 

Well... That's about what I've done. I've got the server reliably online via dhclient. 
I have to figure out how to get my fixed IP firewall to work correctly with dhcp. 

Could you give me a heads up if I need to set anything in dhclient.conf to allow for 
my intranet?

 Most of the settings like dns and lease times are set on the server.
 

Yes.

 If you're *really* interested, there's a book on DHCP.  It and various on-line 
resources are listed here:
 
 http://www.isc.org/products/DHCP/


I'm debating on buying the dhcp book, but at $44.00 a copy it looks like a long 
debate. For now I'll be tracking down usenet, inet and faqs that relate to dhcp... I 
haven't found a tutorial or similar yet, but I haven't quit looking.

For something that's as common as dhcp, it's amazing there's so little on it in 
beginners' documentation. After all, I wasn't born knowing it... :')

Cheers and thank you very much for your post.


-- 

**
 Registered Linux User Number 185956
  http://groups.google.com/groups?hl=ensafe=offgroup=linux
 2:55pm  up 16:53,  2 users,  load average: 0.00, 0.01, 0.00
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: dhcp help, please...

2001-12-30 Thread Dave Anselmi

Jerry McBride wrote:

 Well... That's about what I've done. I've got the server reliably online via 
dhclient. I have to figure out how to get my fixed IP firewall to work correctly with 
dhcp.

 Could you give me a heads up if I need to set anything in dhclient.conf to allow 
for my intranet?

Hmmm.  I'm not sure what your setup looks like.  Most cable users have a 
gateway/firewall machine using dhcp to the ISP.  That's the client running on the 
gateway box, to the outside.  You could run a dhcp server (on the gateway or anywhere 
else on the inside) or
not, up to you.  I tend to run my own dhcpd inside, unless there's a reason not to for 
a particular machine.

If you have specific questions or want to describe your network, feel free to ask.  
But the dhclient facing the ISP doesn't need anything special.

 I'm debating on buying the dhcp book, but at $44.00 a copy it looks like a long 
debate. For now I'll be tracking down usenet, inet and faqs that relate to dhcp... I 
haven't found a tutorial or similar yet, but I haven't quit looking.

 For something that's as common as dhcp, it's amazing there's so little on it in 
beginners' documentation. After all, I wasn't born knowing it... :')

Well, the people who wrote the software wrote the book and provide consulting.  So 
you've got the source, the man pages, and the RFCs.  If that isn't enough, more will 
cost you.

I don't think that's too unreasonable.  But looking at many of the options I don't use 
(especially related to dynamic DNS and the new failover capability), I think there 
would be a lot of trial and error to get them working.  Fortunately the simple case is
adequate.

(mostly OT) war story
I was running dhcp off a dsl modem for a Win2k LAN (with a Linux domain controller).  
I eventually switched the dhcp server to the linux box (and gave it a static IP) for 2 
reasons:

- The modem's maximum lease time was short enough that unplugging it for a few minutes 
(reorganizing) would cause at least one Win2k to pick a new, default IP when its lease 
ran out.  Since the default IP was unrelated to my subnet the machine would essentially
stop networking.

- There are some WINS settings that can be passed from the dhcp server that the modem 
didn't support (things like using a specific WINS server vs. broadcasting).
/war story

Dave


___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



broadcast2000 troubles, adsl help

2001-12-14 Thread Steve Thompson - UG

Hello all,

been a long time since i've been on the list. had to unsubscribe so
i wouldn't get fired at work

i have a few questions.  i recently got dsl!!! yippy   it is working
great. the zyxel modem that earthlink sent also
assigns ip addresses, so i got my 2 machines going thru it with a hub,
instead of making a router/hub out of my linux box. the problem is, when
i'm on the net
i lose the connection after about a minute of no traffic. how can i
increase this timeout to a half hour or so.

i recently perchased suse 7.3 pro and loaded it on, everything was
working good, TILL i did an online update. i also changed the security
setting from custom to workstation. i have now changed them back as it
locked some programs and such that i didn't want locked. anyway, i
use broadcast2000 for audio editing for my church, and since i have done
the security change (even tho i changed it back) and online update, i
can't use the program anymore. i have tried to reload it, no worky. so i
logged in as root and it works fine, so i checked permissions and even
copied the bcast.rc file from the hidden dir to my users hidden dir to
no avail. it still locks up the program as soon as i try to play a wav
file. how do i get this program to work for the user again?

next question,.  when i log off kde, the mouse freezes in the middle
of the screen, if i do a ctrl-alt-backspace to restart x, it works fine
again till the next time i log off. any ideas on a fix?

thanks alot everyone,
steve thompson

___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: rat help

2001-12-13 Thread Declan Moriarty

On Wednesday 12 December 2001 01:12, you wrote:
 Declan

That was part of what I wanted. If I had th mobo pinout
 for comport  ps2 connect (PI 133 mHz) AT mobo. I have gotten com 2 to see
 the mouse in Caldera 2.3, but X doesnot see it in 4.1.0.1 (3.1.1 EW).

Just delete that filename from the link and you get the index page
http://ftp.sunet.se/hwb/


 I have a S3 Virge 4 meg card and X is having a
 failed  to setup  write combining range  0xe to 0x4 
 APM failed.

I'm running a S3 Trio 8MB, but have used a S3 Virge 4MB myself in x 3.splash. 
Can't help you here. It sounds like a ram problem, or less ram on the card 
than you think, and it's trying to grab some outside. You  hardly need 4 megs 
for 32 bit colour at 640x480. (Gets calculator out and mystifies himself - 
retires in defeat, changing the subject). You can find out what's going on 
with this line

# startx xerrors 21
# less xerrors

That'll give you a blow by blow 

 Monitor is a emerson vga: 640x480 ( mode to use)
 Scanning Freq:
    Horizontal  31.5Khz
    Vertical60/70Hz
 Scanning Status
    Mode 1   720 Dots x 350 Lines
    Mode 2   720 Dots x 400 Lines
    Mode 3   640 Dots x 480 Lines
 Signal Input RGB/Analog Separate
 Dot pitch  0.41mm

That monitor is CRAP! You're going to waste time worth the price of a new one 
tweaking things to live with that.


| X do give me something but no use of mouse  nothing to click on if the 
  mouse did work. Can get xdm to display a set of buttons, no mouse so 
 nothing happens.
 mouse set at protocal Microsoft device /dev/mouse   -/dev/ttyS1 , this 
 works with Calera 2.3. I do not however have the xf86config.
If you need a XF86Config file, we'll get you one. Which version of X? I'm on 
the old stuff still (3.3.6 or something)

Have you working ports? Is it the pinouts of the sockets on the mo/bo you're 
stuck for?  There's a fairly standard ATX Form Factor plug for the back end, 
and apart from that, try the m/b manufacturer. You can them this from the FCC 
ID number. Every part let into the US has one, and you can look them up: 
(Don't ask me how or where)
 elinit 5 returns X config error and returns to rl 3.
 any Ideas,  I can use text mode, but would like to use the kde consol.

My approach would be to get some port singing, stick a mouse on that. Beware 
that sometimes you're expected to have gpm running, and sometimes (Like on 
this Mandrake system) there's a mouse server in X which doesn't require Gpm.

-- 
Regards,


Declan Moriarty




Applied Researches - Ireland's Foremost Electronic Hardware Genius

A Slightly Serious(TM) Company

Success covers a multitude of blunders - G.B. Shaw.
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: HELP!! - NIC won't run full duplex

2001-12-13 Thread R. Quenett


   Something funky about these rtl8139 cards and this particular 

I'm running some of these.  I had some of the half-duplex trouble a 
while ago but they all run fine  now.  They're on monolithic kernels 
and they're autodetected fine, no need to pass any append= 
parameters... Memory fades, but afair, the 8139too drivers were buggy 
quite a ways through the 2.4.x series, at one point the -ac series 
seemed the better choice and did affect this issue.  Also air, kernel 
config has an option to enable support for 'older' 8139's (I didn't) 
and the boot messages on mine say something to the effect of '8139b' 
(note the 'b') detected.  Dunno if any of this matters, but fwiw...

R
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: rat help

2001-12-13 Thread Richard R. Sivernell

Declan

   Well I have just yesterday got all to work, well as best as the crappy
S3 Virge card will. The card is bad in gui mode. The rats all do work now.

I actually did pretyty much the same as your post, and that was most 
reassurring as to how I proceeded. Will replace the car very soon now. Never 
did like the S# Virge anyway.

cheers  Thanks
-- 
Rick Sivernell
Dallas, Texas  75287
972 306-2296
[EMAIL PROTECTED]
Caldera e-Server 3.1
Registered Linux User #193859 

        .~.
       / v \
      /( _ )\
        ^ ^
In Linux we trust!
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: HELP!! - NIC won't run full duplex

2001-12-12 Thread Jerry McBride

On Tue, 11 Dec 2001 22:27:40 -0500
[EMAIL PROTECTED] wrote:

 Hello All,
 
 I have followed the thread on forcing my NIC to run full duplex. I have
 tried all of those suggestions to no avail.  I have SuSE 7.3 Pro installed
 on my desktop w/KDE-2.2.2, and Mantel's 2.4.16-4GB-14.  Using mii-tool
 I get 10 bit half duplex no link.  If I boot the same machine under COL 3.1
 w/ 2.4.4 kernel and KDE 2.1.1, mii-tool shows the card running @  100 mb
 full duplex.  The card is an SMC1244TX (realtek 8139c chipset).  Whatis
 interfering under SuSE?  Is the realtek module buggy in 7.3? I have it
 set as eth0 rtl8139 in /etc/modules.conf.
 

Perhaps it's an old realtec nic driver holding you back?

--


**
 Registered Linux User Number 185956
  http://groups.google.com/groups?hl=ensafe=offgroup=linux
 6:40am  up 10 days, 17:41,  3 users,  load average: 0.42, 0.35, 0.28

___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



RE: Re: HELP!! - NIC won't run full duplex

2001-12-12 Thread kbb0927

Jerry,

It is the latest included with the 2.4.16 kernel. I do have a CD with
instructions on compiling the driver for linux that came with the card.
It is dated 6/1999. Should I compile it and see if it works?

Regards,

Keith B.

Jerry McBride [EMAIL PROTECTED] wrote:

On Tue, 11 Dec 2001 22:27:40 -0500
[EMAIL PROTECTED] wrote:

 Hello All,
 
 I have followed the thread on forcing my NIC to run full duplex. I have
 tried all of those suggestions to no avail.  I have SuSE 7.3 Pro installed
 on my desktop w/KDE-2.2.2, and Mantel's 2.4.16-4GB-14.  Using mii-tool
 I get 10 bit half duplex no link.  If I boot the same machine under COL 3.1
 w/ 2.4.4 kernel and KDE 2.1.1, mii-tool shows the card running @  100 mb
 full duplex.  The card is an SMC1244TX (realtek 8139c chipset).  Whatis
 interfering under SuSE?  Is the realtek module buggy in 7.3? I have it
 set as eth0 rtl8139 in /etc/modules.conf.
 

Perhaps it's an old realtec nic driver holding you back?

--


**
 Registered Linux User Number 185956
  http://groups.google.com/groups?hl=ensafe=offgroup=linux
 6:40am  up 10 days, 17:41,  3 users,  load average: 0.42, 0.35, 0.28

___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users

___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: HELP!! - NIC won't run full duplex

2001-12-12 Thread Jerry McBride

On Wed, 12 Dec 2001 07:19:25 -0500
[EMAIL PROTECTED] wrote:

 Jerry,
 
 It is the latest included with the 2.4.16 kernel. I do have a CD with
 instructions on compiling the driver for linux that came with the card.
 It is dated 6/1999. Should I compile it and see if it works?
 

It's worth a try, but it being a realtec, I would have thought the kernel
included drivers would be enough.

-- 

**
 Registered Linux User Number 185956
  http://groups.google.com/groups?hl=ensafe=offgroup=linux
 5:55pm  up 11 days,  4:56,  3 users,  load average: 0.02, 0.03, 0.00
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



RE: Re: HELP!! - NIC won't run full duplex

2001-12-12 Thread kbb0927

Jerry,

I finally just gave up and purchased a NetGear FA310TX fast ethernet
card from Micro Center on sale for $14.99. It uses the tulip driver and
upon installation, I am now running 100 mbps FD without forcing it to.
Something funky about these rtl8139 cards and this particular box, no
trouble with any 7.2 boxen.

Best regards and thanks,

Keith B.

Jerry McBride [EMAIL PROTECTED] wrote:

On Wed, 12 Dec 2001 07:19:25 -0500
[EMAIL PROTECTED] wrote:

 Jerry,
 
 It is the latest included with the 2.4.16 kernel. I do have a CD with
 instructions on compiling the driver for linux that came with the card.
 It is dated 6/1999. Should I compile it and see if it works?
 

It's worth a try, but it being a realtec, I would have thought the kernel
included drivers would be enough.

-- 

**
 Registered Linux User Number 185956
  http://groups.google.com/groups?hl=ensafe=offgroup=linux
 5:55pm  up 11 days,  4:56,  3 users,  load average: 0.02, 0.03, 0.00
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users

___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: HELP!! - NIC won't run full duplex

2001-12-12 Thread Jerry McBride

On Wed, 12 Dec 2001 20:50:08 -0500
[EMAIL PROTECTED] wrote:

 Jerry,
 
 I finally just gave up and purchased a NetGear FA310TX fast ethernet
 card from Micro Center on sale for $14.99. It uses the tulip driver and
 upon installation, I am now running 100 mbps FD without forcing it to.
 Something funky about these rtl8139 cards and this particular box, no
 trouble with any 7.2 boxen.
 

You feel like sending me the card? I'll see if I can get it to run, then send
it back with appropriate instructions.

Over here, we bought just about every UNWANTED Linksys lne100tx nic's we
could find at dirt cheap prices... Everybody hated the things and once it was
known that we wanted them... they popped out of everywhere. I even got a
bunch for nothing... All that was needed was the correct driver. Linksys
distributed the early nic's with a linux driver that didn't work. 

Needless to say, they work quite well.


-- 


**
 Registered Linux User Number 185956
  http://groups.google.com/groups?hl=ensafe=offgroup=linux
 9:30pm  up 11 days,  8:31,  3 users,  load average: 0.37, 0.21, 0.09
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: HELP!! - NIC won't run full duplex

2001-12-12 Thread Collins Richey

On Wed, 12 Dec 2001 18:28:56 -0800 (PST) Keith Morse
[EMAIL PROTECTED] wrote:

 On Wed, 12 Dec 2001 [EMAIL PROTECTED] wrote:
 
  Jerry,
  
  I finally just gave up and purchased a NetGear FA310TX fast
 ethernet
  card from Micro Center on sale for $14.99. It uses the tulip
 driver and
  upon installation, I am now running 100 mbps FD without forcing it
 to.
  Something funky about these rtl8139 cards and this particular box,
 no
  trouble with any 7.2 boxen.
  
 
 This topic had gotten me interested last night and started to
 research
 it.  Couldn't make heads or tails about the correct options to pass
 to
 modprobe to do the full-duplex/100mb thingie.
 

And what about those of us with monolithic kernels?

-- 
Collins Richey
Denver Area - 12DEC2001 - WWTLRD?
gentoo_rc6 k2.4.17-pre8+ext3+xfce+sylpheed+galeon
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: HELP!! - NIC won't run full duplex

2001-12-12 Thread Jerry McBride

On Wed, 12 Dec 2001 19:48:16 -0700
Collins Richey [EMAIL PROTECTED] wrote:

 On Wed, 12 Dec 2001 18:28:56 -0800 (PST) Keith Morse
 [EMAIL PROTECTED] wrote:
 
  On Wed, 12 Dec 2001 [EMAIL PROTECTED] wrote:
  
   Jerry,
   
   I finally just gave up and purchased a NetGear FA310TX fast
  ethernet
   card from Micro Center on sale for $14.99. It uses the tulip
  driver and
   upon installation, I am now running 100 mbps FD without forcing it
  to.
   Something funky about these rtl8139 cards and this particular box,
  no
   trouble with any 7.2 boxen.
   
  
  This topic had gotten me interested last night and started to
  research
  it.  Couldn't make heads or tails about the correct options to pass
  to
  modprobe to do the full-duplex/100mb thingie.
  
 
 And what about those of us with monolithic kernels?
 

Uhhh append= you fill in the blanks... 

-- 


**
 Registered Linux User Number 185956
  http://groups.google.com/groups?hl=ensafe=offgroup=linux
10:25pm  up 11 days,  9:26,  3 users,  load average: 0.59, 0.66, 0.76
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



RE: Re: HELP!! - NIC won't run full duplex

2001-12-12 Thread kbb0927

Jerry,

Sure. But the interesting thing is they DO work with the SuSE
2.4.4-4GB kernel using the EXACT same driver. Tell me where you
want me to send it. BTW,it is a new realtek card from SMC.

Regards,

Keith

Jerry McBride [EMAIL PROTECTED] wrote:

On Wed, 12 Dec 2001 20:50:08 -0500
[EMAIL PROTECTED] wrote:

 Jerry,
 
 I finally just gave up and purchased a NetGear FA310TX fast ethernet
 card from Micro Center on sale for $14.99. It uses the tulip driver and
 upon installation, I am now running 100 mbps FD without forcing it to.
 Something funky about these rtl8139 cards and this particular box, no
 trouble with any 7.2 boxen.
 

You feel like sending me the card? I'll see if I can get it to run, then send
it back with appropriate instructions.

Over here, we bought just about every UNWANTED Linksys lne100tx nic's we
could find at dirt cheap prices... Everybody hated the things and once it was
known that we wanted them... they popped out of everywhere. I even got a
bunch for nothing... All that was needed was the correct driver. Linksys
distributed the early nic's with a linux driver that didn't work. 

Needless to say, they work quite well.


-- 


**
 Registered Linux User Number 185956
  http://groups.google.com/groups?hl=ensafe=offgroup=linux
 9:30pm  up 11 days,  8:31,  3 users,  load average: 0.37, 0.21, 0.09
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users

___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: rat help

2001-12-11 Thread Mike Andrew

 now,  what would be helpfull if any body has them are the serial port 
ps/2 mouse
 diagrams, power setting or etc. Ay help is appreciated. Could not find on
the Net.

There is no 'standard' pinout for ps/2 motherboard connections. *Generally*
they are an 8 pin single in line effort with pin 7 missing, to which you add
the made up backwall connector, but they vary greatly.

The 2x8 pin serial connector however is almost always a 1:1 flat ribbon
connector to the DB9 (pin16 is ignored). Simply line up the red stripe on
the flat ribbon to 'pin 1' on the motherboard. 'pin 1' will be a marker of
some sort that makes that corner of the 2x8 rectangle look different, a
dent, a mark, something distinguishing.




_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: rat help

2001-12-11 Thread Declan Moriarty

On Tuesday 11 December 2001 14:29, you wrote:
  now,  what would be helpfull if any body has them are the serial port 

 ps/2 mouse

  diagrams, power setting or etc. Ay help is appreciated. Could not find on

 the Net.

Did you check Tom's Hardware book? (Tom Enghald that is). If Mozilla finishes 
booting this session, I'll get you a link from the bookmarks... Wait - it's 
going to do something soon - (later) There We Are!!

http://ftp.sunet.se/hwb/co_PS2Mouse.html

I used this and it worked first time. Can't say more than that. Well, I can. 
How the (expletive deleted) do I get Bugzilla's bookmarks into Opera?

-- 
Regards,


Declan Moriarty




Applied Researches - Ireland's Foremost Electronic Hardware Genius

A Slightly Serious(TM) Company

Success covers a multitude of blunders - G.B. Shaw.


 There is no 'standard' pinout for ps/2 motherboard connections. *Generally*
 they are an 8 pin single in line effort with pin 7 missing, to which you
 add the made up backwall connector, but they vary greatly.

 The 2x8 pin serial connector however is almost always a 1:1 flat ribbon
 connector to the DB9 (pin16 is ignored). Simply line up the red stripe on
 the flat ribbon to 'pin 1' on the motherboard. 'pin 1' will be a marker of
 some sort that makes that corner of the 2x8 rectangle look different, a
 dent, a mark, something distinguishing.




 _
 Do You Yahoo!?
 Get your free @yahoo.com address at http://mail.yahoo.com

 ___
 Linux-users mailing list
 Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users

___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: rat help

2001-12-11 Thread Robert . Thompson


I use this site for pinouts. It may have other useful info also.
http://csgrad.cs.vt.edu/~tjohnson/pinouts/



   
  
Declan Moriarty
  
declan.moriarty@ntTo: [EMAIL PROTECTED]
  
lworld.ie cc: 
  
Sent by:   Subject: Re: rat help   
  
linux-users-admin@l
  
inux.nf
  
   
  
   
  
12/11/2001 11:38 AM
  
Please respond to  
  
linux-users
  
   
  
   
  




On Tuesday 11 December 2001 14:29, you wrote:
  now,  what would be helpfull if any body has them are the serial port 

 ps/2 mouse

  diagrams, power setting or etc. Ay help is appreciated. Could not find
on

 the Net.

Did you check Tom's Hardware book? (Tom Enghald that is). If Mozilla
finishes
booting this session, I'll get you a link from the bookmarks... Wait - it's
going to do something soon - (later) There We Are!!

http://ftp.sunet.se/hwb/co_PS2Mouse.html

I used this and it worked first time. Can't say more than that. Well, I
can.
How the (expletive deleted) do I get Bugzilla's bookmarks into Opera?

--
 Regards,


 Declan Moriarty




Applied Researches - Ireland's Foremost Electronic Hardware Genius

 A Slightly Serious(TM) Company

Success covers a multitude of blunders - G.B. Shaw.


 There is no 'standard' pinout for ps/2 motherboard connections.
*Generally*
 they are an 8 pin single in line effort with pin 7 missing, to which you
 add the made up backwall connector, but they vary greatly.

 The 2x8 pin serial connector however is almost always a 1:1 flat ribbon
 connector to the DB9 (pin16 is ignored). Simply line up the red stripe on
 the flat ribbon to 'pin 1' on the motherboard. 'pin 1' will be a marker
of
 some sort that makes that corner of the 2x8 rectangle look different, a
 dent, a mark, something distinguishing.




 _
 Do You Yahoo!?
 Get your free @yahoo.com address at http://mail.yahoo.com

 ___
 Linux-users mailing list
 Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users

___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: rat help

2001-12-11 Thread Richard R. Sivernell

Declan

   That was part of what I wanted. If I had th mobo pinout
for comport  ps2 connect (PI 133 mHz) AT mobo. I have gotten com 2 to see 
the mouse in Caldera 2.3, but X doesnot see it in 4.1.0.1 (3.1.1 EW).

I have a S3 Virge 4 meg card and X is having a
failed  to setup  write combining range  0xe to 0x4 
APM failed.

Monitor is a emerson vga: 640x480 ( mode to use)
Scanning Freq:
   Horizontal  31.5Khz
   Vertical60/70Hz
Scanning Status
   Mode 1   720 Dots x 350 Lines
   Mode 2   720 Dots x 400 Lines
   Mode 3   640 Dots x 480 Lines
Signal Input RGB/Analog Separate
Dot pitch  0.41mm
-- 
X do give me something but no use of mouse  nothing to click on if the mouse
did work. Can get xdm to display a set of buttons, no mouse so nothing happens.

mouse set at protocal Microsoft device /dev/mouse   -/dev/ttyS1 , this works with
Calera 2.3. I do not however have the xf86config.

elinit 5 returns X config error and returns to rl 3.

any Ideas,  I can use text mode, but would like to use the kde consol.

mobo PI-133, make unknown
64 m Mem
S3 Virge GX 4 m Mem
no sound 
Realtek lan 10/100  Lan
14 Emerson monitor

cheers

Rick Sivernell
Dallas, Texas  75287
972 306-2296
[EMAIL PROTECTED]
Caldera e-Server 3.1
Registered Linux User #193859 

        .~.
       / v \
      /( _ )\
        ^ ^
In Linux we trust!
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: rat help ot

2001-12-11 Thread Collins Richey

[ snips ]

On Tue, 11 Dec 2001 16:38:49 + Declan Moriarty
[EMAIL PROTECTED] wrote:

  If Mozilla finishes  booting this session, I'll get you a link from
the bookmarks... Wait
 - it's going to do something soon ...

Yep, I got very tired of waiting for mozilla (or netscape or
konqueror) to load; that's (one reason at least) why I'm sticking with
galeon.

-- 
Collins Richey
Denver Area - WWTLRD?
gentoo_rc6 k2.4.17-pre6+ext3+xfce+sylpheed+galeon
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: rat help

2001-12-04 Thread Declan Moriarty

On Monday 03 December 2001 22:04, you wrote:
  Hi List

 I need a bit of help here. I have scournged  a PI 133 Mhz board  cpu.
 I have been
  able to install ew 3.1  and works fine except no mouse. I have tried both
 com1  com2
 with a ps/2 mouse  adaptor.  I have 2 rats here, one track ball from
 Logitek, I use this
 with all my systems,  a M$ intellimouse  scroller. Both are operational on
 other systems.
 the mobo has a usb port and a 8 pin  dual inline connector,   unmarked. I
 have tried everything I know other than buying another serial rat, no 
 money here,   out of work

 now,  what would be helpfull if any body has them are the serial port  
 ps/2 mouse diagrams, power setting or etc. Ay help is appreciated. Could
 not find on the Net.

Been here, done this, got the T-shirt :-)

1. Make sure the node is correct: Here's mine
[root@genius /root]# ls -l /dev/mouse
lrwxrwxrwx1 root root5 Aug  4 17:27 /dev/mouse - psaux
[root@genius /root]# ls -l /dev/psaux
crw-rw1 root root  10,   1 Dec  4 08:17 /dev/psaux
Mine's mandrake (like Red Hat). Other systems may use different names for the 
ps/2 port. Beware also of the spelling of ps2; I think gpm accepts PS/2 or 
ps2 only.

2. Read a bit in 'man gpm' - punishment I know, but it's worth it

3. Try with dd # dd if=short_file   of=/dev/mouse  bs=100 count=1
If it says 'no such device' rebuild your kernel (yes!) and put in ps/2 support
Correct response is to say 
1 + 1 records in
1 + 1 records out  or something like that

4. Type # dd if=/dev/mouse  of=/dev/null bs=100  count=1, but get the mouse 
moving before you hit return.

5. Vary 3  4 above to find out if you can where the mouse or the error is 
(e.g. try /dev/mouse, /dev/psaux, /dev/ttyS0, /dev/ttyS1, etc)

Keep us informed.


-- 
Regards,


Declan Moriarty




Applied Researches - Ireland's Foremost Electronic Hardware Genius

A Slightly Serious(TM) Company

Success covers a multitude of blunders - G.B. Shaw.
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: rat help

2001-12-04 Thread Richard R. Sivernell

David
  
   It appears that the bios must support ps/2 mouse to get it working. 
I set the com ports to auto  IRQ's. No go. I will try a serial port rat
if I find one for a buck or so.  Many thanks, I will try to serve some of the
finest Virtual brew around this weekend. Many rounds to you of course g.

cheers
-- 
Rick Sivernell
Dallas, Texas  75287
972 306-2296
[EMAIL PROTECTED]
Caldera e-Server 3.1
Registered Linux User #193859 

        .~.
       / v \
      /( _ )\
        ^ ^
In Linux we trust!
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: rat help - P.S.

2001-12-04 Thread Net Llama


--- Declan Moriarty [EMAIL PROTECTED] wrote:
 On Tuesday 04 December 2001 08:53, you wrote:
  On Monday 03 December 2001 22:04, you wrote:
Hi List
  
   I need a bit of help here. I have scournged  a PI 133 Mhz
 board 
   cpu. I have been
able to install ew 3.1  and works fine except no mouse. I have
 tried
   both com1  com2
   with a ps/2 mouse  adaptor.  I have 2 rats here, one track ball
 from
   Logitek, I use this
   with all my systems,  a M$ intellimouse  scroller. Both are
 operational
   on other systems.
   the mobo has a usb port and a 8 pin  dual inline connector,  
 unmarked. I
   have tried everything I know other than buying another serial rat,
 no
   money here,   out of work
 
 On the adaptor. Beware of them. Not all adaptors are the same - I
 found this 
 out the hard way. I had an old IBM mouse which would not work with an
 AMI 
 wheel mouse adaptor, which would work on every machine except the one
 I 
 needed it for. 

Also, be weary of the mouse protocol that you're using in X.  I used a
serial mouse a while back, and it took quite a bit of trial  error with
the different mouse protocols before I found one that worked right.

=

Lonni J. Friedman  [EMAIL PROTECTED]

Linux Step-by-step help:   http://netllama.ipfox.com

 .

__
Do You Yahoo!?
Buy the perfect holiday gifts at Yahoo! Shopping.
http://shopping.yahoo.com
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



rat help

2001-12-03 Thread Richard R. Sivernell

 Hi List

I need a bit of help here. I have scournged  a PI 133 Mhz board  cpu. I have
been
 able to install ew 3.1  and works fine except no mouse. I have tried both com1 
com2 
with a ps/2 mouse  adaptor.  I have 2 rats here, one track ball from Logitek, I use
this 
with all my systems,  a M$ intellimouse  scroller. Both are operational on other
systems. 
the mobo has a usb port and a 8 pin  dual inline connector,   unmarked. I have tried 
everything I know other than buying another serial rat, no  money here,   out of work

now,  what would be helpfull if any body has them are the serial port   ps/2 mouse  
diagrams, power setting or etc. Ay help is appreciated. Could not find on the Net.

 cheers

-- 
Rick Sivernell
Dallas, Texas  75287
972 306-2296
[EMAIL PROTECTED]
Caldera e-Server 3.1
Registered Linux User #193859 

        .~.
       / v \
      /( _ )\
        ^ ^
In Linux we trust!
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: Help with Samba Domain Logins

2001-11-23 Thread Susan Macchia

Agreed, unless you have a small internal network like mine and just need to get
it going.  For secure networks, you absolutely want to configure more security
and use encrypted passwords.

 On Thu, 22 Nov 2001 16:01:52 -0800
 David Aikema [EMAIL PROTECTED] wrote:

  On Thursday 22 November 2001 07:33 am, Susan Macchia wrote:
 
   Ok, first I got rid of the use of encrypted passwords on my Win2k box. 
To
   do this, on your Win2k box run regedit.  When the window opens pick
 (from
   the left panel):
  
  
 HKEY_LOCAL_MACHINE-SYSTEM-CurrentControlSet-Services-lanmanworkstation-
  parameters
  
   In the right panel select: enableplaintextpassword
   Press the right mouse button and choose modify, setting the value to 0x1.
 
  Wouldn't the more security-wise approach be to turn on encryption in
 smb.conf?

 It's also a hell of a lot easier to change one line in your samba box than
 100+ Windoze registries.

 Ciao,

 David A. Bandel

=
_
Susan Macchia
mailto:[EMAIL PROTECTED]
_

- Running Linux - because life is too short for reboots...

__
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: Help with Samba Domain Logins

2001-11-22 Thread Susan Macchia

Ian,

I have successfully gotten Samba 2.2.1 to work with Win2k and SuSE 7.3.  I am
sure that it is similar to RH.  I used the Samba How-to to get going
(http://www.linux.com/howto/SMB-HOWTO.html#toc7).  I had to transition what I
had on COL2.4/RH 7.0 which had older versions of Samba connected to Win98. 
Initially I just needed to share printers, but decided to also share some
directories publicly and via log-in.

Ok, first I got rid of the use of encrypted passwords on my Win2k box.  To do
this, on your Win2k box run regedit.  When the window opens pick (from the
left panel):
   
HKEY_LOCAL_MACHINE-SYSTEM-CurrentControlSet-Services-lanmanworkstation-parameters

In the right panel select: enableplaintextpassword
Press the right mouse button and choose modify, setting the value to 0x1.


Now, I had the same user accounts on both machines, but my printers and public
directories allow guests (so my kids don't have accounts on my linux box).  I
created an account for the guest (smbuser).  I didn't touch
/etc/samba/smbpasswd, but did add the following to /etc/samba/smbusers:


root = administrator admin
nobody = guest pcguest smbguest

I also added the following to /etc/samba/lmhosts, after the localhost line (but
I don't know if I needed to):

192.168.1.101   Windows

That is the IP for my Win2k box.


I also created /home/public open to everyone in the user group.  Below is my
smb.conf:

###
[global]
  workgroup = MACCHIA
  server string = Samba Server on SuSE 7.3
  os level = 2
  kernel oplocks = No
  security = user
  printing = LPRNG
  printcap name = /etc/printcap
  load printers = Yes
  wins support = No
  guest account = smbuser
  map to guest = Bad Password

[homes]
  comment = Home Directories
  read only = No
  create mask = 0640
  directory mask = 0750
  browseable = no
  write list = @users

[public]
   comment = Public Stuff
   path = /home/public
   read only = No
   public = yes
   writable = yes
   printable = no
   browseable = Yes
   guest ok = true
   write list = @users

[printers]
   comment = All Printers
   path = /var/tmp
   create mask = 0600
   printable = Yes
   browseable = No

###


Notice that only [public] is browsable and has guest ok = true.  This keeps
my kids out of my home directories.  Anyone can print from the windows box but
not everyone can browse homes.  And public is browseable but only those users
in the users group on linux can modify the contents.


I am not 100% sure that I understand everything here because there is some
wierdness in browsing the home shares that I am confused about.  For example,
lets say my Linux machine name is Susan and I have a /home/sue on the linux
box with a login/password: sue/foo.  Lets say I also have /home/bob with a
login/password of bob/bar.

On the win2k box I have the same login/password combos.  When I log in to the
win2k box as, say sue, in the explorer
(EntireNetwork-MicrosoftWindowsNetwork-Macchia-Susan-sue) is visible.  When
I select it I get prompted for the login/password and after entering it, I can
browse and write to the directory).  Ok this makes sense.  

Then if I log in as bob, in the explorer I see both 'bob' AND 'sue'.  If I
choose either one and enter any valid linux/win user/pwd combo, I can browse
and write to BOTH of these directories.  Maybe, this make sense in light of the
[homes] section.  I have played with this a little and if I create specific
shares writable by specifc log-ins, then I may see both sue and bob, but cannot
browse/write to both.


Hope this helps.  And if anyone finds this useful, let me know and I'll add to
my existing SxS on printing w/ Samba.



Ian Marchak wrote:

 Server: RH 7.1, with Samba built from a RH 7.2 SRPM Version 2.2.1a:

 Client: Win2k

 I created user accounts both samba and unix.

 I created machine accounts  in /etc/passwd and /etc/samba/smbpasswd.

 The machine I am trying this from is in /etc/hosts.

 I have successfully logged in from a win9X client. (different machine)

 But I cannot seem to get this to work from Win2K.

 When I attempt to connect I get a something like invalid user name
 or password error.



=
_
Susan Macchia
mailto:[EMAIL PROTECTED]
_

- Running Linux - because life is too short for reboots...

__
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: Help with Samba Domain Logins

2001-11-22 Thread David Aikema

On Thursday 22 November 2001 07:33 am, Susan Macchia wrote:

 Ok, first I got rid of the use of encrypted passwords on my Win2k box.  To
 do this, on your Win2k box run regedit.  When the window opens pick (from
 the left panel):

 HKEY_LOCAL_MACHINE-SYSTEM-CurrentControlSet-Services-lanmanworkstation-
parameters

 In the right panel select: enableplaintextpassword
 Press the right mouse button and choose modify, setting the value to 0x1.

Wouldn't the more security-wise approach be to turn on encryption in smb.conf?

David Aikema
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: Help with Samba Domain Logins

2001-11-22 Thread David A. Bandel

On Thu, 22 Nov 2001 16:01:52 -0800
David Aikema [EMAIL PROTECTED] wrote:

 On Thursday 22 November 2001 07:33 am, Susan Macchia wrote:
 
  Ok, first I got rid of the use of encrypted passwords on my Win2k box.  To
  do this, on your Win2k box run regedit.  When the window opens pick
(from
  the left panel):
 
 
HKEY_LOCAL_MACHINE-SYSTEM-CurrentControlSet-Services-lanmanworkstation-
 parameters
 
  In the right panel select: enableplaintextpassword
  Press the right mouse button and choose modify, setting the value to 0x1.
 
 Wouldn't the more security-wise approach be to turn on encryption in
smb.conf?

It's also a hell of a lot easier to change one line in your samba box than
100+ Windoze registries.

Ciao,

David A. Bandel
-- 
Focus on the dream, not the competition.
--Nemesis Air Racing Team motto
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Need help to set up IMAP-server

2001-11-22 Thread Guy Van Sanden

Hello

I've been trying to get imap working on my SuSE 7.1 (home)mailserver, without
success.

I've tried the 'general (University of Washington)' imap daemon that came with
SuSE and Cyrus-IMAP.
Neither of them worked.  The Cyrus package also had a pop3 daemon which doesn't
work either.

I can telnet to localhost 110 and 443 and I see the Cyrus greeting.
When I say (to the POP3) 
USER gvs
PASS [password]
I get login failed.

The IMAPD doesn't work either, I used . LOGIN gvs [password]
It seems unable to authenticate any user.

The qpopper daemon works fine.
I read the HOWTO about Cyrus-IMAP, but I can't find what I'm doing wrong.

I hope someone can help me.

Kind regards

Guy

__
Get Your FREE FlashMail Address now at http://www.flashmail.com
It's Free, Easy,  Fun !!!
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Help with Samba Domain Logins

2001-11-21 Thread Ian Marchak

Server: RH 7.1, with Samba built from a RH 7.2 SRPM Version 2.2.1a:

Client: Win2k

I created user accounts both samba and unix. 

I created machine accounts  in /etc/passwd and /etc/samba/smbpasswd.

The machine I am trying this from is in /etc/hosts.

I have successfully logged in from a win9X client. (different machine) 

But I cannot seem to get this to work from Win2K.

When I attempt to connect I get a something like invalid user name
or password error.

So I checked my samba logs, and found:

(removed date and time from logs for brevity)

#
[datetime, 0] passdb/smbpass.c:startsmbfilepwent_internal(87)
startsmbfilepwent_internal: unable to open file
/etc/samba/smbpasswd. Error was Permission denied

[dt, 0] passdb/smbpass.c:iterate_getsmbpwuid(1240)
unable to open smb password database.

[dt, 2] smbd/server.c:exit_server(448)
Closing connections

[dt, 2] smbd/server.c:exit_server(448)
Closing connections
#

I checked the perms on /etc/samba/smbpasswd and just to see if it
would help, I noted the existing perms and changed the file to 777. 
However, samba simply set the permissions back to  '-rw' for root
only, and spit the same message again.

I have confirmed that the passwords are all the same from smbpassword
and /etc/password, read s#!tloads or samba.org docs and so on, but
have had no luck as yet.

So, if anyone out there has successfully implemented samba and win2k
hosts out there, (which according to what I have read is possible)
please shed some light on where I've gone wrong here.  I'm stumped.
-- 
Linux SxS [http://hal.humberc.on.ca/~mrcn0031/sxs/]
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Alias help with httpd.conf

2001-10-31 Thread Tim Wunder

Hi,
I'm trying to set up an Alias in my httpd.conf file that'll allow me to 
redirect a request for my_URL/calendar to my_URL/cgi-bin/webcal so 
that if I try to access my_URL/calendar/webcal.cgi, I get the WebCal 
calendar selection script.
I've made these entries in my httpd.conf file:
   Alias /calendar /home/httpd/cgi-bin/webcal
   Directory /home/httpd/cgi-bin/webcal
 AllowOverride AuthConfig
 Options ExecCGI
   /Directory

When I type in my_URL/calendar/webcal.cgi I'm presented with the text 
of the webcal.cgi perl script. When I type in 
my_URL/cgi-bin/webcal/webcal.cgi the script executes and I'm presented 
with the calendar selection screen. What must I do to get the script to 
execute when called with my_URL/calendar/webcal.cgi?

Ultimately, I want to be able to type my_URL/calendar and get 
presented with the calendar selection screen.

Thanks,
Tim

___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: Alias help with httpd.conf

2001-10-31 Thread Kurt Wall

Tim Wunder jabbered:
 Hi,
 I'm trying to set up an Alias in my httpd.conf file that'll allow me to 
 redirect a request for my_URL/calendar to my_URL/cgi-bin/webcal so 
 that if I try to access my_URL/calendar/webcal.cgi, I get the WebCal 
 calendar selection script.
 I've made these entries in my httpd.conf file:
Alias /calendar /home/httpd/cgi-bin/webcal
Directory /home/httpd/cgi-bin/webcal
  AllowOverride AuthConfig
  Options ExecCGI
/Directory
 
 When I type in my_URL/calendar/webcal.cgi I'm presented with the text 
 of the webcal.cgi perl script. When I type in 
 my_URL/cgi-bin/webcal/webcal.cgi the script executes and I'm presented 
 with the calendar selection screen. What must I do to get the script to 
 execute when called with my_URL/calendar/webcal.cgi?
 
 Ultimately, I want to be able to type my_URL/calendar and get 
 presented with the calendar selection screen.

Look at the ScriptAlias directive. You can also enable CGI on a per
directory basis using a Directory/Directory block.
For example:

Directory /home/*public_html/cgi-bin
Options +ExecCGI
SetHandler cgi-script
Directory

This enable CGI scripts in user home directories. You need an
appropriate AddHandler directive elsewhere in httpd.conf. However,
enabling mortal users to run CGI scripts poses a significant security
risk.

Kurt
-- 
I wonder if I ought to tell them about my PREVIOUS LIFE as a COMPLETE
STRANGER?
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: Alias help with httpd.conf

2001-10-31 Thread Tim Wunder

Hi Kurt,

Kurt Wall wrote:

 Tim Wunder jabbered:
 
Hi,
I'm trying to set up an Alias in my httpd.conf file that'll allow me to 
redirect a request for my_URL/calendar to my_URL/cgi-bin/webcal so 
that if I try to access my_URL/calendar/webcal.cgi, I get the WebCal 
calendar selection script.
I've made these entries in my httpd.conf file:
   Alias /calendar /home/httpd/cgi-bin/webcal
   Directory /home/httpd/cgi-bin/webcal
 AllowOverride AuthConfig
 Options ExecCGI
   /Directory

When I type in my_URL/calendar/webcal.cgi I'm presented with the text 
of the webcal.cgi perl script. When I type in 
my_URL/cgi-bin/webcal/webcal.cgi the script executes and I'm presented 
with the calendar selection screen. What must I do to get the script to 
execute when called with my_URL/calendar/webcal.cgi?

Ultimately, I want to be able to type my_URL/calendar and get 
presented with the calendar selection screen.

 
 Look at the ScriptAlias directive. You can also enable CGI on a per
 directory basis using a Directory/Directory block.


I have a ScriptAlias cgi-bin /home/httpd/cgi-bin line in my 
httpd.conf, do I need another for the non-existent, aliased, /calender 
directory? I've tried ScriptAlias cgi-bin /calendar, but that had no 
effect, so I deleted it.

I thought I did enable CGI in a Directory/Directory block with
Directory /home/httpd/cgi-bin/webcal
  AllowOverride AuthConfig
  Options ExecCGI
/Directory

Do I need to do it for the non-existent /calendar directory that's 
Aliased?...

I just tried changing /home/httpd/cgi-bin/webcal to /calendar in 
that section, but it had no effect, so I changed it back.


 For example:
 
 Directory /home/*public_html/cgi-bin
 Options +ExecCGI
 SetHandler cgi-script
 Directory
 
 This enable CGI scripts in user home directories. You need an
 appropriate AddHandler directive elsewhere in httpd.conf. However,
 enabling mortal users to run CGI scripts poses a significant security
 risk.
 


So, if I uncomment the
AddHandler cgi-script .cgi line, it'll work?
Let me try that...

Yes, that works. The cgi script executes. But, that apparently is a 
risky way? What, exactly is the significant security risk? Is it an 
external risk, or internal risk? The users on the system are just the 
family (the wife, 2 sons, and me). None of us are likely to create any 
elaborate cgi scripts...(maybe the teenager...)

BTW, I did not add the Directory section you list above. The only 
change I made to what I had orignally is that I added the Addhandler line.

Thanks,
Tim

___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: Alias help with httpd.conf

2001-10-31 Thread Kurt Wall

Tim Wunder wrote:
 Hi Kurt,

'owdy,

 Kurt Wall wrote:
  
 Hi,
 I'm trying to set up an Alias in my httpd.conf file that'll allow me to 
 redirect a request for my_URL/calendar to my_URL/cgi-bin/webcal so 
 that if I try to access my_URL/calendar/webcal.cgi, I get the WebCal 
 calendar selection script.
 I've made these entries in my httpd.conf file:
Alias /calendar /home/httpd/cgi-bin/webcal
Directory /home/httpd/cgi-bin/webcal
  AllowOverride AuthConfig
  Options ExecCGI
/Directory
 
 When I type in my_URL/calendar/webcal.cgi I'm presented with the text 
 of the webcal.cgi perl script. When I type in 
 my_URL/cgi-bin/webcal/webcal.cgi the script executes and I'm presented 
 with the calendar selection screen. What must I do to get the script to 
 execute when called with my_URL/calendar/webcal.cgi?
 
 Ultimately, I want to be able to type my_URL/calendar and get 
 presented with the calendar selection screen.
 
  
  Look at the ScriptAlias directive. You can also enable CGI on a per
  directory basis using a Directory/Directory block.
 
 
 I have a ScriptAlias cgi-bin /home/httpd/cgi-bin line in my 
 httpd.conf, do I need another for the non-existent, aliased, /calender 
 directory? I've tried ScriptAlias cgi-bin /calendar, but that had no 
 effect, so I deleted it.

The syntax is ScriptAlias /the/fake/dir /the/real/dir. So, try: 

ScriptAlias /calendar /home/httpd/cgi-bin/webcal
 
 I thought I did enable CGI in a Directory/Directory block with
 Directory /home/httpd/cgi-bin/webcal
   AllowOverride AuthConfig
   Options ExecCGI
 /Directory

The issue here is that you have to tell Apache that /calendar is both
an alias for /home/httpd/cgi-bin/webcal and, in particular, an alias
that points at CGI scripts, hence the ScriptAlias directive.

 So, if I uncomment the
 AddHandler cgi-script .cgi line, it'll work?
 Let me try that...

Correct.

 Yes, that works. The cgi script executes. But, that apparently is a 
 risky way? What, exactly is the significant security risk? Is it an 
 external risk, or internal risk? The users on the system are just the 
 family (the wife, 2 sons, and me). None of us are likely to create any 
 elaborate cgi scripts...(maybe the teenager...)

CGI is inherently risky, regardless of *who* runs them. In your case,
if external users can't execute them, you probably have little with
with to concern yourself.

Kurt
-- 
Many a wife thinks her husband is the world's greatest lover.
But she can never catch him at it.
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: Alias help with httpd.conf

2001-10-31 Thread Tim Wunder

Kurt Wall wrote:

 Tim Wunder wrote:
 
Hi Kurt,

 
 'owdy,
snip
 
 The syntax is ScriptAlias /the/fake/dir /the/real/dir. So, try: 
 
 ScriptAlias /calendar /home/httpd/cgi-bin/webcal
  
 


Perfect! Added that ScriptAlias (guessing at syntax is always harder 
than knowing it), added webcal.cgi to my DirectoryIndex and it works as 
desired.

You're a good man. I don't believe half the things they say about you, 
and the other half are all lies...

Tim

___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



  1   2   3   >