Re: how to speed up port make??

2012-07-25 Thread Brian W.
You could use pkg_add -r xorg to get it and all of its dependencies installed. I usually use that, in combination with ccache to speed up compiles called by portupgrade. Brian On Jul 25, 2012 8:38 AM, Mr U mru...@yahoo.com wrote: hi is it possible to speed up port make ?? i want to install

Re: how to speed up port make??

2012-07-25 Thread Wojciech Puchar
is it possible to speed up port make ?? i want to install openbox and xorg on a Pentium 4 and 2gb ram, compiling xorg takes about 2 hours Humorous answer: Yes - get a more powerful computer. Robert Huff real answer - get binary packages.

Re: how to speed up port make??

2012-07-25 Thread Anton Shterenlikht
is it possible to speed up port make ?? i want to install openbox and xorg on a Pentium 4 and 2gb ram, compiling xorg takes about 2 hours 2 hours only?? Try lang/gcc46 or 47 or science/paraview This will keep your electronic helper busy for a day.

Re: how to speed up port make??

2012-07-25 Thread Kevin Kinsey
On Wed, Jul 25, 2012 at 08:11:50PM +0100, Anton Shterenlikht wrote: is it possible to speed up port make ?? i want to install openbox and xorg on a Pentium 4 and 2gb ram, compiling xorg takes about 2 hours 2 hours only?? Try lang/gcc46 or 47 or science/paraview

Re: how to determine the temperature of your CPU?

2012-07-25 Thread Vladislav V. Prodan
25.07.2012 18:16, ill...@gmail.com wrote: On 25 July 2012 07:55, Владислав Продан univers...@ukr.net wrote: CPU: AMD FX(tm)-8120 Eight-Core Processor(3110.49-MHz K8-class CPU) Origin = AuthenticAMD Id = 0x600f12 Family = 15 Model = 1 Stepping = 2 # kldstat -v | grep

Re: how to speed up port make??

2012-07-25 Thread Robert Huff
Anton Shterenlikht writes: i want to install openbox and xorg on a Pentium 4 and 2gb ram, compiling xorg takes about 2 hours 2 hours only?? Try lang/gcc46 or 47 or science/paraview snort I beiieve the winner is OpenOffice and its kindred; still compiling

Re: how to speed up port make??

2012-07-25 Thread Lowell Gilbert
Robert Huff roberth...@rcn.com writes: Mr U writes: is it possible to speed up port make ?? i want to install openbox and xorg on a Pentium 4 and 2gb ram, compiling xorg takes about 2 hours Humorous answer: Yes - get a more powerful computer. or even just build on a more

Re: how to speed up port make??

2012-07-25 Thread Polytropon
65.1% 927+762k 25593+6358io 2506pf+0w (No idea how I got _that_ time!) # time make buildworld buildkernel KERNCONF=* 17272.243u 2294.595s 6:01:33.44 90.1% 24+204k 34888+6367io 2911pf+0w 18541.285u 2596.192s 6:19:33.55 92.8% 498+327k 31247+7302io 3034pf+0w 19725.009u 2882.355s 7:39:11.57 82.0

Re: how to determine the temperature of your CPU?

2012-07-25 Thread Polytropon
On Wed, 25 Jul 2012 14:55:00 +0300, Владислав Продан wrote: CPU: AMD FX(tm)-8120 Eight-Core Processor(3110.49-MHz K8-class CPU) Origin = AuthenticAMD Id = 0x600f12 Family = 15 Model = 1 Stepping = 2 # kldstat -v | grep temp 319 cpu/coretemp

RE: how to speed up port make??

2012-07-25 Thread Sean Cavanaugh
25, 2012 6:54 PM To: Mr U Cc: freebsd-questions@freebsd org Subject: Re: how to speed up port make?? On Wed, 25 Jul 2012 08:02:37 -0700 (PDT), Mr U wrote: hi is it possible to speed up port make ?? i want to install openbox and xorg on a Pentium 4 and 2gb ram, compiling xorg takes about 2

Re: how to speed up port make??

2012-07-25 Thread Polytropon
On Wed, 25 Jul 2012 18:59:56 -0400, Sean Cavanaugh wrote: Got you beat. Compiled world on a 100MHz Pentium with 40 MB of RAM. I think I can: FreeBSD 4 on a Pentium 1 with 64 MB EDO RAM. The make buildworld took 24 hours. The kernel itself, if I remember correctly, required 3-5 hours, of course

Re: how to determine the temperature of your CPU?

