ipf question

2008-07-08 Thread ann kok
Hi all

I am using ipf associated with ippool.  When I need to change 
/etc/ipf/ippool.conf, say add a new member in a group, ippool -F  and ippool -f 
/etc/ipf/ippool.conf doesn't seem to work.  I also tried reloading the ipfilter 
rule by 'ipf -Fa -f /etc/ipf/ipf.conf', but ipf doesn't seem to re-read the 
ippool.conf

The only way that has worked is to 'ipf -D' and then 'ipf -E', manually reload 
ippool and then reload the ipf.conf .  But this is not ideal for me since 
restarting the ipf would flush the state table, thus disconnect existing 
connection.

Is there any way to make change to ippool without dropping connectivity?

Thank you


  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Shell scripting kungfu

2008-01-18 Thread ann kok
how about this

cat file | sed 's/\/32//g' |tr -s , \n

--- [EMAIL PROTECTED] wrote:

  I need to do the following:
 
  Take a list of various strings, one of which is a
 quoted IP address, and
  extract the IPs.  (Done that.)
 
  Then take the list of IPs and convert them to a
 list of IPs with masks on
  a
  single line.
 
  IOW, I have converted the original list to this:
 
  x.x.x.x
  x.x.x.x
  x.x.x.x
  x.x.x.x
 
  Now I need to remove the newlines and add /32, to
 the end of each IP so
  that I
  have this:
  x.x.x.x/32,x.x.x.x/32,x.x.x.x/32,etc.
 
  I got close with sed, but I'm not quite there.
 
  I got this:
 
  x.x.x.x/32,x.x.x.x
  x.x.x.x/32,x.x.x.x
  x.x.x.x/32,x.x.x.x
 
  Here's the code I used:
  cat hostlist | cut -d',' -f2 | cut -d'' -f2 |
 sort | uniq | grep -v
  inet |
  sed '/[^*]$/N;s/\n */\/32,/'
 
  What am I missing?
  you are missing 'tr' I guess;
 
 chernogorsk:#cat /tmp/x
 x.x.x.x
 x.x.x.x
 x.x.x.x
 x.x.x.x
 chernogorsk:#cat /tmp/x | sed 's/$/\/32,/g'|tr -d
 \r\n  /tmp/x2; echo
  /tmp/x2
 chernogorsk:#cat /tmp/x2
 x.x.x.x/32,x.x.x.x/32,x.x.x.x/32,x.x.x.x/32,
 
 some fine tunning and getting rid of the trailing
 ',' you can add another
 sed pipe, etc.etc.
 
 ]Peter[
 
 
 
 
 
 
 
  --
  Paul Schmehl ([EMAIL PROTECTED])
  Senior Information Security Analyst
  The University of Texas at Dallas
  http://www.utdallas.edu/ir/security/
 
  ___
  freebsd-questions@freebsd.org mailing list
 

http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 
 
 
 ___
 freebsd-questions@freebsd.org mailing list

http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 



  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can you help about this script

2007-11-22 Thread ann kok
Hi Giorgos

Thank you

But my output is from your suggstion 
printf Created: %s\n, system(date +%Y%m%d);

20071122
Created: 0
20071122
Updated: 0

how can I have output as

Created: 20071122
Updated: 20071122

In additon,

ls it possible to have loop output also?

I need to have

print File No:, CMA001 

the second record is CMA002 and then CMA003 for the
3rd record

awk -f program.awk record.txt

Thank you again






--- Giorgos Keramidas [EMAIL PROTECTED]
wrote:

 On 2007-11-21 12:26, ann kok [EMAIL PROTECTED]
 wrote:
  Hi all
  how command date, hostname run in awk program?
 
  awk -F program.awk file.txt
 
 You don't use backticks...  These are a feature of
 the shell, and
 running a script through progname.awk is no longer a
 shell session.
 
 Try system(date) in your awk(1) script:
 
  program.awk
 
   BEGIN { RS = \n ; FS = | }
 
   {
 print Name:, $9
 print Created: `date`   
 print from: `hostname`
 print 
   }
 
 
 BEGIN {
 RS =\n;
 FS = |;
 }
 
 {
 printf Name:%s\n, $9;
 printf Created: %s\n,
 system(date);
 printf From:%s\n,
 system(hostname);
 }
 
 Running system(hostname) once for each file may be
 horribly
 inefficient, though.  If I were you, I'd write this
 as a *shell* script,
 which runs hostname once, stashes the result away
 in a variable, and
 reuses it all the time.
 
 Running date may be a bit less efficient than
 something like
 gettimeofday().  Perl has a gettimeofday() function
 in the Time::HiRes
 module, so it may be worth investigating if that may
 speed things up a
 bit more.
 
 A completely untested first try to do something like
 this is ...
 
 #!/usr/bin/perl -w
 
 use strict;
 
 use POSIX qw(strftime);
 use Time::HiRes qw(gettimeofday);
 
 my $hostname = `hostname`;
 my $line;
 while (defined($line = STDIN)) {
 chomp $line;
 my @fields = split /|/, $line;
 if ($#fields = 0) {
 my ($seconds, $microseconds)
 = gettimeofday();
 printf Name:%s\n,
 $fields[8];
 printf Created: %s\n,
 strftime(%Y-%m-%d
 %H:%M:%S, gmtime($seconds));
 printf From:%s\n,
 $hostname;
 }
 }
 
 

--- Giorgos Keramidas [EMAIL PROTECTED]
wrote:

 On 2007-11-21 12:26, ann kok [EMAIL PROTECTED]
 wrote:
  Hi all
  how command date, hostname run in awk program?
 
  awk -F program.awk file.txt
 
 You don't use backticks...  These are a feature of
 the shell, and
 running a script through progname.awk is no longer a
 shell session.
 
 Try system(date) in your awk(1) script:
 
  program.awk
 
   BEGIN { RS = \n ; FS = | }
 
   {
 print Name:, $9
 print Created: `date`   
 print from: `hostname`
 print 
   }
 
 
 BEGIN {
 RS =\n;
 FS = |;
 }
 
 {
 printf Name:%s\n, $9;
 printf Created: %s\n,
 system(date);
 printf From:%s\n,
 system(hostname);
 }
 
 Running system(hostname) once for each file may be
 horribly
 inefficient, though.  If I were you, I'd write this
 as a *shell* script,
 which runs hostname once, stashes the result away
 in a variable, and
 reuses it all the time.
 
 Running date may be a bit less efficient than
 something like
 gettimeofday().  Perl has a gettimeofday() function
 in the Time::HiRes
 module, so it may be worth investigating if that may
 speed things up a
 bit more.
 
 A completely untested first try to do something like
 this is ...
 
 #!/usr/bin/perl -w
 
 use strict;
 
 use POSIX qw(strftime);
 use Time::HiRes qw(gettimeofday);
 
 my $hostname = `hostname`;
 my $line;
 while (defined($line = STDIN)) {
 chomp $line;
 my @fields = split /|/, $line;
 if ($#fields = 0) {
 my ($seconds, $microseconds)
 = gettimeofday();
 printf Name:%s\n,
 $fields[8];
 printf Created: %s\n,
 strftime(%Y-%m-%d
 %H:%M:%S, gmtime($seconds));
 printf From:%s\n,
 $hostname;
 }
 }
 
 



  

Be a better pen pal. 
Text or chat with friends inside Yahoo! Mail. See how.  
http://overview.mail.yahoo.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


can you help about this script

2007-11-21 Thread ann kok
Hi all

how command date, hostname run in awk program?

awk -F program.awk file.txt

program.awk

 BEGIN { RS = \n ; FS = | }

 {
   print Name:, $9
   print Created: `date`   
   print from: `hostname`
   print 
 }

Thank you


  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Can you help about script

2007-11-14 Thread ann kok
Hi all

I don't have idea how to write this script, please
help

I have thousand records in this format indexed by
FileNo.

FileNo:001
Name:  NameA
Address1:  AddressA1
Address2:  AddressA2
Phone: PhoneA
Created by 


I need to write a script to replace those Fields 
eg: (NameA AddressA1 if it matchs the
FileNo.001...002...)
to get Data in this file


FileNo:001Name A AddressA1AddressA2  
PhoneA
FileNo:002Name B AddressB1AddressB2  
PhoneB
FileNo:003Name C AddressC1AddressC2  
PhoneC 

Thank you for your help


  

Be a better sports nut!  Let your teams follow you 
with Yahoo Mobile. Try it now.  
http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ls there any way to limit the server resource per user?

2007-08-22 Thread ann kok
Hi all

I have desktop computer to our user access to use eg:
web browser. office

ls there any way to limit the server resource per
user?

thank you


   

Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, 
photos  more. 
http://mobile.yahoo.com/go?refer=1GNXIC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ls there any way to limit the server resource per user?

2007-08-22 Thread ann kok
thank you

Can I limit the bandwidth by user what they use any
program to download and upload?

thank you

--- Peter Boosten [EMAIL PROTECTED] wrote:

 ann kok wrote:
  Hi all
  
  I have desktop computer to our user access to use
 eg:
  web browser. office
  
  ls there any way to limit the server resource per
  user?
  
 
 Have a look a login.conf (man 5 login.conf)
 
 Peter
 -- 
 http://www.boosten.org
 ___
 freebsd-questions@freebsd.org mailing list

http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 



  

Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel 
and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


grep question

2007-07-04 Thread ann kok
Hi all

how can I use grep to have the output as 60.40.2.x

eg:
60.40.2.5 
60.40.2.3 
60.40.2.7 

except 60.40.2x.x

eg:
60.40.20.5 
60.40.23.6
60.40.25.7

Thank you 




  

Park yourself in front of a world of choices in alternative vehicles. Visit the 
Yahoo! Auto Green Center.
http://autos.yahoo.com/green_center/ 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


syslogd process

2007-04-04 Thread ann kok
Hi all

I check the syslog process is running high in top in
my box.

What is it doing?

Thank you

last pid: 91113;  load averages:  0.36,  0.37,  0.29  
up
60+17:20:05  10:33:49
37 processes:  1 running, 36 sleeping
CPU states:  0.8% user,  0.0% nice,  0.4% system,
77.4% interrupt, 21.4% idle
Mem: 118M Active, 1546M Inact, 254M Wired, 65M Cache,
199M Buf, 27M Free
Swap: 4096M Total, 4096M Free

  PID USERNAME PRI NICE  SIZERES STATETIME  
WCPUCPU COMMAND
   97 root   2   0   992K   660K select 732:20 
0.05%  0.05% syslogd




 

Food fight? Enjoy some healthy debate 
in the Yahoo! Answers Food  Drink QA.
http://answers.yahoo.com/dir/?link=listsid=396545367
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


suggestion about freebsd as console server or kvm switch

2007-02-06 Thread ann kok
Hi all

I need the console server function to access the less
than 4 servers in the data center.

Do you think it is easy to buy cheap kvm or use
freebsd to do it? 

lt is easy to setup using freebsd

Thank you for your suggestion




 

Get your own web address.  
Have a HUGE year through Yahoo! Small Business.
http://smallbusiness.yahoo.com/domains/?p=BESTDEAL
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


6.2 about the vlan setup

2007-01-24 Thread ann kok
Hi all

I put the device vlan and modify and recompile the
kernel. reboot the computer. uname is showing it is
new kernel 

but I can't see the vlan interface

Do you know why?

Thank you  



 

Need Mail bonding?
Go to the Yahoo! Mail QA for great tips from Yahoo! Answers users.
http://answers.yahoo.com/dir/?link=listsid=396546091
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


error boot up from clone drive

2007-01-22 Thread ann kok
Hi 

I am trying to test the clone harddrive to boot up the
system. I got an error 

init: can't exec getty '/usr/libexec/getty' for port
/dev/tty..

but I check the clone harddive. the file is there 
/usr/libexec/getty and /dev/tty.

i am using the following to copy the production drive
to clone drive

1/ add the secondary ad2 (clone) in the computer
2/ fdisk and parition as same as the primary drive
(ad0)
3/ newfs and mount ad2 eg: /usr1 /var1  
4/ using tar command to copy file from /var/ to /var1
eg:  tar cf - var | ( cd var1; tar xvfBp - )
5/ shutdown the computer
6/ unplug ad0 and plug the IDE1 to IDE0
7/ boot up

Thank you for your help









 

Yahoo! Music Unlimited
Access over 1 million songs.
http://music.yahoo.com/unlimited
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ports - make index fail

2007-01-18 Thread ann kok
Hi all

I install 6.2 and update the port by cvsup

but i fail to make index

Thank you

  Add delta 1.26 2006.11.27.16.49.49 oliver
Shutting down connection to server
Finished successfully
f62# cd /usr/ports
f62# make index
Generating INDEX-6 - please wait..perl: not found
=== arabic/ae_fonts_mono failed
*** Error code 1
perl: not found
=== accessibility/at-poke failed
*** Error code 1
2 errors


Before reporting this error, verify that you are
running a supported
version of FreeBSD (see http://www.FreeBSD.org/ports/)
and that you
have a complete and up-to-date ports collection. 
(INDEX builds are
not supported with partial or out-of-date ports
collections -- in
particular, if you are using cvsup, you must cvsup the
ports-all
collection, and have no refuse files.)  If that is
the case, then
report the failure to [EMAIL PROTECTED] together with
relevant
details of your ports configuration (including FreeBSD
version,
your architecture, your environment, and your
/etc/make.conf
settings, especially compiler flags and WITH/WITHOUT
settings).

Note: the latest pre-generated version of INDEX may be
fetched
automatically with make fetchindex.


*** Error code 1

Stop in /usr/ports.
*** Error code 1


 

Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


script help

2006-09-05 Thread ann kok
Hi all

I would like to ask script question

1/ if i use the script to run within 1 minute, I can't
run it in the cronjob. how can I run this script
automatically?

2/ I have file file.txt as below, there are two
fields.

4 999
10 200
15 400
60 900

I write awk script to exact field 2 if the field 1
less than 10 and put it in the file result.txt. but
i am not successful!

awk '{
if ($1  10)
$2=this is result $2 when the feild 1 less than 10
}'  file.txt  result.txt

result.txt

this is result $2 when the feild 1 less than 10
this is result $2 when the feild 1 less than 10


but i would like the result as

this is result 999 when the feild 1 less than 10
this is result 200 when the feild 1 less than 10

Thank you for your help











__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: script help

2006-09-05 Thread ann kok
Dear Paul

Thank you for your mail

I want to run a script xx seconds automatically

but cronjob is limited minutes

Thank you

--- Paul Schmehl [EMAIL PROTECTED] wrote:

 
 
 --On Tuesday, September 05, 2006 11:16:26 -0700 ann
 kok 
 [EMAIL PROTECTED] wrote:
 
  Hi all
 
  I would like to ask script question
 
  1/ if i use the script to run within 1 minute, I
 can't
  run it in the cronjob. how can I run this script
  automatically?
 
 I don't understand what you mean here.  Are you
 asking how to run a cronjob 
 more than once a minute?
 
  2/ I have file file.txt as below, there are two
  fields.
 
  4 999
  10 200
  15 400
  60 900
 
  I write awk script to exact field 2 if the field
 1
  less than 10 and put it in the file result.txt.
 but
  i am not successful!
 
  awk '{
  if ($1  10)
  $2=this is result $2 when the feild 1 less than
 10
  }'  file.txt  result.txt
 
  result.txt
 
  this is result $2 when the feild 1 less than 10
  this is result $2 when the feild 1 less than 10
 
 
  but i would like the result as
 
  this is result 999 when the feild 1 less than 10
  this is result 200 when the feild 1 less than 10
 
 awk '{
  if ($1  10)
 $2=this is result $2 when the feild 1 less than
 10
  }'  file.txt  result.txt
 
 If you want awk to return the value of $2, don't
 quote it.
 
 Paul Schmehl ([EMAIL PROTECTED])
 Adjunct Information Security Officer
 The University of Texas at Dallas
 http://www.utdallas.edu/ir/security/
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


