[leaf-user] Dachstein CD iso problem (kind off)

2002-05-29 Thread Stefaan Van Dooren

Hi,

I'm trying to build a system based on the Dachstein 1.0.2 iso CD image.
I downloaded the image, did a mount -o loop under linux and tried to copy
all the files to a diskonchip module. Everything got copied fine, except for
the usb, scsi, net, misc modules. Some of the misc modules are copied just
fine, starting from via82cxxx it goes wrong (alphabetical order).

Error message is : cp : module-name: input/output error

Downloaded the file allready twice (different mirrors), so I think my
download is ok.

So, is there an other please to get those modules ?

Thanx,

Stefaan


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm


leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



Re: [leaf-user] Detecting Disconnected Network

2002-05-29 Thread Erich Titl

Hi Kiril

If I read your script correctly then there might be a little glitch

At 18:49 28.05.2002 -0700, you wrote:
my last version of the script for pinging hosts follows. if there is a more
elegant and reliable way to react in such rare situations, i will be glad to
hear it.

regards,

kiril



#!bin/bash
PING_REMOTE_HOSTS=host1.com host2.com host3.com

for HOST in $PING_REMOTE_HOSTS
do
 UP=0
 while [ $UP -eq 0 ]
 do
 sleep 120
 ping $HOST -qc 1 /dev/null 21
 UP=$?
 done
 echo $HOST is down, trying next host...
done

Once you have wasted all the hosts in your list you restart your network, 
although IMHO this only means that host3.com cannot be pinged.

I believe you want to do something like

#!bin/bash
PING_REMOTE_HOSTS=host1.com host2.com host3.com

UP=0
while true
do

 while [$UP -eq 0]
 do
 sleep 120
 UP = 1   # this would break the inner loop

 for HOST in $PING_REMOTE_HOSTS
 do
 ping $HOST -qc 1 /dev/null 21
 UP = $?# if any ping returns 0 it is OK
 done

 done


echo network is down. restarting...
/etc/init.d/network reload
sleep 60

done

I have not tested this :-(

Erich

THINK
Püntenstrasse 39
8143 Stallikon
mailto:[EMAIL PROTECTED]
PGP Fingerprint: BC9A 25BC 3954 3BC8 C024  8D8A B7D4 FF9D 05B8 0A16


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm


leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



Re: [leaf-user] rdate

2002-05-29 Thread Eric Wolzak

Hello Joe, List 
you wrote
 Thanks for the tip about adjusting the lrp.conf to automatically run
 rdate.  This is a very nice feature of bering and it works quite well.
 
 I also updated my /etc/localtime file so that my clock would read my
 local time.
 
That would be the solution but what did you put there ;=)
try dateif you've got your localtime, then everything is ok.
You should get the zoneinfo file from a linux distro, corresponding to your timezone.
Copy this about 1Kb large file to f.e /usr/share/zoneinfo.
make /etc/localtime a symbolic link to /usr/share/zoneinfo.
now date will no longer show 16:21 UTC but 9:21 whatsyourtimezone.
The logging is also in localtime. 
don't forget to backup root and etc.

 I noticed my logs seem to be using UTC for the time stamp.  Do you have
 any information that would allow me to use my local time for logging? 
 Having to subtract 7 hours every time I want to analyze my log file is
 getting to be a drag.
 
This is correct

regards 
Eric Wolzak

member of the bering crew.

___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm


leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



RE: [leaf-user] Dachstein CD iso problem (kind off)

2002-05-29 Thread Joey Officer

It sound like there might be a problem with either the harddisk, or the DOM.
I didn't encounter this problem myself, but I did pretty much exactly what
you did.  You might also check that you have the DOM mounted correctly,

mount /dev/hda1 /mnt/dom -t msdos

also, you might try wiping out the old partition and trying from a fresh
one.. just a thought...

joey


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Stefaan Van
Dooren
Sent: Wednesday, May 29, 2002 3:24 AM
To: [EMAIL PROTECTED]
Subject: [leaf-user] Dachstein CD iso problem (kind off)

Hi,

I'm trying to build a system based on the Dachstein 1.0.2 iso CD image.
I downloaded the image, did a mount -o loop under linux and tried to copy
all the files to a diskonchip module. Everything got copied fine, except for
the usb, scsi, net, misc modules. Some of the misc modules are copied just
fine, starting from via82cxxx it goes wrong (alphabetical order).

Error message is : cp : module-name: input/output error

Downloaded the file allready twice (different mirrors), so I think my
download is ok.

So, is there an other please to get those modules ?

Thanx,

Stefaan


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm


leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm


leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



Re: [leaf-user] Secure browsing...

2002-05-29 Thread David Douthitt

