AW: [leaf-user] Custom commands??

2003-02-03 Thread Alex Rhomberg

  I knew this once before, but forgot :-(
 
  How do I implement my own command line commands??
 
  Ie; use mflash to perform mount -t msdos /dev/nftla1 /flash
 
 export mflash = 'mount -t msdos /dev/nftla1 /flash'
 
 I believe this can also be saved in .profile as well.

In my book, that defines an environment variable

I suggest appending the following line to /etc/profile:
alias mflash=mount -t msdos /dev/nftla1 /flash
Then backup etc.lrp

Cheers
Alex


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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: AW: [leaf-user] Custom commands??

2003-02-03 Thread John Mullan

Thanks folks.  With this reminder I now remember that I previously used the
'alias' command inside one of the booting scripts to set up some permanent
commands.  Never heard of the 'export' one.

I never create any other users, only use root so likely any script that
executes during boot will work.  But any helpful hints on the best (or
rule-of-thumb) file would be appreciated.

John
===
Work:   http://www.olgclotteries.com
[EMAIL PROTECTED]
888-345-7568 ext. 2205

Personal:   http://www.mullan.ca
[EMAIL PROTECTED]
MSN:[EMAIL PROTECTED]
===



   
 
  Alex Rhomberg  
 
  [EMAIL PROTECTED]   To:   LEAF-user 
[EMAIL PROTECTED] 
  Sent by:  cc:
 
  [EMAIL PROTECTED]Subject:  AW: [leaf-user] 
Custom commands??   
  ceforge.net  
 
   
 
   
 
  03-02-2003 04:32 AM  
 
   
 
   
 





  I knew this once before, but forgot :-(
 
  How do I implement my own command line commands??
 
  Ie; use mflash to perform mount -t msdos /dev/nftla1 /flash

 export mflash = 'mount -t msdos /dev/nftla1 /flash'

 I believe this can also be saved in .profile as well.

In my book, that defines an environment variable

I suggest appending the following line to /etc/profile:
alias mflash=mount -t msdos /dev/nftla1 /flash
Then backup etc.lrp

Cheers
Alex


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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







---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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] need to connect to corp sidewinder firewall

2003-02-03 Thread Lynn Avants
On Monday 03 February 2003 01:00 am, Don Seiler wrote:
 That sounds pretty much like what I'm doing now with iptables.  Only I'm
 assuming in this situation I'd be doing the VPN authentication on the
 router instead of from the desktop box?  If not then, as I said, I'm
 already doing this, and not successfully.

If you are not doing 'pass-through' and want to use a 'gw-to-gw' connection,
you will _need_ to have your corp admin's change the configuration on 
their end to account for this or it absolutely will not work. Both sides
_must_ have the same type of connection configuration for you.

http://leaf.sourceforge.net/devel/guitarlynn/ipsec.txt
-- 
~Lynn Avants
Linux Embedded Firewall Project developer
http://leaf.sourceforge.net


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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] Connecting to ssh with WinXP

2003-02-03 Thread James Neave
Hi,

Is there a Win32 ssh client available?
I just can't find even a hint of one.
Preferably free? :P

Thanks,

Jim.


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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] Bering uClibc - ulogd: load_plugins: /usr/lib/ulogd/ulog_*.so - Filenot found

2003-02-03 Thread Laurentiu Drob
Hi all,

I've downloaded ulogd-0.98 from CVS, applied the patch and compiled 
for uClibc, made ulogd.lrp and reboot with the new package.
Ulogd complains about finding plugins specified in /etc/ulogd.conf 
[/usr/lib/ulogd/ulogd_*.so File not found] but all needed plugins are 
fine, owned by root in /usr/lib/ulogd/ ]
The same ulogd package built for glibc works fine :(
If anyone has any idea ...

Thanks in advance,
	lwd.



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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] need to connect to corp sidewinder firewall

2003-02-03 Thread Don Seiler
Should the corp admin's change anything on the firewall to allow for my 
pass-through connection?

I _am_ doing NAT on my end also.  I read on that ipsec.txt that this 
breaks one of the protocols.  What alternatives do I have?

Don.