freebsd 6.0 rc.conf

2006-01-18 Thread ann kok
Hi all

I have 2 questons about rc.conf

1/ I want to stop sendmail running in the box. in the
man page in rc.sendmail. it said to put the following
in rc.conf. to completely prevent any snedmail(8)
daemons from starting. but my sendmail is still
running in the box!

sendmail_enable=NO
sendmail_submit_enable=NO
sendmail_outbound_enable=NO
sendmail_msp_queue_enable=NO

2/ When I put quagga_flags=start in rc.conf, the box
is in boot process and seems to not in logon prompt.

but I remove quagga_flags=start in rc.conf, the box
is in the logon prompt

Why?

Thank you for your help

defaultrouter=NO
quagga_enable=YES
quagga_daemons=zebra bgpd
quagga_flags=start
router_enable=NO

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


freebsd 6.0 network question and throughput

2006-01-10 Thread ann kok
Hi all

I use the ipref software (andrew P suggests) to test
the freebsd 6.0 network throughput

both the server and client are running freebsd6.0 with
intel giga em0, polling 

I did test it in switch or cross-over cable to connect
each other

it seems to have limit to 390M

Could you teach me how to max the network throught?

I use the freebsd as router

I couldn't put in the production to test it

Thank you for your help




ipref -c ipaddress
client connecting
TCP window size: 65.0 KByte (default)
[3] 0.0-10 sec390 MBytes 328
MBytes