2012-07-25 Thread Vladislav V. Prodan
26.07.2012 1:55, Polytropon wrote: On Wed, 25 Jul 2012 14:55:00 +0300, Владислав Продан wrote: CPU: AMD FX(tm)-8120 Eight-Core Processor(3110.49-MHz K8-class CPU) Origin = AuthenticAMD Id = 0x600f12 Family = 15 Model = 1 Stepping = 2 # kldstat -v | grep temp

Re: how to speed up port make??

2012-07-25 Thread Robert Bonomi
From owner-freebsd-questi...@freebsd.org Wed Jul 25 16:34:22 2012 From: Robert Huff roberth...@rcn.com Date: Wed, 25 Jul 2012 17:31:14 -0400 To: freebsd-questions@freebsd.org Subject: Re: how to speed up port make?? Anton Shterenlikht writes: i want to install openbox and xorg

Re: how to speed up port make??

2012-07-25 Thread Chad Perrin
On Wed, Jul 25, 2012 at 08:41:15PM -0400, kpn...@pobox.com wrote: On Thu, Jul 26, 2012 at 01:06:33AM +0200, Polytropon wrote: On Wed, 25 Jul 2012 18:59:56 -0400, Sean Cavanaugh wrote: Got you beat. Compiled world on a 100MHz Pentium with 40 MB of RAM. I think I can: FreeBSD 4 on a

Re: how to speed up port make??

2012-07-25 Thread Chad Perrin
how we used to have to do our regexing. . . . -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any

Re: How to get Huawei EC1561 USB modem working under FreeBSD 8.2 ?

2012-07-23 Thread Manish Jain
On 21-Jul-12 19:06, Matthias Apitz wrote: El día Saturday, July 21, 2012 a las 06:01:11PM +0530, Manish Jain escribió: Hello Erich/Matthias, Thanks for your responses. I do not have the usbdump command on my system. usbconfig gives the following output : ... ugen0.2:Back-UPS ES 650Y-IN

Re: How to get Huawei EC1561 USB modem working under FreeBSD 8.2?

2012-07-23 Thread Erich Dollansky
Hi, On Monday 23 July 2012 16:46:04 Manish Jain wrote: On 21-Jul-12 19:06, Matthias Apitz wrote: El día Saturday, July 21, 2012 a las 06:01:11PM +0530, Manish Jain escribió: I am still stuck because I can't know the syntax to run usbdump. usbdump man usbdump usbconfig gives you the

Re: How to get Huawei EC1561 USB modem working under FreeBSD 8.2 ?

2012-07-21 Thread Manish Jain
Hello Erich/Matthias, Thanks for your responses. I do not have the usbdump command on my system. usbconfig gives the following output : ugen0.1: OHCI root HUB ATI at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen1.1: OHCI root HUB ATI at usbus1, cfg=0 md=HOST spd=FULL (12Mbps)

Re: How to get Huawei EC1561 USB modem working under FreeBSD 8.2 ?

2012-07-21 Thread Matthias Apitz
El día Saturday, July 21, 2012 a las 06:01:11PM +0530, Manish Jain escribió: Hello Erich/Matthias, Thanks for your responses. I do not have the usbdump command on my system. usbconfig gives the following output : ... ugen0.2: Back-UPS ES 650Y-IN FW:853.m4.I USB FW:m4 American Power

How to get Huawei EC1561 USB modem working under FreeBSD 8.2 ?

2012-07-20 Thread Manish Jain
Hello all, I earlier had a Huawei EC1261-based USB modem which used to connect smoothly to the internet under FreeBSD 8.2 using the u3g module. For some reasons, I have had to switch to another provider (MTS) who swapped the Huawei EC1261-based USB modem with a Huawei EC1561-based USB modem.

Re: How to get Huawei EC1561 USB modem working under FreeBSD 8.2 ?

2012-07-20 Thread Matthias Apitz
El día Friday, July 20, 2012 a las 05:55:21PM +0530, Manish Jain escribió: Hello all, I earlier had a Huawei EC1261-based USB modem which used to connect smoothly to the internet under FreeBSD 8.2 using the u3g module. For some reasons, I have had to switch to another provider (MTS) who

Re: How to get Huawei EC1561 USB modem working under FreeBSD 8.2 ?

2012-07-20 Thread Erich Dollansky
Hi, On Friday 20 July 2012 19:25:21 Manish Jain wrote: I earlier had a Huawei EC1261-based USB modem which used to connect smoothly to the internet under FreeBSD 8.2 using the u3g module. For some reasons, I have had to switch to another provider (MTS) who swapped the Huawei EC1261-based

Re: How to donate code

