cross-link serial console

2009-10-20 Thread Frederique Rijsdijk
If I have 2 machines, could I connect the machines to each other via
serial cable, in order to be able to reach each others' console in case
of out of band issues?

I know how to config it, I was just wondering if it would not bite each
other.


-- FR

___
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: Bandwidth Control in FreeBSD 8

2009-09-15 Thread Frederique Rijsdijk

On 9/15/2009 2:24 AM, perl info wrote:

I have two questions in regards to a FreeBSD Server and avoiding ISP
bandwidth charges.

Are there changes to the ways bandwidth can be controlled in FreeBSD 8.

Is there an accepted or standardized method to control and limit bandwidth
usage over an interface.



Changes I don't know about.

But you can use IPFW to limit and measure the bandwidth you're using. 
You can also use darkstat (port) to measure the traffic you're generating.



-- Frederique
___
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: location of user crontab files?

2009-08-12 Thread Frederique Rijsdijk
Ruben de Groot wrote:
 On Tue, Aug 11, 2009 at 07:21:08PM -0400, Karl Vogel typed:
 On Tue, 11 Aug 2009 10:50:54 -0400, 
 Identry iden...@gmail.com said:
 I Where are user crontab files stored in the file system?  I want to make
 I sure this info is backed up.

They're in /var/cron/tabs.  If you're using individual crontab files,
be sure to rename /etc/crontab or you might have duplicated cronjobs
running simultaneously.
 
 I don't think this is sound advise. Leaving /etc/crontab (the system crontab) 
 to do
 the system maintenance jobs it is supposed to do and putting additional 
 scripts and 
 jobs in user tabs is normal practice and won't cause any problems.

I've learned not to touch /etc/crontab at all. Saves some time during
upgrades/mergemaster.


-- Frederique
___
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: location of user crontab files?

2009-08-11 Thread Frederique Rijsdijk


Identry wrote:
 Where are user crontab files stored in the file system?

/var/con/tabs



-- F
___
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


ftps ?

2009-08-03 Thread Frederique Rijsdijk
I'm looking into running ftps for my webhosting server. But the ftpd of
BSD seems incapable of doing so.

Are there plans to implement this, or am I overlooking something?

I'm aware of the fact that I can run a ftp server from ports to do this,
but I would like to keep it as simple as possible.


-- F
___
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: ftps ?

2009-08-03 Thread Frederique Rijsdijk
Odhiambo ワシントン wrote:
 What is ftps?

# grep ftps /etc/services
ftps-data   989/tcp# ftp protocol, data, over TLS/SSL
ftps-data   989/udp
ftps990/tcp# ftp protocol, control, over TLS/SSL
ftps990/udp

___
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: ftps ?

2009-08-03 Thread Frederique Rijsdijk
Neal Hogan wrote:
 I was curious about the OP's use of 'ftps too. Perhaps, he could
 explain what plain-old-ftp doesn't do and what he wants it to do.


Encryption!


-- Frederique

___
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: Automatic screen lock when leaving desk

2009-07-15 Thread Frederique Rijsdijk
Hi all,

Frederique Rijsdijk wrote:
 I'm looking for a way to automaticaly lock my X session when I leave my
 desk. Probably just using 'xlockmore -mode blank' or such. But how to
 detect?


Thanks all for the replies. To answer some questions:

- I prefer automatic. I already have a key on my kb mapped to 'xlockmore
-mode blank', but in some rare cases I still forget to do it, or I'm in
an application that overrides the mapping and the key will not work. I'm
using a DasKeyboard, that doesn't have any 'unused' keys like media stuff.

I guess I'll look into the bluetooth thing. That looks quite doable.

Thanks!


-- Frederique

___
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


Automatic screen lock when leaving desk

2009-07-14 Thread Frederique Rijsdijk
Hi,

I'm looking for a way to automaticaly lock my X session when I leave my
desk. Probably just using 'xlockmore -mode blank' or such. But how to
detect?

It could be infrared based (heat signature), video based (webcam w/
motion detection) or even mechanical (switch in seat? meh..).

And how would FreeBSD interface with such device? Most likely via USB,
since my lt doesn't have any serial ports.

Any ideas? Experience?


-- Frederique

___
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: client control of sendmail

2009-07-08 Thread Frederique Rijsdijk

On 7/8/2009 8:15 PM, David Banning wrote:

I have several users who are requesting new mail user accounts and
changes to email accounts all the time. I wonder if there is a package
that allows a given virtual domain owner to change their email accounts -
add, delete and change passwords etc - I am presently using sendmail.


Postfix with postfixadmin works really well, but you'll have to rebuild 
the setup.



-- Frederique


___
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: What server hardware are you buying from the big companies these days?

2009-06-08 Thread Frederique Rijsdijk
ericr wrote:
 I need to buy some new servers, and mgmt has decreed that we get them from
 someplace which will provide service contracts with on-site h/w suppport,
 which means HP, Dell, Sun, IBM, etc.