ipref -s
Server listening on TCP port 5001
TCP window size: 64.0 KBytes (default)
[4] 0.0-10 sec390 MBytes  328
MBytes   

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


pls help network thoughput

2006-01-09 Thread ann kok
Hi Andrew and all

I installed freebsd 6.0, complied the kernal and  put
the polling setting to sysctl.conf

after rebooting, it shows kern.polling.enable is
deprecated use ifconfig (8)

Do you have any ideas?

2/ how can I page up the see previous boot message in
the console?

Thank you for your help



--- Andrew P. [EMAIL PROTECTED] wrote:

 On 1/7/06, ann kok [EMAIL PROTECTED] wrote:
  Dear Andrew
 
  Thank you for your help in advance
 
  I keep checking the loading. it is running fine.
 the
  load averages is not over to 1.0
 
 
  System info:
  Intel(R) Pentium(R) 4 CPU 3.00GHz
  2G memory
 
  for the sysctl var:
 
  kern.polling.enable=1
  kern.polling.user_frac=10
  kern.ipc.somaxconn=2048
  kern.polling.poll_in_trap=1
 
  I don't run   iperf and my switch is not
 managable.
 
  could you provide any hints to check it?
 
  and tune the system also.
 
  Thank you again
 
 
 
  last pid: 47008;  load averages:  0.00,  0.02, 
 0.02
   up
  80+11:09:17  22:42:18
  31 processes:  1 running, 30 sleeping
  CPU states: % user, % nice, % system,
  % interrupt, % idle
  Mem: 100M Active, 1639M Inact, 201M Wired, 60M
 Cache,
  199M Buf, 11M Free
 
 With such a high-spec box, you should probably be
 running
 FreeBSD 6. It has much more polling related sysctl
 tunable.
 We've got too FreeBSD 5 firewalls at our site (which
 are doing
 just fine), and I'm gonna upgrade them to 6.0 one of
 these
 days.
 
 Look at netstat -s to see how many packets are
 broken.
 Maybe your switch/cabling can't cope with the load.
 
 Where are the figures from the top output. I only
 see percent
 signs.
 
 Try running iperf. It's really easy. Just install
 the port on two
 boxes, run iperf -s on one and iperf -c other IP
 on the
 other.
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


pls help network thoughput

2006-01-06 Thread ann kok
Hi all

I use feebsd 4.11 as router with intel Giga card about
1 year

Recently, the bandwidth couldn't grow and stop to
about 383M. ls it the maximum thoughtput of the
freebsd?

have you had any experience on it?

The router is running POLLING instead of interrupt

and I had experience in freebsd 5.3. the max was about
below 200M
in the mrtg graph

Thank you for your help










__ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pls help network thoughput

2006-01-06 Thread ann kok
Dear Andrew

Thank you for your help in advance

I keep checking the loading. it is running fine. the
load averages is not over to 1.0


System info:
Intel(R) Pentium(R) 4 CPU 3.00GHz
2G memory

for the sysctl var:

kern.polling.enable=1
kern.polling.user_frac=10
kern.ipc.somaxconn=2048
kern.polling.poll_in_trap=1

I don't run   iperf and my switch is not managable.

could you provide any hints to check it?

and tune the system also.

Thank you again 



last pid: 47008;  load averages:  0.00,  0.02,  0.02  
 up
