Re: can not destroy ng interface

2012-01-11 Thread Nikos Vassiliadis
On 1/12/2012 7:53 AM, Коньков Евгений wrote: Hi, Freebsd-questions. # ifconfig ng0 ng0: flags=88d1 metric 0 mtu 1400 nd6 options=29 meta-up# ifconfig ng0 destroy ifconfig: SIOCIFDESTROY: Invalid argument why I can not destroy interface? The destroy ifconfig command is meant to be

Re: little things

2012-01-11 Thread Dan Nelson
In the last episode (Jan 11), Gmail.com said: > hello all, i like to know when freebsd foundation will be make ipfw dscp > and ipfw add 1 allow all from any to any ontime 17:00 to 18:00, and help > us to obtain traffic interface more easy how to linux simple ifconfig > command, show us tx/rx traffi

can not destroy ng interface

2012-01-11 Thread Коньков Евгений
Hi, Freebsd-questions. # ifconfig ng0 ng0: flags=88d1 metric 0 mtu 1400 nd6 options=29 meta-up# ifconfig ng0 destroy ifconfig: SIOCIFDESTROY: Invalid argument why I can not destroy interface? -- С уважением, Коньков mailto:kes-...@yandex.ru __

little things

2012-01-11 Thread Gmail.com
hello all, i like to know when freebsd foundation will be make ipfw dscp and ipfw add 1 allow all from any to any ontime 17:00 to 18:00, and help us to obtain traffic interface more easy how to linux simple ifconfig command, show us tx/rx traffic, this help us in the construction manager systems

Re: Network throughput

2012-01-11 Thread Vinicius Vianna
On 11/01/12 09:24, Mike Woods wrote: Hi guys, Been a while since i've had need to post to the list :) I'm trying to gather network throughput information on a box of ours and I'm having a little problem, the throughput is to be measured on a per-minute basis and i've been trying to use netstat

Re: pkg_add -r and a local package repo

2012-01-11 Thread Rick Miller
On Wed, Jan 11, 2012 at 5:03 PM, Randal L. Schwartz wrote: > > I've figured out how to point PACKAGESITE at a URL of my choosing. > > First, it looks like pkg_add -r needs the full package name. Is there > any way to give it "zsh" instead of "zsh-4.3.15"? I've read somewhere that you should be a

[ANN] tzdialog(8) version 1.2 released

2012-01-11 Thread Devin Teske
Hi List, I'd like to announce a new version of tzdialog(8) available at http://druidbsd.sf.net/ This version sync's up with the HEAD version of tzsetup(8), including MFC of r198267 r198350 r210243 r220172 r222139 and r227011 as well as a few other minor modifications/bug-fixes. I've also request

Re: pkg_add -r and a local package repo

2012-01-11 Thread Matthew Seaman
On 11/01/2012 22:32, Randal L. Schwartz wrote: >> "Jason" == Jason Helfman writes: > > Jason> Why not just point the PACKAGESITE to the Latest directory of the tree > you > Jason> want to install? > > I am, but it has zsh-4.3.15.tbz and not zsh.tbz, so I have to pkg_add -r > "zsh-4.3.15", a

Re: pkg_add -r and a local package repo

2012-01-11 Thread Jason Helfman
On Wed, Jan 11, 2012 at 02:23:48PM -0800, Chuck Swiger thus spake: On Jan 11, 2012, at 2:03 PM, Randal L. Schwartz wrote: First, it looks like pkg_add -r needs the full package name. Is there any way to give it "zsh" instead of "zsh-4.3.15"? Create a symlink from zsh-4.3.15.tbz to zsh.tbz on

Re: pkg_add -r and a local package repo

2012-01-11 Thread Randal L. Schwartz
> "Jason" == Jason Helfman writes: Jason> Why not just point the PACKAGESITE to the Latest directory of the tree you Jason> want to install? I am, but it has zsh-4.3.15.tbz and not zsh.tbz, so I have to pkg_add -r "zsh-4.3.15", and that's the annoying part. -- Randal L. Schwartz - Stonehe

