Re: [leaf-user] Sending mail from a script

2004-03-24 Thread Roger E McClurg
I wish to thank everyone who replied so promptly to my message. I 
appreciate all the help. I knew this had to be simple, but I was having a 
brain freeze. With you help I was able to get the script running in 2 
minutes.

Thanks again to all.

Best Regards,

Roger McClurg
[EMAIL PROTECTED]




This is a PRIVATE message. If you are not the intended recipient, please 
delete without copying and kindly advise us by e-mail of the mistake in 
delivery. NOTE: Regardless of content, this e-mail shall not operate to 
bind CSC to any order or other contract unless pursuant to explicit 
written agreement or government initiative expressly permitting the use of 
e-mail for such purpose.






Charles Steinkuehler charles
@steinkuehler.net
03/22/2004 05:01 PM
 
To: Roger E McClurg/CEG/[EMAIL PROTECTED]
cc: leaf [EMAIL PROTECTED]
Subject:Re: [leaf-user] Sending mail from a script


Roger E McClurg wrote:
 I know that mail messages are normally terminated with a control-d. Can 
 someone please tell me how to end a mail message when it is sent from a 
 script file in Bering?  I know it is a simple trick, but for the life of 

 me I cant remember it.

control-d is the keyboard equivelent for end-of-file.  You can simply 
pipe something to (or otherwise redirect the input of) the mail command, 
which will correctly identify the end of file, ie:

echo hello world | mail -s test [EMAIL PROTECTED]

-or-

mail -s test [EMAIL PROTECTED] /my/test/message

-- 
Charles Steinkuehler
[EMAIL PROTECTED]




---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click

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] Multicast problem

2004-03-24 Thread Lino Moretto
Hi all,
I've just compiled mrouted 3.9beta under bering-uclibc with buildtool.
Even it seems that the kernel shipped with the distro was compiled with the
option CONFIG_IP_MULTICAST=y, but I get:

mrouted: 21:50:49.026 can't enable Multicast routing in kernel: Protocol not
available

Any ideas?

Lino



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click

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] Multicast problem

2004-03-24 Thread Eric Spakman
Lino,

I think you need to enable CONFIG_IP_MROUTE in the kernel for mrouted 
to work.

Eric 

 Hi all,
 I've just compiled mrouted 3.9beta under bering-uclibc with buildtool.
 Even it seems that the kernel shipped with the distro was compiled with the
 option CONFIG_IP_MULTICAST=y, but I get:
 
 mrouted: 21:50:49.026 can't enable Multicast routing in kernel: Protocol not
 available
 
 Any ideas?
 
 Lino
 
 
 
 ---
 This SF.Net email is sponsored by: IBM Linux Tutorials
 Free Linux tutorial presented by Daniel Robbins, President and CEO of
 GenToo technologies. Learn everything from fundamentals to system
 administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
 
 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: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click

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] Looking for a VPN Solution

2004-03-24 Thread Peter Mueller
 It has PPTP server built in and boots from a CD-ROM while the
 configuration is saved to a floppy.  There are some known 
 problems with some XP clients.

Are they using ppp-2.4.2x and poptop-1.1.4x?  The XP problems can be solved
via iptables clamps (clamp-mss-to-pmtu I believe), or using an ip-up hack.

P


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click

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] Difficulty assigning multiple IP addresses

2004-03-24 Thread Craig Caughlin
Hi everyone!

O.K. Per Charles  Tom's suggestions (thank you, gentlemen), I decided to
try and assign my additional IP addresses in the /etc/network/interfaces. I
tried to assign them in, at first, 2 different ways...neither one of which
worked. I tried:

auto eth0
iface eth0 inet static
address 66.60.172.201
netmask 255.255.255.0
broadcast 66.60.172.255
gateway 66.60.172.205
 
auto eth0:0
iface eth0 inet static
address 66.60.172.202
netmask 255.255.255.0
broadcast 66.60.172.255
 
auto eth0:1
iface eth0 inet static
address 66.60.172.203
netmask 255.255.255.0
broadcast 66.60.172.255

 Etc, etc...

And then a subtle variation:

auto eth0
iface eth0 inet static
address 66.60.172.201
netmask 255.255.255.0
broadcast 66.60.172.255
gateway 66.60.172.205
 
auto eth0
iface eth0:0 inet static
address 66.60.172.202
netmask 255.255.255.0
broadcast 66.60.172.255
 
auto eth0
iface eth0:1 inet static
address 66.60.172.203
netmask 255.255.255.0
broadcast 66.60.172.255

 Etc, etc...

But neither way worked. The good new is that Tom's suggestion of ip addr add
66.60.172.202/24 brd 66.60.172.255 \dev eth0 label eth0:0, etc works great.
I can immediately ping all addresses, and ip addr lists them all. Yippee!
But, I don't know what to back up (which .lrp package) to save my changes???
Also, what file(s) were modified by using this method(out of curiosity)?

Finally, I have a box on the local LAN that will host a web server, and has
MS Terminal Services running on that I want to be able to connect to, so my
guess is that I need to follow Tom's FAQ 1c and make entries like:

In /etc/shorewall/rules:

#ACTION   SOURCEDESTPROTO DEST PORT(S)
DNAT  net   loc:192.168.1.201   tcp   80
DNAT  net   loc:192.168.1.201   tcp   1494
DNAT  net   loc:192.168.1.201   tcp   3389

Does this look right? Thank you all for your help!

Craig



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70alloc_id638op=click

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] Looking for a VPN Solution

2004-03-24 Thread Ping Kwong
Neither.  He is using MPD.  This is based on FreeBSD 4.9.  PoPTop wasn't
an option because it doesn't run in userland and he wants to make it as
secure as possible.

-Original Message-
From: Peter Mueller [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 24, 2004 11:15 AM
To: 'Ping Kwong'; 'JamesSturdevant'; [EMAIL PROTECTED]
Subject: RE: [leaf-user] Looking for a VPN Solution

 It has PPTP server built in and boots from a CD-ROM while the
 configuration is saved to a floppy.  There are some known 
 problems with some XP clients.

Are they using ppp-2.4.2x and poptop-1.1.4x?  The XP problems can be
solved
via iptables clamps (clamp-mss-to-pmtu I believe), or using an ip-up
hack.

P



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click

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] Difficulty assigning multiple IP addresses

2004-03-24 Thread Charles Steinkuehler
Craig Caughlin wrote:
Hi everyone!

O.K. Per Charles  Tom's suggestions (thank you, gentlemen), I decided to
try and assign my additional IP addresses in the /etc/network/interfaces. I
tried to assign them in, at first, 2 different ways...neither one of which
worked. I tried:
snip /etc/network/interfaces examples

But neither way worked. The good new is that Tom's suggestion of ip addr add
66.60.172.202/24 brd 66.60.172.255 \dev eth0 label eth0:0, etc works great.
I can immediately ping all addresses, and ip addr lists them all. Yippee!
But, I don't know what to back up (which .lrp package) to save my changes???
Also, what file(s) were modified by using this method(out of curiosity)?
To save your changes, backup etc.lrp.

The file modified is /etc/network/interfaces which you edited.  No other 
files are dynamically modified when you make changes to this file.

--
Charles Steinkuehler
[EMAIL PROTECTED]
---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click

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