Re: [leaf-user] Wanted: easy way to see load over time

2005-07-28 Thread Philippe Jayet
Eric,

A very effective but not so easy way to see exactly what sort of traffic
your router has been moving, is to install a NetFlow probe on your
router. It will forward flows to a NetFlow collector, permitting further
analysis and graphing on the traffic. You would then be able to
categorize the traffic (for example http/ftp/mail/p2p/other for in/out,
by host/subnet, period of time) quite precisely.

Some pointers:
* A NetFlow probe that runs on Bering-uClibc: fprobe-ulog (I compiled it
successfully but no extensive tests done) [1]
* A NetFlow collector / processor: NfDump [2]
* A NetFlow web-based reporting engine: NfSen [3]

Hope this may help you,

Philippe J.


[1] http://fprobe.sourceforge.net/
[2] http://nfdump.sourceforge.net/
[2] http://nfsen.sourceforge.net/


Eric House wrote:
 I'd like to be able to see at a glance what sort of traffic my LEAF
 router's been moving over the past hours/days/weeks/whatever.  Is
 there any way to do that now given packages available (for the uClibc
 version, ideally.)
 
 If not, I'm imagining writing something to plug into webmin.  It might
 look like this:
 
 * cron jobs to log cumulative traffic on eth0 (say), probably by
   calling 'ip addr', every 1 or 5 or 10 minutes or so.
 
 * cgi scripts to parse the above, producing a crude bar graph using a
   borderless table
 
 * the page produced could probably allow display by hour, day, week,
   etc., with links to drill down into bars or look at a larger view.
   Typical parameterized cgi stuff.
 
 I'm not sure when I'd have time for this, but does it strike folks as
 useful and not duplicating something we already have?
 
 Thanks,
 
 --Eric


---
SF.Net email is Sponsored by the Better Software Conference  EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


Re: [leaf-user] CF Card Issues

2005-07-28 Thread giovanni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

We use with no issue CF cards on my systems that are neo similar to the
system.
We've used only sandisk cards ( both 32 M / 64 M depending on
avaliability at the stores) plus a 8 M card from a Canon digital camera.
We use bering 1.0-stable with a modified intrd (with the modules for
ide) (at the time we do not found a complete setup for CF so we amused
ourserves playing with the configuration tht is very simple to manage)
We program the cards initially with dd and then using fdisk,syslinux and
a copy from a directory on our suse box.
Many chenges on configuration (mainly shorewall, but also interface on
firewall tht go up and down on exibitions) and all seems to work fine.
Only a card crashed during the initial experiments: not in the firewall
but in the cf pcmcia adaptor (I drop that cf in a drawer and, years
later, forgotten the accident, I reused it without problems on a system
called 'Lazarus' :-) )
We have 2 fw in production for 2 years in our company, in the same time
4 in other companies and 2 up and down to perform services into exibitions.
We usually shut down gracefully the fw when make changes and then power
up and never have trouble with the backup, but some times, in the first
experiments we shut down and power up usin the power switch without
problems.
IMHO the CF thrashing it is not a problem of 'unomunting' but a problem
of sync (of course the unmount force a sync so it helps): remember that
writing can be VERY slow.

Hope this can help

Giovanni Franza

p.s.: only a word to say a big THANK to all people involved in leaf: you
are GREAT!




Robert K Coffman Jr - Info From Data Corporation wrote:
 I get the sense that all the grief I see people have with CF cards just
 isn't worth it.  I'm only using old junky IDE drives (500MB to 4GB in size)
 to boot my shorewall systems.  If one were to fail (I know they will at some
 point) I'll merely format a 100MB partition on another drive, syslinux it
 and copy the the LRPs etc from the backup made by SCP, install it and I'm
 back in business.  The drives spin down after boot so there is little wear
 on them.
 
 Is anyone running CF with absolutely no issues??
 
 - Bob Coffman
 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC6JDL8hC8JHP3DDQRAmfUAKDYFaKE9cfP+NM0utSntpU+M5VW1ACgwWk9
pSz/2cwK1+xDT4boTZ6rZQY=
=tgTk
-END PGP SIGNATURE-


---
SF.Net email is Sponsored by the Better Software Conference  EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


RE: [leaf-user] CF Card Issues

2005-07-28 Thread tom . erjavec

 Is anyone running CF with absolutely no issues??

Hi Bob,

I am running one Bering 1.2 and two Berings uClibc 2.2.3 on 
Soekris 4801 and pcengines' WRAP platforms with some different 
almost-noname flashes. I never had any problems, but the very first 
time:

Namely, fully determined to do it from scratch, I deleted the master 
boot record on my first flash. I then recreated it with fdisk but the 
flash geometry it defined was wrong. The same thing happened 
when doing it on Windows XP. With a functionally dead flash I went 
to the store where I bought it and dd-ed an original copy of a MBR 
from a brand new flash to my flash. Then it all went smoothly.

None of my flashes ever failed. I transfer packages to a flash with 
scp and I modify config files on it remotely. But I do always umount 
the flash before rebooting.

Tom


---
SF.Net email is Sponsored by the Better Software Conference  EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


Re: [leaf-user] Wanted: easy way to see load over time

2005-07-28 Thread tom . erjavec
| * the page produced could probably allow display by hour, day, week,
|   etc., with links to drill down into bars or look at a larger view.
|   Typical parameterized cgi stuff.
|
| I'm not sure when I'd have time for this, but does it strike folks as
| useful and not duplicating something we already have?

Hi Eric,