Re: pkg_add -r and a local package repo

2012-01-11 Thread Chuck Swiger
On Jan 11, 2012, at 2:03 PM, Randal L. Schwartz wrote: > First, it looks like pkg_add -r needs the full package name. Is there > any way to give it "zsh" instead of "zsh-4.3.15"? Create a symlink from zsh-4.3.15.tbz to zsh.tbz on the package server. You can also control this at the time of buildi

pkg_add -r and a local package repo

2012-01-11 Thread Randal L. Schwartz
I've figured out how to point PACKAGESITE at a URL of my choosing. First, it looks like pkg_add -r needs the full package name. Is there any way to give it "zsh" instead of "zsh-4.3.15"? Second, it looks like it won't install dependencies. This is a problem. Can I get it to search and install

Re: Apache segmentation fault

2012-01-11 Thread Robert Fitzpatrick
On 1/11/2012 4:39 PM, Waitman Gobble wrote: > sorry, somehow i missed that paragraph about commenting out the other > modules... hope i didn't send you on a wild goose chase for nothing. but > the behavior you describe sounds like what happens running with a > mismatched php.ini... i once tried to

Re: Apache segmentation fault

2012-01-11 Thread Waitman Gobble
On Jan 11, 2012 12:54 PM, "Waitman Gobble" wrote: > > > On Jan 11, 2012 12:39 PM, "Robert Fitzpatrick" wrote: > > > > Upgraded php52 to php53 by pkg_delete of php5 and porinstall php52. Then > > I had to manually resort back to php52 by pkg_delete and then > > portinstall and now getting a seg fa

Re: Apache segmentation fault

2012-01-11 Thread Waitman Gobble
On Jan 11, 2012 12:39 PM, "Robert Fitzpatrick" wrote: > > Upgraded php52 to php53 by pkg_delete of php5 and porinstall php52. Then > I had to manually resort back to php52 by pkg_delete and then > portinstall and now getting a seg fault when restarting apache22 on this > FreeBSD 8.1 server. I narr

Apache segmentation fault

2012-01-11 Thread Robert Fitzpatrick
Upgraded php52 to php53 by pkg_delete of php5 and porinstall php52. Then I had to manually resort back to php52 by pkg_delete and then portinstall and now getting a seg fault when restarting apache22 on this FreeBSD 8.1 server. I narrowed it down to not the php module, but the two ldap modules I ha

Re: Network throughput

2012-01-11 Thread Dan Nelson
In the last episode (Jan 11), Ott Köstner said: > On 11.01.2012 16:57, Matthew Seaman wrote: > > Yes -- mrtg is nice, but it relies on the snmp interface counters, and > > in this case with Gb traffic levels a 32bit counter will wrap in a few > > minutes. mrtg samples the interface counter every 5

Re: Network throughput

2012-01-11 Thread Ott Köstner
On 11.01.2012 16:57, Matthew Seaman wrote: Yes -- mrtg is nice, but it relies on the snmp interface counters, and in this case with Gb traffic levels a 32bit counter will wrap in a few minutes. mrtg samples the interface counter every 5 minutes IIRC, so would probably be confused by that wrap-a

Re: Network throughput

2012-01-11 Thread Коньков Евгений
Здравствуйте, Mike. Вы писали 11 января 2012 г., 13:24:00: MW> Hi guys, Been a while since i've had need to post to the list :) MW> I'm trying to gather network throughput information on a box of ours MW> and I'm having a little problem, the throughput is to be measured on a MW> per-minute bas

Re: mkisofs increasing iso size by 100 MB

2012-01-11 Thread Jan Henrik Sylvester
On 01/-10/-28163 20:59, Amitabh Kant wrote: I am trying to customise the bsdinstall auto script. I can mount the iso (amd64 arch / 9.0 RELEASE) and change the shell script as per my requirement. Once I try to re-create the iso file using mkisofs utility, the size of the final iso increases by 10

Re: Network throughput