On Mon, 3 Feb 2003, Lynn Avants wrote:

 On Monday 03 February 2003 01:00 am, Don Seiler wrote:
  That sounds pretty much like what I'm doing now with iptables.  Only I'm
  assuming in this situation I'd be doing the VPN authentication on the
  router instead of from the desktop box?  If not then, as I said, I'm
  already doing this, and not successfully.
 
 If you are not doing 'pass-through' and want to use a 'gw-to-gw' connection,
 you will _need_ to have your corp admin's change the configuration on 
 their end to account for this or it absolutely will not work. Both sides
 _must_ have the same type of connection configuration for you.
 
 http://leaf.sourceforge.net/devel/guitarlynn/ipsec.txt
 


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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] need to connect to corp sidewinder firewall

2003-02-03 Thread Lynn Avants
On Monday 03 February 2003 08:00 am, Don Seiler wrote:
 Should the corp admin's change anything on the firewall to allow for my
 pass-through connection?

 I _am_ doing NAT on my end also.  I read on that ipsec.txt that this
 breaks one of the protocols.  What alternatives do I have?

Not if the service is port-forwarded through the firewall to your desktop.
Your admin will see it as your box is connected directly to the internet
for the ipsec service/protocol. They only need to change if you are using
a 'gw'to-gw' connection.
-- 
~Lynn Avants
Linux Embedded Firewall Project developer
http://leaf.sourceforge.net


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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] need to connect to corp sidewinder firewall

2003-02-03 Thread Don Seiler
I read somewhere that there is a timeout issue with with rp-pppoe or NAT, 
where it tries ti re-generate something ever 10 minutes or so.  Sorry I 
don't have specifics and this all might sound a little crazy.

The fact of the matter is I _can_ connect to their VPN, I just get 
disconnected frequently and like clockwork.  If it weren't for the screen 
program I would have gone crazy.  The corp admins tell me that the users 
who don't have home networks and connect right to their DSL/Cable modem 
from their desktops don't have this problem.

Don.

On Mon, 3 Feb 2003, Lynn Avants wrote:

 On Monday 03 February 2003 08:00 am, Don Seiler wrote:
  Should the corp admin's change anything on the firewall to allow for my
  pass-through connection?
 
  I _am_ doing NAT on my end also.  I read on that ipsec.txt that this
  breaks one of the protocols.  What alternatives do I have?
 
 Not if the service is port-forwarded through the firewall to your desktop.
 Your admin will see it as your box is connected directly to the internet
 for the ipsec service/protocol. They only need to change if you are using
 a 'gw'to-gw' connection.
 


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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] Connecting to ssh with WinXP

2003-02-03 Thread John Mullan

Definetly!  I use TeraTerm Pro with TTSH add-in.  Works like a charm.

===
Work:   http://www.olgclotteries.com
[EMAIL PROTECTED]
888-345-7568 ext. 2205

Personal:   http://www.mullan.ca
[EMAIL PROTECTED]
MSN:[EMAIL PROTECTED]
===



   
 
  James Neave
 
  [EMAIL PROTECTED]To:   
[EMAIL PROTECTED] 
  Sent by:  cc:
 
  [EMAIL PROTECTED]Subject:  [leaf-user] 
Connecting to ssh with WinXP  
  ceforge.net  
 
   
 
   
 
  03-02-2003 08:56 AM  
 
   
 
   
 




Hi,

Is there a Win32 ssh client available?
I just can't find even a hint of one.
Preferably free? :P

Thanks,

Jim.


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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







---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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] Connecting to ssh with WinXP

2003-02-03 Thread Elmar Gerwalin
 Is there a Win32 ssh client available?
 I just can't find even a hint of one.
 Preferably free? :P

TeraTermPro+SSH  and Putty could do what you want.

Bye
Elmar

-- 

Elmar Gerwalin ,   University of Kaiserslautern,Germany
   Dept. of Theoretical Chemistry
   and  IT Service Team
   [EMAIL PROTECTED]0631-205-2749





---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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] Connecting to ssh with WinXP

2003-02-03 Thread Lynn Avants
On Monday 03 February 2003 07:56 am, James Neave wrote:
 Hi,

 Is there a Win32 ssh client available?
 I just can't find even a hint of one.
 Preferably free? :P

Putty.
-- 
~Lynn Avants
Linux Embedded Firewall Project developer
http://leaf.sourceforge.net


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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] Connecting to ssh with WinXP

