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

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 > l

Re: can you help about this script

2007-11-22 Thread ann kok
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: > &

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 _

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 AddressA

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.

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

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 worl

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%

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 __

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

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 d

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_mon

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: &g

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 fi

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_

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

pls help network thoughput

2006-01-09 Thread ann kok
nk 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 >

Re: pls help network thoughput

2006-01-06 Thread ann kok
esses: 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: &

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

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: > >

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 u

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

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-

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.16

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

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.eth

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.y

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.

ping question

2005-02-15 Thread ann kok
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 he

Re: ping question

2005-02-14 Thread ann kok
ECTED]> 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 ro

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 byt

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 byt

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 _

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 _

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 <118>Nov 26 13:41:08 snmpd[5849]: sysctl: physmem: Cannot allocate memory <118>Nov 26 13:44:53 snmpd[5901]:

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!?

Re: 5.3 amd64 release ssh connection problem

2004-11-09 Thread ann kok
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 s

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

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 __

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

Re: port problem in AMD 64

2004-10-15 Thread ann kok
. *** 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 ob

Re: port problem in AMD 64

2004-10-15 Thread ann kok
-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

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. __

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!?

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 __

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 ___

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

Re: Help to setup ip address in fxp1

2002-12-16 Thread ann kok
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]>

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

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=8843 mtu 1500 ether 00:02:b3:a2:8c:69 media: Ethernet 100baseTX

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=8843 mtu 1500 ether 00:02:b3:a2:8c:69 media: Ethernet 100baseTX

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\^[

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