80+11:09:17  22:42:18
31 processes:  1 running, 30 sleeping
CPU states: % user, % nice, % system,
% interrupt, % idle
Mem: 100M Active, 1639M Inact, 201M Wired, 60M Cache,
199M Buf, 11M Free


--- Andrew P. [EMAIL PROTECTED] wrote:

 On 1/7/06, ann kok [EMAIL PROTECTED] wrote:
  Hi all
 
  I use feebsd 4.11 as router with intel Giga card
 about
  1 year
 
  Recently, the bandwidth couldn't grow and stop to
  about 383M. ls it the maximum thoughtput of the
  freebsd?
 
 Yes, FreeBSD has quite a few limits hardcoded which
 gives other OSes a chance to look decent in various
 tests and benchmarks.
 
 Anyway, please provide additional details. CPU
 load one of the most important factors here.
 According
 to some people, polling makes it show incorrect
 (lower)
 values. Can you run iperf with different switches?
 Can
 you try and tweak polling-related sysctl variables?
 




__ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


pls help for ipfw

2005-09-21 Thread ann kok
Hi all

my box is running freebsd5.4 with natd and ipfw

I have problem about ipfw rule for internal users to
access outside tftp server

my rules:

ipfw add allow udp from any to tftpserverip 
ipfw add allow udp from tftpserverip to any 

In the freebsd box, I can access tftp server but
internal users is hanging in the get state

Thank you for your help





__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pls help for ipfw

2005-09-21 Thread ann kok
thank you for your mail

I tried add-state but

ipfw: unrecognised option [-1] add-state

--- Lowell Gilbert
[EMAIL PROTECTED] wrote:

 Charles Swiger [EMAIL PROTECTED] writes:
 
  On Sep 21, 2005, at 4:20 PM, ann kok wrote:
   my rules:
  
   ipfw add allow udp from any to tftpserverip
   ipfw add allow udp from tftpserverip to any
  
   In the freebsd box, I can access tftp server but
   internal users is hanging in the get state
  
  TFTP may also use TCP:
  
  % grep tftp /etc/services
  tftp 69/udp # Trivial File
 Transfer
  tftp 69/tcp # Trivial File
 Transfer
 
 Except that it doesn't.  The port is reserved to
 avoid confusion, but
 the TFTP protocol doesn't run on TCP.
 
 NAT is probably hanging things up.  I think that all
 that's needed is
 to add-state on the outgoing TFTP rule.
 
 -- 
 Lowell Gilbert, embedded/networking software
 engineer, Boston area
   http://be-well.ilk.org/~lowell/
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


what is wrong for my ipfw? and how intruder can do it?

2005-08-11 Thread ann kok
Hi all

I am using freebsd 4.11 as router and run ipfw
I has ipfw rules to restrict ssh access from all
interfaces 

eg: ipfw add 22 deny log tcp from any to x.x.x.x/32 22


The firewall rule is fine when testing from outside
and can get info from /var/log/security
Deny TCP x.x.x.x:20411 x.x.x.x:22 in via dc0


But I don't know that ip can bypass the ipfw firewall
rule and can access the computer. 
Finally it was blocked by tcpwrapper. I got this from
/var/log/messages


Aug 09 06:10:29 firewall sshd[51057]: refused connect
from x.x.x.137 (x.x.x.137)

what is wrong for my ipfw? and how intruder can do it?

do you have any ideas?

Thank you

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: vlan - pls help

2005-06-14 Thread ann kok
Hi all

Thank you for your help and info
the url is useful and same as what I did

Any help is much appreciated:

I used the tcpdump in the freebsd box
the freebox  192.168.1.6 is receiving the linux box 
192.168.1.5

but why they can't ping each other!

in freebsd box. ping 192.168.1.5
PING 192.168.1.5 (192.168.1.5): 56 data bytes
ping: sendto: Host is down
ping: sendto: Host is down

but itself is fine 
ping 192.168.1.6
PING 192.168.1.6 (192.168.1.6): 56 data bytes
64 bytes from 192.168.1.6: icmp_seq=0 ttl=64
time=0.019 ms

For the mac address of all vlans, it should be same as
the parant interface. 
but I am new for it. Sorry


 

tcpdump -ei em1
tcpdump: WARNING: em1: no IPv4 address assigned
tcpdump: listening on em1
12:36:51.586368 0:3:47:c1:96:ca Broadcast arp 60: arp
who-has 192.168.1.6 tell 192.168.1.5
12:36:52.586217 0:3:47:c1:96:ca Broadcast arp 60: arp
who-has 192.168.1.6 tell 192.168.1.5
12:36:53.586346 0:3:47:c1:96:ca Broadcast arp 60: arp
who-has 192.168.1.6 tell 192.168.1.5
12:36:54.585972 0:3:47:c1:96:ca Broadcast arp 60: arp
who-has 192.168.1.6 tell 192.168.1.5

Thank you

--- Wolfgang Lausenbart [EMAIL PROTECTED]
wrote:

 Hi ann,
 
 
 as few/far as I know, you cannot ping from one vlan 
 to another. thats the clue. you have to free the
 ports
 on the switch to allow trunking.
 
 I used this

http://www.expresshosting.net/howto/VLAN-802.1q-Tagging-in-FreeBSD-For-Rate-Limiting-and-Firewalling.html
 
 howto, and could send vlan frames, but I am
 not sure if they are working. (no hardware yet)
 
 In the howto above a cisco device is configured.
 
 The em(4)driver is vlan capable, you should see
 something like VLAN_MTU
 next to UP,BROADCAST and so on. you should be
 capable to generate
 8021.q Frames.
 
 btw. you used the same arp adresses. does this make
 sense?
 I asked that here: 

http://lists.freebsd.org/pipermail/freebsd-questions/2005-June/089833.html
 
 
 good look 
 wmiuser/[EMAIL PROTECTED]
 
 
 --Nq2Wo0NMKNjxTN9z
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.6 (GNU/Linux)
 

iD8DBQFCqHSPMXftaIGFSAwRAgq8AJ0Yud3nbczrd1Wqx1CirlAoAnIsMQCdGxP1
 UwCw49+xc3Qb+QM812ALVX4=
 =1llJ
 -END PGP SIGNATURE-
 
 --Nq2Wo0NMKNjxTN9z--
 ___
 freebsd-questions@freebsd.org mailing list

http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


l2tp server

2005-06-14 Thread ann kok
Hi all

we will do the dsl service and want to use freebsd as
l2tp server.

do you have idea?

is it successful?

tks



__ 
Do you Yahoo!? 
Make Yahoo! your home page 
http://www.yahoo.com/r/hs
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


vlan - pls help

2005-06-13 Thread ann kok
Dear all

I am using freebsd 4.1 to setup 30 vlan on em1

I tried to connect linux box ip address 192.168.1.5/30
to the freebsd interface em1 with cross over cable

but they can't ping each other

1/ Could you help me how to check the problem?
2/ how can I know the vlan is working?



I did compile the kernel  pseudo-device   vlan30