like Charles answered yesterday, I too used snmp lrp packages on my LEAF boxes 
and created views of the stored data with Cacti, a MRTG like package on a 
separate 233 MHz Redhat box. But Cacti seems rather demanding on the 
processor so my monitoring (though on a dedicated machine) was slow in 
response.

If you are after a solution that could generate the badwidth reports through 
HTTP 
directly out of the LEAF box without seriously eating the processing power for 
packet handling, that would be - by my oppinion - a nice and simple option to 
the 
user.

Tom


---
SF.Net email is Sponsored by the Better Software Conference  EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


Re: [leaf-user] Wanted: easy way to see load over time

2005-07-28 Thread Jaime Nebrera
  Hi,

 A very effective but not so easy way to see exactly what sort of traffic
 your router has been moving, is to install a NetFlow probe on your
 router. It will forward flows to a NetFlow collector, permitting further
 analysis and graphing on the traffic. You would then be able to
 categorize the traffic (for example http/ftp/mail/p2p/other for in/out,
 by host/subnet, period of time) quite precisely.
 
 Some pointers:
 * A NetFlow probe that runs on Bering-uClibc: fprobe-ulog (I compiled it
 successfully but no extensive tests done) [1]

  We are currently using nprobe without any problem in various
production environments in the Lince branch.

 * A NetFlow collector / processor: NfDump [2]

  There are plenty of those.

 * A NetFlow web-based reporting engine: NfSen [3]

  We have developed our own (propietary) as none of the open source
alternatives had the features we needed. You can see some screens at:

http://www.eneotecnologia.com/mambo/ = Software = Eneo Flow = View
screen

  Hope it helps.

-- 
Jaime Nebrera - [EMAIL PROTECTED]
Consultor TI - ENEO Tecnologia SL
Telf.- 95 455 40 62 - 619 04 55 18



---
SF.Net email is Sponsored by the Better Software Conference  EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


RE: [leaf-user] Wanted: easy way to see load over time

2005-07-28 Thread Eric Spakman
Hello Eric,

You could try the pmacct package, it may be exactly what you need.

Eric Spakman

-Original Message-
From: Eric House[EMAIL PROTECTED]
Sent: 7/28/05 2:25:45 AM
To: leafleaf-user@lists.sourceforge.net
Subject: [leaf-user] Wanted: easy way to see load over time

I'd like to be able to see at a glance what sort of traffic my LEAF
router's been moving over the past hours/days/weeks/whatever.  Is
there any way to do that now given packages available (for the uClibc
version, ideally.)

If not, I'm imagining writing something to plug into webmin.  It might
look like this:

* cron jobs to log cumulative traffic on eth0 (say), probably by
  calling 'ip addr', every 1 or 5 or 10 minutes or so.

* cgi scripts to parse the above, producing a crude bar graph using a
  borderless table

* the page produced could probably allow display by hour, day, week,
  etc., with links to drill down into bars or look at a larger view.
  Typical parameterized cgi stuff.

I'm not sure when I'd have time for this, but does it strike folks as
useful and not duplicating something we already have?

Thanks,

--Eric
-- 



[Message truncated. Tap Edit-Mark for Download to get remaining portion.]



---
SF.Net email is Sponsored by the Better Software Conference  EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


Re: [leaf-user] CF Card Issues

2005-07-28 Thread cpu memhd
Auto, LBA, or CHS?

Consider this:

- Your controller is setup for Auto

- Your CF is detected as LBA
(even though it's = 512MB, all CFs are supposed to support LBA, my
understanding)

- Next day, your BIOS is having a bad-hair-day, CF is now detected as
CHS
(but you don't notice the boot message! - this can be due to BIOS or CF
bugs... cabling, etc.)

- You begin to experience problems with corruption,
strangeness/weirdness

Could this be the problem? The question is, will the CF boot with the
wrong HD parameters, I believe the answer to this is, yes, in some
cases.

I have a few Lex CV860s. They detect my Sandisk industrial's as LBA.
But my newer CV863A detect them as CHS. I hard set = 512MB CFs to CHS.
Never a problem.





__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


---
SF.Net email is Sponsored by the Better Software Conference  EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


[leaf-user] Module for rtl8139

2005-07-28 Thread Stephen Crane
Hi all - 

I have not been able to find the rtl8139.o module for Bering uClibc. I found 
it for Bering 1.2 in the modules tar.gz in the net/ directory, but it was not 
in the Bering uClibc (I looked in the modules tar.gz for both 2.2.3 and 
2.3-beta4 (2.4.26 and 2.4.31 kernels respectively)). Do I need to compile 
this module myself, and if so, how do I go about that?

Thanks,
Stephen Crane


---
SF.Net email is Sponsored by the Better Software Conference  EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


Re: [leaf-user] Module for rtl8139

2005-07-28 Thread Larry Platzek

On Thu, 28 Jul 2005, Stephen Crane wrote:


Date: Thu, 28 Jul 2005 19:56:13 -0700
From: Stephen Crane [EMAIL PROTECTED]
To: leaf-user@lists.sourceforge.net
Subject: [leaf-user] Module for rtl8139

Hi all -

I have not been able to find the rtl8139.o module for Bering uClibc. I found
it for Bering 1.2 in the modules tar.gz in the net/ directory, but it was not
in the Bering uClibc (I looked in the modules tar.gz for both 2.2.3 and
2.3-beta4 (2.4.26 and 2.4.31 kernels respectively)). Do I need to compile
this module myself, and if so, how do I go about that?

Thanks,
Stephen Crane


Have you look in the the modules file where you downloaded your image 
from.

I do not use the rt18149.o so do not know for certain.
HTH.

Larry Platzek  [EMAIL PROTECTED]



---
SF.Net email is Sponsored by the Better Software Conference  EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/