2012-01-11 Thread Mike Woods
Quoting Matthew Seaman : On 11/01/2012 13:47, Mike Woods wrote: Also, Googling for 'netflow freebsd' produces a lot of interesting looking pages. I've had a quick look and that might be usefull, I still need to figure out how to get the data out in a form that's usefull to me but it has prom

Re: Network throughput

2012-01-11 Thread Matthew Seaman
On 11/01/2012 12:07, Ott Köstner wrote: > On 11.01.2012 13:24, Mike Woods wrote: >> > >> > I'm trying to gather network throughput information on a box of ours >> > and I'm having a little problem, the throughput is to be measured on a >> > per-minute basis and i've been trying to use netstat for t

Re: Network throughput

2012-01-11 Thread Matthew Seaman
On 11/01/2012 13:47, Mike Woods wrote: >> Also, Googling for 'netflow freebsd' produces a lot of interesting >> looking pages. > > I've had a quick look and that might be usefull, I still need to figure > out how to get the data out in a form that's usefull to me but it has > promise :) Another p

Re: Network throughput

2012-01-11 Thread Mike Woods
Quoting Matthew Seaman : ntop? I considered this but what I really need is something I can run purley from the command line "one shoot" like netstat (but without counter resetting problems) Also, Googling for 'netflow freebsd' produces a lot of interesting looking pages. I've had a q

Re: BSD equivalent of GNU/Linux cp -rpu ?