2012-07-19 Thread Patrick Lamaiziere
Le Wed, 18 Jul 2012 12:53:00 +0300, Виталий Туровец core...@corebug.net a écrit : Hello, The general advice is mail the patch to -hackers for review. If you don't get a reply or if people like it, submit a PR so it doesn't get lost. Be aware that the latency for some patches could be

Re: How to donate code

2012-07-19 Thread Виталий Туровец
2012/7/19 Patrick Lamaiziere patf...@davenulle.org: Le Wed, 18 Jul 2012 12:53:00 +0300, Виталий Туровец core...@corebug.net a écrit : Hello, The general advice is mail the patch to -hackers for review. If you don't get a reply or if people like it, submit a PR so it doesn't get lost. Be

Re: How to donate code

2012-07-18 Thread Виталий Туровец
2012/7/18 Eitan Adler li...@eitanadler.com: On 17 July 2012 02:16, Виталий Туровец core...@corebug.net wrote: Hello, colleagues! How would one propose some code to current branch? I've made a little change to ifconfig ( a switch to display IPv4 network masks in CIDR format instead of HEX

How to donate code

2012-07-17 Thread Виталий Туровец
Hello, colleagues! How would one propose some code to current branch? I've made a little change to ifconfig ( a switch to display IPv4 network masks in CIDR format instead of HEX) and want to suggest this change to FreeBSD project. Also i've created a PR with my patch describing what is done

Re: How to donate code

2012-07-17 Thread Patrick Lamaiziere
Le Tue, 17 Jul 2012 12:16:12 +0300, Виталий Туровец core...@corebug.net a écrit : Hello, Hello, colleagues! How would one propose some code to current branch? I've made a little change to ifconfig ( a switch to display IPv4 network masks in CIDR format instead of HEX) and want to suggest

Re: How to donate code

2012-07-17 Thread Eitan Adler
On 17 July 2012 02:16, Виталий Туровец core...@corebug.net wrote: Hello, colleagues! How would one propose some code to current branch? I've made a little change to ifconfig ( a switch to display IPv4 network masks in CIDR format instead of HEX) and want to suggest this change to FreeBSD

how to preserve local modifications to /usr/local/share/texmf/web2c/texmf.cnf

2012-07-16 Thread Anton Shterenlikht
I was getting Tex capacity exceeded, sorry [main memory size 100] error, so had to increase main_memory in /usr/local/share/texmf/web2c/texmf.cnf main_memory = 700 % words of inimemory available; also applies to inimfmp This works fine, but this file will be overwritten if I

Re: How to mirror the FreeBSD OS on two disks

2012-07-12 Thread Mike Clarke
On Wednesday 11 July 2012 16:20:41 Joseph Lenox wrote: What about a ZFS root? Just make sure both disks are in the BIOS/EFT boot order. http://www.aisecure.net/2011/11/28/root-zfs-freebsd9/ Something else we noticed on our site is that backup of a system snapshot can be quickly restored

Re: How to mirror the FreeBSD OS on two disks

2012-07-12 Thread Joseph Lenox
On 07/12/2012 05:47 AM, Mike Clarke wrote: On Wednesday 11 July 2012 16:20:41 Joseph Lenox wrote: What about a ZFS root? Just make sure both disks are in the BIOS/EFT boot order. http://www.aisecure.net/2011/11/28/root-zfs-freebsd9/ Something else we noticed on our site is that backup of a

Re: How to mirror the FreeBSD OS on two disks

2012-07-12 Thread Wojciech Puchar
I am no expert at this however a quick Google search comes up with: http://www.freebsd.org/doc/handbook/geom-mirror.html The procedure shown there produces a mirror that will not boot on FreeBSD 9. no idea but my procedure certainly would work if you use installer 1) install to first disk

Re: How to mirror the FreeBSD OS on two disks

2012-07-12 Thread Warren Block
On Thu, 12 Jul 2012, Wojciech Puchar wrote: I am no expert at this however a quick Google search comes up with: http://www.freebsd.org/doc/handbook/geom-mirror.html The procedure shown there produces a mirror that will not boot on FreeBSD 9. no idea but my procedure certainly would work

Re: How to mirror the FreeBSD OS on two disks

2012-07-12 Thread Wojciech Puchar
The current Handbook procedure avoids the copy by using the existing disk as-is and just writing the gmirror metadata to the last block. Exactly what i do doing instalations manually! If that last block is already part of an MBR partition, the more strict checking stops booting in 9.0.

Re: How to mirror the FreeBSD OS on two disks