reboot and then ifconfig 

ifconfig vlan0 192.168.1.2 netmask 255.255.255.252
vlan 108 vlandev em1 mtu 1500 up
ifconfig vlan1 192.168.1.6 netmask 255.255.255.252
vlan 109 vlandev em1 mtu 1500 up

vlan0:
flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu
1500
inet 192.168.1.2 netmask 0xfffc broadcast
192.168.1.3
ether 00:0e:0c:5d:75:d4
media: Ethernet autoselect (100baseTX
full-duplex)
status: active
vlan: 108 parent interface: em1
vlan1:
flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu
1500
inet 192.168.1.6 netmask 0xfffc broadcast
192.168.1.7
ether 00:0e:0c:5d:75:d4
media: Ethernet autoselect (100baseTX
full-duplex)
status: active
vlan: 109 parent interface: em1




 

 netstat -rn -f inet
Routing tables

Internet:
DestinationGatewayFlagsRefs   
  Use  Netif Expire
default202.64.230.1UGSc0  
 0em0
192.168.1/30   link#5 UC  0   
0  vlan0
192.168.1.4/30 link#6 UC  1   
0  vlan1
192.168.1.5link#6 UHLW0   
3  vlan1
202.64.230/24   link#1 UC  3  
 0em0
202.64.230.100:0c:6e:99:80:71  UHLW1  
 0em0   1175
202.64.230.13   00:04:23:ab:75:41  UHLW2  
   936em0949
202.64.230.254  00:40:05:8a:2e:01  UHLW0  
11em0736
127.0.0.1  127.0.0.1  UH  0   
0lo0

Thank you so much






__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


bridge issue

2005-02-23 Thread ann kok
Hi 

I am using freebsd 4.10. In /var/log/messages, I have
error

Feb 23 02:48:00 bridge kernel: -- loop (0)
00.41.05.8a.15.bd to ste0 from ste1 (active)
Feb 23 02:48:00 bridge kernel: -- loop (1)
00.41.05.8a.15.bd to ste1 from ste0 (active)

My setting:

net.link.ether.bridge.enable=1
net.link.ether.bridge.config=ste0,ste1,ste2,vr0
net.link.ether.bridge.ipfw=1


Can you help?



__ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


can't change pw in single user in freebsd4.10

2005-02-21 Thread ann kok
Hi all

I can't change pw in single user mode in freebsd 4.10

there is error pam_chauthtok error in service module

Please help

boot -s
mount -a /usr
passwd


Thank you



__ 
Do you Yahoo!? 
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


kern.ipc.nmbclusters in version 4.11

2005-02-16 Thread ann kok
Hi all

I installed freebsd 4.11 in amd64 machine.

but I can't set kern.ipc.nmbclusters in loader.conf

It reboots automatically!

pls help

Thank you



__ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ping question

2005-02-15 Thread ann kok
Hi Loren

Thank you for your mail again

For the monitor sofeware iptraf , I can't get it in
the port. Why freebsd doesn't support it!
I tried to install in freebsd from the tarball and got
an error messages!

I need sth to prove the traffic to those routers from
outside. 

Do you have experience the max traffic freebsd can
support? It seems to support max 230M only!

Thank you


--- Loren M. Lang [EMAIL PROTECTED] wrote:

 On Mon, Feb 14, 2005 at 11:21:03AM -0800, ann kok
 wrote:
  Hi all
  
  Thank you very much for your help
  
  The freebsd router is behind the cisco router.
  
  Do you have any experience to determine the
 traffic is
  in freebsd and cisco from outside?
  
  Can traceroute give figure to prove it?
 
 I'm not quite sure if I understand what you're
 asking, but if you want
 to see what traffic is going into/out of/through
 them, tcpdump is a good
 command-line based packet sniffer and ethereal is
 it's gui cousin.  You
 can even use tcpdump to capture data and later view
 it on a different
 computer with ethereal.  iptraf will show you
 general usage of the
 traffic crossing your router.  If your asking to see
 what path the
 traffic is taking from point A to point B, then
 traceroute is your best
 friend.
 
  
  Please help
  
  Thank you again
  
  --- Loren M. Lang [EMAIL PROTECTED] wrote:
  
   On Sat, Feb 12, 2005 at 08:50:32AM -0800, ann
 kok
   wrote:
Hi all

I ping from redhat to cisco router and freebsd
   router
but I don't understand ttl (time to live)

Cisco router has ttl=251 and freebsd router
 has 58
Does it set by the router itself?
Can I change it in freebsd?
   
   FreeBSD's default ttl, I believe, is 64, Cisco's
 is
   probably 255.  As
   long as the number of hops neccessary to get to
 a
   certain computer is
   never more than 64, there's nothing wrong with
 it. 
   The highest I've
   seen is about 30 and the Internet is going to
 have
   to grow a bit, I
   think, before it's an issue.
   

Thank you

64 bytes from 212.223.x.193: icmp_seq=1151
 ttl=251
time=100 ms
64 bytes from 212.223.x.193: icmp_seq=1152
 ttl=251
time=103 ms
64 bytes from 212.223.x.193: icmp_seq=1153
 ttl=251
time=104 ms
64 bytes from 212.223.x.193: icmp_seq=1154
 ttl=251
time=106 ms

64 bytes from 212.x.254.4: icmp_seq=1182
 ttl=58
time=105 ms
64 bytes from 212.x.254.4: icmp_seq=1183
 ttl=58
time=105 ms
64 bytes from 212.x.254.4: icmp_seq=1184
 ttl=58
time=104 ms
64 bytes from 212.x.254.4: icmp_seq=1185
 ttl=58
time=108 ms

   
 __
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam
   protection around 
http://mail.yahoo.com 
   
 ___
freebsd-questions@freebsd.org mailing list
   
  
 

http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
   [EMAIL PROTECTED]
   
   -- 
   I sense much NT in you.
   NT leads to Bluescreen.
   Bluescreen leads to downtime.
   Downtime leads to suffering.
   NT is the path to the darkside.
   Powerful Unix is.
   
   Public Key:
   ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
   Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3
   7A46 E4A3 280C

   ___
   freebsd-questions@freebsd.org mailing list
  
 

http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to
   [EMAIL PROTECTED]
   
  
  
  __
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam
 protection around 
  http://mail.yahoo.com 
 
 -- 
 I sense much NT in you.
 NT leads to Bluescreen.
 Bluescreen leads to downtime.
 Downtime leads to suffering.
 NT is the path to the darkside.
 Powerful Unix is.
 
 Public Key:
 ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
 Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3
 7A46 E4A3 280C
  
 




__ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ping question

2005-02-14 Thread ann kok
Hi all

Thank you very much for your help

The freebsd router is behind the cisco router.

Do you have any experience to determine the traffic is
in freebsd and cisco from outside?

Can traceroute give figure to prove it?

Please help

Thank you again