2003-02-03 Thread Julian Church
At 15:16 03/02/03 +0100, Elmar Gerwalin wrote:

 Is there a Win32 ssh client available?
 I just can't find even a hint of one.
 Preferably free? :P

TeraTermPro+SSH  and Putty could do what you want.


In addition to the recommendations you've already got, a search at google for

free ssh client windows

turns up a load of other options

cheers

Julian

--
[EMAIL PROTECTED]
www.ljchurch.co.uk



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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] Connecting to ssh with WinXP

2003-02-03 Thread Lynn Avants
On Monday 03 February 2003 09:11 am, James Neave wrote:
 Putty or TTP+SSH, got it!

 Now I can pull my logs over from the Bering box, post them here, and ask
 yet more questions. ;)

 But I'll pre-empt myself and ask now how I can transfer files from the
 Bering Box over to my WinXP box.

Check:
 SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Use 'scp' through ssh.
-- 
~Lynn Avants
Linux Embedded Firewall Project developer
http://leaf.sourceforge.net


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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] Connecting to ssh with WinXP

2003-02-03 Thread Elmar Gerwalin
On Monday 03 February 2003 16:11, James Neave wrote:
 Putty or TTP+SSH, got it!

 But I'll pre-empt myself and ask now how I can transfer files from the
 Bering Box over to my WinXP box.

WinSCP(2)  is not bad.

Elmar

-- 

Elmar Gerwalin ,   University of Kaiserslautern,Germany
   Dept. of Theoretical Chemistry
   and  IT Service Team
   [EMAIL PROTECTED]0631-205-2749





---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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] Connecting to ssh with WinXP

2003-02-03 Thread Victor McAllister
James Neave wrote:

Putty or TTP+SSH, got it!

Now I can pull my logs over from the Bering box, post them here, and ask
yet more questions. ;)

But I'll pre-empt myself and ask now how I can transfer files from the
Bering Box over to my WinXP box.

Ta,

Jim.




Ixplorer is a windows client for pscp.

iXplorer is a freeware Windows GUI client for pcp (personal secure copy)
All you need on the leaf box is sshd


Download
http://www.tucows.com/preview/195163.html


--

Victor McAllister



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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] Bering partial backup not working (was: Bering 2.4.18 CD)

2003-02-03 Thread Brad Fritz

On 31 Jan 2003 08:48:41 EST Sean E. Covel wrote:

 On Thu, 2003-01-30 at 22:34, Brad Fritz wrote:

sc I created new .lrp files with the correct path (no ./etc) and I'm still
sc having the tar problem.  Anyone have any thoughts?

[..]

bf Can you provide a link to or post the etc.local file?

[..]
 
sc Good point.  I couldn't find them either so I emailed Todd.  I'll host
sc them.  I'm not sure if you want to help, or if you just want the files
sc ;-), but here they are.  I also posted my ISO in case someone wants to
sc do some debugging.
sc 
sc The files are here:
sc 
sc http://leaf.sourceforge.net/devel/scovel

Looks like there are carriage returns in the .local files that
are causing problems with the grep at ~101 of lrcfg.back.script .
Try the versions I sterilized with dos2unix and sent you offlist
and let us know if that fixes the problem.

--Brad




---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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 uClibc - ulogd: load_plugins: /usr/lib/ulogd/ulog_*.so - File not found

2003-02-03 Thread Eric Spakman
 Hi all,
 
 I've downloaded ulogd-0.98 from CVS, applied the patch and compiled 
 for uClibc, made ulogd.lrp and reboot with the new package.
 Ulogd complains about finding plugins specified in /etc/ulogd.conf 
 [/usr/lib/ulogd/ulogd_*.so File not found] but all needed plugins are 
 fine, owned by root in /usr/lib/ulogd/ ]
 The same ulogd package built for glibc works fine :(
 If anyone has any idea ...
 
 Thanks in advance,
   lwd.
 
Laurentiu,

Did you follow the instructions in ulogd.txt and used ulogd.mk? 
(ulogd.mk changed a week ago, so maybe you must download it again) 
I know it works, just tried it myself. There is also a complete 
ulogd.lrp package compiled for uClibc in CVS.

Eric


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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] [ leaf-Support Requests-679331 ] NICs/network not comming up?

2003-02-03 Thread SourceForge.net
Support Requests item #679331, was opened at 2003-02-03 00:35
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=213751aid=679331group_id=13751