2012-07-12 Thread Warren Block
On Thu, 12 Jul 2012, Wojciech Puchar wrote: The current Handbook procedure avoids the copy by using the existing disk as-is and just writing the gmirror metadata to the last block. Exactly what i do doing instalations manually! If that last block is already part of an MBR partition, the

Re: How to mirror the FreeBSD OS on two disks

2012-07-12 Thread Wojciech Puchar
If that last block is already part of an MBR partition, the more strict checking stops booting in 9.0. not making MBR partition would not make problems. There's no guarantee that bsdlabel checking won't be made more strict. No matter what type of partitioning scheme, the metadata should not

Re: How to mirror the FreeBSD OS on two disks

2012-07-12 Thread Warren Block
On Thu, 12 Jul 2012, Wojciech Puchar wrote: If that last block is already part of an MBR partition, the more strict checking stops booting in 9.0. not making MBR partition would not make problems. There's no guarantee that bsdlabel checking won't be made more strict. No matter what type of

Re: How to mirror the FreeBSD OS on two disks

2012-07-12 Thread Wojciech Puchar
last partition includes the block of gmirror metadata, that's an error. no it doesn't i do this 2 ways: method 1) i FIRST do gmirror on whole disk THEN partition it, so partition sizes sums up to gmirror size which is 1 sector less disk size. then bsdlabel -B method 2) i make same

Re: How to mirror the FreeBSD OS on two disks

2012-07-12 Thread Warren Block
On Thu, 12 Jul 2012, Wojciech Puchar wrote: last partition includes the block of gmirror metadata, that's an error. no it doesn't You appear to be agreeing with me, but saying that your method does not produce that problem. i do this 2 ways: method 1) i FIRST do gmirror on whole disk

Re: How to mirror the FreeBSD OS on two disks

2012-07-12 Thread Wojciech Puchar
no it doesn't You appear to be agreeing with me, but saying that your method does not produce that problem. sorry - possibly i missed something. both method results in system bootable from both drives and proper disklabels. Yes, these are the same methods that can be used with MBR

Re: How to mirror the FreeBSD OS on two disks

2012-07-11 Thread Mikel King
the FreeBSD support the disk mirror? How to implement it? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: How to mirror the FreeBSD OS on two disks

2012-07-11 Thread Warren Block
the two disks. And if one disk crashed or disconnected, the OS could continue running on another disk. Does the FreeBSD support the disk mirror? How to implement it? I am no expert at this however a quick Google search comes up with: http://www.freebsd.org/doc/handbook/geom-mirror.html

Re: How to mirror the FreeBSD OS on two disks

2012-07-11 Thread Joseph Lenox
disk crashed or disconnected, the OS could continue running on another disk. Does the FreeBSD support the disk mirror? How to implement it? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions

Re: how to correctly distinguish broadcast udp packets vs unicast (socket, pcap or bpf)?

2012-07-06 Thread Budnev Vladimir
Tnx! Worked like a charm, with skipped init and other checks, just the control point parts: ... int optval=1; setsockopt(root_socket, IPPROTO_IP, IP_RECVDSTADDR, optval, sizeof(optval)) ... char t[200]; unsigned int sender_len;

Re: How can i decrease memory occupied by xorg ?

2012-07-05 Thread Wojciech Puchar
1083 root 1 210 99444K 11544K select 0 1:28 0.00% Xorg doesn't take much, only 11.5MB is resident ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail

Re: How can i decrease memory occupied by xorg ?

2012-07-05 Thread Eitan Adler
On 4 July 2012 20:52, J B jb.1234a...@gmail.com wrote: It is in ports: http://www.freedesktop.org/wiki/Software/xrestop jb [10001 eitan@radar ~ ]%whereis xrestop xrestop: /usr/ports/x11/xrestop -- Eitan Adler ___ freebsd-questions@freebsd.org

how to update the revision information