2012-01-11 Thread Polytropon
On Wed, 11 Jan 2012 06:00:37 -0500, Thomas Mueller wrote: > the -u flag, for update, means not to copy files that > exist in both the source and destination unless the > source version is newer. Hmmm... sounds as if you mean cpdup (which you'll find in the ports collection). > Would I use somet

Re: Updating FreeBSD

2012-01-11 Thread Артем Каялайнен
2012/1/11 Volodymyr Kostyrko : > How about compairing /etc/src.conf? Wow, you are 100% right. My bad. Thanks. --- With Best Regards / Ystävällisin terveisin Artem Kajalainen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/

Re: Network throughput

2012-01-11 Thread Ott Köstner
On 11.01.2012 13:24, Mike Woods wrote: > > I'm trying to gather network throughput information on a box of ours > and I'm having a little problem, the throughput is to be measured on a > per-minute basis and i've been trying to use netstat for this (count > now - count before/timeperiod) however ne

Re: Updating FreeBSD

2012-01-11 Thread Volodymyr Kostyrko
Артем Каялайнен wrote: I don't have any options in make.conf on first machine, nor on second machine. I've googled a little and found, that _p is profiling library and it can be ignored with -DNO_PROFILE option. But in this case, How about compairing /etc/src.conf? -- Sphinx of black quartz ju

Updating FreeBSD

2012-01-11 Thread Артем Каялайнен
Hello, I'm trying to update my FreeBSD install on two servers. They are mostly identical. So, I've builded world and kernel on first srv, updated it, without any problems. Then exported /usr/src and /usr/obj by NFS to another machine, then installed kernel, but can't install world. It says: --

doscmd

2012-01-11 Thread kyle hunter
Hey, Each time I run doscmd It fails and gives me: # doscmd ax=ff00 bx= cx=3000 dx= si= di= sp=7ffe bp= cs= ss=9800 ds= es= ip= eflags=b0206 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 addb %al,(%bx+%si) doscmd: fatal error unsupported instruction I'm n

Re: FreeBSD9 + PHP

2012-01-11 Thread František Farka
On Tue, 10 Jan 2012 17:14:30 +0100 Damien Fleuriot wrote: > > > On 1/10/12 4:34 PM, Alejandro Imass wrote: > > On Tue, Jan 10, 2012 at 9:32 AM, Damien Fleuriot wrote: > >> > >> > > > > [...] > > > >> > >> Mine is, as I pointed out in my earlier reply to Dick, that people > >> who don't even

Re: Network throughput

2012-01-11 Thread Matthew Seaman
On 11/01/2012 11:24, Mike Woods wrote: > Hi guys, Been a while since i've had need to post to the list :) > > I'm trying to gather network throughput information on a box of ours and > I'm having a little problem, the throughput is to be measured on a > per-minute basis and i've been trying to use

Network throughput

2012-01-11 Thread Mike Woods
Hi guys, Been a while since i've had need to post to the list :) I'm trying to gather network throughput information on a box of ours and I'm having a little problem, the throughput is to be measured on a per-minute basis and i've been trying to use netstat for this (count now - count befor

Re: BSD equivalent of GNU/Linux cp -rpu ?

2012-01-11 Thread Matthew Seaman
On 11/01/2012 11:00, Thomas Mueller wrote: > What is the BSD equivalent of Linux cp -rpu ? > Idea is to backup a directory, recursively, without copying old > files that haven't changed. > > Would I use something like rsync or pax ? rsync(1) is the standard way of doing this. For a nice backup

Re: Building FreeBSD for two or more architectures but not all

2012-01-11 Thread Volodymyr Kostyrko
Thomas Mueller wrote: How would I build FreeBSD, in this case 9.0-RELEASE, for two or more architectures, in this case i386 and amd64? One build (amd64) would update the present system (9.0 RC3), but the other would go on a USB stick, likely 16 GB. Real question is how to keep things like /us

Re: what is a correct way to build ports with clang

2012-01-11 Thread Yuri Pankov
On Wed, Jan 11, 2012 at 03:04:37PM +0400, Yuri Pankov wrote: > On Wed, Jan 11, 2012 at 12:40:18PM +0200, Volodymyr Kostyrko wrote: > > Hi all. > > > > I recently stumbled upon minor inconsistency when building misc/mc. The > > build goes well when CPP is unset or when CPP=clang -E, but fails when

Building FreeBSD for two or more architectures but not all

2012-01-11 Thread Thomas Mueller
How would I build FreeBSD, in this case 9.0-RELEASE, for two or more architectures, in this case i386 and amd64? One build (amd64) would update the present system (9.0 RC3), but the other would go on a USB stick, likely 16 GB. Real question is how to keep things like /usr/obj and other things f

Re: what is a correct way to build ports with clang

2012-01-11 Thread Yuri Pankov
On Wed, Jan 11, 2012 at 12:40:18PM +0200, Volodymyr Kostyrko wrote: > Hi all. > > I recently stumbled upon minor inconsistency when building misc/mc. The > build goes well when CPP is unset or when CPP=clang -E, but fails when > CPP=clang-cpp: > > /tmp/ports/usr/ports/misc/mc/work/mc-4.7.5.5/co

BSD equivalent of GNU/Linux cp -rpu ?

2012-01-11 Thread Thomas Mueller
What is the BSD equivalent of Linux cp -rpu ? I tried that in FreeBSD, or maybe it was NetBSD, and -u was not recognized. I think the issue would be differences between GNU/Linux coreutils and util-linux and the BSD counterparts. the -u flag, for update, means not to copy files that exist in bo

mkisofs increasing iso size by 100 MB

2012-01-11 Thread Amitabh Kant
I am trying to customise the bsdinstall auto script. I can mount the iso (amd64 arch / 9.0 RELEASE) and change the shell script as per my requirement. Once I try to re-create the iso file using mkisofs utility, the size of the final iso increases by 100 MB if -J (joliet) mode is used. If I remove

what is a correct way to build ports with clang

2012-01-11 Thread Volodymyr Kostyrko
Hi all. I recently stumbled upon minor inconsistency when building misc/mc. The build goes well when CPP is unset or when CPP=clang -E, but fails when CPP=clang-cpp: /tmp/ports/usr/ports/misc/mc/work/mc-4.7.5.5/config.log: configure:23603: checking for slang.h configure:23618: clang-cpp -lte

distinguish soft and hard kernel interrupts

2012-01-11 Thread Коньков Евгений
is there a way to distinguish hardware and software interrupts? it 'top' resuslts 70.0% interrupt I want to figure out how much there soft and hard interrupts ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listi