Category: Release/Branch: Dachstein
Group: None
Status: Open
Priority: 5
Submitted By: rob merritt (merrittr)
Assigned to: Mike Noyes (mhnoyes)
Summary: NICs/network not comming up?

Initial Comment:
I read throuht the faqs and my logs looking for error 
msgs but there don't seem to be any. Here is my 
problem:

pent 266 + 96mb ran 2 identical 8139too cards (thats 
what mandrake 8.2 thinks anyway and it works)

in modules I have pci-scan and tulip enabled in modules
but I get a no route to host message find attached the 
dump.log of all pertinent info

and thanks for the help

rob merritt
[EMAIL PROTECTED]

--

Comment By: Lynn Avants (guitarlynn)
Date: 2003-02-03 09:52

Message:
Logged In: YES 
user_id=176069

You'll want to download and add the '8139too' module from
Charles' site at:
http://leaf.sourceforge.net/devel/cstein
The 'small' kernel tree is for the floppy.

The tulip driver will _not_ work on 8139too cards.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=213751aid=679331group_id=13751


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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] Connecting to ssh with WinXP

2003-02-03 Thread Ray Olszewski
At 01:56 PM 2/3/03 +, James Neave wrote:


Is there a Win32 ssh client available?
I just can't find even a hint of one.
Preferably free? :P


I'm not sure why you ask this question on a Linux list, but ... the two 
widely used Wndows ssh clients are Putty and TerraTerm. I've used them both 
on Win98 and 2K (I prefer Putty for everyday use), but I imagine they will 
work on XP as well.

And I find that if I go to www.google.com and search on windows ssh 
client, links to them are the first two things that come back ... so you 
may want to refine your search strategies for the future.


--
---Never tell me the odds!
Ray Olszewski	-- Han Solo
Palo Alto, California, USA			  [EMAIL PROTECTED]
---



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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 partial backup not working (was: Bering2.4.18 CD)

2003-02-03 Thread Sean E. Covel
 sc Good point.  I couldn't find them either so I emailed Todd.  I'll host
 sc them.  I'm not sure if you want to help, or if you just want the files
 sc ;-), but here they are.  I also posted my ISO in case someone wants to
 sc do some debugging.
 sc 
 sc The files are here:
 sc 
 sc http://leaf.sourceforge.net/devel/scovel
 
 Looks like there are carriage returns in the .local files that
 are causing problems with the grep at ~101 of lrcfg.back.script .
 Try the versions I sterilized with dos2unix and sent you offlist
 and let us know if that fixes the problem.
 
 --Brad
 

Shame on me!  I'll bet that's it.  I was planning on spending some time
tonight debugging the script, but I'll give the dos2unix command a shot
first and save myself the time.  I'll let you all know if it works.  If
it does, I'll post a new (Unix) version of the files, and my ISO as well
in case someone wants it.

Sean



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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] My Dachstein not quite up and running

2003-02-03 Thread Chris Low
I'm back at work for the week now so I'll try the suggestions you guys gave 
since Thursday. In the meantime, I moved the firewall to a more accessible 
location and reconnected it with new cables. Now I get the following msg 
popping up every few seconds:

eth0: rtl8139 Interrupt line blocked, status 

and when I try to ping an external address I get:

eth0: Trasmit timeout, status ff  media ff

and 100% packet loss.

I can ping the internal NT fine.



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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] Aliasing multiple subnets through a single NIC

2003-02-03 Thread Troy Aden
Can someone please point me to an example of how to do this with Bering.
I would like to alias a route to the .145 subnet on Router B from a new
router I am adding to our network.
Please help.
I currently have static routes added as per the description below:

.router A 
auto eth0
iface eth0 inet static  
address 192.168.141.1
masklen 24
broadcast 192.168.141.255
#   gateway 1.2.3.1

auto eth1
iface eth1 inet static  
address 192.168.142.1
masklen 24
broadcast 192.168.142.255
#   gateway 1.2.3.1

auto eth2
iface eth2 inet static  
address 192.168.143.1
masklen 24
broadcast 192.168.143.255
#   gateway 1.2.3.1

auto eth3
iface eth3 inet static  
address 192.168.147.1
masklen 24
broadcast 192.168.147.255
gateway 192.168.147.4