--- Loren M. Lang [EMAIL PROTECTED] wrote:

 On Sat, Feb 12, 2005 at 08:50:32AM -0800, ann kok
 wrote:
  Hi all
  
  I ping from redhat to cisco router and freebsd
 router
  but I don't understand ttl (time to live)
  
  Cisco router has ttl=251 and freebsd router has 58
  Does it set by the router itself?
  Can I change it in freebsd?
 
 FreeBSD's default ttl, I believe, is 64, Cisco's is
 probably 255.  As
 long as the number of hops neccessary to get to a
 certain computer is
 never more than 64, there's nothing wrong with it. 
 The highest I've
 seen is about 30 and the Internet is going to have
 to grow a bit, I
 think, before it's an issue.
 
  
  Thank you
  
  64 bytes from 212.223.x.193: icmp_seq=1151 ttl=251
  time=100 ms
  64 bytes from 212.223.x.193: icmp_seq=1152 ttl=251
  time=103 ms
  64 bytes from 212.223.x.193: icmp_seq=1153 ttl=251
  time=104 ms
  64 bytes from 212.223.x.193: icmp_seq=1154 ttl=251
  time=106 ms
  
  64 bytes from 212.x.254.4: icmp_seq=1182 ttl=58
  time=105 ms
  64 bytes from 212.x.254.4: icmp_seq=1183 ttl=58
  time=105 ms
  64 bytes from 212.x.254.4: icmp_seq=1184 ttl=58
  time=104 ms
  64 bytes from 212.x.254.4: icmp_seq=1185 ttl=58
  time=108 ms
  
  __
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam
 protection around 
  http://mail.yahoo.com 
  ___
  freebsd-questions@freebsd.org mailing list
 

http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 -- 
 I sense much NT in you.
 NT leads to Bluescreen.
 Bluescreen leads to downtime.
 Downtime leads to suffering.
 NT is the path to the darkside.
 Powerful Unix is.
 
 Public Key:
 ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
 Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3
 7A46 E4A3 280C
  
 ___
 freebsd-questions@freebsd.org mailing list

http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ping question

2005-02-12 Thread ann kok
Hi all

I ping from redhat to cisco router and freebsd router
but I don't understand ttl (time to live)

Cisco router has ttl=251 and freebsd router has 58
Does it set by the router itself?
Can I change it in freebsd?

Thank you

64 bytes from 212.223.x.193: icmp_seq=1151 ttl=251
time=100 ms
64 bytes from 212.223.x.193: icmp_seq=1152 ttl=251
time=103 ms
64 bytes from 212.223.x.193: icmp_seq=1153 ttl=251
time=104 ms
64 bytes from 212.223.x.193: icmp_seq=1154 ttl=251
time=106 ms

64 bytes from 212.x.254.4: icmp_seq=1182 ttl=58
time=105 ms
64 bytes from 212.x.254.4: icmp_seq=1183 ttl=58
time=105 ms
64 bytes from 212.x.254.4: icmp_seq=1184 ttl=58
time=104 ms
64 bytes from 212.x.254.4: icmp_seq=1185 ttl=58
time=108 ms

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ping question

2005-02-12 Thread ann kok
Hi all

I ping from redhat to cisco router and freebsd router
but I don't understand ttl (time to live)

Cisco router has ttl=251 and freebsd router has 58
Does it set by the router itself?
Can I change it in freebsd?

Thank you

64 bytes from 212.223.x.193: icmp_seq=1151 ttl=251
time=100 ms
64 bytes from 212.223.x.193: icmp_seq=1152 ttl=251
time=103 ms
64 bytes from 212.223.x.193: icmp_seq=1153 ttl=251
time=104 ms
64 bytes from 212.223.x.193: icmp_seq=1154 ttl=251
time=106 ms

64 bytes from 212.x.254.4: icmp_seq=1182 ttl=58
time=105 ms
64 bytes from 212.x.254.4: icmp_seq=1183 ttl=58
time=105 ms
64 bytes from 212.x.254.4: icmp_seq=1184 ttl=58
time=104 ms
64 bytes from 212.x.254.4: icmp_seq=1185 ttl=58
time=108 ms

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


bridge

2005-01-28 Thread ann kok
Hi all

I installed 5.3 and configured bridge.

But it can't work.

Does it support em0 1000M NIC?

Thank you



__ 
Do you Yahoo!? 
Yahoo! Mail - 250MB free storage. Do more. Manage less. 
http://info.mail.yahoo.com/mail_250
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


icmp message in the log file

2004-12-29 Thread ann kok
Hi all

I got big bandwidth traffic from outside
and there are messages the following 

and I don't know what is the meaning!

eg: ICMP:52.29 0.108.84.77

in /var/log/messages

Thank you


 ICMP:52.29 0.108.84.77 202.64.230.x in via rl0
 ICMP:20.159 0.18.189.204 202.64.230.x in via rl0
 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


help about sysctl.conf

2004-11-26 Thread ann kok
Hi all

I got error message /var/log/messages

my system is running amd64 freebsd 5.3 with 2G memory
but don't have idea why don't have enough memory

thank you


# sysctl -a |grep physmem
118Nov 26 13:41:08  snmpd[5849]: sysctl: physmem:
Cannot allocate memory
118Nov 26 13:44:53  snmpd[5901]: sysctl: physmem:
Cannot allocate memory
hw.physmem: 2139078656

and I also put the sysctl.conf 

kern.polling.enable=1
kern.polling.user_frac=10
kern.ipc.somaxconn=2048
kern.polling.poll_in_trap=1
net.inet.tcp.sendspace=65536
net.inet.tcp.recvspace=65536
net.inet.udp.recvspace=65536





__ 
Do you Yahoo!? 
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


error: sysctl: physmem: Cannot allocate memory

2004-11-12 Thread ann kok
Hi all

I am running freebsd5.3 AMD and

I got error message from startup when Iadd the snmp

snmpd_enable=YES
snmpd_flags=-as -p /var/run/snmpd.pid

sysctl: physmem: Cannot allocate memory



What is the problem?

Thank you



__ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


5.3 amd64 release

2004-11-09 Thread ann kok
Hi all

I tried the new release and have the problem

- I can't use the secureCRT to connect the box
- I used the putty but suddenly timeout always

how can I fix the both problems?

Thank you



__ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.3 amd64 release ssh connection problem

2004-11-09 Thread ann kok
HI Nelis

Thank you

I added it but can't help

for the secureCRT: the error messages:
Unable to authenicate using of any authenicate method

for the putty: suddenly disconnect when the login is
idle about 2 minutes

This hasn't happened in freebsd 5.2.1 and 4.0 but this
problem also had in 5.3 R2 

Thank you


--- Nelis Lamprecht [EMAIL PROTECTED] wrote:

 On Mon, 8 Nov 2004 19:12:24 -0800 (PST), ann kok
 [EMAIL PROTECTED] wrote:
  Hi all
  
  I tried the new release and have the problem
  
  - I can't use the secureCRT to connect the box
  - I used the putty but suddenly timeout always
  
  how can I fix the both problems?
  
 
 Sounds to me like you having a DNS problem. Try
 adding the hostname/ip
 of the machines connecting using secureCRT/putty to
 the servers
 /etc/hosts file.
 
 Nelis
 ___
 [EMAIL PROTECTED] mailing list