We use Dell almost exclusively. Although Dell doesn't officially support
FreeBSD, Dell hardware is tier-1 for FreeBSD. I think their hardware is
quite OK. The machines are built well. Haven't had too much to deal with
their onsite service (which is a good sign), but the times that I did I
think they handled it quite well, the parts were in house within 4 hours
and in a case where a motherboard had to be replaced, a Dell technician
was sent in as well and did his job fine.

Dell's RAID controllers (Perc/5i and Perc/6i) work fine in BSD, and some
tools are available although with Linux emulation which kind of sucks.

Here's a sample dmesg of a 1950:

 Copyright (c) 1992-2009 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 The Regents of the University of California. All rights reserved.
 FreeBSD is a registered trademark of The FreeBSD Foundation.
 FreeBSD 7.1-RELEASE-p4 #0: Fri Apr  3 10:28:13 CEST 2009
 r...@hostname:/usr/obj/usr/src/sys/GENERIC
 Timecounter i8254 frequency 1193182 Hz quality 0
 CPU: Intel(R) Xeon(R) CPU5148  @ 2.33GHz (2327.52-MHz K8-class 
 CPU)
   Origin = GenuineIntel  Id = 0x6fb  Stepping = 11
   
 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
   
 Features2=0x4e3bdSSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA
   AMD Features=0x20100800SYSCALL,NX,LM
   AMD Features2=0x1LAHF
   Cores per package: 2
 usable memory = 4276400128 (4078 MB)
 avail memory  = 4114935808 (3924 MB)
 ACPI APIC Table: DELL   PE_SC3  
 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
 ioapic0: Changing APIC ID to 2
 ioapic0 Version 2.0 irqs 0-23 on motherboard
 kbd1 at kbdmux0
 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
 acpi0: DELL PE_SC3 on motherboard
 acpi0: [ITHREAD]
 acpi0: Power Button (fixed)
 Timecounter ACPI-fast frequency 3579545 Hz quality 1000
 acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
 acpi_hpet0: High Precision Event Timer iomem 0xfed0-0xfed003ff on acpi0
 Timecounter HPET frequency 14318180 Hz quality 900
 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
 pci0: ACPI PCI bus on pcib0
 pcib1: ACPI PCI-PCI bridge at device 2.0 on pci0
 pci4: ACPI PCI bus on pcib1
 pcib2: ACPI PCI-PCI bridge at device 0.0 on pci4
 pci5: ACPI PCI bus on pcib2
 pcib3: ACPI PCI-PCI bridge at device 0.0 on pci5
 pci6: ACPI PCI bus on pcib3
 pcib4: PCI-PCI bridge at device 0.0 on pci6
 pci7: PCI bus on pcib4
 bce0: Broadcom NetXtreme II BCM5708 1000Base-T (B2) mem 
 0xf400-0xf5ff irq 16 at device 0.0 on pci7
 miibus0: MII bus on bce0
 brgphy0: BCM5708C 10/100/1000baseTX PHY PHY 1 on miibus0
 brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
 1000baseT-FDX, auto
 bce0: Ethernet address: 00:22:19:82:e8:45
 bce0: [ITHREAD]
 bce0: ASIC (0x57081020); Rev (B2); Bus (PCI-X, 64-bit, 133MHz); F/W 
 (0x04000305); Flags( MFW MSI )
 pcib5: ACPI PCI-PCI bridge at device 1.0 on pci5
 pci8: ACPI PCI bus on pcib5
 pcib6: PCI-PCI bridge at device 0.3 on pci4
 pci9: PCI bus on pcib6
 pcib7: ACPI PCI-PCI bridge at device 3.0 on pci0
 pci1: ACPI PCI bus on pcib7
 mfi0: Dell PERC 6 port 0xec00-0xecff mem 
 0xfc48-0xfc4b,0xfc44-0xfc47 irq 16 at device 0.0 on pci1
 mfi0: Megaraid SAS driver Ver 3.00
 mfi0: 2031 (292323270s/0x0020/info) - Shutdown command received from host
 mfi0: 2032 (boot + 3s/0x0020/info) - Firmware initialization started (PCI ID 
 0060/1000/1f0c/1028)
 mfi0: 2033 (boot + 3s/0x0020/info) - Firmware version 1.11.82-0473
 mfi0: 2034 (boot + 3s/0x0008/info) - Battery Present
 mfi0: 2035 (boot + 3s/0x0020/info) - Package version 6.0.3-0002
 mfi0: 2036 (boot + 21s/0x0004/info) - Enclosure (SES) discovered on PD 20(c 
 None/p0)
 mfi0: 2037 (boot + 21s/0x0002/info) - Inserted: Encl PD 20
 mfi0: 2038 (boot + 21s/0x0002/info) - Inserted: PD 20(c None/p0) Info: 
 enclPd=20, scsiType=d, portMap=09, sasAddr=5001e090e8810900,
 mfi0: 2039 (boot + 21s/0x0002/info) - Inserted: PD 00(e0x20/s0)
 mfi0: 2040 (boot + 21s/0x0002/info) - Inserted: PD 00(e0x20/s0) Info: 
 enclPd=20, scsiType=0, portMap=00, sasAddr=5000c5000d253121,
 mfi0: 2041 (boot + 21s/0x0002/info) - Inserted: PD 01(e0x20/s1)
 mfi0: 2042 (boot + 21s/0x0002/info) - Inserted: PD 01(e0x20/s1) Info: 
 enclPd=20, scsiType=0, portMap=01, sasAddr=5000c5000d25eb55,
 mfi0: 2043 (boot + 21s/0x0002/info) - Inserted: PD 02(e0x20/s2)
 mfi0: 2044 (boot + 21s/0x0002/info) - Inserted: PD 02(e0x20/s2) Info: 
 enclPd=20, scsiType=0, portMap=02, sasAddr=5000c5000d2420ed,
 mfi0: 2045 