up ip route add 192.168.140.0/24 via 192.168.147.3 || true
up ip route add 192.168.144.0/24 via 192.168.147.2 || true
up ip route add 192.168.145.0/24 via 192.168.147.2 || true
up ip route add 192.168.146.0/24 via 192.168.147.2 || true



^
^
Router
B
# /etc/network/interfaces -- configuration file for LEAF network
# J. Nilo, April 2002
#
# Loopback interface.
auto lo
iface lo inet loopback

# Step 1: configure external interface
# uncomment/adjust one of the following 4 options
# Option 1.1 (default): eth0 / dynamic IP from pump/dhclient
#auto eth0
#iface eth0 inet dhcp
#
# Option 1.2: eth0 / Fixed IP (assumed to be 1.2.3.4). 
#   (broadcast/gateway optional)
auto eth0
iface eth0 inet static  
address 192.168.147.2
masklen 24
broadcast 192.168.147.255
gateway 192.168.147.1

auto eth1
iface eth1 inet static  
address 192.168.144.1
masklen 24
broadcast 192.168.144.255
#   gateway 1.2.3.1

auto eth2
iface eth2 inet static  
address 192.168.145.1
masklen 24
broadcast 192.168.145.255
#   gateway 1.2.3.1

auto eth3
iface eth3 inet static  
address 192.168.146.1
masklen 24
broadcast 192.168.146.255
#   gateway 192.168.147.4



Thanks in advance.

Troy


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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 C.D.

2003-02-03 Thread Brad Fritz

On Mon, 03 Feb 2003 11:19:41 PST Michael Campion wrote:

 What is this C.D. I keep hearing about and can it be purchased?

Nope, but you can build one yourself:

  http://leaf.sourceforge.net/devel/jnilo/bucdrom.html
  http://leaf.sourceforge.net/devel/jnilo/bubooting.html#AEN1155

or try lcapriotti's RC4 ISO:

  http://cvs.sf.net/cgi-bin/viewcvs.cgi/leaf/devel/lcapriotti/

--Brad



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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] Can't boot from hard drive partition

2003-02-03 Thread darren
Possibly a daft question, but is the partition active?

I've had this sort of thing happen before when I create partitions and
forget to make them active.

If you're not sure, use fdisk on a DOS floppy to check and set it if you
need to. IIRC the partition has a A next to it.

You can use a linux fdisk if you prefer.


 I'm trying to boot LRP from a small DOS partition on a IDE hard drive
 following the instructions in the LRPHardDiskHOWTO, but I'm not having any
 luck. The message I get on boot is:

   Searching for Boot Record from IDE-0..OK
   Missing operating system




---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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] My Dachstein not quite up and running

2003-02-03 Thread Chris Low
Okay, my dhcpd file now reads as follows:

subnet 10.10.10.0  netmask 255.255.255.0 {
  option routers 10.10.10.254;
  option domain-name esimail.org;
  option domain-name-servers 127.0.0.1;
  range 10.10.10.1 10.10.10.199;
}

I made the newbie mistake of thinking option meant optional so I hadn't 
changed them previously. (per Charles)


Switched eth1_IPADDR=10.10.10.1 to eth1_IPADDR=10.10.10.254 (per Lynn)


and checked the things Ray asked about:
the masq rule reads:

0  0  MASQ  all -- 0xFF 0x00  eth0  10.10.10.0/24  0.0.0.0/0  n/a

and cat /proc/sys/net/ipv4/ip_forward does return a 1

Now everything seems to work correctly! (Ping, web access, and SSH at 
least--I haven't put our Exchange server behind the firewall yet since 
there are other users in the office.) I am so thankful for your help 
through this.

Three more question before I go though:

1) Since the ISP's router is set to route incoming mail to our exchange 
server at it's current address (192.168.1.2) all I should have to do is 
assign that server a new static IP (something along the lines of 
10.10.10.200) and let the ISP know about this change, right?

2) It looks like our ISP's router is set to renew nonstatic ip addresses 
every 27000 seconds (7.5 hours). I know this affects the ip address for 
eth0, will that affect anything else behind the firewall? Basically I'm 
wondering if this is okay to leave as-is or should I try to assign eth0 a 
static ip.

