Re: pf+time stamp

2009-10-19 Thread Dánielisz László
Oh, great! Thank you! From: Matthew Seaman To: Dánielisz László Cc: freebsd-questions@freebsd.org Sent: Mon, October 19, 2009 8:33:37 PM Subject: Re: pf+time stamp Dánielisz László wrote: > Hello, > > Do you have any idea how to add and read time stamp of p

Re: IBM Thinkpad 755C and FreeBSD's minimal hardware requirements - still usable?

2009-10-19 Thread Polytropon
On Mon, 19 Oct 2009 13:12:19 +0200, herbert langhans wrote: > Not a long time ago I got an old Thinkpad 600. With 300MHz and 165MB Ram. > > Also the same challenge - small and fast ports for daily work. > I run X11 with fluxbox (installed without! hal support). Of course. Fluxbox is a very lig

Re: Mouse and keyboard don't work in Xorg 7.4

2009-10-19 Thread Polytropon
Allthough X is not an urgent topic to me at the moment (because I'm still running "old" X without all the HAL and DBUS magic), I always interestedly read such threads in order to keep up to date. On my testing system I just had the same problem. XFCE 4 started, but mouse didn't move, no keyboard in

Re: need C help, passing char buffer[] by-value....

2009-10-19 Thread Polytropon
On Mon, 19 Oct 2009 15:21:26 -0700, Gary Kline wrote: > There were no "C" classes in 1978--I > taught myself. Obviously, not that well because I have already dreaded > pointers. ---Well, usually. Don't mind. Just imagine my fun when trying to understand how character string operat

Re: Mouse and keyboard don't work in Xorg 7.4

2009-10-19 Thread Polytropon
On Mon, 19 Oct 2009 22:52:24 +0400, Andrey Zhidenkov wrote: > Section "ServerFlags" > Option "AutoAddDevises" "off" ^ AutoAddDevices? :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... __

Re: need C help, passing char buffer[] by-value....

2009-10-19 Thread Polytropon
Just a little and quite formal side note: On Mon, 19 Oct 2009 11:09:19 -0700, Patrick Mahan wrote: >while (*tp != '\0' && *tp++ != '<'); It's often a good choice, especially for increasing readability of code, to code the "empty statement" on a line on its own (as you usually put

Re: glabel clarification

2009-10-19 Thread Polytropon
On Mon, 19 Oct 2009 13:12:06 -0400, PJ wrote: > this is ad12; ad6 is the same - I guess I hae to get rid of those labels > in ad6 but am not sure if I need to use glabel to remove them or if just > editing fstab will do it? You could indicate if a given disk is your working disk (w) or your backu

Re: glabel clarification

2009-10-19 Thread Polytropon
On Mon, 19 Oct 2009 11:58:18 -0400, PJ wrote: > Actually, I have been trying to clone a disk and then install the disk > in another machine or same clone in several machines. That's why I > thought that once the clone is make it would boot on any machine. This > in presuming that each clone is ide

Re: need C help, passing char buffer[] by-value....

2009-10-19 Thread Patrick Mahan
Gary Kline wrote: On Mon, Oct 19, 2009 at 11:09:19AM -0700, Patrick Mahan wrote: See comments interspaced below - Gary, Let me restate your problem: You want to read through a file containing tags delimited by "<>" and to skip these tags if the user has run your command with the "-N" flag.

Re: glabel clarification

2009-10-19 Thread Polytropon
On Mon, 19 Oct 2009 15:59:43 +0200, "Johan Hendriks" wrote: > Switching between machines is not what labels are for.(enlighten me if > it is) It CAN. If /etc/fstab content matches the labels of the partitions, it matches them regardless of the disk they are on (da[0123...] or ad[0123...]), so the

Re: need C help, passing char buffer[] by-value....

2009-10-19 Thread Polytropon
On Mon, 19 Oct 2009 08:58:05 -0500, David Kelly wrote: > On Mon, Oct 19, 2009 at 05:43:44AM +0200, Polytropon wrote: > > to make sure s is not NULL, or testing for it explicitely like > > > > if(!s) > > ... error handling here ... > > You are missing my point that *s == 0 is not

Re: I hate to bitch but bitch I must

2009-10-19 Thread Bob Hall
On Sun, Oct 18, 2009 at 11:48:55AM -0400, PJ wrote: > Bob Hall wrote: > > On Sat, Oct 17, 2009 at 05:36:43PM -0400, PJ wrote: > > > >> Bob Hall wrote: > >> > >>> On Sat, Oct 17, 2009 at 02:34:40AM +, Mark wrote: > >>> > >>> > Actually, this has got very little to do with

Re: Mouse and keyboard don't work in Xorg 7.4

2009-10-19 Thread herbert langhans
If you dont need it for another reason, you can compile xorg-server without hal (#make config). Mouse and keyboard works without it too. This solved all such problems on my laptop. Cheers herb langhans On Mon, Oct 19, 2009 at 10:52:24PM +0400, Andrey Zhidenkov wrote: > I've installed FreeBSD 7.

Re: ZFS: Strange performance issues

2009-10-19 Thread Carl Chave
Chris, Don't know, but, I will paste in a portion of the ZFS admin guide from SUN: Because these statistics are cumulative since boot, bandwidth might appear low if the pool is relatively idle. You can request a more accurate view of current bandwidth usage by specifying an interval. For example:

Continued hassles trying to compile qt4-designer

2009-10-19 Thread Warren Liddell
Running FreeBSD 7.2-STABLE AMD64 machine ports src an kernel are as updated as can be .. below is the error when trying to compile... : undefined reference to `qdesigner_internal::QDesignerSharedSettings::formTemplatePaths() const' .obj/release-shared/newform.o(.text+0x5): In function `NewFo

Re: glabel clarification

2009-10-19 Thread Adam Vande More
On Mon, Oct 19, 2009 at 4:58 PM, PJ wrote: > Adam Vande More wrote: > > On Mon, Oct 19, 2009 at 12:12 PM, PJ wrote: > > > > > >> # DeviceMountpointFStypeOptionsDumpPass# > >> /dev/label/swapnoneswapsw00 > >> /dev/label/rootfs/

PHP5 + fastcgi + apache2.2 ... how to for FreeBSD?

2009-10-19 Thread Marc G. Fournier
Is there one somewhere? I'm finding *alot* of Debian ones dealing with their whole apget stuff, but would like to find something that "speaks normally" :) Thx ... Marc G. FournierHub.Org Hosting Solutions S.A. scra...@hub.org

Error when changin from -ro to rw on /etc/exports, FREEBSD STABLE 7.2

2009-10-19 Thread Jeronimo Calvo
Hi folks, Today I decide to change the settings from my server, allowing RW access to 2 currently mapped NFS partions on my Freebsd box. The used to be RO only. What i notice is when I change it as follows: [root@ /DATA1]# cat /etc/exports /DATA1 -rw 192.168.11.6 /DATA2 -rw 192.168.11.6 I am

Re: glabel clarification

2009-10-19 Thread PJ
Adam Vande More wrote: > On Mon, Oct 19, 2009 at 12:12 PM, PJ wrote: > > >> # DeviceMountpointFStypeOptionsDumpPass# >> /dev/label/swapnoneswapsw00 >> /dev/label/rootfs/ufsrw11 >> /dev/label/backups/back

Re: need C help, passing char buffer[] by-value....

2009-10-19 Thread Gary Kline
On Mon, Oct 19, 2009 at 11:09:19AM -0700, Patrick Mahan wrote: > See comments interspaced below - > > Gary, > > Let me restate your problem: You want to read through a file containing tags > delimited by "<>" and to skip these tags if the user has run your command > with > the "-N" flag. > > In

FreeBSD 7.2 savecore panic

2009-10-19 Thread Bogdan Webb
Hello. I've got a small issue with my bsd box... I'm a new BSD user and please accept my deepest apologies if i have rushed to use the mailing lists to shout, what may be a silly issue. During the 3 moths the server that i manage had 2 unexpected reboots after some ports were about to be installed.

Re: Mouse and keyboard don't work in Xorg 7.4

2009-10-19 Thread Warren Block
On Mon, 19 Oct 2009, Andrey Zhidenkov wrote: I've installed FreeBSD 7.2 with Xorg 7.4 server, but mouse (usb) and keyboard don't work. when I start X server the only way to exit is Ctrl-Alt-F* and kill the process. I've find out that Xorg now uses hal and dbus to configure mouse and maybe this

Re: scalable FreeBSD based LNS (with L2TPv2)

2009-10-19 Thread Vincent Hoffman
Rogelio wrote: > Has anyone created/used/found/seen a FreeBSD based LNS that supports > thousands L2TPv2 tunnels? Right now, the only solution I see that scales to > this level is Redback, and if not a Redback box, then lots of Cisco 7200 > boxes. > > I understand MPD (ports/net/mpd5) is used i

scalable FreeBSD based LNS (with L2TPv2)

2009-10-19 Thread Rogelio
Has anyone created/used/found/seen a FreeBSD based LNS that supports thousands L2TPv2 tunnels? Right now, the only solution I see that scales to this level is Redback, and if not a Redback box, then lots of Cisco 7200 boxes. -- Also on LinkedIn? Feel free to add me as a friend: scubac...@gmail.

Re: Fwd: upgrading remote server

2009-10-19 Thread Adam Vande More
On Mon, Oct 19, 2009 at 4:29 PM, John Almberg wrote: > Okay! After a lot of googling/reading I successfully upgraded to 7.2, now > I'm trying to upgrade ports... > > I ran portmaster -L and got a long list of ports that need upgrading... > From my reading, it seems like the only way to do this is

Re: Fwd: upgrading remote server

2009-10-19 Thread John Almberg
Okay! After a lot of googling/reading I successfully upgraded to 7.2, now I'm trying to upgrade ports... I ran portmaster -L and got a long list of ports that need upgrading... From my reading, it seems like the only way to do this is to go through the list, one by one, and either (1) delete u

mailx folder-hook

2009-10-19 Thread David Collins
Hi, First off I know this isn't the place for this question and it is totally off topic, but I have been searching the internet for ages and have read the relevant section of the man page a number of times and tried a number of combination and I still can't figure this out. I am asking here becaus

Re: Building Ghostscript from source on FreeBSD

2009-10-19 Thread Brent Bloxam
Brent Bloxam wrote: I'm having trouble building Ghostscript 8.70 from source on FreeBSD 7.0. I cannot use the version in the ports tree for various reasons. I've looked at the .mak patches in ./files/ for the ports tree however to try to suss out any differences but they elude me. My configur

Re: sendmail domain configuration

2009-10-19 Thread Matthew Seaman
stan wrote: I am trying to work around some design issues. Some of out FreeBSD macines must live in a made up domain. As a result from these machines gtes discarded by an sensible mail handling system. I have solved this problem on some Soalris machines that also si`uffer from this same design

Re: Mouse and keyboard don't work in Xorg 7.4

2009-10-19 Thread Manolis Kiagias
Andrey Zhidenkov wrote: > On Mon, Oct 19, 2009 at 10:30:27PM +0300, Manolis Kiagias wrote: > >> Andrey Zhidenkov wrote: >> >>> I've installed FreeBSD 7.2 with Xorg 7.4 server, but mouse (usb) >>> and keyboard don't work. when I start X server the only way to exit >>> is Ctrl-Alt-F* and kill

Re: Mouse and keyboard don't work in Xorg 7.4

2009-10-19 Thread Andrey Zhidenkov
On Mon, Oct 19, 2009 at 10:30:27PM +0300, Manolis Kiagias wrote: > Andrey Zhidenkov wrote: > > I've installed FreeBSD 7.2 with Xorg 7.4 server, but mouse (usb) > > and keyboard don't work. when I start X server the only way to exit > > is Ctrl-Alt-F* and kill the process. > > > > I've find out that

sendmail domain configuration

2009-10-19 Thread stan
I am trying to work around some design issues. Some of out FreeBSD macines must live in a made up domain. As a result from these machines gtes discarded by an sensible mail handling system. I have solved this problem on some Soalris machines that also si`uffer from this same design by settting th

Re: Mouse and keyboard don't work in Xorg 7.4

2009-10-19 Thread Manolis Kiagias
Andrey Zhidenkov wrote: > I've installed FreeBSD 7.2 with Xorg 7.4 server, but mouse (usb) > and keyboard don't work. when I start X server the only way to exit > is Ctrl-Alt-F* and kill the process. > > I've find out that Xorg now uses hal and dbus to configure mouse and > maybe this is a problem.

Mouse and keyboard don't work in Xorg 7.4

2009-10-19 Thread Andrey Zhidenkov
I've installed FreeBSD 7.2 with Xorg 7.4 server, but mouse (usb) and keyboard don't work. when I start X server the only way to exit is Ctrl-Alt-F* and kill the process. I've find out that Xorg now uses hal and dbus to configure mouse and maybe this is a problem. #tail /var/log/messages Oct 19 2

Re: glabel clarification

2009-10-19 Thread Adam Vande More
On Mon, Oct 19, 2009 at 12:12 PM, PJ wrote: > # DeviceMountpointFStypeOptionsDumpPass# > /dev/label/swapnoneswapsw00 > /dev/label/rootfs/ufsrw11 > /dev/label/backups/backupsufsrw22 > /d

Re: need C help, passing char buffer[] by-value....

2009-10-19 Thread Patrick Mahan
See comments interspaced below - Gary Kline wrote: On Mon, Oct 19, 2009 at 01:48:42AM -0400, Brad Mettee wrote: Gary Kline wrote: Guys, maybe this can't be done reading in a file with fgets(buffer[128], fp), then calling skiptags(), conditionally, to while () past ',' and '>'. [snipped]

Re: pf+time stamp

2009-10-19 Thread Matthew Seaman
Dánielisz László wrote: Hello, Do you have any idea how to add and read time stamp of pf/pf.log? Thank you! Laci Do you mean /var/log/pflog ? Which is the default location where a record of logged packets ends up if you run pflogd(8). That's actually a pcap (packet capture) file, and you ca

pf+time stamp

2009-10-19 Thread Dánielisz László
Hello, Do you have any idea how to add and read time stamp of pf/pf.log? Thank you! Laci ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-u

Re: glabel clarification

2009-10-19 Thread PJ
Adam Vande More wrote: > On Mon, Oct 19, 2009 at 10:58 AM, PJ > wrote: > > Actually, I have been trying to clone a disk and then install the disk > in another machine or same clone in several machines. That's why I > thought that once the clone is make i

Re: need C help, passing char buffer[] by-value....

2009-10-19 Thread Gary Kline
On Mon, Oct 19, 2009 at 01:48:42AM -0400, Brad Mettee wrote: > Gary Kline wrote: > >Guys, > > > >maybe this can't be done reading in a file with fgets(buffer[128], fp), > >then calling skiptags(), conditionally, to while () past ',' and '>'. > > > >I know I need to calll skipTags with its address,

Building Ghostscript from source on FreeBSD

2009-10-19 Thread Brent Bloxam
I'm having trouble building Ghostscript 8.70 from source on FreeBSD 7.0. I cannot use the version in the ports tree for various reasons. I've looked at the .mak patches in ./files/ for the ports tree however to try to suss out any differences but they elude me. My configure line: ./configure -

Re: usb key problem

2009-10-19 Thread Christopher Sean Hilton
On Thu, Oct 15, 2009 at 08:06:08PM -0400, PJ wrote: > Polytropon wrote: > > On Thu, 15 Oct 2009 18:19:16 -0400, PJ wrote: > > [snip...] > > Anyway, I found the solution on the web... couldn't belive it was that > simple: just ignore the crap spewed out on the screen and just mount iit > as y

Re: glabel clarification

2009-10-19 Thread PJ
Adam Vande More wrote: > On Mon, Oct 19, 2009 at 9:46 AM, PJ > wrote: > > Adam Vande More wrote: > > On Mon, Oct 19, 2009 at 9:35 AM, PJ > > >> wr

Re: glabel clarification

2009-10-19 Thread Adam Vande More
On Mon, Oct 19, 2009 at 10:58 AM, PJ wrote: > Actually, I have been trying to clone a disk and then install the disk > in another machine or same clone in several machines. That's why I > thought that once the clone is make it would boot on any machine. This > in presuming that each clone is iden

Re: need C help, passing char buffer[] by-value....

2009-10-19 Thread Gary Kline
On Mon, Oct 19, 2009 at 04:19:11PM +0200, Erik Trulsson wrote: > On Mon, Oct 19, 2009 at 09:03:22AM -0500, David Kelly wrote: > > On Sun, Oct 18, 2009 at 11:30:49PM -0400, Robert Huff wrote: > > > > > > Glen Barber writes: > > > > > > > > "//" comments are recognized by both C and C++. > > > >

Re: glabel clarification

2009-10-19 Thread Adam Vande More
On Mon, Oct 19, 2009 at 9:46 AM, PJ wrote: > Adam Vande More wrote: > > On Mon, Oct 19, 2009 at 9:35 AM, PJ > > wrote: > > > > Adam Vande More wrote: > > > On Mon, Oct 19, 2009 at 9:26 AM, PJ > > > >

Re: glabel clarification

2009-10-19 Thread PJ
Adam Vande More wrote: > On Mon, Oct 19, 2009 at 9:35 AM, PJ > wrote: > > Adam Vande More wrote: > > On Mon, Oct 19, 2009 at 9:26 AM, PJ > > >> wr

Re: glabel clarification

2009-10-19 Thread Adam Vande More
On Mon, Oct 19, 2009 at 9:37 AM, Adam Vande More wrote: > On Mon, Oct 19, 2009 at 9:35 AM, PJ wrote: > >> Adam Vande More wrote: >> > On Mon, Oct 19, 2009 at 9:26 AM, PJ > > > wrote: >> > >> > Yes, this is true and that is why I thought that glabel would >> >

Re: glabel clarification

2009-10-19 Thread Adam Vande More
On Mon, Oct 19, 2009 at 9:35 AM, PJ wrote: > Adam Vande More wrote: > > On Mon, Oct 19, 2009 at 9:26 AM, PJ > > wrote: > > > > Yes, this is true and that is why I thought that glabel would > > work; I am > > trying to set up my computers with identical

Re: glabel clarification

2009-10-19 Thread PJ
Adam Vande More wrote: > On Mon, Oct 19, 2009 at 9:26 AM, PJ > wrote: > > Yes, this is true and that is why I thought that glabel would > work; I am > trying to set up my computers with identical clones that I can update > with changes on the master

Re: glabel clarification

2009-10-19 Thread PJ
Adam Vande More wrote: > On Mon, Oct 19, 2009 at 9:26 AM, PJ > wrote: > > Yes, this is true and that is why I thought that glabel would > work; I am > trying to set up my computers with identical clones that I can update > with changes on the master

Re: glabel clarification

2009-10-19 Thread Adam Vande More
On Mon, Oct 19, 2009 at 9:26 AM, PJ wrote: > Yes, this is true and that is why I thought that glabel would work; I am > trying to set up my computers with identical clones that I can update > with changes on the master machine from time to time and thus prevent > data loss in case of problems. So

Re: glabel clarification

2009-10-19 Thread PJ
Johan Hendriks wrote: >> I understood that labeling a disk with glabel would permit the disk to >> be switched to another system and booting from that disk would not >> require other manupulations than adjusting network configuration, >> > samba, > >> rc.conf and a few others.. >> But what

Re: need C help, passing char buffer[] by-value....

2009-10-19 Thread Erik Trulsson
On Mon, Oct 19, 2009 at 09:03:22AM -0500, David Kelly wrote: > On Sun, Oct 18, 2009 at 11:30:49PM -0400, Robert Huff wrote: > > > > Glen Barber writes: > > > > > > "//" comments are recognized by both C and C++. > > > > How about "... are recognized by both C++ and more recent versions > >

Re: glabel clarification

2009-10-19 Thread PJ
Johan Hendriks wrote: >> I understood that labeling a disk with glabel would permit the disk to >> be switched to another system and booting from that disk would not >> require other manupulations than adjusting network configuration, >> > samba, > >> rc.conf and a few others.. >> But what

Re: need C help, passing char buffer[] by-value....

2009-10-19 Thread David Kelly
On Sun, Oct 18, 2009 at 11:30:49PM -0400, Robert Huff wrote: > > Glen Barber writes: > > > > "//" comments are recognized by both C and C++. > > How about "... are recognized by both C++ and more recent versions > of C."? I think gcc++ and gcc use the same preprocessor? Comments are str

RE: glabel clarification

2009-10-19 Thread Johan Hendriks
>I understood that labeling a disk with glabel would permit the disk to >be switched to another system and booting from that disk would not >require other manupulations than adjusting network configuration, samba, >rc.conf and a few others.. >But what if there is already a disk on the system with

Re: need C help, passing char buffer[] by-value....

2009-10-19 Thread David Kelly
On Mon, Oct 19, 2009 at 05:43:44AM +0200, Polytropon wrote: > On Sun, 18 Oct 2009 22:23:43 -0500, David Kelly wrote: > > When not using a count to indicate how much data is in a char* you > > should always test for null. Testing for null is not a sure fire way > > to prevent buffer over runs b

glabel clarification

2009-10-19 Thread PJ
I understood that labeling a disk with glabel would permit the disk to be switched to another system and booting from that disk would not require other manupulations than adjusting network configuration, samba, rc.conf and a few others.. But what if there is already a disk on the system with the id

USB modem support on a FreeBSD box

2009-10-19 Thread Henry Olyer
I know about all the drivers being for windoz. And how we're pretty much left out in the cold. Does any solution exist? For example, if I access my USB modem via the Wine emulator, will that work? ___ freebsd-questions@freebsd.org mailing list http://l

ZFS: Strange performance issues

2009-10-19 Thread Christopher Key
Hello, I'm running FreeBSD 7.2 amd64 on a system with 2GB RAM. I've a zfs pool using raidz1 over five 2Tb SATA drives connected via a port multiplier and a RR2314 card. I can write to a filesystem on this pool at approx 20MB/s: # dd if=/dev/urandom of=$FS/testdump bs=1m count=1k 1024+0 records

Re: IBM Thinkpad 755C and FreeBSD's minimal hardware requirements - still usable?

2009-10-19 Thread herbert langhans
Not a long time ago I got an old Thinkpad 600. With 300MHz and 165MB Ram. Also the same challenge - small and fast ports for daily work. I run X11 with fluxbox (installed without! hal support). Recommendable ports are: Opera (smaller then Firefox) or even Elinks (there is a setting 'graphic mo