Re: Getting old versions of FreeBSD

2009-06-06 Thread Frederique Rijsdijk
Bill Moran wrote:
 In response to Frederique Rijsdijk frederi...@isafeelin.org:
 
 For some 'issue' I have to install an old version FreeBSD: 4.7-p28. The
 ISO of 4.7 I have found, but how to get to p28?
 
 That code is still in the version control system, all you need to do is
 configure cvsup to fetch it and rebuild your system.
 
 Instructions:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html
 
 Use the RELENG_4_7, since p28 was the last patch on the 4.7 branch.

Indeed they are all still available. Very nice, I'm upgrading to p28
now. Thanks!


-- Frederique
___
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


Getting old versions of FreeBSD

2009-06-05 Thread Frederique Rijsdijk
Hi,

For some 'issue' I have to install an old version FreeBSD: 4.7-p28. The
ISO of 4.7 I have found, but how to get to p28?


Thanks,

-- Frederique

___
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: HandbooK-Free BSD

2009-06-02 Thread Frederique Rijsdijk
Rafael E Garcia wrote:
 Gentlemen
 Please How I can copy the Free BSD Handbook in my computer? Any
 Sugestion will be apreciate.   Thank you Rafael E Garcia
 


/usr/share/doc/en_US.ISO8859-1/books/handbook


-- Frederique


___
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: Sponsoring FreeBSD

2009-05-28 Thread Frederique Rijsdijk
Wojciech Puchar wrote:
 How about it? Only STRICT RULES keep things healthy and long lived.

I wonder what makes you think you have the right to decide for all?

I'm pretty happy as it is, except for this thread.


-- Frederique
___
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: pkgdb -F problem

2009-05-21 Thread Frederique Rijsdijk

Leslie Jensen wrote:


I've just updated my 7.1-RELEASE to 7.2-RELEASE using freebsd-update.

Everything went ok but I've got a problem when I do

pkgdb -F
/libexec/ld-elf.so.1: /usr/lib/libcrypt.so.4: unsupported file layout


I might have goofed before I updated when moving files around to make 
space, so I need some advice on how to get rid of the error.



I cannot find out what port I need to reinstall in order to get libcrypt 
healty again :-)




Probably everything related to portupgrade/portinstall/ruby etc.


-- Frederique
___
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: Shopping for external harddrive

2009-05-05 Thread Frederique Rijsdijk

Daniel Underwood wrote:

I'm looking to purchase a = 1TB external harddrive, because I'm
running out of room on my 300GB external.  Anyone have good experience
with any particular brands?  I really don't know how different brands
compare in reliability to one another.  Of course I plan to check CNet
and other online reviews. But I also wanted to see if any of you folks
have personal recommendations.



1TB samsung USB drive, use it for backups. The drive is an ECO 
version, spinning at 5400rpm. That keeps the temperature down. Works nicely.



-- F
___
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: xdm freezes - 7.2-RELEASE installed

2009-05-05 Thread Frederique Rijsdijk


Hi,

Daniel Underwood wrote:


Just installed 7.2-RELEASE.  After changing my /etc/ttys to default to
xdm and rebooting, my machine opens xdm, but I cannot type or press
enter.  My keyboard isn't totally unresponsive, however, because I can
Ctrl+Alt+F# to another virtual terminal.


Try adding:

Option AllowEmptyInput off

.. to the ServerLayout section of your xorg.conf, see if that helps.

See man xorg.conf too.



-- Frederique

___
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: FreeBSD 7.2 released?

2009-05-03 Thread Frederique Rijsdijk

Christer Solskogen wrote:
How come http://torrents.freebsd.org:8080/ have the isos for 7.2-RELEASE 
while the announce have not?




typicaly the images are uploaded first before the announcements are made.


-- F
___
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: Honey pot email address

2009-05-02 Thread Frederique Rijsdijk

Andrew wrote:

Hi All,

I've created a honey pot email address for SPAM.

Does anyone have any ideas on how to get on as many spammers mailing 
lists as possible?




I'd be happy to put your e-mail address in the source code of some sites 
that I run?



-- F
___
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: Poor ZFS performance

2009-05-02 Thread Frederique Rijsdijk

nf wrote:

733843456 bytes transferred in 61.124812 secs (12005656 bytes/sec)


That is very low. I get about 60MB/sec in this way. Adding bs=1m it'll 
go up to 240MB/sec even (raidz1 with 4*1TB).



CPU:  0.4% user,  0.0% nice, 14.3% system,  4.5% interrupt, 80.8% idle
Mem: 1950M Active, 868M Inact, 537M Wired, 238M Cache, 363M Buf, 87M Free
Swap: 1024M Total, 101M Used, 923M Free, 9% Inuse

  PID USERNAME  THR PRI NICE   SIZERES STATE  C   TIME   WCPU COMMAND
 8402 nf  1  500  4604K   788K zio-i 0   0:03  8.59% dd


Could you show top -S ?


-- Frederique
___
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: archive search working?

2009-04-29 Thread Frederique Rijsdijk

Chris Whitehouse wrote:
I'm not getting any replies when searching the freebsd questions 
archives at http://lists.freebsd.org/pipermail/freebsd-questions/


That's the page I get to if I google freebsd questions archives (and 
then a couple of clicks to get to the archives)


That is the right page, but it's not working for a while already..


___
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: mergemaster -U overwriting modified files

2009-04-26 Thread Frederique Rijsdijk

Bruce Cran wrote:

On Sat, 25 Apr 2009 12:10:42 +0200
Peter Schuller peter.schul...@infidyne.com wrote:

  

I recently began testing mergemaster -U since the perpetual review
diff of file I never touched grows annoying real quick.

Unfortunately I recently discovered that it does not seem to do what
you might expect. For example it nuked my mailer.conf on one machine,
and my /etc/namedb/named.conf (!!!) on another machine.

Is this a bug or intended? What is the intended functionality of -U?




I noticed this recently too: after using mergemaster -U without
problems for a long time it suddenly went and overwrote named.conf on
a recently upgrade of 7-STABLE.

  

I've seen this happen as well with named.conf.

I've noticed that sometimes the -U flag doesn't work (I use -Ui), I 
still have to install the never touched files by hand. Can't put a 
finger on it though.



-- Frederique
___
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: mail server/webmail

2009-04-23 Thread Frederique Rijsdijk

Liontaur wrote:

Hi folks, I was searching around but i'm not quite sure what i'm looking
for. I want to have a program that gets the mail from my ISP mail server
(pop), stores the mail permanently, allows me webmail access, and also lets
me grab the mail with a mail client (Outlook Express). I'd like to be able
to sync the mail with outlook express also. Like if I send a mail over
webmail, that sent mail will also go into the sent box in outlook express,
or conversly, perhaps store all the mail on the server and have outlook
express just show the folders and contents stored on the server. But i'd
have to somehow upload all of the mail currently in my outlook express. I'll
also need some kind of spam functionality as I get a sizable amount of spam.
Currently I use K9 for spam and I quite like it.

I guess you could start to look in the area of:

- /usr/ports/mail/fetchmail (to fetch/store the mail)
- /usr/ports/mail/dovecot (for access to the mail via imap)
- /usr/ports/mail/squirremail or roundcube (webmail w/ imap)
- /usr/ports/www/apache22 for the webmail

As you're then using IMAP, any client that connects to dovecot will get 
the same set of mailfolders (sync).



-- Frederique





___
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


serial console, COM port not working - [FILTER] ?

2009-04-20 Thread Frederique Rijsdijk
I'm setting up serial console access to our machines.

One of them isn't giving a login prompt, and I noticed a difference in
dmesg output:

 sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
 sio0: type 16550A
 sio0: [FILTER]

The last line I don't see on boxes where all is fine. My C reading isn't
that good, but I've found in /usr/src/sys/kern/subr_bus.c:

 bus_setup_intr(device_t dev, struct resource *r, int flags,
 driver_filter_t filter, driver_intr_t handler, void *arg, void **cookiep)
 {
 int error;
 
 if (dev-parent != NULL) {
 error = BUS_SETUP_INTR(dev-parent, dev, r, flags,
 filter, handler, arg, cookiep);
 if (error == 0) {
 if (handler != NULL  !(flags  INTR_MPSAFE))
 device_printf(dev, [GIANT-LOCKED]\n);
 if (bootverbose  (flags  INTR_MPSAFE))
 device_printf(dev, [MPSAFE]\n);
 if (filter != NULL) {
 if (handler == NULL)
 device_printf(dev, [FILTER]\n);
 else   
 device_printf(dev, 
 [FILTER+ITHREAD]\n);
 } else
 device_printf(dev, [ITHREAD]\n);
 }
 } else
 error = EINVAL;
 return (error);
 }