3) How do I enable the weblet application? I changed the settings in the 
weblet package: SERVER_NAME and SERVER_ADDR to both be 10.10.10.254 to 
match the eth1 address. I also changed the CLIENT_ADDR to 10.10.10. but so 
far I've been unable to access is from the internal  NT box.

Thanks again,

Chris



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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] Can't boot from hard drive partition

2003-02-03 Thread Spiro Philopoulos
Thanks for responding. Yes, the DOS partition is marked as active. I assume 
whether the fdisk /MBR is done before or after the LRP files are copied 
onto the DOS partition makes no difference. Correct? When you used 
partitions, did you just used the format c: and syslinux -s c: commands 
from a DOS boot disk as mentioned in the HOWTO?
Thanks again.



On Monday 03 February 2003 16:59, [EMAIL PROTECTED] wrote:
 Possibly a daft question, but is the partition active?

 I've had this sort of thing happen before when I create partitions and
 forget to make them active.

 If you're not sure, use fdisk on a DOS floppy to check and set it if you
 need to. IIRC the partition has a A next to it.

 You can use a linux fdisk if you prefer.

  I'm trying to boot LRP from a small DOS partition on a IDE hard drive
  following the instructions in the LRPHardDiskHOWTO, but I'm not having
  any luck. The message I get on boot is:
 
  Searching for Boot Record from IDE-0..OK
  Missing operating system


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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] Can't boot from hard drive partition

2003-02-03 Thread darren
Sorry, I may have misread your earlier post.

I think my normal approach is

fdisk - set up partitions - reboot
fdisk /mbr
format c:
lock c:
syslinux -s c:
copy LRP packages to disk (don't overwrite the ldlinux.sys file)

although the order does vary slightly depending on my mood.

Did you run syslinux -s c: after you ran fdisk /mbr?

If not, you need to.

Another thing, which version of syslinux are you using? I run Bering on
486's with CompactFlash and I can't get anything past syslinux-1.48 to
actually work with this kit.

 Thanks for responding. Yes, the DOS partition is marked as active. I
 assume
 whether the fdisk /MBR is done before or after the LRP files are copied
 onto the DOS partition makes no difference. Correct? When you used
 partitions, did you just used the format c: and syslinux -s c:
 commands
 from a DOS boot disk as mentioned in the HOWTO?
 Thanks again.



 On Monday 03 February 2003 16:59, [EMAIL PROTECTED] wrote:
 Possibly a daft question, but is the partition active?

 I've had this sort of thing happen before when I create partitions and
 forget to make them active.

 If you're not sure, use fdisk on a DOS floppy to check and set it if you
 need to. IIRC the partition has a A next to it.

 You can use a linux fdisk if you prefer.

  I'm trying to boot LRP from a small DOS partition on a IDE hard drive
  following the instructions in the LRPHardDiskHOWTO, but I'm not having
  any luck. The message I get on boot is:
 
 Searching for Boot Record from IDE-0..OK
 Missing operating system






---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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] Can't boot from hard drive partition

2003-02-03 Thread Darren Hammond
Not forgetting to change your syslinux.cfg file to use the correct device
(/dev/hda1 ??), of course.

 I think my normal approach is

 fdisk - set up partitions - reboot
 fdisk /mbr
 format c:
 lock c:
 syslinux -s c:
 copy LRP packages to disk (don't overwrite the ldlinux.sys file)

 although the order does vary slightly depending on my mood.



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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] My Dachstein not quite up and running

2003-02-03 Thread Ray Olszewski
At 03:17 PM 2/3/03 -0800, Chris Low wrote:
[...]

and checked the things Ray asked about:
the masq rule reads:

0  0  MASQ  all -- 0xFF 0x00  eth0  10.10.10.0/24  0.0.0.0/0  n/a

[...]

Three more question before I go though:

1) Since the ISP's router is set to route incoming mail to our exchange 
server at it's current address (192.168.1.2) all I should have to do is 
assign that server a new static IP (something along the lines of 
10.10.10.200) and let the ISP know about this change, right?

Wrong. Since the LEAF router MASQs (NATs) the 10.10.10.0/24 network (that's 
the import of the MASQ line I asked about), it appears to the ISP's router 
that all the traffic is coming from 
192.168.1.whatever_DHCP_assigns_to_the_external_interface . if you want to 
MASQ the LAN this way, you will need to

(a) port forward traffic to port 25 on the LEAF router to the 
10.10.10.x mail server
(b) have the ISP router port forward port 25 to the LEAF router's 
external address.