--On Monday, May 27, 2002 10:00 AM -0400 [EMAIL PROTECTED] wrote:

 I'm still wondering how to tunnel my http traffic thought ssh to my
 internal web server.  I use Putty to connect to a RH box behind LEAF from
 outside giving me a comand line interface.  Is the tunneling done by
 somehow directing traffic through PuTTY ?

The concept is like this:

box1  box2 ... network2
(SSH)  (SSH)

The tunnel then makes a port on box1 (Web/HTTP port for example) act as if 
it was another host located on network2 (or reachable therefrom).  For 
example:

box1 - box2  box3
(SSH)   (SSH)
(HTTP) ### -- (HTTP)

Note that if you are tunnelling this way, then data from box2 to box3 is 
NOT encrypted.  Also note that you then would (on box1) use this url:

http://127.0.0.1/
--or--
http://box1/

...instead of this one...

http://box3/

Note also, that the SSH session used to create the tunnel may have a shell 
or may not.  I know Teraterm/SSH allows you to port forward, and only does 
it with a shell.

OpenSSH and other UNIX variants allow you to run ssh in the background 
with port forwarding and no SSH shell.

One other thing to be aware of - what you want is almost certainly called 
local port forwarding and not remote port forwarding.   Just to be 
aware.

I thought there was a portforwarder for PuTTY at the DOS command line 
Me, I use (when I use Telnet/SSH under Windows, that is) Teraterm/SSH.  It 
gives you top-notch telnet, ssh, AND port-forwarding.


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm


leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



Re: [leaf-user] Detecting Disconnected Network

2002-05-29 Thread vette66

If this will help, I wrote the 2 scripts (below)
to do something similar as you are trying to do.
except in my case, my cable modem needs to
be reset, so I echo out to the serial port and
a circuit attached to the serial port will interrupt
the power to my cable modem. But just
change my echo to the serial to what ever
you want your system to do (like restart your network)
To run them, I have a cron that runs checkem every
10 min. (checkem will call pingcheck). I have the
files located in /usr/local/bin.
Hope this helps
Chuck

This is the file I called checkem
host1=www.sun.com
host2=www.yahoo.com
host3=www.google.com

bad_count=0
if [ `pingcheck $host1` = 0 ]
then
bad_count=$(($bad_count + 1))
fi
if [ `pingcheck $host2` = 0 ]
then
bad_count=$(($bad_count + 1))
fi
if [ `pingcheck $host3` = 0 ]
then
bad_count=$(($bad_count + 1))
fi
if [ $bad_count -gt 2 ]
then
echo ** Cable Modem Reset **  /var/log/syslog
echo HELLO  /dev/ttyS0
#else
#echo Cable Modem  OK
fi

This is the file I called pingcheck

#!/bin/sh
host=$1
result=`ping $host -c 1 | grep 1 packets received`
if [ -z $result ]
then
echo 0
else
echo 1
fi