But what does it mean?


Thanks,

-- Frederique
___
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: ntp problem

2009-04-20 Thread Frederique Rijsdijk

Lisa Casey wrote:

Running FreeBSD 5.3  IN /etc/ntp.conf I have:

server time.nist.gov prefer
server tock.gpsclock.com
driftfile /etc/ntp.drift
logfile /var/log/ntp.log

If I run ntpdate from a prompt, I get the following  error message:

# ntpdate
20 Apr 12:02:08 ntpdate[50109]: no servers can be used, exiting

But if I type:

ntpdate time.nist.gov   it will update the time. Is there something wrong with 
my /etc/ntp.conf file?

  



Give it some time (15-20 minutes or so). It will start to work like magic.


-- Frederique
___
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: kern.maxfiles limit exceeded by uid 1003? what to do?

2009-04-14 Thread Frederique Rijsdijk
VeeJay wrote:
 Hi there
 
 I am keep getting this error on the screen. I have tried to solve this
 problem by myself but still no luck. Could anyone guide what to do to
 increase the limit and avoid this error?
 
 kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
 kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
 kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
 kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
 Apr 14 11:08:08 server2 postfix/pickup[25022] : fatal : kqueue : Too many
 files open in the system
 Apr 14 11:08:08 server2 postfix/pickup[25023] : fatal : kqueue : Too many
 files open in the system
 kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
 kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
 kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
 kern.maxfiles limit exceeded by uid 1003, please see tuning(7)
 
 When this happens, I am unable to login on the server by consol or ssh. what
 to do? And I have to restart the server manually by on/off switch...


If it's not a very busy machine, something must be wrong with postfix to
cause this error.

If it is a busy machine, you can increase the kern.maxfiles.

sysctl kern.maxfiles=number

You can set it in /etc/sysctl.conf to set it at boot time.



-- Frederique


___
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: is there a way to upgrade Only ports that need it??

2009-04-13 Thread Frederique Rijsdijk

Gary Kline wrote:

is there any way t o not upgrade all installed ports, but only
	those that are not current?  



portsnap fetch update  portupgrade -a

or you could

portsnap fetch update  pkg_version -v

.. and update the ports of your choice that are not up-to-date with the 
ports tree.



-- Frederique
___
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: Why USB harddrive is so slow under FreeBSD?

2009-04-12 Thread Frederique Rijsdijk

Yuri wrote:

I have FreeBSD-71 running with USB controller:
uhci0: VIA 83C572 USB controller port 0xa800-0xa81f irq 21 at device 
16.0 on pci0


I connected to it Toshiba USB hard drive HDDR500E03X:
umass0: Toshiba External USB HDD, class 0/0, rev 2.00/1.03, addr 2 on 
uhub4

da0: Toshiba External USB HDD 1.03 Fixed Direct Access SCSI-4 device

When I try to copy data with 'dd if=/dev/da0s1 of=/dev/null count=1' 
it only achieves has 0.65MB/s transfer speed.




I get around the same speeds if I do it that way.

But if I add 'bs=1m', speeds go up to 27MB/sec.

___
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


combining network interfaces

2009-04-09 Thread Frederique Rijsdijk
Hello,

Is there a way in FreeBSD to combine a number of network interfaces to
one virtual interface on which I can tcpdump all the traffic of those
interfaces at once?

Thanks,

-- Frederique
___
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: combining network interfaces

2009-04-09 Thread Frederique Rijsdijk

Lowell Gilbert wrote:

Jacques Manukyan mlfree...@streamingedge.com writes:

Frederique Rijsdijk wrote:

Hello,

Is there a way in FreeBSD to combine a number of network interfaces to
one virtual interface on which I can tcpdump all the traffic of those
interfaces at once?
  

You're talking about bridging. Look at
http://www.freebsd.org/doc/en/books/handbook/network-bridging.html

Section 31.5.7.1 is what you're asking for.


I don't think he wants to forward the traffic between those interfaces,
though; just dump them all together.  I'm not sure, though.



You're right.


If I'm right, I don't think tcpdump can do that directly.  One idea
might be to run a firewall to choose the packets and to forward a copy
to a dummy interface that can be monitored.



It might be an idea. Somehow I think it should be possible in a more 
simple way. Now reading 'man 4 lagg'...




-- Frederique
___
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: Copying files without scp

2009-04-07 Thread Frederique Rijsdijk

Steve Bertrand wrote:

Hi all,

To copy data from one server, I normally (always) use scp.

I'm looking for a method to perform this copy task without the overhead
of encryption for infrequent, high-volume transfers (hundreds to
thousands of GB).

The data will be transferred server-to-server within a private datacentre.

Can someone recommend a *known good* production quality copy mechanism
that will act like scp, but without the overhead? rsh? nc?



On the listening end:
cd / ; nc -l 12345 | tar xpvf -