(I'm assuming here that the ISP router NATs 192.168.1.0/24, something you 
haven't actually said. It is possible that the ISP actually routes to 
192.168.1.0/24 rather than NATs it, and that some address translation takes 
place upstream of you. In that case, everything is different, and you 
haven't told us enough details to get good advice.)

While this approach should work, it is clumsy. A much better approach might 
be, if you can arrange this, to put the 192.168.1.0/24 network behind your 
LEAF firewall, use some other address pair to set up a static route between 
the ISP's router and the LEAF router, and tell the ISP's router that the 
LEAF router is its route to 192.168.1.0/24. Then let the ISP's router do 
the NAT'ing, and use the LEAF rotuer just for firewall rules.

Although I say much better, a real assessment of the best approach (there 
are other ways to do it too, such as proxy arp'ing on the LEAF router) 
requires an evaluation of your actual setup, including what options your 
ISP will provide, what you need firewalled and why, and probably more. We 
can talk about possibilities, not really tell you what is beest for your 
particular circumstances.

2) It looks like our ISP's router is set to renew nonstatic ip addresses 
every 27000 seconds (7.5 hours). I know this affects the ip address for 
eth0, will that affect anything else behind the firewall?

No. Anything behind the firewall gets its address either via static 
assignment or from the *LEAF* router's DHCP server. Unless you make special 
arrangements to forward them, DHCP requests/assignments do not cross routers.

Basically I'm wondering if this is okay to leave as-is or should I try to 
assign eth0 a static ip.

It depends on how you decide to solve the routing and mail-server problems. 
But a static address would simplify about every solution to them I can 
think of.

3) How do I enable the weblet application? I changed the settings in the 
weblet package: SERVER_NAME and SERVER_ADDR to both be 10.10.10.254 to 
match the eth1 address. I also changed the CLIENT_ADDR to 10.10.10. but so 
far I've been unable to access is from the internal  NT box.

Someone else will have to help with this one, since I don't use the weblet. 
If nothing is forthcoming, though, consider reporting with a more complete 
description of the changes, of what the unable to access failure looks 
like (what error does the browser report, or does it just try forever?), 
and of the NT host's network settings.


--
---Never tell me the odds!
Ray Olszewski	-- Han Solo
Palo Alto, California, USA			  [EMAIL PROTECTED]
---



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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] Connecting to ssh with WinXP

2003-02-03 Thread S Mohan
Winscp is a lot better and robust though.

Mohan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Victor
McAllister
Sent: Monday, February 03, 2003 9:22 PM
Cc: [EMAIL PROTECTED]
Subject: Re: [leaf-user] Connecting to ssh with WinXP


James Neave wrote:
 Putty or TTP+SSH, got it!
 
 Now I can pull my logs over from the Bering box, post them here, and 
 ask yet more questions. ;)
 
 But I'll pre-empt myself and ask now how I can transfer files from the

 Bering Box over to my WinXP box.
 
 Ta,
 
 Jim.
 


Ixplorer is a windows client for pscp.

iXplorer is a freeware Windows GUI client for pcp (personal secure copy)
All you need on the leaf box is sshd


Download
http://www.tucows.com/preview/195163.html


-- 

Victor McAllister



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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] Can't boot from hard drive partition

2003-02-03 Thread Lynn Avants
On Monday 03 February 2003 04:29 pm, Spiro Philopoulos wrote:
 I'm using syslinux and all the necessary files are on the partition. I know
 the kernel image and all other files are OK because I've been using them to
 boot from a non-partitioned drive for a long time (just by dd'ing the LRP
 image and running syslinux). I also ran fdisk /MBR from a DOS floppy to
 make sure a clean MBR is installed. Partitions and everything look fine.
 Any guesses/help would be greatly appreciated.
 Thanks.

Well, the versions of syslinux can be quite particular with certain pieces
of hardware. I've never had a problem with syslinux-v1.66. Is your DOS
partition less than the 25Meg limit? Did you reboot after partitioning?
If formatting with M$ tools later than DOS-6.0, did you lock the drive?
Is the drive hda? Some machines won't boot unless it is.

Your error would seem to indicate that the machine is not seeing syslinux
at all.
-- 
~Lynn Avants
Linux Embedded Firewall Project developer
http://leaf.sourceforge.net


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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] My Dachstein not quite up and running