http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 




__ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


keyboard question

2004-10-19 Thread ann kok
Hi all

I have problem about keyboard

When I remotely reboot the server without keyboard
present, the keyboard is not function when I plug in 

How can I make it working? The server automicatlly
detects the keyboard

Why this problem is not in linux?

Thank you 





___
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: port problem in AMD 64

2004-10-15 Thread ann kok
Hi David

Thank you for your mail

1/ I succeed to install cvsup-without-gui by port
but failed to run it!
/libexec/ld-elf.so.1: Shared object libm.so.3 not
found

2/ I tried to install package, but can't get this
cvsup package!


ann# cd cvsup-without-gui/
ann# make install clean
===  Vulnerability check disabled
 cvsup-without-gui.amd64.tar.bz2 doesn't seem to
exist in /usr/ports/distfiles/.
 Attempting to fetch from
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/obrien/.
Receiving cvsup-without-gui.amd64.tar.bz2 (335735
bytes): 100%
335735 bytes transferred in 0.8 seconds (424.93 kBps)
===  Extracting for cvsup-without-gui-16.1h
 Checksum OK for cvsup-without-gui.amd64.tar.bz2.
===  Patching for cvsup-without-gui-16.1h
===  Configuring for cvsup-without-gui-16.1h
===  Installing for cvsup-without-gui-16.1h
===   Generating temporary packing list
===  Checking if net/cvsup-without-gui already
installed
install  -s -o root -g wheel -m 555
/usr/ports/net/cvsup-without-gui/work/cvsup-without-gui.amd64
/usr/local/bin/cvsup
cd /usr/local ;  /usr/sbin/chown root:wheel bin/cvsup
sbin/cvsupd bin/cvpasswd ;  /bin/chmod 555 bin/cvsup
sbin/cvsupd bin/cvpasswd
===   Registering installation for
cvsup-without-gui-16.1h
=== SECURITY REPORT: 
  This port has installed the following files
which may act as network
  servers and may therefore pose a remote security
risk to the system.
/usr/local/bin/cvsup

  If there are vulnerabilities in these programs
there may be a security
  risk to the system. FreeBSD makes no guarantee
about the security of
  ports included in the Ports Collection. Please
type 'make deinstall'
  to deinstall the port if this is a concern.

  For more information, and contact details about
the security
  status of this software, see the following
webpage: 
http://www.cvsup.org/
===  Cleaning for cvsup-without-gui-16.1h




ann# /usr/local/bin/cvsup -g -L 2
/usr/share/examples/cvsup/ports-supfile
/libexec/ld-elf.so.1: Shared object libm.so.3 not
found

 



--- David Syphers [EMAIL PROTECTED] wrote:

 On Tuesday 07 September 2004 07:18 pm, ann kok
 wrote:
  Hi all
 
  I can't install cvsup-without-gui and said it
  doesn't support amd64
 
  How can I upgrade the /usr/ports without cvsup?
 
 First of all, you posted this question earlier
 today. Do not send multiple 
 copies of the same message to the list, certainly
 not within a few hours of 
 each other.
 
 Secondly, cvsup will currently build on AMD64
 because it was fixed for this 
 platform a couple months ago. You apparently have an
 older ports collection 
 than this. You then have two options: 1. install
 cvsup as a package rather 
 than a port, 2. download the tarball with the entire
 ports collection 

(ftp.freebsd.org/pub/FreeBSD/ports/ports/ports.tar.gz),
 delete your 
 current /usr/ports, and untar this file to make a
 new ports directory.
 
 -David
 
 -- 
 +++ Divide By Cucumber Error. Please
 Reinstall Universe And Reboot. +++
 ___
 [EMAIL PROTECTED] mailing list

http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: port problem in AMD 64

2004-10-15 Thread ann kok
I am using the 5.2.1-RELEASE

When I tried to install net-snmp
and failed also!

Do you have any idea?

Thank you

/usr/bin/ld:
/usr/local/lib/perl5/5.6.1/mach/CORE/libperl.a(perl.o):
relocation R_X86_64_32S can not be used when making a
shared object; recompile with -fPIC
/usr/local/lib/perl5/5.6.1/mach/CORE/libperl.a: could
not read symbols: Bad value
*** Error code 1

Stop in
/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.1.2/perl/agent.
*** Error code 1

Stop in
/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.1.2/perl.
*** Error code 1

Stop in
/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.1.2.
*** Error code 1

Stop in /usr/ports/net-mgmt/net-snmp.



--- nbco [EMAIL PROTECTED] wrote:

 On Friday 15 October 2004 16:32, ann kok wrote:
  1/ I succeed to install cvsup-without-gui by port
  but failed to run it!
  /libexec/ld-elf.so.1: Shared object libm.so.3
 not
  found
 
 Hi there,
 You don't say what version of freeBSD you are
 running. 
 
 This sounds like a library problem see: 

http://lists.freebsd.org/pipermail/freebsd-current/2004-October/040013.html
 .nbco
 ___
 [EMAIL PROTECTED] mailing list

http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 




__
Do you Yahoo!?
Y! Messenger - Communicate in real time. Download now. 
http://messenger.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: port problem in AMD 64

2004-10-15 Thread ann kok
Dear all

How can we get the old version of cvsup?

and 

how can we rebuild the perl?
ls it /usr/ports/net/perl? 

Thank you again


--- Kris Kennaway [EMAIL PROTECTED] wrote:

 On Fri, Oct 15, 2004 at 06:16:37PM +0100, nbco
 wrote:
  On Friday 15 October 2004 16:32, ann kok wrote:
   1/ I succeed to install cvsup-without-gui by
 port
   but failed to run it!
   /libexec/ld-elf.so.1: Shared object libm.so.3
 not
   found
  
  Hi there,
  You don't say what version of freeBSD you are
 running. 
  
  This sounds like a library problem see: 
 

http://lists.freebsd.org/pipermail/freebsd-current/2004-October/040013.html
  .nbco
 
 You'll have to use an older version of the amd64
 cvsup package on
 5.2.1 since the current one is linked against
 libraries that are only
 present in 5.3.
 
 kris
 
 

 ATTACHMENT part 2 application/pgp-signature 





___
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


amd64

2004-09-07 Thread ann kok
Hi all

I can't install cvsup-without-gui and said it doesn't
support amd64

how can I upgrade the /usr/ports?

Thank you

make install clean
===  cvsup-without-gui-16.1h is only for alpha i386
sparc64, and you are running amd64.



__
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


port problem in AMD 64

2004-09-07 Thread ann kok
Hi all
 
I can't install cvsup-without-gui and said it
doesn't support amd64

How can I upgrade the /usr/ports without cvsup?

Thank you

make install clean
===  cvsup-without-gui-16.1h is only for alpha i386
sparc64, and you are running amd64.
 
 