On the sending end:
cd / ; tar cf - /path/file | nc target ip 12345

Replace 'x' by 't' on the listening end to verify that it's going to do 
what you would want/expect.



-- Frederique

___
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: FreeBSD as a Business Server

2009-04-04 Thread Frederique Rijsdijk

Seur Bors wrote:


As well, if anyone has any web-links to recommended reading, I would greatly
appreciate them.



Samba3 performs excellend nowadays. You should have no trouble at all 
serving 20 workers. In my setup (7.1-release/amd64/dual x2 3800 amd 
cpu/gigabit) smb generates only 3-5% cpu load when reading at 50MB/sec.


I would also recommend running swat (zee /etc/inetd.conf), it can really 
help creating a nice and tailored smb.conf file for you via a webinterface.


I believe that samba3 can even give you Active Directory features and 
Roaming Profiles, but I haven't looked into that. Samba as fileserver is 
enough for me.



-- Frederique

___
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: Binary upgrade 7.1 i386 - amd64 ?

2009-03-29 Thread Frederique Rijsdijk

On Fri, 13 Mar 2009 09:05:12 +0100, Frederique Rijsdijk
frederi...@isafeelin.org wrote:
 I'm planning to binary upgrade a machine that's now running i386
 7.1-RELEASE-p3 to AMD64. 

Just to follow up on my quest here..

The upgrade went fine. Most ports were broken as expected. I gave up trying
to recompile everything after a while, tripping over errors all over the
place. Weird ones. The mountain of errors in front of me just never got any
smaller. 