2012-07-04 Thread Bill Yuan
Hi All, The blow information can be found when we boot up the system, also can use command uname -v my question is how can I change this, and I cannot rebuild it ,because on my freebsd, I dont have src anymore . [image: Inline image 1

Re: how to update the revision information

2012-07-04 Thread Matthew Seaman
in your e-mail. my question is how can I change this, and I cannot rebuild it ,because on my freebsd, I dont have src anymore . Well, the info that uname(1) prints out is generated from the source code at compile time. Recompiling the kernel, or updating the kernel via eg. freebsd-update(8

how to correctly distinguish broadcast udp packets vs unicast (socket, pcap or bpf)?

2012-07-04 Thread Budnev Vladimir
without pcap wrapper but i'm not sure about how big pcap overhead is. The questions is if we have about 1Gb incoming traffic and using pcap filter for specific port how big is impact of using pcap in such situation? Is it possbile to estimate? Target traffic is about 1Mbit and while testing

Re: how to correctly distinguish broadcast udp packets vs unicast (socket, pcap or bpf)?

2012-07-04 Thread Nikolay Denev
that with libpcap. It coul be done with directly bpf api without pcap wrapper but i'm not sure about how big pcap overhead is. The questions is if we have about 1Gb incoming traffic and using pcap filter for specific port how big is impact of using pcap in such situation? Is it possbile

Re: how to correctly distinguish broadcast udp packets vs unicast (socket, pcap or bpf)?

2012-07-04 Thread Budnev Vladimir
with read/recvfrom so we'v made that with libpcap. It coul be done with directly bpf api without pcap wrapper but i'm not sure about how big pcap overhead is. The questions is if we have about 1Gb incoming traffic and using pcap filter for specific port how big is impact of using pcap

How can i decrease memory occupied by xorg ?

2012-07-04 Thread sw2wolf
9716K 660K select 0 0:05 0.00% moused ... Of course, opera is a big customer of RAM which i cannot decrease its memory usage. then can i descrease the xorg's resident memory ? Sincerely! - e^(π.i) + 1 = 0 -- View this message in context: http://freebsd.1045724.n5.nabble.com/How-can-i

Re: how to update the revision information

2012-07-04 Thread Bill Yuan
good to put your image up on a pastebin site and include the link in your e-mail. my question is how can I change this, and I cannot rebuild it ,because on my freebsd, I dont have src anymore . Well, the info that uname(1) prints out is generated from the source code at compile time

How can i decrease memory occupied by xorg ?

2012-07-04 Thread J B
It is in ports: http://www.freedesktop.org/wiki/Software/xrestop jb ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

How can i disable cups, docbook, gutenprint and other ports?

2012-06-22 Thread lokada...@gmx.de
Hi all, How can i disable cups, docbook and other ports from compiling after port update? I have no printer and no use of cups or docbook. *Sorry for my english* Greetings ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org

Re: How can i disable cups, docbook, gutenprint and other ports?

2012-06-22 Thread Polytropon
On Fri, 22 Jun 2012 20:56:59 +0200, lokada...@gmx.de wrote: Hi all, How can i disable cups, docbook and other ports from compiling after port update? I have no printer and no use of cups or docbook. If you don't mind the _time_ required for building those ports (and taking into mind

Re: how to allow by MAC

2012-06-17 Thread Bill Yuan
that this is more likely just something inside his internal network. Filtering by MAC is not secure, I agree. but at least secure enough for a internal network. And I am quite sure what I want to archive. I am really want to know how to FILTER BY MAC . Please stop even trying. Well I don't think

Re: Making a bootable backup (hard)disk... how?

2012-06-13 Thread Mike Clarke
On Sunday 10 June 2012 23:14:57 Ronald F. Guilmette wrote: Well, nevermind about that.  I get the general idea, i.e. that dumping at level N causes dumping of everything that has changed since the last dump at level N-1. A point to be aware of is that if you restore from a full backup

Re: how to allow by MAC

2012-06-13 Thread Ian Smith
trying. Well I don't think learning how to use ipfw properly at layer2 is a bad idea in itself, and I wouldn't want to discourage anyone from that. For some years I ran a filtering transparent bridge with ipfw + dummynet for a small network of about 20 mostly W98, XP and Mac boxes sharing one slow

Re: Making a bootable backup (hard)disk... how?

2012-06-11 Thread Mike Clarke
On Monday 11 June 2012 00:03:59 Daniel Feenberg wrote: It does occur to me that /etc is not a felicitous place to keep this information, but given the desirability of dumping filesystems in read only state, placing the dump dates in the filesystem itself isn't feasible. Dumping with the -L

Re: how to allow by MAC

2012-06-11 Thread Randal L. Schwartz
Bill == Bill Yuan byc...@gmail.com writes: Bill I want to create a white list MAC address, Only the machine which it's MAC Bill in the white list will be allowed, all others will be blocked. Bad idea. Since (a) every MAC address that *is* allowed is transmitted in the clear and (b) it's

Re: Making a bootable backup (hard)disk... how?

2012-06-10 Thread Peter Vereshagin
Hello. 2012/06/09 19:30:53 -0700 Ronald F. Guilmette r...@tristatelogic.com = To Arthur Chance : RFG Thank you Arthur, and yes, trying to back up a partition that's currently RFG mounted r/w using dd will almost certainly not produce the desired results. You can make snapshot to back up

Re: Making a bootable backup (hard)disk... how?

2012-06-10 Thread Mike Clarke
On Sunday 10 June 2012 03:30:53 Ronald F. Guilmette wrote: I don't care to take own my system to make backups... and don't believe that I should have to do so, and thus, this is one of the reasons why I would prefer to use something like cpio. Also, I don't like backups taking longer than

Re: Making a bootable backup (hard)disk... how?

2012-06-10 Thread Robert Bonomi
From owner-freebsd-questi...@freebsd.org Sat Jun 9 21:33:57 2012 To: Arthur Chance free...@qeng-ho.org Date: Sat, 09 Jun 2012 19:30:53 -0700 From: Ronald F. Guilmette r...@tristatelogic.com Cc: freebsd-questions@freebsd.org Subject: Re: Making a bootable backup (hard)disk... how

how to allow by MAC

2012-06-10 Thread Bill Yuan
Hi, how to allow by MAC in ipfw currently i set the rule like below 1 allow ip from any to any MAC any to MAC Address 1 1 allow ip from any to any MAC MAC Address 1 any 2 deny all from any to any i want to only allow the mac address to go through the freebsd firewall, but I found

Re: Making a bootable backup (hard)disk... how?

2012-06-10 Thread Ronald F. Guilmette
with the current contents of my actual /usr partition, what is the most proper way to do this? Should I use rsync for that? Or should I use dumprestore again? If that latter, then how exactly does that work? I mean if I do the pipeline from dump to restore as you have shown in your examples in your

Re: Making a bootable backup (hard)disk... how?

2012-06-10 Thread Warren Block
with the current contents of my actual /usr partition, what is the most proper way to do this? Should I use rsync for that? Or should I use dumprestore again? If that latter, then how exactly does that work? I mean if I do the pipeline from dump to restore as you have shown in your examples in your Copying

Re: how to allow by MAC

2012-06-10 Thread Bill Yuan
come on , someone help please, On Sun, Jun 10, 2012 at 5:43 PM, Bill Yuan byc...@gmail.com wrote: Hi, how to allow by MAC in ipfw currently i set the rule like below 1 allow ip from any to any MAC any to MAC Address 1 1 allow ip from any to any MAC MAC Address 1 any 2 deny all from

Re: how to allow by MAC

2012-06-10 Thread Julian H. Stacey
...@gmail.com wrote: Hi, how to allow by MAC in ipfw currently i set the rule like below 1 allow ip from any to any MAC any to MAC Address 1 1 allow ip from any to any MAC MAC Address 1 any 2 deny all from any to any i want to only allow the mac address to go through

Re: how to allow by MAC

2012-06-10 Thread Julian H. Stacey
Julian H. Stacey wrote: Bill Yuan wrote: come on , someone help please, On Sun, Jun 10, 2012 at 5:43 PM, Bill Yuan byc...@gmail.com wrote: Hi, how to allow by MAC in ipfw currently i set the rule like below 1 allow ip from any to any MAC any to MAC Address 1

Re: how to allow by MAC

2012-06-10 Thread Ian Smith
In freebsd-questions Digest, Vol 418, Issue 18, Message: 1 On Sun, 10 Jun 2012 17:43:39 +0800 Bill Yuan byc...@gmail.com wrote: how to allow by MAC in ipfw currently i set the rule like below 1 allow ip from any to any MAC any to MAC Address 1 1 allow ip from any to any MAC MAC

Re: Making a bootable backup (hard)disk... how?

2012-06-10 Thread Ronald F. Guilmette
mean if I do the pipeline from dump to restore as you have shown in your examples in your Copying Filesystems section, then what must I do in order prevent dump from dumping files that haven't changed? (And likewise, how do I prevent restore from trying to restore files under /mnt/usr that have

Re: Making a bootable backup (hard)disk... how?

2012-06-10 Thread Ronald F. Guilmette
Warren? Just a couple more quick questions. You recommend: dump -C16 -b64 -0uanL -h0 -f - /usr | (cd /mnt restore -ruf -) I'm real curious about you suggestions for the -C and -b values. I have what amounts to a personal workstation. Yea, OK, it is running mail, web, and FTP servers

Re: Making a bootable backup (hard)disk... how?

2012-06-10 Thread Warren Block
that. Yes, that clarifies things entirely. ... I mean if I do the pipeline from dump to restore as you have shown in your examples in your Copying Filesystems section, then what must I do in order prevent dump from dumping files that haven't changed? (And likewise, how do I prevent restore from trying

Re: Making a bootable backup (hard)disk... how?

2012-06-10 Thread Daniel Feenberg
On Sun, 10 Jun 2012, Ronald F. Guilmette wrote: What I don't understand (and what I wish someone would enlighten me about) is just this: It would seem that in order to implement these dump levels, dump must be keeping a record somewhere, for each file in the filesystem, of the level at

Re: Making a bootable backup (hard)disk... how?

2012-06-10 Thread Robert Bonomi
in order prevent dump from dumping files that haven't changed? (And likewise, how do I prevent restore from trying to restore files under /mnt/usr that have not changed? Or is that answer to that question that I simply have to do the first thing, i.e. force dump not to dump any of the unchanged

Re: Making a bootable backup (hard)disk... how?

2012-06-10 Thread Robert Huff
Ronald F. Guilmette writes: Warren? Just a couple more quick questions. You recommend: dump -C16 -b64 -0uanL -h0 -f - /usr | (cd /mnt restore -ruf -) I'm real curious about you suggestions for the -C and -b values. I have what amounts to a personal workstation. Yea, OK,

Re: Making a bootable backup (hard)disk... how?

2012-06-10 Thread Warren Block
is a little small because it's hard to tell how much memory someone running the example will have. I usually use -C32 on machines with plenty of memory. Remember that dump forks multiple times, so it's not 32M, but N*32M. -b64 is the largest safe buffer size to use. People have experienced problems

Re: how to allow by MAC

2012-06-10 Thread Bill Yuan
+0800 Bill Yuan byc...@gmail.com wrote: how to allow by MAC in ipfw currently i set the rule like below 1 allow ip from any to any MAC any to MAC Address 1 1 allow ip from any to any MAC MAC Address 1 any 2 deny all from any to any i want to only allow the mac address

Re: how to allow by MAC

2012-06-10 Thread Bill Yuan
question as mine, On Mon, Jun 11, 2012 at 1:53 AM, Ian Smith smi...@nimnet.asn.au wrote: In freebsd-questions Digest, Vol 418, Issue 18, Message: 1 On Sun, 10 Jun 2012 17:43:39 +0800 Bill Yuan byc...@gmail.com wrote: how to allow by MAC in ipfw currently i set the rule like below 1

Re: how to allow by MAC

2012-06-10 Thread Brian W.
sent in 2008 while other place asked a same question as mine, On Mon, Jun 11, 2012 at 1:53 AM, Ian Smith smi...@nimnet.asn.au wrote: In freebsd-questions Digest, Vol 418, Issue 18, Message: 1 On Sun, 10 Jun 2012 17:43:39 +0800 Bill Yuan byc...@gmail.com wrote: how to allow by MAC in ipfw

Re: how to allow by MAC

2012-06-10 Thread Bill Yuan
: how to allow by MAC in ipfw currently i set the rule like below 1 allow ip from any to any MAC any to MAC Address 1 1 allow ip from any to any MAC MAC Address 1 any 2 deny all from any to any i want to only allow the mac address to go through the freebsd

Re: how to filter network by MAC and IP at the same time

2012-06-09 Thread Christian Hiris
1 allow all from any to any MAC MAC ADDR1 any #allow the .. destination mac is that machine ipfw add 1 allow all from any to any MAC any MAC ADDR1 ipfw add 1 deny all from any to any it is not working , all the traffic will be block by the deny !!! how come ? On Sat, Jun 9

Re: how to filter network by MAC and IP at the same time

2012-06-09 Thread Bill Yuan
add 1 allow all from any to any MAC any MAC ADDR1 ipfw add 1 deny all from any to any it is not working , all the traffic will be block by the deny !!! how come ? On Sat, Jun 9, 2012 at 4:30 AM, Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org wrote: Bill Yuan byc

Re: Making a bootable backup (hard)disk... how?

2012-06-09 Thread Arthur Chance
backups in the past, but I'm sure that the way I have been doing that is sub-optimal, so I'm here seeking knowledge of how to do this the Right Way.) The bottom line is this... I know how to use cpio, and would like to use it to create a complete and _bootable_ backup of my main system disk. (My main

Re: Making a bootable backup (hard)disk... how?

2012-06-09 Thread Ronald F. Guilmette
In message 4fd38b9a.4010...@qeng-ho.org, Arthur Chance free...@qeng-ho.org wrote: There's a BFI (brute force and ignorance) way of doing it in the base system - dd. Provided your system disk is quiescent (ideally when running from a live CD or all partitions mounted read-only, otherwise pray

Re: Making a bootable backup (hard)disk... how?

2012-06-09 Thread Warren Block
On Sat, 9 Jun 2012, Ronald F. Guilmette wrote: Also, I don't like backups taking longer than absolutely necessary, and this is why I am specifically _not_ attracted to either the dd solution or to dump/restore, because as I understand it, with either of these methods you end up copying perhaps

How do I determine support for $xx?

2012-06-08 Thread Rick Miller
Hi All, If this question is better suited for a different list please let me know. Simply stated, my question is 'What is the best source for identifying supported hardware?'. Having said that, allow me to pose an example... I've attempted to identify if various ethernet controllers are

Re: How do I determine support for $xx?

2012-06-08 Thread Matthew Seaman
On 08/06/2012 16:07, Rick Miller wrote: If this question is better suited for a different list please let me know. Simply stated, my question is 'What is the best source for identifying supported hardware?'. Having said that, allow me to pose an example... I've attempted to identify if

Re: How do I determine support for $xx?

2012-06-08 Thread Devin Teske
this in /var/run/dmesg.boot: pciN: unknown card (vendor=0x1106, dev=0x165f) at X.Y NOTE: Insert random numbers for N, and X.Y How you know that 8.3-R's bge(4) driver supports the BCM5720 is because this source file: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/bge/if_bgereg.h?annotate

Re: How do I determine support for $xx?

2012-06-08 Thread Devin Teske
vendor/device IDs. NOTE: Insert random numbers for N, and X.Y How you know that 8.3-R's bge(4) driver supports the BCM5720 is because this source file: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/bge/if_bgereg.h?annotate=1.83.2.35.2.1 NOTE: I specifically pointed you at CVS instead

Re: How do I determine support for $xx?

2012-06-08 Thread Rick Miller
vendor/device IDs. NOTE: Insert random numbers for N, and X.Y How you know that 8.3-R's bge(4) driver supports the BCM5720 is because this source file: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/bge/if_bgereg.h?annotate=1.83.2.35.2.1 NOTE: I specifically pointed you at CVS instead

Re: How do I determine support for $xx?

2012-06-08 Thread Julian H. Stacey
Hi Devin There were some great tips in your last post. Would be great if they couldfo in FreeBSD handbook somewhere. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, indent with . Format:

Re: how to filter network by MAC and IP at the same time

2012-06-08 Thread Lowell Gilbert
Bill Yuan byc...@gmail.com writes: i am using freebsd 9.0 as a firewall and i want to filter the traffic by the mac and the ip at the same time, for example, i only allow my laptop MAC Address 1 can go throught the firewalll when it's using IP IP Address 1 for how to config the firewall

Making a bootable backup (hard)disk... how?

2012-06-08 Thread Ronald F. Guilmette
been doing that is sub-optimal, so I'm here seeking knowledge of how to do this the Right Way.) The bottom line is this... I know how to use cpio, and would like to use it to create a complete and _bootable_ backup of my main system disk. (My main system disk has only one BIOS partition

Making a bootable backup (hard)disk... how?

2012-06-08 Thread Robert Huff
that is sub-optimal, so I'm here seeking knowledge of how to do this the Right Way.) The bottom line is this... I know how to use cpio, and would like to use it to create a complete and _bootable_ backup of my main system disk. (My main system disk has only one BIOS partition, and that is sub

Re: Making a bootable backup (hard)disk... how?

2012-06-08 Thread Warren Block
that the way I have been doing that is sub-optimal, so I'm here seeking knowledge of how to do this the Right Way.) The bottom line is this... I know how to use cpio, and would like to use it to create a complete and _bootable_ backup of my main system disk. (My main system disk has only one BIOS

Re: Making a bootable backup (hard)disk... how?

2012-06-08 Thread Mehmet Erol Sanliturk
making my own ham-fisted disk-to-disk backups in the past, but I'm sure that the way I have been doing that is sub-optimal, so I'm here seeking knowledge of how to do this the Right Way.) The bottom line is this... I know how to use cpio, and would like to use it to create a complete

Re: how to filter network by MAC and IP at the same time

2012-06-08 Thread Bill Yuan
, all the traffic will be block by the deny !!! how come ? On Sat, Jun 9, 2012 at 4:30 AM, Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org wrote: Bill Yuan byc...@gmail.com writes: i am using freebsd 9.0 as a firewall and i want to filter the traffic by the mac and the ip at the same

how to filter network by MAC and IP at the same time

2012-06-07 Thread Bill Yuan
hi all, i am using freebsd 9.0 as a firewall and i want to filter the traffic by the mac and the ip at the same time, for example, i only allow my laptop MAC Address 1 can go throught the firewalll when it's using IP IP Address 1 for how to config the firewall rules? I tried to configure

<    1   2   3   4   5   6   7   8   9   10   >