- Original Message -
From: Erich Titl [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 29, 2002 9:38 AM
Subject: Re: [leaf-user] Detecting Disconnected Network


Hi Kiril

If I read your script correctly then there might be a little glitch

At 18:49 28.05.2002 -0700, you wrote:
my last version of the script for pinging hosts follows. if there is a more
elegant and reliable way to react in such rare situations, i will be glad
to
hear it.

regards,

kiril



#!bin/bash
PING_REMOTE_HOSTS=host1.com host2.com host3.com

for HOST in $PING_REMOTE_HOSTS
do
 UP=0
 while [ $UP -eq 0 ]
 do
 sleep 120
 ping $HOST -qc 1 /dev/null 21
 UP=$?
 done
 echo $HOST is down, trying next host...
done

Once you have wasted all the hosts in your list you restart your network,
although IMHO this only means that host3.com cannot be pinged.

I believe you want to do something like

#!bin/bash
PING_REMOTE_HOSTS=host1.com host2.com host3.com

UP=0
while true
do

 while [$UP -eq 0]
 do
 sleep 120
 UP = 1   # this would break the inner loop

 for HOST in $PING_REMOTE_HOSTS
 do
 ping $HOST -qc 1 /dev/null 21
 UP = $?# if any ping returns 0 it is OK
 done

 done


echo network is down. restarting...
/etc/init.d/network reload
sleep 60

done

I have not tested this :-(

Erich

THINK
Püntenstrasse 39
8143 Stallikon
mailto:[EMAIL PROTECTED]
PGP Fingerprint: BC9A 25BC 3954 3BC8 C024  8D8A B7D4 FF9D 05B8 0A16


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm


leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm


leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



Re: [leaf-user] rdate

2002-05-29 Thread Joe Copeland

OK, I restarted ksyslogd and now my logs are in local time.  I didn't
realize that ksyslogd needed to be restarted after adjusting timezone
info.  It makes total sense now.

Although a reboot would have solved this problem, I'm glad that a reboot
wasn't necessary.  I don't like doing things the windows way.  You know,
reboot and hope that it mysteriously fixes itself.

Thanks for the tip.

By the way, what is svi?  Is this a debain thing.

-- Joe


On Tue, 2002-05-28 at 23:12, Jeff Newmiller wrote:
 On 28 May 2002, Joe Copeland wrote:
 
  Thanks for the tip about adjusting the lrp.conf to automatically run
  rdate.  This is a very nice feature of bering and it works quite well.
  
  I also updated my /etc/localtime file so that my clock would read my
  local time.
  
  I noticed my logs seem to be using UTC for the time stamp.  Do you have
  any information that would allow me to use my local time for logging? 
  Having to subtract 7 hours every time I want to analyze my log file is
  getting to be a drag.
 
 I would guess that
 
   svi sysklogd restart
 
 might help.  Or backup and reboot.
 
 You will probably also want to edit /etc/timezone.
 
 ---
 Jeff NewmillerThe .   .  Go Live...
 DCN:[EMAIL PROTECTED]Basics: ##.#.   ##.#.  Live Go...
   Live:   OO#.. Dead: OO#..  Playing
 Research Engineer (Solar/BatteriesO.O#.   #.O#.  with
 /Software/Embedded Controllers)   .OO#.   .OO#.  rocks...2k
 ---


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm


leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



Re: [leaf-user] Secure browsing...

2002-05-29 Thread cam

Everything works. Thanks to all.
I used plink and tinyproxy.

Cam




___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm


leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



Re: [leaf-user] rdate

2002-05-29 Thread Jeff Newmiller

On 29 May 2002, Joe Copeland wrote:

 OK, I restarted ksyslogd and now my logs are in local time.  I didn't
 realize that ksyslogd needed to be restarted after adjusting timezone
 info.  It makes total sense now.
 
 Although a reboot would have solved this problem, I'm glad that a reboot
 wasn't necessary.  I don't like doing things the windows way.  You know,
 reboot and hope that it mysteriously fixes itself.
 
 Thanks for the tip.
 
 By the way, what is svi?  Is this a debain thing.

It is a shell function defined in /lib/POSIXness/POSIXness.linuxrouter
that runs an /etc/init.d script regardless of your present working
directory. It is marginally easier to type than 

  /etc/init.d/sysklogd restart

I used to think it was a debianism before I became debianized, but it is
not. Beyond Dave Cinege and LRP, I don't know what further heritage this
command might have.

 
 -- Joe
 
 
 On Tue, 2002-05-28 at 23:12, Jeff Newmiller wrote:
  On 28 May 2002, Joe Copeland wrote:
  
   Thanks for the tip about adjusting the lrp.conf to automatically run
   rdate.  This is a very nice feature of bering and it works quite well.
   
   I also updated my /etc/localtime file so that my clock would read my
   local time.
   
   I noticed my logs seem to be using UTC for the time stamp.  Do you have
   any information that would allow me to use my local time for logging? 
   Having to subtract 7 hours every time I want to analyze my log file is
   getting to be a drag.
  
  I would guess that
  
svi sysklogd restart
  
  might help.  Or backup and reboot.
  
  You will probably also want to edit /etc/timezone.
  
  ---
  Jeff NewmillerThe .   .  Go Live...
  DCN:[EMAIL PROTECTED]Basics: ##.#.   ##.#.  Live Go...
Live:   OO#.. Dead: OO#..  Playing
  Research Engineer (Solar/BatteriesO.O#.   #.O#.  with
  /Software/Embedded Controllers)   .OO#.   .OO#.  rocks...2k
  ---
 
 
 ___
 
 Don't miss the 2002 Sprint PCS Application Developer's Conference
 August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
 
 
 leaf-user mailing list: [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/leaf-user
 SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
 

---
Jeff NewmillerThe .   .  Go Live...
DCN:[EMAIL PROTECTED]Basics: ##.#.   ##.#.  Live Go...
  Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/BatteriesO.O#.   #.O#.  with
/Software/Embedded Controllers)   .OO#.   .OO#.  rocks...2k
---


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm


leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



Re: [Leaf-user] bering - pump fails to obtain lease on boot

2002-05-29 Thread Homer Parker

On Tue, 28 May 2002 22:46:53 +0200 Jacques Nilo [EMAIL PROTECTED]
wrote

Begin Quote:

  Having problems getting pump to talk to my ISC dhcp server, so thought
  I would drop dhclient.lrp into it instead, as it should work easy
  enough.. Problem is that it's looking for info in /etc/network.conf,
  and that file doesn't exist (ok, I can't find it), in Bering 1rc2 :(
  Any help appreciated..
 
 Yes, Charles's dhclient.lrp needs some (small) changes to work with
 Bering. I made a Bering compatible version which is available here:
 http://leaf.sourceforge.net/devel/jnilo/bering/latest/packages/dhclient.lrp

Being new to LEAF, those 'small changes' seem like mountains... Thanks
for the new package, I'll give it a try and let you know how it goes..

--- 
Homer Parker (The Bogus One)

http://www.homershut.net
telnet://bbs.homershut.net

This e-mail message is 100% Microsoft free!

WARNING: THIS ACCOUNT BELONGS TO A RABID
ANTI-SPAMMER NET-NAZI DOT-COMMUNIST.

   /\
   \ / ASCII Ribbon Campaign
X  Against HTML Mail
   / \



msg07045/pgp0.pgp
Description: PGP signature


[leaf-user] Port Forwarding

2002-05-29 Thread Jonathan Berglund

I'm using the Dachstein floppy distribution and I need to setup port
forwarding to one of my lan workstations. My router is at 192.168.1.254,
while my workstation I'm trying forward to is 192.168.1.1. There are a
number of ports for different programs I need to direct, but the one I'm
trying to do now is the identd port (port 113) to connect to DALnet over
IRC. I don't know if there is support for port forwarding already, or if
I need to download a package. Can anyone help?

Thanks in advance for the help!

- Jon


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm


leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



[leaf-user] Re: rdate

2002-05-29 Thread Greg Morgan

Eric Wolzak and Brad Fritz wrote:
snip
  I also updated my /etc/localtime file so that my clock would read my
  local time.
 
 That would be the solution but what did you put there ;=)
 try dateif you've got your localtime, then everything is ok.
 You should get the zoneinfo file from a linux distro, corresponding to your timezone.
 Copy this about 1Kb large file to f.e /usr/share/zoneinfo.

It looks like this problem has been solved.  I just wanted to point out
some time resources. Charles has conveniently located these
/usr/share/zoneinfo files at
http://lrp.steinkuehler.net/files/kernels/zoneinfo/.  There is also a
tz.lrp package.  

This site may will help you pick US zones http://www.time.gov/.  I found
these links illuminating http://www.time.gov/exhibits.html.

If you have Windows clients that you want to sync to your firewall, you
can use http://www.oneguycoding.com/automachron/ in your
systray.  External time server lists can be found at 
http://www.eecis.udel.edu/~mills/ntp/servers.htm
http://www.eecis.udel.edu/~mills/ntp/clock1.htm
http://www.eecis.udel.edu/~mills/ntp/clock2.htm

I just fixed my date this weekend.  I used just a file out of
/usr/share/zoneinfo( I had access to a Linux box).  Arizona doesn't do
daylight saving time.  So I copied MTS7MDT to /etc/localtime.This
technique saves some space especially for floppy users. All you have to
do is then backup etc.lrp.

 make /etc/localtime a symbolic link to /usr/share/zoneinfo.
 now date will no longer show 16:21 UTC but 9:21 whatsyourtimezone.
 The logging is also in localtime.
 don't forget to backup root and etc.
 
  I noticed my logs seem to be using UTC for the time stamp.  Do you have
  any information that would allow me to use my local time for logging?

As Jeff Newmiller pointed out a restart of logging is required.

  Having to subtract 7 hours every time I want to analyze my log file is

The default version of the file provided in /etc/localtime may have been
GMT+0.

  getting to be a drag.
 
 This is correct
 
 regards
 Eric Wolzak
 
 member of the bering crew.

I hope this helps,
Greg Morgan

___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm


leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



Re: [leaf-user] Port Forwarding

2002-05-29 Thread Lee Kimber

What you need is in the /etc/network.conf file, which you can edit from the 
lrcfg menu by going to Network Settings and then Network Configuration.

IIRC you need to do two things:

1. open the firewall to port 113 in the section that begins:
# IP Filter setup - can pull in settings from above

2. create a port forwarding rule in the section that begins:
# Port Forwarding

There are plenty of examples of what to do in both sections. Yell if you 
can't figure it out from the examples.



At 10:40 PM 5/29/2002 -0700, Jonathan Berglund wrote:
I'm using the Dachstein floppy distribution and I need to setup port
forwarding to one of my lan workstations. My router is at 192.168.1.254,
while my workstation I'm trying forward to is 192.168.1.1. There are a
number of ports for different programs I need to direct, but the one I'm
trying to do now is the identd port (port 113) to connect to DALnet over
IRC. I don't know if there is support for port forwarding already, or if
I need to download a package. Can anyone help?

Thanks in advance for the help!

- Jon


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm


leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html