Ended up deleting all ports (pkg_delete -f \* is not something you do alot)
and /usr/local/lib. This left me with configuration files of all the apps I
had installed, as well as /var/db/ports/*. I simply recompiled the complete
of apps that was installed, and after a day or so of compiling all is
working again. No further work required. Amazing stuff! 

I find it amazing that even when things go really wrong in BSD (of course I
did that :), it's quite easy to recover from such a aituation. Just all the
port compiler options (/var/db/ports/*) and all the conf files of the apps
is enough to recover - even from source. At the end of the day, it put a
big smile on my face.

Just had to say it!


-- Frederique


___
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


Binary upgrade 7.1 i386 - amd64 ?

2009-03-13 Thread Frederique Rijsdijk
I'm planning to binary upgrade a machine that's now running i386
7.1-RELEASE-p3 to AMD64. Mainly because the machine has 8GB of memory
and I don't like the PAE limitations.

I've done this a couple of times before with 4.x - 6.x but all remained
i386.

Are there any pitfalls when doing an upgrade of i386 to amd64 or should
it be the same as any binary upgrade?

Thanks,

-- F
___
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: Binary upgrade 7.1 i386 - amd64 ?

2009-03-13 Thread Frederique Rijsdijk
Btw, yes I know that it might (or will) brake currently existing apps, I
have to save the /etc/fstab /etc/master.passwd files etc.

I'm just wondering if I end up with a system that can boot the old
filesystem and sshd will run so I can recompile all the ports on the
machine in the new architecture.

OT: I've been trying to search the bsd list archives, but it appears
broken. I can view one page of search results, but if I click a page
further, I always end up with this error:

http://lists.freebsd.org/mailman/mmsearch?config=freebsd-amd64;method=and;format=short;sort=score;words=update;page=2

htdig Archives Access Failure
Path info. No list -2-

If you want to make another attempt to access a list archive then go via
the list users information page.

If this problem persists then please e-mail the following information to
the mail...@freebsd.org:

http://lists.freebsd.org/mailman/mmsearch/freebsd-amd64

/mailman/mmsearch?config=freebsd-amd64;method=and;format=short;sort=score;words=update;page=2




Frederique Rijsdijk wrote:
 I'm planning to binary upgrade a machine that's now running i386
 7.1-RELEASE-p3 to AMD64. Mainly because the machine has 8GB of memory
 and I don't like the PAE limitations.
 
 I've done this a couple of times before with 4.x - 6.x but all remained
 i386.
 
 Are there any pitfalls when doing an upgrade of i386 to amd64 or should
 it be the same as any binary upgrade?
 
 Thanks,
 
 -- F
 ___
 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

___
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: Binary upgrade 7.1 i386 - amd64 ?

2009-03-13 Thread Frederique Rijsdijk
Erik Trulsson wrote:
 On Fri, Mar 13, 2009 at 09:05:12AM +0100, Frederique Rijsdijk wrote:
 I'm planning to binary upgrade a machine that's now running i386
 7.1-RELEASE-p3 to AMD64. Mainly because the machine has 8GB of memory
 and I don't like the PAE limitations.

 I've done this a couple of times before with 4.x - 6.x but all remained
 i386.

 Are there any pitfalls when doing an upgrade of i386 to amd64 or should
 it be the same as any binary upgrade?
 
 I don't know if a binary upgrade from i386 to amd64 is even possible, but I
 am fairly certain it is not supported.  Source upgrades from i386 to amd64
 are possible, but not trivial and not recommended.
 
 The recommended procedure for changing from i386 to amd64 is to make a
 backup of all important data on the machine, and then do a fresh install of
 amd64 after which any needed data is restored from the backup.
 



The machine has an extra 1TB disks for backups, so that part is already
'done'. Perhaps my only existing worry is that I will not be able to
read the existing filesystems after the upgrade.

___
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: Monitoring geom

2009-03-05 Thread Frederique Rijsdijk

Mister Olli wrote:

Hi hi...

What is the best way to monitor geom software raids (gmirror  gvinum
raid5)???

The solution I'm searching for should be a kind of script which checks
the status, and drops me an email if something is wrong.

I found a nagios plugin, but currently I'm unable to invest enough time
to get nagios up and running for the customer...

Thanks a lot...

greetz
Olli

___
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



I monitor some machines with geom mirrors via Nagios/SNMP.

In nagios:
--
define service{
   use generic-service
   host_name   host.name.com
   service_description gmirror
   check_command   check_snmp!1!0!UCD-SNMP-MIB::extOutput.1
}


On the machine in snmpd.conf (net-snmp):
--
exec gmirror /usr/local/sbin/checkgmirror


The script:
--
#!/bin/sh

mirrorstate=`/sbin/gmirror list | /usr/bin/grep ^State |\
/usr/bin/awk '{print $2}'`

if [ $mirrorstate != COMPLETE ]
  then
echo 1
  else
echo 0
fi


Besides crafthing something of your own, there is also: 
/usr/ports/net-mgmt/nagios-geom


This is a small Nagios plugin written in PERL and designed to monitor
the state of FreeBSD GEOM devices (specifically mirrors and striped
volumes) from Nagios.

WWW: http://www.geocities.com/ntb4real/proj/geom.htm


To use in Nagios:

In checkcommands.cfg:
--
define command{
command_namecheck_geom
command_line$USER1$/check_geom $ARG1$ $ARG2$
}


In your host.cfg:
--
define service{
use local-service
host_name   host.name.conf
service_description mirror
check_command   check_geom!mirror!gm0
}


___
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: Large raid arrays

2009-01-20 Thread Frederique Rijsdijk
Matias Surdi wrote:
 Matias Surdi escribió:
 Hi,

 I've a host with two large (2Tb and 4 Tb) hardware raid5 arrays.

 For the backup system we are using, I need to join them to make 1
 logical device.

 What would you recomment? ccd or vinum?

 
 Some comments that may help in the decision:
 
 - Reliability/resistance to power failures are the most important factor.
 
 - It doesn't require high performance or high speed.
 

Either gconcat or ZFS, depending which version of FreeBSD you're running.

gconcat label -v data /dev/raid1 /dev/raid2
newfs /dev/concat/data
mkdir /mnt/data  mount /dev/concat/data /mnt/data
df -h /mnt/data

or

zpool create data /dev/raid1 /dev/raid2
df -h /data



-- Frederique
___
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


Installing OpenSSL from ports, how to remove base-openssl?

2009-01-15 Thread Frederique Rijsdijk
For a certain customer that wants to use a later version of OpenSSL
(base is at 'e' while ports is at 'j') I installed
/usr/ports/security/openssl. This is all fine, but now I have two sets
binaries and libraries of OpenSSL on that system.

What is the proper way to remove the base openssl? I looked with
sysinstall distributions but it's not listed there as something that you
can add or remove.


-- Frederique
___
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: updated to 7.1 via cvs source, PAE kernel. server unstable

2009-01-13 Thread Frederique Rijsdijk

matt donovan schreef:


On Tue, Jan 13, 2009 at 4:32 PM, brad davison 
demonichandextensi...@hotmail.com wrote:

Since then, we have had severe server instability after a few hours.  The
server completely locks up requiring a hard boot, then the fsck_ufs runs for
a while.  This is our production mail server, and we've been down off and on
for 2 days.



could be due to PAE. since PAE is known not to be very stable.



First thing I'd try too. Compile a GENERIC kernel and see if that brings 
any improvement.


If it does, perhaps consider running AMD64 in stead of PAE. Alot more 
stable.


-- FR
___
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


Drop-box application in the FreeBSD ports?

2009-01-07 Thread Frederique Rijsdijk
Hello,

I've been looking for drop-box functionality for a while, but I can't
find any in the ports. Perhaps it's there but I'm not looking for the
right keywords.

Preferably something that's completely web-based (PHP) (no FTP or SCP)
and maintenance-free.

For example: a user uploads a (set of) file(s), and the application
returns a hashed URL that can be passed on to the person that can then
download the file(s). After downloading (or after a certain period of
time) the file will be removed automaticaly.

Is there any such thing in the ports for FreeBSD, or perhaps something
not in the ports?


Thanks,


-- FR
___
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 do ping really quiet?

2009-01-05 Thread Frederique Rijsdijk
KES wrote:
 Hello, Questions.
 
 When I use
 ping -q ya.ru
 I get
 ping: sendto: No route to host
 
 How to make ping really quiet?
 


Try:

sh -c 'ping -q ya.ru  /dev/null 21'



-- FR
___
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: Using HDD's for ZFS: 'desktop' vs 'raid / enterprise' -edition drives?

2009-01-03 Thread Frederique Rijsdijk

Charles Richards wrote:
If his data (photo / video storage) is that important, then perhaps he 
wants to do soemthing else ... but for a cheap way to get tons of 
storage, ZFS can't be beat.


Of course I'm backing up the very important data on a daily basis (de 
photo's mainly), but the videos (which will take up the biggest part of 
course) are not critical. I just want a huge volume to store it on. If 
some sort of redundancy can be built into that, that's very nice. I've 
been using GEOM (gconcat) so far, but I'd like to move to ZFS due to 
it's ease of use (apart from tuning your system to it) and also because 
GEOM is not able to provide any raid5-like setups. Just raid3 or mirror.


ZFS has got it's caveats and gotchas - you *must* tune your FreeBSD 
installation to get stability.


See here: http://wiki.freebsd.org/ZFSTuningGuide


I was aware of that, I'll look in to it.


I'm running a fileserver-in-a-closet (patent pending) on FreeBSD 
7.0-amd64, with 10x250GB drives in a single RAIDZ2 for my home storage 
needs.


 I'm using old Maxtor SATA150 drives, which are desktop class.
Several of them have had to remap sectors while being a part of the 
array, and I've never had ZFS complain, nor had the drive be dropped 
by the OS.


Ok that's good information. I also read/noticed that ZFS seems to run 
best on AMD64 platforms. That's OK then. I'm running i386 now, but I'm 
happy to switch.


I'd suggest that the OP and yourself do some in-depth reading about 
ZFS and how it works. The best documentation I've found as yet is here:

http://opensolaris.org/os/community/zfs/docs/ondiskformat0822.pdf


Will do, thanks again.


-- FR
___
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: Using HDD's for ZFS: 'desktop' vs 'raid / enterprise' -edition drives?

2009-01-03 Thread Frederique Rijsdijk
After some reading, I come back from my original idea. Main reason is 
I'd like to be able to grow the fs as the need develops in time.


One could create a raidz zpool with a couple of disks, but when adding a 
disk later on, it will not become part of the raidz (I tested this).


It seems vdevs can not be nested (create raidz sets and join them as a 
whole), so I came up with the following:


Start out with 4*1TB, and use geom_raid5 to create an independent 
redundant pool of storage:


'graid5 label -v graid5a da0 da1 da2 da3'  (this is all tested in 
vmware, one of these 'da' drives is 8GB)


Then I 'zpool create bigvol /dev/raid5/graid5a', and I have a /bigvol of 
24G - sounds about right to me for a raid5 volume.


Now lets say later in time I need more storage, I buy another 4 of these 
drives, and


'graid5 label -v graid5b da4 da5 da6 da7'
and
'zpool add bigvol /dev/raid5/graid5b'

Now my bigvol is 48G. Very cool! Now I have redundant storage that can 
grow and it's pretty easy too.


Is this OK (besides from the fact that graid5 is not in production yet, 
nor is ZFS ;) or are there easier (or better) ways to do this?


- So I want redundancy (I don't want one failing drive to cause me to 
loose all my data)
- I want to be able to grow the filesystem if I need to, by adding a 
(set of) drive(s) later on.




-- FR
___
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


Using HDD's for ZFS: 'desktop' vs 'raid / enterprise' -edition drives?

2009-01-02 Thread Frederique Rijsdijk

Hi freebsd-questions,

For personal use (photo/video storage), I'm looking into creating a huge
single ZFS (raidz) volume that will replace my current collection of
drives used as storage. I'm thinking 4*1TB drives in RAID5(z).

My question is regarding the flavour of drivers that one can choose
from: Desktop class drives, or the so called RAID/Enterprise class drives.

The difference between the two being the way such a drive handles the
bad-sector/block handling and remapping. I understand that Desktop class
drives do all this internally, and this is a process that can take up to
60s (even minutes on some), and during this process the drive is 

unavailable to the controller. The RAID edition drives all appoach this
differently and alot faster, typically before 8 seconds.

How does ZFS handle this? Should I be looking for the RAID class drives
or can Desktop class drives be used here?

My worry is of course that such a drive (destkop class) will be marked
defective and thrown out of the raid volume if a remapping of bad
sectors occurs and the drive will be unresponsive to the controller/ZFS
for  8 seconds.

Some drives can be configured in this area, but not all, and there's
quite a price difference in the two, the desktop class being up to 50%
cheaper in some cases..

Anybody that can shed some light on this?


Thanks,

-- Frederique




___
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