___
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


download speed question

2004-08-15 Thread ann kok
Hi all

Do you think there is different for the download speed
using wget in https and http?

If yes, ls it big different?

Thank you



__
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


freebsd router

2004-08-05 Thread ann kok
Hello

I am running zebra in freebsd 5.2 as router

Can you teach me how to optimize the box to designate
router only?

I don't need to run any application

and Which command to monitor and box performance and
the network also

Thank you for your help




__
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


pls advice about full deplux

2002-12-30 Thread ann kok
Hi all

I have freebsd as bridge function

Port signal showing in the switch: fxp1 doesn't show
full duplex
But ifconfig: fxp1 shows full duplex

How do I know which message is correct?

please help

my setting as follows:


file: /etc/rc.conf

ifconfig_fxp0=inet 192.168.0.10 netmask 255.255.225.0
media 100baseTX mediaopt full-duplex
ifconfig_fxp1=media 100baseTX mediaopt full-duplex


bridge# ifconfig -a
fxp0:
flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST
mtu 1500
inet 192.168.0.10 netmask 0xf000 broadcast
255.255.255.255
ether 00:03:47:7d:42:74
media: Ethernet 100baseTX full-duplex
status: active
fxp1:
flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST
mtu 1500
ether 00:02:b3:a1:4c:69
media: Ethernet 100baseTX full-duplex
status: active

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



can

2002-12-16 Thread ann kok
Hi all

I added the second network card in freebsd 4.7
after reboot, I got fxp1 from dmesg

but I couldn't add any ip address in the fxp1
even from rc.conf or /stand/sysinstall

Please help and thanks much

fxp1:
flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu
1500
ether 00:02:b3:a2:8c:69
media: Ethernet 100baseTX full-duplex
status: active

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



can't add the ip address in second netword card?

2002-12-16 Thread ann kok
Hi all

I added the second network card in freebsd 4.7
after reboot, I got fxp1 from dmesg

but I couldn't add any ip address in the fxp1
even from rc.conf or /stand/sysinstall

Please help and thanks much

fxp1:
flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu
1500
ether 00:02:b3:a2:8c:69
media: Ethernet 100baseTX full-duplex
status: active

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Help to setup ip address in fxp1

2002-12-16 Thread ann kok
Hi all

Why I couldn't set the same network segment in

fxp0 and fxp1


When  fxp0 64.142.32.1 255.255.240.0

and 

fxp1 couldn't set as 64.142.32.9 255.255.240.0

Tks for your help


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Help to setup ip address in fxp1

2002-12-16 Thread ann kok
Hi all 

Tks much for your reply



Now I setup subnetting and put fxp1 as 64.142.32.33/27
and the fxp0 as 64.142.32.8 255.255.240.0
and have the following routes from zebra


S* 0.0.0.0/0 [1/0] via 64.142.32.1, fxp0
C* 64.142.32.0/24 is directly connected, fxp0
C* 64.142.32.32/27 is directly connected, fxp1
C* 127.0.0.0/8 is directly connected, lo0

Now I have another computer as 64.142.32.38/27 which
can't go to internet
it can ping 64.142.32.8 
but can ping 64.142.32.1 which is the another route of
network card

In the Router, it also can't ping 64.142.38.38
Do you have any idea? Please help



Router
64.142.32.1/20
 |
 |
 |
 |
 |
64.142.32.8/20 
[Router] 
64.142.32.33/27
 |
 |
 |
 |
 |
64.142.32.38/27
[Computer]



--- Brian [EMAIL PROTECTED] wrote:
 well the routes that come about as a result of both
 of those overlap, they
 are both a member of 64.142.32.0 255.255.240.0, the
 connected routes will be
 the same.  Traffic that is destined for that subnet,
 the box wouldnt know
 what to do with it.
 
 Brian
 
 - Original Message -
 From: ann kok [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, December 16, 2002 10:06 AM
 Subject: Help to setup ip address in fxp1
 
 
  Hi all
 
  Why I couldn't set the same network segment in
 
  fxp0 and fxp1
 
 
  When  fxp0 64.142.32.1 255.255.240.0
 
  and
 
  fxp1 couldn't set as 64.142.32.9 255.255.240.0
 
  Tks for your help
 
 
  __
  Do you Yahoo!?
  Yahoo! Mail Plus - Powerful. Affordable. Sign up
 now.
  http://mailplus.yahoo.com
 
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body
 of the message
 
 


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



unknow chars from dmesg

2002-12-14 Thread ann kok
Hi all

I got the following unknown chars from dmesg

What is this meaning?

Thank you

mail# dmesg 
;1H\^[[m\^[[19;2H\^[[m\^[[20;2H\^[[m\^[[21;2H\^[[m\^[[9;1H\^[[m\^[[7m\^[[m\^[[23;1H\^[[m\^[[23;1H\^[[m\^[[1m\^[[m\^[[1m\^[[m\^[[9;1H\^[[9;1H\^[[m\^[[m\^[[23;1H\^[[m\^[[23;1H\^[[m\^[[1m\^[[m\^[[1m\^[[m\^[[9;1H\^[[m\^[[19;1H\^[[m\^[[20;1H\^[[m\^[[21;1H\^[[m\^[[19;2H\^[[m\^[[21;2H\^[[m\^[[19;27H\^[[m\^[[8;1H\^[[m\^[[7m\^[[m\^[[23;1H\^[[m\^[[23;1H\^[[m\^[[1m\^[[m\^[[1m\^[[m\^[[8;1H\^[[8;1H\^[[m\^[[m\^[[23;1H\^[[m\^[[23;1H\^[[m\^[[1m\^[[m\^[[1m\^[[m\^[[8;1H\^[[m\^[[19;1H\^[[m\^[[20;1H\^[[m\^[[21;1H\^[[m\^[[19;2H\^[[m\^[[20;2H\^[[m\^[[21;2H\^[[m\^[[9;1H\^[[m\^[[7m\^[[m\^[[23;1H\^[[m\^[[23;1H\^[[m\^[[1m\^[[m\^[[1m\^[[m\^[[9;1H\^[[m\^[[19;1H\^[[m\^[[20;1H\^[[m\^[[21;1H\^[[m\^[[19;1H\^[[m\^[[1m\^[[m\^[[1m\^[[m\^[[1m\^[[m\^[[m\^[[m\^[[H\^[[Javail
memory = 513114112 (501088K bytes)
Preloaded elf kernel kernel at 0xc0823000.
Preloaded mfs_root /mfsroot at 0xc0823084.
Pentium Pro MTRR support enabled

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



ifconfig and network card

2002-10-15 Thread ann kok

Dear all

I have question about ifconfig

What is the different when I set network card by
ifconfig

auto-select

and

ifconfig_fxp0=inet netmask media 100baseTX mediaopt
full-duplex

what is the advantage or disadvantage?

I only know the upload speed is different? Why

Thank you very much for your help

__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos  More
http://faith.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message