Re: [Leaf-user] Dach Floppy

2002-01-13 Thread Matt Schalit

Jack Coates wrote:
 

  The motto in my favorite unix newsgroup,
  is Learn by destruction.
 
  Best,
  Matthew
 
 
 I got started by installing Slackware 2.1 on a *tiny* 386 with a 160MB
 hard drive; in the first six months, I must have whacked and reinstalled
 that box about fifty times. It took six weeks to figure out reasonable
 partition sizes on such a small hard drive, and startx took about ten
 minutes to produce FVWM :-)
 
 --
 Jack Coates
 Monkeynoodle: A Scientific Venture...


I got a good laugh out of this one, first thing
in the morning, sipping a cup of coffe, listening
to Van Morrison - Into the Mystic.

___
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user



Re: [Leaf-user] Dach Floppy

2002-01-12 Thread Matt Schalit

Sean E. Covel wrote:

 Thanks to all of you who offered info.  I know just enough Unix (and
 that's useland not admin) to get myself into trouble.
 
 Sean


The motto in my favorite unix newsgroup,
is Learn by destruction.

Best,
Matthew

___
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user



Re: [Leaf-user] Dach Floppy

2002-01-11 Thread Simon Bolduc

Nope - I just downloaded it and its a 1680 kilobyte image  so its not 
1722.  Be aware that some drives/floppies have been reported as not handling 
non standard formats too well  I'd try redownloading sshd - and i'm not 
sure how the key generation works in this package but you might need 
additional packages.  Also run a DF on boot and make sure /dev/ram0 isn't 
completely full

S


From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [Leaf-user] Dach Floppy
Date: Fri, 11 Jan 2002 16:28:27 +

First a comment:  The 1680 image, isn't that really a
1722 image?  That causes MAJOR problems after you back
it up a couple of times.  Seems to mount ok as a 1680,
but writes don't work too well!

The question:

After modifying the floppy (static IP, delete some
stuff) I added libz and sshd.  I boot up and after a ps
aux, there is no sshd running.

I started it manually (sshd -i) and get Protocol
Mismatch and its not running.  I also started it
without the -i (sshd) and it doesn't run.

I got libz and sshd (and sshkey) from the Dach CD.

Any thoughts?

Thanks,

Sean

___
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user



_
Send and receive Hotmail on your mobile device: http://mobile.msn.com


___
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user



Re: [Leaf-user] Dach Floppy

2002-01-11 Thread Charles Steinkuehler

 First a comment:  The 1680 image, isn't that really a
 1722 image?  That causes MAJOR problems after you back
 it up a couple of times.  Seems to mount ok as a 1680,
 but writes don't work too well!

No...the floppy is 1680K format...

 The question:

 After modifying the floppy (static IP, delete some
 stuff) I added libz and sshd.  I boot up and after a ps
 aux, there is no sshd running.

 I started it manually (sshd -i) and get Protocol
 Mismatch and its not running.  I also started it
 without the -i (sshd) and it doesn't run.

 I got libz and sshd (and sshkey) from the Dach CD.

Did you make a host-key before trying to start sshd?

Is there anything in your logs?  Sshd is pretty good about logging any
problems...

Charles Steinkuehler
http://lrp.steinkuehler.net
http://c0wz.steinkuehler.net (lrp.c0wz.com mirror)



___
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user



Re: [Leaf-user] Dach Floppy

2002-01-11 Thread Jacques NIlo

  After modifying the floppy (static IP, delete some
  stuff) I added libz and sshd.  I boot up and after a
ps
  aux, there is no sshd running.
 
  I started it manually (sshd -i) and get Protocol
  Mismatch and its not running.  I also started it
  without the -i (sshd) and it doesn't run.
 
  I got libz and sshd (and sshkey) from the Dach CD.

 Did you make a host-key before trying to start sshd?

 Is there anything in your logs?  Sshd is pretty good
about logging any
 problems...
You can have a look at
http://leaf.sourceforge.net/devel/jnilo/openssh.html
Jacques


___
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user



Re: [Leaf-user] Dach Floppy

2002-01-11 Thread seanecovel

Strange about the 1680 size.  Maybe I changed that after 
I downloaded it?  Oh well.  I would have, because I need 
the space.

SSHD - Nothing in any of the logs.  I've set this up on 
a few PCs in the past w/o problems.  Maybe I'll copy the 
file again.  I had another issue last week where it 
turned out to be a corrupt tgz file.

Thanks,

Sean
  First a comment:  The 1680 image, isn't that really a
  1722 image?  That causes MAJOR problems after you back
  it up a couple of times.  Seems to mount ok as a 1680,
  but writes don't work too well!
 
 No...the floppy is 1680K format...
 
  The question:
 
  After modifying the floppy (static IP, delete some
  stuff) I added libz and sshd.  I boot up and after a ps
  aux, there is no sshd running.
 
  I started it manually (sshd -i) and get Protocol
  Mismatch and its not running.  I also started it
  without the -i (sshd) and it doesn't run.
 
  I got libz and sshd (and sshkey) from the Dach CD.
 
 Did you make a host-key before trying to start sshd?
 
 Is there anything in your logs?  Sshd is pretty good about logging any
 problems...
 
 Charles Steinkuehler
 http://lrp.steinkuehler.net
 http://c0wz.steinkuehler.net (lrp.c0wz.com mirror)
 
 
 
 ___
 Leaf-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/leaf-user

___
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user



Re: [Leaf-user] Dach Floppy

2002-01-11 Thread seanecovel

Ok, sshd -d  (debug!) returns:


Stuff
More Stuff
Bind to port 22 on 0.0.0.0 failed:  Address already in 
use.
Cannot bind any address.
-

This was Dach Floppy modified to be a static address.  
How can I tell what is using port 22 already?  

Thanks,

Sean
  First a comment:  The 1680 image, isn't that really a
  1722 image?  That causes MAJOR problems after you back
  it up a couple of times.  Seems to mount ok as a 1680,
  but writes don't work too well!
 
 No...the floppy is 1680K format...
 
  The question:
 
  After modifying the floppy (static IP, delete some
  stuff) I added libz and sshd.  I boot up and after a ps
  aux, there is no sshd running.
 
  I started it manually (sshd -i) and get Protocol
  Mismatch and its not running.  I also started it
  without the -i (sshd) and it doesn't run.
 
  I got libz and sshd (and sshkey) from the Dach CD.
 
 Did you make a host-key before trying to start sshd?
 
 Is there anything in your logs?  Sshd is pretty good about logging any
 problems...
 
 Charles Steinkuehler
 http://lrp.steinkuehler.net
 http://c0wz.steinkuehler.net (lrp.c0wz.com mirror)
 
 
 
 ___
 Leaf-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/leaf-user

___
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user



Re: [Leaf-user] Dach Floppy

2002-01-11 Thread Charles Steinkuehler

 Strange about the 1680 size.  Maybe I changed that after
 I downloaded it?  Oh well.  I would have, because I need
 the space.

 SSHD - Nothing in any of the logs.  I've set this up on
 a few PCs in the past w/o problems.  Maybe I'll copy the
 file again.  I had another issue last week where it
 turned out to be a corrupt tgz file.

Make sure you changed the disk-size in syslinux.cfg.  The 1680 and 1722
formats are quite similar (the 1722 just has 82 tracks, vs 80 for the 1680),
so it would probably read OK, but if you don't change the syslinux.cfg boot=
setting, writes will corrupt the disk.

You can check your current value with ls -l /dev/boot, which should be a
symlink to /dev/fd0u1722 for a 1722K disk.

Charles Steinkuehler
http://lrp.steinkuehler.net
http://c0wz.steinkuehler.net (lrp.c0wz.com mirror)



___
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user



Re: [Leaf-user] Dach Floppy

2002-01-11 Thread Simon Bolduc

Did you stop sshd before starting it?  That could generate an error like 
this (as this is what I get executing sshd -d when it is running):

# sshd -d
debug: sshd version 1.2.27 [i686-unknown-linux]
debug: Initializing random number generator; seed file 
/etc/ssh/ssh_random_seed
error: bind: Address already in use
fatal: Bind to port 22 failed: Transport endpoint is not connected.

so what you probably need to do is:

svi sshd stop
sshd -d

Then you might get output that is a lil more helpful.

S

From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [Leaf-user] Dach Floppy
Date: Fri, 11 Jan 2002 18:55:51 +

Ok, sshd -d  (debug!) returns:


Stuff
More Stuff
Bind to port 22 on 0.0.0.0 failed:  Address already in
use.
Cannot bind any address.
-

This was Dach Floppy modified to be a static address.
How can I tell what is using port 22 already?

Thanks,

Sean
   First a comment:  The 1680 image, isn't that really a
   1722 image?  That causes MAJOR problems after you back
   it up a couple of times.  Seems to mount ok as a 1680,
   but writes don't work too well!
 
  No...the floppy is 1680K format...
 
   The question:
  
   After modifying the floppy (static IP, delete some
   stuff) I added libz and sshd.  I boot up and after a ps
   aux, there is no sshd running.
  
   I started it manually (sshd -i) and get Protocol
   Mismatch and its not running.  I also started it
   without the -i (sshd) and it doesn't run.
  
   I got libz and sshd (and sshkey) from the Dach CD.
 
  Did you make a host-key before trying to start sshd?
 
  Is there anything in your logs?  Sshd is pretty good about logging any
  problems...
 
  Charles Steinkuehler
  http://lrp.steinkuehler.net
  http://c0wz.steinkuehler.net (lrp.c0wz.com mirror)
 
 
 
  ___
  Leaf-user mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/leaf-user

___
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user




_
Send and receive Hotmail on your mobile device: http://mobile.msn.com


___
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user



RE: [Leaf-user] Dach Floppy

2002-01-11 Thread Steve Jeppesen

I have not seen where it was mentioned yet (nor do I know if it is required)
but I thought that libz had to be loaded before sshd.

Just a newbies two cents worth!

Steve

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
[EMAIL PROTECTED]
Sent: Friday, January 11, 2002 1:07 PM
To: [EMAIL PROTECTED]
Subject: Re: [Leaf-user] Dach Floppy


Thanks, I did already work around that one.

I've been working with your 'stein diskettes for awhile
now, and they are really starting to make sense.

I'd hate to have to switch to another distro!  In fact,
what I'm woring on now could probably be done easier
with another diskette disto (oxygen?) but I'm just too
damn comfortable with the 'steins to switch!

Thanks,

Sean
  Strange about the 1680 size.  Maybe I changed that after
  I downloaded it?  Oh well.  I would have, because I need
  the space.
 
  SSHD - Nothing in any of the logs.  I've set this up on
  a few PCs in the past w/o problems.  Maybe I'll copy the
  file again.  I had another issue last week where it
  turned out to be a corrupt tgz file.

 Make sure you changed the disk-size in syslinux.cfg.  The 1680 and 1722
 formats are quite similar (the 1722 just has 82 tracks, vs 80 for the
1680),
 so it would probably read OK, but if you don't change the syslinux.cfg
boot=
 setting, writes will corrupt the disk.

 You can check your current value with ls -l /dev/boot, which should be a
 symlink to /dev/fd0u1722 for a 1722K disk.

 Charles Steinkuehler
 http://lrp.steinkuehler.net
 http://c0wz.steinkuehler.net (lrp.c0wz.com mirror)



___
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user



___
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user



RE: [Leaf-user] Dach Floppy

2002-01-11 Thread seanecovel

You are correct, but you get a specific error about libz 
if it is not loaded.

Sean
 I have not seen where it was mentioned yet (nor do I know if it is required)
 but I thought that libz had to be loaded before sshd.
 
 Just a newbies two cents worth!
 
 Steve
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of
 [EMAIL PROTECTED]
 Sent: Friday, January 11, 2002 1:07 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [Leaf-user] Dach Floppy
 
 
 Thanks, I did already work around that one.
 
 I've been working with your 'stein diskettes for awhile
 now, and they are really starting to make sense.
 
 I'd hate to have to switch to another distro!  In fact,
 what I'm woring on now could probably be done easier
 with another diskette disto (oxygen?) but I'm just too
 damn comfortable with the 'steins to switch!
 
 Thanks,
 
 Sean
   Strange about the 1680 size.  Maybe I changed that after
   I downloaded it?  Oh well.  I would have, because I need
   the space.
  
   SSHD - Nothing in any of the logs.  I've set this up on
   a few PCs in the past w/o problems.  Maybe I'll copy the
   file again.  I had another issue last week where it
   turned out to be a corrupt tgz file.
 
  Make sure you changed the disk-size in syslinux.cfg.  The 1680 and 1722
  formats are quite similar (the 1722 just has 82 tracks, vs 80 for the
 1680),
  so it would probably read OK, but if you don't change the syslinux.cfg
 boot=
  setting, writes will corrupt the disk.
 
  You can check your current value with ls -l /dev/boot, which should be a
  symlink to /dev/fd0u1722 for a 1722K disk.
 
  Charles Steinkuehler
  http://lrp.steinkuehler.net
  http://c0wz.steinkuehler.net (lrp.c0wz.com mirror)
 
 
 
 ___
 Leaf-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/leaf-user
 
 

___
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user



Re: [Leaf-user] Dach Floppy

2002-01-11 Thread seanecovel

Speaking of lazy...I'm actually trying to create a not 
a firewall floppy based Linux to run SETI@Home on some 
junk PCs I have laying around.  I'm pretty familiar with 
the 'steins, so I thought I could just delete some 
stuff and have a working system.  I'm almost there, 
except I need to be able to get into the box (ssh) to 
monitor it.  Probably should have used Oxygen, but last 
time I looked, it was quite different from 'steins, and 
I was to lazy to figure it out.  Now here I am trying to 
trouble-shoot what I messed up.  Did I save any time?  
Maybe not!

Thanks for your input though!

Sean
 Well I'm lazy so I use SeaWall - which will give you the output via 'seawall 
 status', but even that doesn't tell you what is listening on what port.  
 Just that the port is open and whether it is being forwarded or not.  You 
 could always try SeaWall - as it closes all ports and opens them based on 
 different configuration files
 
 S
 
 
 From: [EMAIL PROTECTED]
 To: Simon Bolduc [EMAIL PROTECTED]
 CC: [EMAIL PROTECTED]
 Subject: Re: [Leaf-user] Dach Floppy
 Date: Fri, 11 Jan 2002 19:13:38 +
 
 No luck.  Same results.
 
 I had already checked with ps aux to see if it was
 running already.  I must have got something else running
 on 22, butI have no idea what.  Any magic to see what is
 running on what ports?
 
 Thanks,
 
 Sean
   Did you stop sshd before starting it?  That could generate an error like
   this (as this is what I get executing sshd -d when it is running):
  
   # sshd -d
   debug: sshd version 1.2.27 [i686-unknown-linux]
   debug: Initializing random number generator; seed file
   /etc/ssh/ssh_random_seed
   error: bind: Address already in use
   fatal: Bind to port 22 failed: Transport endpoint is not connected.
  
   so what you probably need to do is:
  
   svi sshd stop
   sshd -d
  
   Then you might get output that is a lil more helpful.
  
   S
  
   From: [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Subject: Re: [Leaf-user] Dach Floppy
   Date: Fri, 11 Jan 2002 18:55:51 +
   
   Ok, sshd -d  (debug!) returns:
   
   
   Stuff
   More Stuff
   Bind to port 22 on 0.0.0.0 failed:  Address already in
   use.
   Cannot bind any address.
   -
   
   This was Dach Floppy modified to be a static address.
   How can I tell what is using port 22 already?
   
   Thanks,
   
   Sean
  First a comment:  The 1680 image, isn't that really a
  1722 image?  That causes MAJOR problems after you back
  it up a couple of times.  Seems to mount ok as a 1680,
  but writes don't work too well!

 No...the floppy is 1680K format...

  The question:
 
  After modifying the floppy (static IP, delete some
  stuff) I added libz and sshd.  I boot up and after a ps
  aux, there is no sshd running.
 
  I started it manually (sshd -i) and get Protocol
  Mismatch and its not running.  I also started it
  without the -i (sshd) and it doesn't run.
 
  I got libz and sshd (and sshkey) from the Dach CD.

 Did you make a host-key before trying to start sshd?

 Is there anything in your logs?  Sshd is pretty good about logging 
 any
 problems...

 Charles Steinkuehler
 http://lrp.steinkuehler.net
 http://c0wz.steinkuehler.net (lrp.c0wz.com mirror)



 ___
 Leaf-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/leaf-user
   
   ___
   Leaf-user mailing list
   [EMAIL PROTECTED]
   https://lists.sourceforge.net/lists/listinfo/leaf-user
  
  
  
  
   _
   Send and receive Hotmail on your mobile device: http://mobile.msn.com
  
 
 ___
 Leaf-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/leaf-user
 
 
 
 
 _
 Join the world’s largest e-mail service with MSN Hotmail. 
 http://www.hotmail.com
 

___
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user



Re: [Leaf-user] Dach Floppy

2002-01-11 Thread Matt Schalit

[EMAIL PROTECTED] wrote:
 
 BTW, that is a literal 0.0.0.0 in the debug output,
 not just me hiding my ip.
 
 Sean
  Ok, sshd -d  (debug!) returns:
 
  
  Stuff
  More Stuff
  Bind to port 22 on 0.0.0.0 failed:  Address already in
  use.
  Cannot bind any address.
  -
 
  This was Dach Floppy modified to be a static address.
  How can I tell what is using port 22 already?
 


The 0.0.0.0 is fine, and it is telling the sshd to
listen on port 22 on all ip addresses configured
into the Os. (ie eth0 and eth1).  As long as you
have port 22 on eth0 blocked, you're not going to
have anyone connecting from the external side.  Thus
running the sshd on 0.0.0.0 is safe enough.

To find out if a server is running on a particular
port, you use the netstat command:

netstat -an
or  netstat -a   if you have an interest in human readable names.

What does ps tell you?

Good Luck,
Matthew

___
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user



RE: [Leaf-user] Dach Floppy

2002-01-11 Thread Sean E. Covel

ps was giving me nothing unusual.  netstat -a gave me nothing helpful.
Turns out I had the network.conf a little messed up for what I was
trying to do.  I have only eth0, but still was setting up an eth1.  I
suspect sshd was trying to start on eth1.  Its all working now!

Thanks to all of you who offered info.  I know just enough Unix (and
that's useland not admin) to get myself into trouble.

Sean

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Matt Schalit
Sent: Friday, January 11, 2002 3:35 PM
To: [EMAIL PROTECTED]
Subject: Re: [Leaf-user] Dach Floppy


[EMAIL PROTECTED] wrote:

 BTW, that is a literal 0.0.0.0 in the debug output,
 not just me hiding my ip.

 Sean
  Ok, sshd -d  (debug!) returns:
 
  
  Stuff
  More Stuff
  Bind to port 22 on 0.0.0.0 failed:  Address already in
  use.
  Cannot bind any address.
  -
 
  This was Dach Floppy modified to be a static address.
  How can I tell what is using port 22 already?
 


The 0.0.0.0 is fine, and it is telling the sshd to
listen on port 22 on all ip addresses configured
into the Os. (ie eth0 and eth1).  As long as you
have port 22 on eth0 blocked, you're not going to
have anyone connecting from the external side.  Thus
running the sshd on 0.0.0.0 is safe enough.

To find out if a server is running on a particular
port, you use the netstat command:

netstat -an
or  netstat -a   if you have an interest in human readable names.

What does ps tell you?

Good Luck,
Matthew

___
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user


___
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user



Re: [Leaf-user] Dach Floppy

2002-01-11 Thread Manfred Schuler

Check in /etc/inetd.conf if there is a service configured for port 22

[EMAIL PROTECTED] schrieb:
 
 BTW, that is a literal 0.0.0.0 in the debug output,
 not just me hiding my ip.
 
 Sean
  Ok, sshd -d  (debug!) returns:
 
  
  Stuff
  More Stuff
  Bind to port 22 on 0.0.0.0 failed:  Address already in
  use.
  Cannot bind any address.
  -
 
  This was Dach Floppy modified to be a static address.
  How can I tell what is using port 22 already?
 
  Thanks,
 
  Sean
First a comment:  The 1680 image, isn't that really a
1722 image?  That causes MAJOR problems after you back
it up a couple of times.  Seems to mount ok as a 1680,
but writes don't work too well!
  
   No...the floppy is 1680K format...
  
The question:
   
After modifying the floppy (static IP, delete some
stuff) I added libz and sshd.  I boot up and after a ps
aux, there is no sshd running.
   
I started it manually (sshd -i) and get Protocol
Mismatch and its not running.  I also started it
without the -i (sshd) and it doesn't run.
   
I got libz and sshd (and sshkey) from the Dach CD.
  
   Did you make a host-key before trying to start sshd?
  
   Is there anything in your logs?  Sshd is pretty good about logging any
   problems...
  
   Charles Steinkuehler
   http://lrp.steinkuehler.net
   http://c0wz.steinkuehler.net (lrp.c0wz.com mirror)
  
  
  
   ___
   Leaf-user mailing list
   [EMAIL PROTECTED]
   https://lists.sourceforge.net/lists/listinfo/leaf-user
 
  ___
  Leaf-user mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/leaf-user
 
 ___
 Leaf-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/leaf-user

___
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user