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

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

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

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

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 dke...@hiwaay.net 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

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 the

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 stripped in the

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 if there is

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 of C.? I think

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 if there is

Re: glabel clarification

2009-10-19 Thread Adam Vande More
On Mon, Oct 19, 2009 at 9:26 AM, PJ af.gour...@videotron.ca 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

Re: glabel clarification

2009-10-19 Thread PJ
Adam Vande More wrote: On Mon, Oct 19, 2009 at 9:26 AM, PJ af.gour...@videotron.ca mailto:af.gour...@videotron.ca 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

Re: glabel clarification

2009-10-19 Thread PJ
Adam Vande More wrote: On Mon, Oct 19, 2009 at 9:26 AM, PJ af.gour...@videotron.ca mailto:af.gour...@videotron.ca 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

Re: glabel clarification

2009-10-19 Thread Adam Vande More
On Mon, Oct 19, 2009 at 9:35 AM, PJ af.gour...@videotron.ca wrote: Adam Vande More wrote: On Mon, Oct 19, 2009 at 9:26 AM, PJ af.gour...@videotron.ca mailto:af.gour...@videotron.ca wrote: Yes, this is true and that is why I thought that glabel would work; I am trying to

Re: glabel clarification

2009-10-19 Thread Adam Vande More
On Mon, Oct 19, 2009 at 9:37 AM, Adam Vande More amvandem...@gmail.comwrote: On Mon, Oct 19, 2009 at 9:35 AM, PJ af.gour...@videotron.ca wrote: Adam Vande More wrote: On Mon, Oct 19, 2009 at 9:26 AM, PJ af.gour...@videotron.ca mailto:af.gour...@videotron.ca wrote: Yes, this is true

Re: glabel clarification

2009-10-19 Thread PJ
Adam Vande More wrote: On Mon, Oct 19, 2009 at 9:35 AM, PJ af.gour...@videotron.ca mailto:af.gour...@videotron.ca wrote: Adam Vande More wrote: On Mon, Oct 19, 2009 at 9:26 AM, PJ af.gour...@videotron.ca mailto:af.gour...@videotron.ca mailto:af.gour...@videotron.ca

Re: glabel clarification

2009-10-19 Thread Adam Vande More
On Mon, Oct 19, 2009 at 9:46 AM, PJ af.gour...@videotron.ca wrote: Adam Vande More wrote: On Mon, Oct 19, 2009 at 9:35 AM, PJ af.gour...@videotron.ca mailto:af.gour...@videotron.ca wrote: Adam Vande More wrote: On Mon, Oct 19, 2009 at 9:26 AM, PJ af.gour...@videotron.ca

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++. How about ... are

Re: glabel clarification

2009-10-19 Thread Adam Vande More
On Mon, Oct 19, 2009 at 10:58 AM, PJ af.gour...@videotron.ca 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

Re: glabel clarification

2009-10-19 Thread PJ
Adam Vande More wrote: On Mon, Oct 19, 2009 at 9:46 AM, PJ af.gour...@videotron.ca mailto:af.gour...@videotron.ca wrote: Adam Vande More wrote: On Mon, Oct 19, 2009 at 9:35 AM, PJ af.gour...@videotron.ca mailto:af.gour...@videotron.ca mailto:af.gour...@videotron.ca

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 af.gour...@videotron.ca 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

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

Re: glabel clarification

2009-10-19 Thread PJ
Adam Vande More wrote: On Mon, Oct 19, 2009 at 10:58 AM, PJ af.gour...@videotron.ca mailto:af.gour...@videotron.ca 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

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

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

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

2009-10-19 Thread Adam Vande More
On Mon, Oct 19, 2009 at 12:12 PM, PJ af.gour...@videotron.ca wrote: # DeviceMountpointFStypeOptionsDumpPass# /dev/label/swapnoneswapsw00 /dev/label/rootfs/ufsrw11 /dev/label/backups/backupsufs

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

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.

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

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 Xorg now

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 the process.

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

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

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

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

Re: Fwd: upgrading remote server

2009-10-19 Thread Adam Vande More
On Mon, Oct 19, 2009 at 4:29 PM, John Almberg jalmb...@identry.com 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

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:

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 in

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

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

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 C any thing

Re: glabel clarification

2009-10-19 Thread PJ
Adam Vande More wrote: On Mon, Oct 19, 2009 at 12:12 PM, PJ af.gour...@videotron.ca wrote: # DeviceMountpointFStypeOptionsDumpPass# /dev/label/swapnoneswapsw00 /dev/label/rootfs/ufsrw11

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

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

Re: glabel clarification

2009-10-19 Thread Adam Vande More
On Mon, Oct 19, 2009 at 4:58 PM, PJ af.gour...@videotron.ca wrote: Adam Vande More wrote: On Mon, Oct 19, 2009 at 12:12 PM, PJ af.gour...@videotron.ca wrote: # DeviceMountpointFStypeOptionsDumpPass# /dev/label/swapnoneswapsw00

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

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

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

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 being a native English

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 dke...@hiwaay.net 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

Re: glabel clarification

2009-10-19 Thread Polytropon
On Mon, 19 Oct 2009 15:59:43 +0200, Johan Hendriks jo...@double-l.nl 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

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

Re: glabel clarification

2009-10-19 Thread Polytropon
On Mon, 19 Oct 2009 11:58:18 -0400, PJ af.gour...@videotron.ca 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

Re: glabel clarification

2009-10-19 Thread Polytropon
On Mon, 19 Oct 2009 13:12:06 -0400, PJ af.gour...@videotron.ca 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

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 ma...@mahan.org 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

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 andrey.zhiden...@gmail.com 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
On Mon, 19 Oct 2009 15:21:26 -0700, Gary Kline kl...@thought.org 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

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

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 herbert.raim...@gmx.net 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.