2003-02-03 Thread Steve Fink
Chris,

Ray covered everything but Weblet.

For Weblet you seem to have everything except the /etc/hosts.allow file
changed.  Check and make sure that it has 10.10.10. in there too.

Best,

Steve



On Mon, 2003-02-03 at 16:17, Chris Low wrote:
 Okay, my dhcpd file now reads as follows:
 
 subnet 10.10.10.0  netmask 255.255.255.0 {
option routers 10.10.10.254;
option domain-name esimail.org;
option domain-name-servers 127.0.0.1;
range 10.10.10.1 10.10.10.199;
 }
 
 I made the newbie mistake of thinking option meant optional so I hadn't 
 changed them previously. (per Charles)
 
 
 Switched eth1_IPADDR=10.10.10.1 to eth1_IPADDR=10.10.10.254 (per Lynn)
 
 
 and checked the things Ray asked about:
 the masq rule reads:
 
 0  0  MASQ  all -- 0xFF 0x00  eth0  10.10.10.0/24  0.0.0.0/0  n/a
 
 and cat /proc/sys/net/ipv4/ip_forward does return a 1
 
 Now everything seems to work correctly! (Ping, web access, and SSH at 
 least--I haven't put our Exchange server behind the firewall yet since 
 there are other users in the office.) I am so thankful for your help 
 through this.
 
 Three more question before I go though:
 
 1) Since the ISP's router is set to route incoming mail to our exchange 
 server at it's current address (192.168.1.2) all I should have to do is 
 assign that server a new static IP (something along the lines of 
 10.10.10.200) and let the ISP know about this change, right?
 
 2) It looks like our ISP's router is set to renew nonstatic ip addresses 
 every 27000 seconds (7.5 hours). I know this affects the ip address for 
 eth0, will that affect anything else behind the firewall? Basically I'm 
 wondering if this is okay to leave as-is or should I try to assign eth0 a 
 static ip.
 
 3) How do I enable the weblet application? I changed the settings in the 
 weblet package: SERVER_NAME and SERVER_ADDR to both be 10.10.10.254 to 
 match the eth1 address. I also changed the CLIENT_ADDR to 10.10.10. but so 
 far I've been unable to access is from the internal  NT box.
 
 Thanks again,
 
 Chris
 
 
 
 ---
 This SF.NET email is sponsored by:
 SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
 http://www.vasoftware.com
 
 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
 



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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] Can't boot from hard drive partition

2003-02-03 Thread Spiro Philopoulos
I'm trying to boot LRP from a small DOS partition on a IDE hard drive 
following the instructions in the LRPHardDiskHOWTO, but I'm not having any 
luck. The message I get on boot is:

Searching for Boot Record from IDE-0..OK
Missing operating system

I'm using syslinux and all the necessary files are on the partition. I know 
the kernel image and all other files are OK because I've been using them to 
boot from a non-partitioned drive for a long time (just by dd'ing the LRP 
image and running syslinux). I also ran fdisk /MBR from a DOS floppy to make 
sure a clean MBR is installed. Partitions and everything look fine.
Any guesses/help would be greatly appreciated.
Thanks.


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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 uClibc - ulogd: load_plugins: /usr/lib/ulogd/ulog_*.so- File not found

2003-02-03 Thread Laurentiu Drob
Eric Spakman wrote:


Laurentiu,

Did you follow the instructions in ulogd.txt and used ulogd.mk? 
(ulogd.mk changed a week ago, so maybe you must download it again) 
I know it works, just tried it myself. There is also a complete 
ulogd.lrp package compiled for uClibc in CVS.


Hi Eric,

Yes, I followed the instructions and used the new version of ulogd.mk; 
the trouble is at line 448 in ulogd.c:
if (!dlopen(file, RTLD_NOW)) {
ulogd_log(ULOGD_ERROR, load_plugins: %s - %s\n, 
file, dlerror());
  ..
I changed it to print file content and it's OK /usr/lib/ulogd/ 
...and so on. So, IMHO the problem may be dlopen() of uClibc ?...
Any suggestions?

I  did all this because I need ulogd_PGSQL plugin and I like to do 
things by myself. That's why I believe Bering is GREAT!

Thanks,
   lwd




---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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