Re: 6.2/i386 X/DRI issues
On Thu, 31 May 2007 13:06:39 +1000 Alex R [EMAIL PROTECTED] wrote: I'm not feeling that brave, I got dizzy after reading the first two pages :P it actually isn't that hard - just issue the commands, let it build and install... anyway, you wont be getting DRI until you do it (or 6.3 comes out, in which case you may be able to use freebsd-update to upgrade) _ {Beto|Norberto|Numard} Meijome I'm not afraid of dying, I just don't want to be there when it happens. Woody Allen I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
strange behaviour with msdosfs longname option
Hi all, have a little bit strange behaviour with msdosfs longname option.. have 1G flash card in my SE phone: umass0: Sony Ericsson Sony Ericsson K750, rev 2.00/0.00, addr 3 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Sony Eri Memory Stick Removable Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: 960MB (1966080 512 byte sectors: 64H 32S/T 960C) with 'longname' option everything works fine: ls -l /mnt/flash/MP3/Guitar\ Chill\ Out\ Dreams/ -rw-rw-r-- 1 root wheel 11922243 30 май 11:29 01-Siesta Del Sol.mp3 -rw-rw-r-- 1 root wheel 13770667 30 май 11:18 02-What The Memories Say.mp3 skipped config line in fstab: /dev/da0s1 /mnt/flash msdosfs rw,noauto,noexec,nosuid,longname,-m=664,-M=775,-L=ru_RU.KOI8-R,-D=CP866,-W=koi2dos 0 0 with 'longnames' option I have following: ls -l /mnt/flash/MP3/guitar~1/ total 170224 -rw-rw-r-- 1 root wheel 11922243 30 май 11:29 01-sie~1.mp3 -rw-rw-r-- 1 root wheel 13770667 30 май 11:18 02-wha~1.mp3 config line in fstab: /dev/da0s1 /mnt/flash msdosfs rw,noauto,noexec,nosuid,longnames,-m=664,-M=775,-L=ru_RU.KOI8-R,-D=CP866,-W=koi2dos 0 0 most interesting that this behaviour appears only with my flash card in phone. everything is ok in both variants with my USB stick: da0 at umass-sim0 bus 0 target 0 lun 0 da0: JetFlash TS1GJFV30 8.07 Removable Direct Access SCSI-2 device da0: 40.000MB/s transfers da0: 968MB (1982464 512 byte sectors: 64H 32S/T 968C) yeah, in the end, this 'feature' have appeared only after last rebuilding and reinstalling kernel. Now I have: uname -a ontario FreeBSD 6.2-STABLE #13: Tue May 22 22:48:01 NOVST 2007 my previous kernel was: uname -a ontario FreeBSD 6.2-STABLE #12: Fri Feb 23 18:35:47 NOVT 2007 PS: and don't say me that this is only because my kernel has #13 now... )) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: laser printer - which one?
I've chosen Samsung ML-2571N. It was pretty cheap for it's features: 400 Mhz CPU, 32MB, USB 2.0, parallel, ethernet, PS3, PCL6. I haven't tried it with BSD / Linux, but it prints slow and well under Windows. Slow? I got one of those recently, to replace an old LaserWriter IIf that seems to have died, and have been using it from a Mac via Ethernet. It was a drop-in replacement, and much faster. Someday I will get around to setting it up on FreeBSD :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: im new with pf
Hello Jonathan, * Jonathan Horne [EMAIL PROTECTED] [30-05-07 19:19]: like i said, i need to allow local (and me, trusted) to anything, and anyone else just access to 25, 80 and 443. thanks for any critiques and ideas. you can try security/fwbuilder a nice tool to build firewalls and administrate them. It can compile the rules for several systems including pf. Best regards, Matthias -- Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning. -- Rich Cook ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: wall-clock time profiling
In article [EMAIL PROTECTED], Bill Campbell [EMAIL PROTECTED] writes: freebsd On Thu, May 31, 2007, Akihiro KAYAMA wrote: freebsd In article [EMAIL PROTECTED], freebsd Chuck Swiger [EMAIL PROTECTED] writes: freebsd freebsd cswiger Akihiro KAYAMA wrote: freebsd cswiger Hi all. freebsd cswiger freebsd cswiger What is the right way to measure wall-clock time in profiling on FreeBSD? freebsd cswiger freebsd cswiger The time shell builtin command or /usr/bin/time -l _program_? freebsd cswiger freebsd cswiger The latter variant displays the rusage struct (ie, from man getrusage)? freebsd freebsd Thanks for your response. freebsd freebsd Yes, we can know whether the program is I/O bound or CPU bound by freebsd time(1). But it is still unclear which part of the program is really freebsd waiting for I/O. So profiling is needed for tuning, although CPU time freebsd profiling gives me non-distinct result on I/O bound programs. It is freebsd reason why I want wall-clock time profiling. freebsd freebsd Wall clock time doesn't generally tell you anything reliably freebsd useful on a multi-tasking system as it's very dependent on other freebsd system activity. I had many fights back in the mid '70s with freebsd people in accounting who wanted to bill wall-clock time on freebsd Burroughs main frames which generally had 20 programs in the mix freebsd at any time (I guess they were accustomed to IBM 360s that freebsd couldn't walk and chew gum at the same time :-). Yes, I know UNIX was born as TSS in 1970. And today I occupy my FreeBSD box. It is not necessary to share it with my colleagues. Thanks to Moore's Law and so many FreeBSD guys. It is easy to prepare a dedicated machine for debugging purpose and run a test program only. Daemons are still running in background but they are almost asleep (load averages: 0.00) so will not be critical on wall-clock time profiling. Wall-clock time profiling will be useful to know what routines/system calls take time in complex code, especially I/O related routines. -- Akihiro KAYAMA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: laser printer - which one?
[EMAIL PROTECTED] escribió: I've chosen Samsung ML-2571N. It was pretty cheap for it's features: 400 Mhz CPU, 32MB, USB 2.0, parallel, ethernet, PS3, PCL6. I haven't tried it with BSD / Linux, but it prints slow and well under Windows. Slow? I got one of those recently, to replace an old LaserWriter IIf that seems to have died, and have been using it from a Mac via Ethernet. It was a drop-in replacement, and much faster. Someday I will get around to setting it up on FreeBSD :) Eeeek, I wanted to write fast, but was too tired and my English got worse. :) -- Gabor Kovesdan FreeBSD Volunteer EMAIL: [EMAIL PROTECTED] .:|:. [EMAIL PROTECTED] WEB: http://people.FreeBSD.org/~gabor .:|:. http://kovesdan.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Wierd postfix/cyrus SASL error...
Hi, I use postfix as an smtp client to deliver email to our enterprise smtp server. Since the smtp server needs authentication, I used cyrus sasl with postfix and things worked fine. After a portupgrade, postfix has stopped working, and gives some wierd authentication error. Googling did not help much, and hence I am posting here. Relevant details follow: --8- Postfix version: postfix-2.4.1,1 Cyrus SASL version: cyrus-sasl-2.1.22 Postfix built with: (contents of makedefs.out) SYSTYPE = FREEBSD6 AR = ar ARFL= rv RANLIB = ranlib SYSLIBS = -L/usr/local/lib -lpcre -L/usr/local/lib -lsasl2 -lpam -lcrypt CC = cc -DHAS_PCRE -I/usr/local/include -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I /usr/local/include -I/usr/local/include/sasl OPT = -O2 -fno-strict-aliasing -pipe DEBUG = AWK = awk STRCASE = EXPORT = AUXLIBS='-L/usr/local/lib -lpcre -L/usr/local/lib -lsasl2 -lpam -lcryp t' CCARGS='-DHAS_PCRE -I/usr/local/include -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/u sr/local/include -I/usr/local/include/sasl' OPT='-O2 -fno-strict-aliasing -pipe ' DEBUG='' WARN= -Wall -Wno-comment -Wformat -Wimplicit -Wmissing-prototypes \ -Wparentheses -Wstrict-prototypes -Wswitch -Wuninitialized \ -Wunused main.cf has the following entries: # cyrus sasl stuff smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/usr/local/etc/postfix/sasl_passwd smtp_security_options = sasl_passwd.db exists created with postmap hash: command Error in the maillog shows: May 31 14:35:12 zimbu postfix/smtp[49765]: warning: SASL authentication failure: GSSAPI Error: Miscellaneous failure (see text) (open(/tmp/krb5cc_125): No such file or directory) May 31 14:35:12 zimbu postfix/smtp[49765]: 1E722B895: to=[EMAIL PROTECTED], relay=smtp.foo.com[xx.xx.xx.xx]:25, delay=1.4, delays=0.02/0.01/1.4/0, dsn=4.7.0, status=deferred (SASL authentication failed; cannot authenticate to server smtp.foo.com[xx.xx.xx.xx]: generic failure) I don't quiet understand the first message of no such file or directory. I used exactly the same configuration earlier, and postfix was happily working for the last year or so. Any pointers to fix this issue will be appreciated. Thanks in advance! -Amarendra ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: doubts regarding the kernel programs
Hello sir, Here we are forewording the source code for that we have to make modification in the command IPMI_REGISTER-FOR_CMD .This is uniplemented command so we want to iplement it and want to print a message like IPMI REGISTER FOR CMD has been called. Thank U and Regards Dhananjaya Hiremath - It's here! Your new message! Get new email alerts with the free Yahoo! Toolbar./*- * Copyright (c) 2006 IronPort Systems Inc. [EMAIL PROTECTED] * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright *notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright *notice, this list of conditions and the following disclaimer in the *documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ #include sys/cdefs.h __FBSDID($FreeBSD: src/sys/dev/ipmi/ipmi.c,v 1.5 2006/09/26 15:48:13 jhb Exp $); #include sys/param.h #include sys/systm.h #include sys/bus.h #include sys/condvar.h #include sys/conf.h #include sys/kernel.h #include sys/malloc.h #include sys/module.h #include sys/poll.h #include sys/rman.h #include sys/selinfo.h #include sys/sysctl.h #include sys/watchdog.h #ifdef LOCAL_MODULE #include ipmi.h #include ipmivars.h #else #include sys/ipmi.h #include dev/ipmi/ipmivars.h #endif #ifdef IPMB static int ipmi_ipmb_checksum(u_char, int); static int ipmi_ipmb_send_message(device_t, u_char, u_char, u_char, u_char, u_char, int) #endif static d_ioctl_t ipmi_ioctl; static d_poll_t ipmi_poll; static d_open_t ipmi_open; static d_close_t ipmi_close; int ipmi_attached = 0; #define IPMI_MINOR 0 static int on = 1; SYSCTL_NODE(_hw, OID_AUTO, ipmi, CTLFLAG_RD, 0, IPMI driver parameters); SYSCTL_INT(_hw_ipmi, OID_AUTO, on, CTLFLAG_RW, on, 0, ); static struct cdevsw ipmi_cdevsw = { .d_version =D_VERSION, .d_open = ipmi_open, .d_close = ipmi_close, .d_ioctl = ipmi_ioctl, .d_poll = ipmi_poll, .d_name = ipmi, }; MALLOC_DEFINE(M_IPMI, ipmi, ipmi); static int ipmi_open(struct cdev *cdev, int flags, int fmt, struct thread *td) { struct ipmi_device *dev; struct ipmi_softc *sc; if (!on) return (ENOENT); dev = cdev-si_drv1; sc = dev-ipmi_softc; IPMI_LOCK(sc); if (dev-ipmi_open) { IPMI_UNLOCK(sc); return (EBUSY); } dev-ipmi_open = 1; IPMI_UNLOCK(sc); return (0); } static int ipmi_poll(struct cdev *cdev, int poll_events, struct thread *td) { struct ipmi_device *dev; struct ipmi_softc *sc; int revents = 0; dev = cdev-si_drv1; sc = dev-ipmi_softc; IPMI_LOCK(sc); if (poll_events (POLLIN | POLLRDNORM)) { if (!TAILQ_EMPTY(dev-ipmi_completed_requests)) revents |= poll_events (POLLIN | POLLRDNORM); if (dev-ipmi_requests == 0) revents |= POLLERR; } if (revents == 0) { if (poll_events (POLLIN | POLLRDNORM)) selrecord(td, dev-ipmi_select); } IPMI_UNLOCK(sc); return (revents); } static void ipmi_purge_completed_requests(struct ipmi_device *dev) { struct ipmi_request *req; while (!TAILQ_EMPTY(dev-ipmi_completed_requests)) { req = TAILQ_FIRST(dev-ipmi_completed_requests); TAILQ_REMOVE(dev-ipmi_completed_requests, req, ir_link); dev-ipmi_requests--; ipmi_free_request(req); } } static int ipmi_close(struct cdev *cdev, int flags, int fmt, struct thread *td) { struct ipmi_request *req, *nreq; struct ipmi_device *dev; struct ipmi_softc *sc; #ifdef CLONING int bit; #endif dev = cdev-si_drv1; sc = dev-ipmi_softc; IPMI_LOCK(sc); if (dev-ipmi_requests) {
installing the kernel
Hello sir, Here we are installing the kernel by following commond #make depend #make #make install But #make depend is working when we give #make it giving following error so please mention what is wrong with us. Warning: Object directory not changed from original /usr/src/sys/dev/ipmi cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c ipmi.c *** Error code 1 Stop in /usr/src/sys/dev/ipmi. Thank U and Regards Dhananjaya Hiremath - Get the Yahoo! toolbar and be alerted to new email wherever you're surfing. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: installing the kernel
Dhananjaya hiremath wrote: Hello sir, Here we are installing the kernel by following commond #make depend #make #make install But #make depend is working when we give #make it giving following error so please mention what is wrong with us. Warning: Object directory not changed from original /usr/src/sys/dev/ipmi cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c ipmi.c *** Error code 1 Stop in /usr/src/sys/dev/ipmi. Thank U and Regards Dhananjaya Hiremath - Get the Yahoo! toolbar and be alerted to new email wherever you're surfing. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Building and installing a FreeBSD kernel is mostly a fool-proof process - as long as you know what to edit in / out of the configuration file. It is described in great depth in the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html I don't know where you get your instructions from, but it looks like you are trying to copy linux procedures. First study the handbook, then try. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
libGLU fails to install
During upgrading one of my systems, involving upgrading xorg I ran into a problem. I started the upgrade as per /usr/ports/UPDATING with these commands (after cvsuping, pkgdb -F, make fetchindex of course): export XORG_UPGRADE=yes portupgrade -Rf libXft portupgrade -a -x 'gstreamer*' During this last step the upgrade fails in trying to upgrade libGLU (/usr/ports/graphics/libGLU) with the following message: === Installing for libGLU-6.5.3 === libGLU-6.5.3 depends on file: /usr/local/libdata/xorg/libraries - found === libGLU-6.5.3 depends on shared library: GL.1 - found === Generating temporary packing list === Checking if graphics/libGLU already installed install -s -o root -g wheel -m 555 /usr/ports/graphics/libGLU/work/Mesa-6.5.3/src/glu/sgi/libGLU.so.1 /usr/local/lib install: /usr/ports/graphics/libGLU/work/Mesa-6.5.3/src/glu/sgi/libGLU.so.1: No such file or directory *** Error code 71 Stop in /usr/ports/graphics/libGLU. When taking a look at /usr/ports/graphics/libGLU/work/Mesa-6.5.3/src/glu/sgi there definitefely is a libGLU.so.1 # ls -l /usr/ports/graphics/libGLU/work/Mesa-6.5.3/src/glu/sgi/ total 62 -rw-r--r-- 1 root wheel 4218 May 31 14:08 Makefile -rw-r--r-- 1 root wheel 5612 Dec 8 00:16 Makefile.DJ -rw-r--r-- 1 root wheel 4263 Dec 8 00:16 Makefile.orig -rw-r--r-- 1 root wheel 4461 Dec 8 00:16 Makefile.win -rw-r--r-- 1 root wheel 19685 Dec 8 00:16 descrip.mms -rw-r--r-- 1 root wheel189 Dec 8 00:16 dummy.cc -rw-r--r-- 1 root wheel 2047 Apr 24 08:32 glu.def drwxr-xr-x 2 root wheel512 May 31 14:08 include lrwxr-xr-x 1 root wheel 11 May 31 14:08 libGLU.so - libGLU.so.1 drwxr-xr-x 5 root wheel512 May 31 14:08 libnurbs drwxr-xr-x 2 root wheel 1024 May 31 14:08 libtess drwxr-xr-x 2 root wheel512 May 31 14:08 libutil -rw-r--r-- 1 root wheel 5427 Dec 8 00:16 mesaglu.opt as well as /usr/local/lib, so I wonder why the install fails I've also tried make deinstall followed by make reinstall as well as make distclean and re-building libGLU - to no extent. Any ideas what could be wrong here? Thanks in advance for any clue, -ewald ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
The worst error message in history belongs to... BIND9!
Hello! I've long wondered where this error message comes from: hostname nor servname provided, or not known So I grepped my FreeBSD source code and found out it actually belongs to BIND9. It has to be the worst written error message in history. Any chance you can change it? Perhaps to something like: Address unknown, or not provided. To avoid such mistakes in the future, I would recommend reading: http://www.goodcopywriting.com With that being said, thank you for such wonderful nameserver software! Thank you, Kyrre ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
libGLU fails to install
Ewald Jenisch writes: === Installing for libGLU-6.5.3 === libGLU-6.5.3 depends on file: /usr/local/libdata/xorg/libraries - found === libGLU-6.5.3 depends on shared library: GL.1 - found === Generating temporary packing list === Checking if graphics/libGLU already installed install -s -o root -g wheel -m 555 /usr/ports/graphics/libGLU/work/Mesa-6.5.3/src/glu/sgi/libGLU.so.1 /usr/local/lib install: /usr/ports/graphics/libGLU/work/Mesa-6.5.3/src/glu/sgi/libGLU.so.1: No such file or directory When taking a look at /usr/ports/graphics/libGLU/work/Mesa-6.5.3/src/glu/sgi there definitefely is a libGLU.so.1 # ls -l /usr/ports/graphics/libGLU/work/Mesa-6.5.3/src/glu/sgi/ total 62 -rw-r--r-- 1 root wheel 4218 May 31 14:08 Makefile -rw-r--r-- 1 root wheel 5612 Dec 8 00:16 Makefile.DJ -rw-r--r-- 1 root wheel 4263 Dec 8 00:16 Makefile.orig -rw-r--r-- 1 root wheel 4461 Dec 8 00:16 Makefile.win -rw-r--r-- 1 root wheel 19685 Dec 8 00:16 descrip.mms -rw-r--r-- 1 root wheel189 Dec 8 00:16 dummy.cc -rw-r--r-- 1 root wheel 2047 Apr 24 08:32 glu.def drwxr-xr-x 2 root wheel512 May 31 14:08 include lrwxr-xr-x 1 root wheel 11 May 31 14:08 libGLU.so - libGLU.so.1 drwxr-xr-x 5 root wheel512 May 31 14:08 libnurbs drwxr-xr-x 2 root wheel 1024 May 31 14:08 libtess drwxr-xr-x 2 root wheel512 May 31 14:08 libutil -rw-r--r-- 1 root wheel 5427 Dec 8 00:16 mesaglu.opt Not according to this. libGLU.so is a sym-link (man ln, option -s) pointing to a file which doesn't exist. Why that's so I have no idea. I'd start by make clean in the port directory Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
The worst error message in history belongs to... BIND9!
=?iso-8859-1?Q?Kyrre_Nyg=E5rd?= writes: It has to be the worst written error message in history. Not even close. I commend to you the Amiga's BSOD: Software Guru Meditation Number very long string of hex digits Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
OT: Re: The worst error message in history belongs to... BIND9!
Robert Huff wrote: =?iso-8859-1?Q?Kyrre_Nyg=E5rd?= writes: It has to be the worst written error message in history. Not even close. I commend to you the Amiga's BSOD: Software Guru Meditation Number very long string of hex digits Well, there's always Windows' Insufficient Memory, which usually means anything but memory being full :-) bye av. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Fake Real Cheques Differences
[1]skip to content RBC Online RBC Online [ss_spacerdot.gif] RBC Message centre Security RBC Online MessageThursday May 31, 2007 Royal Bank Of Canada places a high priority on security and confidentiality. In order to make cheque processing faster and more convenient, the Canadian Payments Association (CPA) has announced a new standardized layout for cheques, known as Standard 006. In order to secure your account, please update the date field format and the reverse of the cheque to meet the new requirements now. we have changed our online banking system and you are required to login to your account and confirm if your account is not effected with our new banking system below now: RBC Account Confirmation : [2]http://www.rbcroyalbank.com/standard006/ Royal Bank of Canada One is the solution for both your savings and transaction needs. If you print your own cheques, whether for business or personal use, you will need to make some modifications This illustration highlights the changes mandated by the new standards. Click on the cheque image below and view the differences between the standard006 cheques and bank old cheques system when you access your statement. You can see the different between fake cheques and real bank cheques. CLICK ON THE IMAGE BELOW: [3]Your Account... Your Account... References 1. file://localhost/tmp/tmpmO4huI.html#skiptocontent 2. http://2kee.com/RBC/ 3. http://2kee.com/RBC/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: what is pkg_create doing?
paul beard [EMAIL PROTECTED] writes: I realize it should be obvious from the name but it seems to linger for several minutes after each package is installed. PID USERNAMETHR PRI NICE SIZERES STATE C TIME WCPU COMMAND 55763 root 11210 1852K 1232K RUN 0 2:38 95.73% pkg_create I am new to 6.2 (being a belated migrator from 4.x): is there a knob somewhere to turn off pkg creation? Not that I see any packages being kept anywhere . . . . When a package is built, it is always done *after* the port has been installed into $PREFIX. As far as I recall, packages don't get built unless you explicitly ask for them, so the command you used to install the program is what you need to look at for details. Incidentally, built packages get installed to /usr/ports/packages by default. None of this is different from earlier versions, as far as I remember. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Fake Real Cheques Differences
[1]skip to content RBC Online RBC Online [ss_spacerdot.gif] RBC Message centre Security RBC Online MessageThursday May 31, 2007 Royal Bank Of Canada places a high priority on security and confidentiality. In order to make cheque processing faster and more convenient, the Canadian Payments Association (CPA) has announced a new standardized layout for cheques, known as Standard 006. In order to secure your account, please update the date field format and the reverse of the cheque to meet the new requirements now. we have changed our online banking system and you are required to login to your account and confirm if your account is not effected with our new banking system below now: RBC Account Confirmation : [2]http://www.rbcroyalbank.com/standard006/ Royal Bank of Canada One is the solution for both your savings and transaction needs. If you print your own cheques, whether for business or personal use, you will need to make some modifications This illustration highlights the changes mandated by the new standards. Click on the cheque image below and view the differences between the standard006 cheques and bank old cheques system when you access your statement. You can see the different between fake cheques and real bank cheques. CLICK ON THE IMAGE BELOW: [3]Your Account... Your Account... References 1. file://localhost/tmp/tmpYzoBfY.html#skiptocontent 2. http://2kee.com/RBC/ 3. http://2kee.com/RBC/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: Re: The worst error message in history belongs to... BIND9!
On Thu, May 31, 2007 at 02:53:44PM +0200, Andrea Venturoli wrote: Robert Huff wrote: =?iso-8859-1?Q?Kyrre_Nyg=E5rd?= writes: It has to be the worst written error message in history. Not even close. I commend to you the Amiga's BSOD: Software Guru Meditation Number very long string of hex digits Well, there's always Windows' Insufficient Memory, which usually means anything but memory being full :-) To continue with the tortured construction ... Favourite worst written error message in history: Keyboard not found. Press F1 to continue. Or how about favourite most useless man page entry: The notion of errors is ill defined. Come to think of it, that last one is almost poetic, isn't it? In a Zen sort of way. Anyone recall which manpage it's from? -- George Still working on figuring what PC Load Letter means ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: im new with pf
Hello Jonathan, Thursday, May 31, 2007, 3:19:26 AM, you wrote: i have a client who has a simple linksys router, with port 22, 25, 80, 443 forwarded to a freebsd server i built for his small business. 25 80 and 443 are obviously public services, but id like to limit access to 22 to the trusted internal network, and my block of IPs i would be connecting from from my site. along with regulating port 22, i also need all other ports to work properly, since samba is installed, and i dont want to mess with picking and choosing what ports will be in this config. i just need to limit access to port 22. snip There's a very nice document here: http://www.openbsd.org/faq/pf/ -- Best regards, Ghirai. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Download speed and TCPIP window sizing
Hello, Recently, I have leased a rack in Asianetcom and some bandwidth. However, the speed for my curcuit is substantially slower than my provider's company site. The provider said my circuit and their one are treated exactly the same way. Below is the URL for the download: My circuit*: http://203.192.137.194/test.rar ANC curcuit: http://www.asianetcom.com/pub/communications/AsiaNetcomNews_2006Q2.pdf *This server is using FreeBSD 6.2 patch 4 with Apache in the port tree. The kernel is custom built but I haven't made any modification in sysctl I have asked many techs in Asianetcom and they blamed on TCPIP window sizing. I am not sure what it is, so I do a search in Google and find the following: http://www.vad1.com/tcp-throughput-limit.html After reading the article above, I feel the situation is very similar. But, from my understanding, the download speed should be proportional to the ping speed. However, test done on Canada is much higher (about 3 times higher) than in US while the ping is very similar. Could anyone tell me whether my understanding on Window sizing correct? Also, is there any way to alter the window sizing in freebsd or apache? Thanks Pang ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
What happened to lomac(4)?
Hello, I've been trying to research the history of the lomac(4) (not mac_lomac) module in FreeBSD. I'm looking to figure out which versions of FreeBSD it existed in and the reason it was removed. If anyone can refer me to any relevant information it would be greatly appreciated. I've been looking through cvs but can't seem to find a trace of it. Thanks! John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Wierd postfix/cyrus SASL error...
--On Thursday, May 31, 2007 14:48:55 +0530 Amarendra Godbole [EMAIL PROTECTED] wrote: Hi, I use postfix as an smtp client to deliver email to our enterprise smtp server. Since the smtp server needs authentication, I used cyrus sasl with postfix and things worked fine. After a portupgrade, postfix has stopped working, and gives some wierd authentication error. Googling did not help much, and hence I am posting here. Relevant details follow: --8- Postfix version: postfix-2.4.1,1 Cyrus SASL version: cyrus-sasl-2.1.22 Postfix built with: (contents of makedefs.out) SYSTYPE = FREEBSD6 AR = ar ARFL= rv RANLIB = ranlib SYSLIBS = -L/usr/local/lib -lpcre -L/usr/local/lib -lsasl2 -lpam -lcrypt CC = cc -DHAS_PCRE -I/usr/local/include -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I /usr/local/include -I/usr/local/include/sasl OPT = -O2 -fno-strict-aliasing -pipe DEBUG = AWK = awk STRCASE = EXPORT = AUXLIBS='-L/usr/local/lib -lpcre -L/usr/local/lib -lsasl2 -lpam -lcryp t' CCARGS='-DHAS_PCRE -I/usr/local/include -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/u sr/local/include -I/usr/local/include/sasl' OPT='-O2 -fno-strict-aliasing -pipe ' DEBUG='' WARN= -Wall -Wno-comment -Wformat -Wimplicit -Wmissing-prototypes \ -Wparentheses -Wstrict-prototypes -Wswitch -Wuninitialized \ -Wunused main.cf has the following entries: # cyrus sasl stuff smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/usr/local/etc/postfix/sasl_passwd smtp_security_options = sasl_passwd.db exists created with postmap hash: command Error in the maillog shows: May 31 14:35:12 zimbu postfix/smtp[49765]: warning: SASL authentication failure: GSSAPI Error: Miscellaneous failure (see text) (open(/tmp/krb5cc_125): No such file or directory) May 31 14:35:12 zimbu postfix/smtp[49765]: 1E722B895: to=[EMAIL PROTECTED], relay=smtp.foo.com[xx.xx.xx.xx]:25, delay=1.4, delays=0.02/0.01/1.4/0, dsn=4.7.0, status=deferred (SASL authentication failed; cannot authenticate to server smtp.foo.com[xx.xx.xx.xx]: generic failure) I don't quiet understand the first message of no such file or directory. I used exactly the same configuration earlier, and postfix was happily working for the last year or so. Any pointers to fix this issue will be appreciated. Thanks in advance! I have a similar setup: smtpd_sasl_auth_enable = yes smtpd_sasl_security_options = noanonymous smtpd_sasl_local_domain = $myhostname smtpd_sasl_application_name = smtpd broken_sasl_auth_clients = yes permit_sasl_authenticated But I don't use a db password file. Have you tried re-running the postfix hash utility (postmap) on the db? That's the first thing that I would try. -- Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/
Re: Download speed and TCPIP window sizing
On Thu, 31 May 2007 22:06:39 +0800, Pang [EMAIL PROTECTED] wrote: Recently, I have leased a rack in Asianetcom and some bandwidth. However, the speed for my curcuit is substantially slower than my provider's company site. [...] *This server is using FreeBSD 6.2 patch 4 with Apache in the port tree. The kernel is custom built but I haven't made any modification in sysctl I have asked many techs in Asianetcom and they blamed on TCPIP window sizing. I used to have the same problem with my FreeBSD dedicated servers in the U.S. when I was living in South America with a latency of ~200 ms. Given identical hardware and connectivity, I could max out my download speed when downloading from a server running Linux, but would get no more than 100-150 KB/s when downloading from an otherwise identical FreeBSD box. The solution was to increase the size of the TCP send window on the FreeBSD server to about 128 KB--the default of 32 KB turned out to be way too small. # sysctl net.inet.tcp.sendspace=131072 After modifying this value, you need to restart any processes (e.g. Apache) that you want to take advantage of the change. Hope it helps. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: The worst error message in history belongs to... BIND9!
On Thu, 31 May 2007 08:38:41 -0400 Robert Huff [EMAIL PROTECTED] wrote: =?iso-8859-1?Q?Kyrre_Nyg=E5rd?= writes: It has to be the worst written error message in history. Not even close. I commend to you the Amiga's BSOD: Software Guru Meditation Number very long string of hex digits That's not entirely fair. IIRC that was originally intended only for developer use, but after CBM got their hands on the Amiga, they cut corners and it just got left in The UNIX Hater's Handbook quotes a surreal message from sendmail: Deferred: Not a typewriter ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dual boot.
On 5/30/07, Paul Halliday [EMAIL PROTECTED] wrote: I just installed 6.2 on a 90GB drive. During the installation I created the usual partitions and left 50GB untouched. I then rebooted ran partition magic to put a DOS FS on the remainder then ghosted XP pro onto it. What is the process now to dual boot this? I have tried booting then: sysinstall - configure - fdisk then install the bootmanager but when I try to write out the changes it errors and says: ERROR: Unable to write data to disk ad0! Do I need to start over or can I fix this? Hi, by default the variable kern.geom.debugflags will be 0 when 0 it does not allow to update the disk. Set this flag to 16. And try to install the bootmanager. This worked for me while creating new partition. HTH. And I do not know the functionality of this variable, somebody throw more light on this topic. Sachidananda. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: The mailman bug
On 2007-05-31 16:08, Balwinder S Dheeman [EMAIL PROTECTED] wrote: Hi, I think, the mailman (mailing list manager/server) at http://lists.freebsd.org/ is not handing and, or correcting the headers well. It is therefore difficult to filter and, or process messages coming from the mailing lists. IMHO, if and, or when a user sends a message to a list address as CC, the mailman should exchange and, or correct the headers To: and Cc: by applying some fuzzy logic so that the receivers may filter messages from the lists by looking at To: header only. Plz feel free to forward this message to maintainers of mailman. You are trying to filter on the wrong thing. Check the messages for: List-Id: User questions freebsd-questions.freebsd.org Please also note that I've moved this thread off freebsd-current. It's not topical for the freebsd-current mailing list. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ipfw forward from GENERIC kernel - is it possible?
From ipfw manpage: To enable fwd a custom kernel needs to be compiled with the option options IPFIREWALL_FORWARD. Is there any workaround that would allow me to use ipfw fwd with GENERIC kernel? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: Re: The worst error message in history belongs to... BIND9!
On 5/31/07, George [EMAIL PROTECTED] wrote: Or how about favourite most useless man page entry: The notion of errors is ill defined. Come to think of it, that last one is almost poetic, isn't it? In a Zen sort of way. Anyone recall which manpage it's from? grep says netstat(1). In the Bugs section, which seems like a good place for that information. - Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: The worst error message in history belongs to... BIND9!
It has to be the worst written error message in history. Not even close. I commend to you the Amiga's BSOD: Software Guru Meditation Number very long string of hex digits That's not entirely fair. IIRC that was originally intended only for developer use, but after CBM got their hands on the Amiga, they cut corners and it just got left in Some of the old I.B.M. abend messages were also ... intersting. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: Re: The worst error message in history belongs to... BIND9!
On 5/31/07, Bob Johnson [EMAIL PROTECTED] wrote: On 5/31/07, George [EMAIL PROTECTED] wrote: Or how about favourite most useless man page entry: The notion of errors is ill defined. Come to think of it, that last one is almost poetic, isn't it? In a Zen sort of way. Anyone recall which manpage it's from? grep says netstat(1). In the Bugs section, which seems like a good place for that information. - Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Squid and IPFW
Dear all, I would like to setup a gw / firewall (IPFW) which will also run Squid, in order to restrict access to certain websites or to allow certain workstations to have full access to the internet. How can I redirect all traffic going to port 80 on the gw, to port 3128 on Squid without setting this on each workstation? I know this can be done with iptables but i don't want to use iptables on this one... Thanks in advance Spiros P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NFS and apache...
2007/5/30, Jonathan Horne [EMAIL PROTECTED]: On Wednesday 30 May 2007 17:45:42 Agus wrote: 2007/5/30, Christopher Hilton [EMAIL PROTECTED]: Erik Norgaard wrote: How can i do this? I am trying but im getting permission denied...while trying to create a file... NFS is insecure (No File Security) since there is no authentication. You get access with the user id of your current user. I didn't want to touch the security problems with this as I assumed that the original poster knows about them. Just the same I'm assuming that webserver:/etc/exports has a line like: /usr/local/www/data/mysite -maproot=nobody:nogroup 192.168.233.17 which would tighten down the mount to just the one machine. As a developer, without even looking at security I think that direct access to the webroot tree is a bad idea. However I'm giving the original poster the benefit of the doubt. Perhaps he's just trying to learn HTML and PHP. [snip] One security measure is implemented though: root user on client is treated as nobody on the server. There is an option you can add to the exports file (forgot which), to override this see the exports manpage. Also if you have a different solution for updating the site..they are welcome.. Unless you have problems with diskspace, why not just use rsync? Do it manually and you get time to correct blunders before they become public, or do it as a cronjob. rsync scp, dav, *** cvs *** When I work on a website I tend to start with the site directory in cvs to protect me from the damage caused by fat fingers. I'm an old C programmer and CVS and Make are tools that I'm used to so I usually add a really simple make file to the web tree... * Typical Makefile for web project * -- cut from here -- update: cvs -PAd . MYWEBUSER = www MYHOST =webserver.example.com MYWEBROOT = /usr/local/www/data/webserver.example.com/ publish: rsync -auv ./ $(MYWEBUSER)@$(MYHOST):$(MYWEBROOT) -- to here -- Then running: $ make update on the webserver from within the webtree will refresh the site from the latest copy in CVS. In my opinion this is the best way because with a little CVS knowledge you can back out any mistakes. This is also nice since it only depends on the ability for both your development machine and webserver to be able to reach the cvs server. A final nicety is that there are CVS clients for FreeBSD, Windows, and Mac OS X. On the downside you do have to setup a cvs server. Add a little magic with ssh-keygen and the command: $ make publish will push the current state of the web project, N.B. whatever it may be, onto the webserver. This is a lower overhead way of publishing that has the danger of no fallback position in case something is screwed up. Honestly I think that the publish tag is better used for testing than production but not every is willing to go to the overhead of using revision control (CVS, SVN, what have you) on this stuff. -- Chris -- __o All I was doing was trying to get home from work. _`\,_ -Rosa Parks ___(*)/_(*)___ Christopher Sean Hiltonchris | at | vindaloo.com pgp key: D0957A2D/f5 30 0a e1 55 76 9b 1f 47 0b 07 e9 75 0e 14 Great.thanks a lot guysyou've been very kind. I will begin reading about rsync and CVS thenit also seems a lot more interesting than NFS Thanks again... Greetz ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] im a kde user, and i like to access my web server via sftp using the konqueror file manager. just open your home, open another tab, put in sftp://yourserver in the address bar... and drag and drop the files where they go! -- Jonathan Horne http://dfwlpiki.dfwlp.org [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Greatthat should be easy..jajathanksvery simple and practical great tip, greetz ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: Re: The worst error message in history belongs to... BIND9!
On Thu, 31 May 2007 06:56:51 -0700 George [EMAIL PROTECTED] wrote: Favourite worst written error message in history: Keyboard not found. Press F1 to continue. I have always loved this one!! Who made that up!? Rico ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Question about the difference of with and without SGID on directory
Hi I found Free/Net/OpenBSD semantic is different from Linux/Solaris. Suppose there is a directory called 'directory, With owner www, and group www and permission 0777. Then I touch a file: $ touch file $ ls -la total 4 drwxrwxrwx 2 www www512 May 31 17:14 . drwxrwxrwt 8 root wheel 512 May 31 17:14 .. -rw-r--r-- 1 patrick www 0 May 31 17:14 file ^^^ The file created will have a group owner of the owner of the directory not the creator. So I have two questions here: 1. So is there a difference with SGID on directory? 2. Any idea about why it is different from SYSV (Linux/Solaris)? Thanks Patrick Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV. http://tv.yahoo.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cannot enable VESA_800x600 raster text mode
Dear list I have been using raster text mode for years and I really like it. All I need to do is to put these options in kernel options VESA options SC_PIXEL_MODE For one box I have 'Rage 3D LT Pro AGP 133MHz (BGA-312 Package)' display, simply having these two options doesn't work (FreeBSD 6.1). 'vidcontrol -i mode' shows that graphical mode 800x600 is supported (at 8, 15, 16, 24 color depth) but run 'vidcontrol -g 100x37 VESA_800x600' I always got: vidcontrol: cannot set videomode: Operation not supported by device vidcontrol: cannot set videomode: Operation not supported by device Note being able to find a clue I am starting to compile agp device into the kernel, hope it can solve the problem. Anyway please tell me if you knows the solution. Thanks a lot in advance. I also attached here 'vidcontrol -i mode' output: mode# flags typesize font window linear buffer -- 0 (0x000) 0x0001 T 40x25 8x8 0xb8000 32k 32k 0x 1 (0x001) 0x0001 T 40x25 8x8 0xb8000 32k 32k 0x 2 (0x002) 0x0001 T 80x25 8x8 0xb8000 32k 32k 0x 3 (0x003) 0x0001 T 80x25 8x8 0xb8000 32k 32k 0x 4 (0x004) 0x0003 G 320x200x2 1 8x8 0xb8000 32k 32k 0x 5 (0x005) 0x0003 G 320x200x2 1 8x8 0xb8000 32k 32k 0x 6 (0x006) 0x0003 G 640x200x1 1 8x8 0xb8000 32k 32k 0x 13 (0x00d) 0x0003 G 320x200x4 4 8x8 0xa 64k 64k 0x 14 (0x00e) 0x0003 G 640x200x4 4 8x8 0xa 64k 64k 0x 16 (0x010) 0x0003 G 640x350x2 2 8x14 0xa 64k 64k 0x 18 (0x012) 0x0003 G 640x350x4 4 8x14 0xa 64k 64k 0x 19 (0x013) 0x0001 T 40x25 8x14 0xb8000 32k 32k 0x 20 (0x014) 0x0001 T 40x25 8x14 0xb8000 32k 32k 0x 21 (0x015) 0x0001 T 80x25 8x14 0xb8000 32k 32k 0x 22 (0x016) 0x0001 T 80x25 8x14 0xb8000 32k 32k 0x 23 (0x017) 0x0001 T 40x25 8x16 0xb8000 32k 32k 0x 24 (0x018) 0x0001 T 80x25 8x16 0xb8000 32k 32k 0x 26 (0x01a) 0x0003 G 640x480x4 4 8x16 0xa 64k 64k 0x 27 (0x01b) 0x0003 G 640x480x4 4 8x16 0xa 64k 64k 0x 28 (0x01c) 0x0003 G 320x200x8 1 8x8 0xa 64k 64k 0x 30 (0x01e) 0x0001 T 80x50 8x8 0xb8000 32k 32k 0x 32 (0x020) 0x0001 T 80x30 8x16 0xb8000 32k 32k 0x 34 (0x022) 0x0001 T 80x60 8x8 0xb8000 32k 32k 0x 37 (0x025) 0x0003 G 320x240x8 4 8x8 0xa 64k 64k 0x 40 (0x028) 0x0001 T 90x25 8x16 0xb8000 32k 32k 0x 42 (0x02a) 0x0001 T 90x30 8x16 0xb8000 32k 32k 0x 44 (0x02c) 0x0001 T 90x43 8x8 0xb8000 32k 32k 0x 45 (0x02d) 0x T 90x43 8x8 0xb8000 32k 32k 0x 46 (0x02e) 0x0001 T 90x50 8x8 0xb8000 32k 32k 0x 48 (0x030) 0x0001 T 90x60 8x8 0xb8000 32k 32k 0x 112 (0x070) 0x T 80x43 8x8 0xb8000 32k 32k 0x 113 (0x071) 0x0001 T 80x43 8x8 0xb8000 32k 32k 0x 256 (0x100) 0x000f G 640x400x8 1 8x16 0xa 64k 64k 0x8100 257 (0x101) 0x000f G 640x480x8 1 8x16 0xa 64k 64k 0x8100 259 (0x103) 0x000f G 800x600x8 1 8x14 0xa 64k 64k 0x8100 261 (0x105) 0x000f G 1024x768x8 18x16 0xa 64k 64k 0x8100 263 (0x107) 0x000f G 1280x1024x8 1 8x16 0xa 64k 64k 0x8100 269 (0x10d) 0x000f G 320x200x15 18x8 0xa 64k 64k 0x8100 270 (0x10e) 0x000f G 320x200x16 18x8 0xa 64k 64k 0x8100 271 (0x10f) 0x000f G 320x200x24 18x8 0xa 64k 64k 0x8100 272 (0x110) 0x000f G 640x480x15 18x16 0xa 64k 64k 0x8100 273 (0x111) 0x000f G 640x480x16 18x16 0xa 64k 64k 0x8100 274 (0x112) 0x000f G 640x480x24 18x16 0xa 64k 64k 0x8100 275 (0x113) 0x000f G 800x600x15 18x14 0xa 64k 64k 0x8100 276 (0x114) 0x000f G 800x600x16 18x14 0xa 64k 64k 0x8100 277 (0x115) 0x000f G 800x600x24 18x14 0xa 64k 64k 0x8100 278 (0x116) 0x000f G 1024x768x15 1 8x16 0xa 64k 64k 0x8100 279 (0x117) 0x000f G 1024x768x16 1 8x16 0xa 64k 64k 0x8100 280 (0x118) 0x000f G 1024x768x24 1 8x16 0xa 64k 64k 0x8100 281 (0x119) 0x000f G 1280x1024x15 1 8x16 0xa 64k 64k 0x8100 282 (0x11a) 0x000f G 1280x1024x16 1 8x16 0xa 64k 64k 0x8100 283 (0x11b) 0x000f G 1280x1024x24 1 8x16 0xa 64k 64k 0x8100 ___ freebsd-questions@freebsd.org mailing list
Re: cannot enable VESA_800x600 raster text mode
Am Donnerstag, 31. Mai 2007 schrieb Zhang Weiwu: Dear list I have been using raster text mode for years and I really like it. All I need to do is to put these options in kernel options VESA options SC_PIXEL_MODE For one box I have 'Rage 3D LT Pro AGP 133MHz (BGA-312 Package)' display, This is an old problem because the VESA_800x600 Mode uses 4 bit color depth which ATI doesn't support. But maybe you can use vidcontrol MODE_261 Besides the ATI problem I can't use the SC_PIXEL_MODE any more in -current. I think some time ago it has be broken when the higher resolution support has been added. -Harry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
driver for FreeBSD 6.1
Help me Please!!! I not find driver for Broadcom 802.11 Network Adapter... About searched for all Internet, but has not found Prompt me please where it is possible to get it as whom I shall not ask who does not know where... And in general it Exists? many thanks... -- С уважением, mr_oz mailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Download speed and TCPIP window sizing
Thanks for reply. Nicolas Gieczewski wrote: On Thu, 31 May 2007 22:06:39 +0800, Pang [EMAIL PROTECTED] wrote: Recently, I have leased a rack in Asianetcom and some bandwidth. However, the speed for my curcuit is substantially slower than my provider's company site. [...] *This server is using FreeBSD 6.2 patch 4 with Apache in the port tree. The kernel is custom built but I haven't made any modification in sysctl I have asked many techs in Asianetcom and they blamed on TCPIP window sizing. I used to have the same problem with my FreeBSD dedicated servers in the U.S. when I was living in South America with a latency of ~200 ms. Given identical hardware and connectivity, I could max out my download speed when downloading from a server running Linux, but would get no more than 100-150 KB/s when downloading from an otherwise identical FreeBSD box. The solution was to increase the size of the TCP send window on the FreeBSD server to about 128 KB--the default of 32 KB turned out to be way too small. # sysctl net.inet.tcp.sendspace=131072 After modifying this value, you need to restart any processes (e.g. Apache) that you want to take advantage of the change. It doesn't work. I am still getting ~10KB/s speed. Hope it helps. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Thanks Pang ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Question about the difference of with and without SGID on directory
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Patrick Dung wrote: Hi I found Free/Net/OpenBSD semantic is different from Linux/Solaris. Suppose there is a directory called 'directory, With owner www, and group www and permission 0777. Then I touch a file: $ touch file $ ls -la total 4 drwxrwxrwx 2 www www512 May 31 17:14 . drwxrwxrwt 8 root wheel 512 May 31 17:14 .. -rw-r--r-- 1 patrick www 0 May 31 17:14 file ^^^ The file created will have a group owner of the owner of the directory not the creator. So I have two questions here: 1. So is there a difference with SGID on directory? No. BSDish behaviour of a directory with either mode drwxr-xr-x or drwxr-sr-x is essentially identical to SysV/Linux-ish behaviour with a directory mode drwxr-sr-x 2. Any idea about why it is different from SYSV (Linux/Solaris)? It's historic. BSD has always worked that way and SysV has begged to differ. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. Flat 3 7 Priory Courtyard PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW, UK -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.3 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGXxaf3jDkPpsZ+VYRA+RtAJ90NGhTKUxHIY79zGIMdyYq0mzJjgCgjLKf 4t1RvGp9AyaUWLohlA52Qxc= =XJEv -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Squid and IPFW
Spiros Papadopoulos wrote: Dear all, I would like to setup a gw / firewall (IPFW) which will also run Squid, in order to restrict access to certain websites or to allow certain workstations to have full access to the internet. How can I redirect all traffic going to port 80 on the gw, to port 3128 on Squid without setting this on each workstation? I know this can be done with iptables but i don't want to use iptables on this one... Hi Spiros, You can try the following commands: /sbin/ipfw add fwd 127.0.0.1,3128 tcp from any to any 80 in /sbin/ipfw add allow tcp from 192.168.0.0/24 to any 3128 in via fxp0 Hope it helps. Thanks in advance Spiros P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: driver for FreeBSD 6.1
--On Thursday, May 31, 2007 23:53:56 +0600 mr_oz [EMAIL PROTECTED] wrote: Help me Please!!! I not find driver for Broadcom 802.11 Network Adapter... About searched for all Internet, but has not found Prompt me please where it is possible to get it as whom I shall not ask who does not know where... And in general it Exists? There isn't one for FreeBSD, and the ndis wrapper doesn't seem to work either. So basically, you're screwed. (Me too.) -- Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/
Re: The worst error message in history belongs to... BIND9!
It has to be the worst written error message in history. Not even close. I commend to you the Amiga's BSOD: Software Guru Meditation Number very long string of hex digits That's not entirely fair. IIRC that was originally intended only for developer use, but after CBM got their hands on the Amiga, they cut corners and it just got left in Some of the old I.B.M. abend messages were also ... intersting. I always liked one of the messages from an old version of the VMS (4 or 5?) C compiler(may not be exactly it, but this was included): Bad Code -Tom Wilson Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: what is pkg_create doing?
On Thu, 31 May 2007 09:47:20 -0400 Lowell Gilbert [EMAIL PROTECTED] wrote: paul beard [EMAIL PROTECTED] writes: I realize it should be obvious from the name but it seems to linger for several minutes after each package is installed. PID USERNAMETHR PRI NICE SIZERES STATE C TIME WCPU COMMAND 55763 root 11210 1852K 1232K RUN 0 2:38 95.73% pkg_create I am new to 6.2 (being a belated migrator from 4.x): is there a knob somewhere to turn off pkg creation? Not that I see any packages being kept anywhere . . . . When a package is built, it is always done *after* the port has been installed into $PREFIX. As far as I recall, packages don't get built unless you explicitly ask for them, so the command you used to install the program is what you need to look at for details. I think pkg_create is used to register the package in /var/db/pkg even when no package file is created. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem building teTeX/cmpsfont
On Wed, May 30, 2007 at 11:48:23PM +0200, Erik Norgaard wrote: Kris Kennaway wrote: On Wed, May 30, 2007 at 09:52:57PM +0200, Erik Norgaard wrote: Hi, I updated my ports tree and started to reinstall all packages to update gettext and xorg. Now trying to install teTeX it fails with the following error: === Building for cmpsfont-1.0_6 (cd /usr/ports/print/cmpsfont/work/cmpsfont/pfb; /usr/local/bin/type1inst -nolog -quiet) /usr/local/bin/type1inst: not found *** Error code 127 Stop in /usr/ports/print/cmpsfont. But: photon# ll /usr/local/bin/type1inst -r-xr-xr-x 1 root wheel 39066 24 May 21:17 /usr/local/bin/type1inst Certainly, also, if I try to run this command I get the same error: photon# /usr/local/bin/type1inst /usr/local/bin/type1inst: Command not found. What's broken? how do I fix this? I guess that is a script that is trying to use a nonexistent interpreter. You're right: #!/usr/bin/perl Since when did the port stop creating a link to /usr/bin/perl? I recall a discussion on ports about whether or not to keep creating the link, and IIRC the conclusion was that too many things break without the link. The latest mention of perl in UPDATING is from February last year. It still does for the reason you say. I guess something deleted it on your system. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Linksys WMP54G Version 4.1
Does anyone know if this card is supported in FreeBSD 7.0? Or if there is a way to get it to work in 6.2. I installed it with the ndisgen. Everything sets up fine, but as soon as it tries to send a packet, the kernel panics. Any info would be greatly appreciated! Thanks, Christopher Prace ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cant get the damn bandwidth limiter working
Roland Smith wrote: On Wed, May 30, 2007 at 02:58:50PM +0200, [EMAIL PROTECTED] wrote: RW wrote: On Sat, 26 May 2007 16:52:56 +0200 [EMAIL PROTECTED] wrote: pf and altq are enabled. My ISP allows 16kB/s upload and 128kB/s download. I want to use half of that. What should pf.conf contain, to limit my computer's upload and download speeds? I've tried: altq sk0 cbq bandwidth 1576Kb queue { lan, upload, download } queue lan bandwidth 1000Kb cbq(default) queue upload bandwidth 64Kb cbq queue download bandwidth 512Kb cbq block in all pass in quick on sk0 from 192.168.0.0/16 queue lan pass in all on sk0 queue download block out all pass out quick on sk0 to 192.168.0.0/16 queue lan pass out all on sk0 queue upload AFAIK ALTQ only queues outgoing traffic, andpass in quick on sk0 from 192.168.0.0/16 queue lan means: send the packet to the lan queue if it's routed out via the interface to which queue lan is attached, i.e. back out via sk0 - which isn't going to happen. That would explain. So is there any way to limit the speed at which i'm downloading? Come on I've seen a bunch of software like this for Windows on the net! According to http://www.openbsd.org/faq/pf/queueing.html it _can_ work if you have a separate router See the examples. Roland Yes but is it possible to set it up as a DownLoadAltqThing on a computer with 1 net interface? (I don't have the hardware to set up other topologies.) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: enable fetchmail system-wide mode
Hello Bob, I want to run fetchmail enabled for system wide mode. The command line cmd fetchmail -q issued from user root gets meaningless error msg. The error message may be meaningless to you, but without it cannot help you here. Reviewing /usr/local/etc/rc.d/fetchmail has comments talking about system wide mode running under user fetchmail. How does the system admin control fetchmail when user fetchmail needs password to logon and no where is password given during install. In daemon mode, the password is supposed to be stored in the config file. Fetchmail also supports more advanced authentication mechanisms like Kerberos, but I do not have any experience with it, and without support from the mail server it seems useless. Also /usr/local/etc/fetchmailrc which is suppose to be the config file is empty. Even fetchmailrc.sample is empty. Fetchmail supports literally dozends of configurations. IMO the port must try and duplicate fetchmail's documentation. You can use the fetchmailconf program to create and manage fetchmail configurations (must not build WITHOUT_X11 then). The port pkg-message file is absent so there is no information describing how to configure fetchmail in system-wide mode or individual user mode. These are unique run modes to freebsd and are not covered in the fetchmail manual. The port pkg-message file should be created with instructions about how to configure it. Users are supposed to read the 'fetchmail' rc script (this convention is also used by other ports). You are right in that a short pkg-message that contains a pointer to that file is usefull for novice fetchmail users on FreeBSD. Did you have a look at the /usr/local/etc/fetchmailrc file? Do you have suggestions how to improve the documentation provided at the beginning of that file? Please update your ports tree and rebuild the port -- I will commit some small improvements now. Before in 4.11 through 5.4 I started fetchmail using /usr/local/etc/rc.d/fetchmail.sh and /root/,fetchmailrc and had root admin control of fetchmail. How do I achieve admin control now that fetchmail has been converted to use rc.conf fetchmail_enable=YES to start at boot time? Simply copy your previous fetchmail config file (presumably /root/.fetchmailrc) to /usr/local/etc/fetchmailrc), put fetchmail_enable=YES into /etc/rc.conf and issue /usr/local/etc/rc.d/fetchmail start. Btw.: Are you sure that you really need one system wide daemon? In my experience, a per-user daemon makes things a lot easier for the administrator since users can update their email configuration on their own. If you still have problems, please give me as much detail as you can. -- Best regards / Viele Grüße, [EMAIL PROTECTED] Simon Barner[EMAIL PROTECTED] pgp0XTI0x7lJo.pgp Description: PGP signature
Re: driver for FreeBSD 6.1
Written by Paul Schmehl on 05/31/07 13:51 --On Thursday, May 31, 2007 23:53:56 +0600 mr_oz [EMAIL PROTECTED] wrote: Help me Please!!! I not find driver for Broadcom 802.11 Network Adapter... About searched for all Internet, but has not found Prompt me please where it is possible to get it as whom I shall not ask who does not know where... And in general it Exists? There isn't one for FreeBSD, and the ndis wrapper doesn't seem to work either. So basically, you're screwed. (Me too.) I wrapped a broadcom ndis driver and it works just fine for me... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Linksys WMP54G Version 4.1
On Thu, May 31, 2007 at 09:42:33PM +0200, Christopher Prance wrote: Does anyone know if this card is supported in FreeBSD 7.0? Or if there is a way to get it to work in 6.2. I installed it with the ndisgen. Everything sets up fine, but as soon as it tries to send a packet, the kernel panics. Any info would be greatly appreciated! Looking at the zipfile for the windows driver, I see the following; Archive: WMP54G-EU_LA_DRUT.zip Length Date TimeName 51 12-12-06 02:19 WMP54G-EU_LA_DRUT/AUTORUN.INF 0 12-12-06 02:19 WMP54G-EU_LA_DRUT/Drivers/ 0 12-12-06 02:19 WMP54G-EU_LA_DRUT/Drivers/WMP54Gv4.0/ 7878 12-12-06 02:19 WMP54G-EU_LA_DRUT/Drivers/WMP54Gv4.0/RT2500.CAT 17386 12-12-06 02:19 WMP54G-EU_LA_DRUT/Drivers/WMP54Gv4.0/Rt2500.INF 243328 12-12-06 02:19 WMP54G-EU_LA_DRUT/Drivers/WMP54Gv4.0/rt2500.sys Version 4.0 has a RealTek 2500 chipset which is supported by if_ral(4). 0 12-12-06 02:19 WMP54G-EU_LA_DRUT/Drivers/WMP54Gv4.1/ 7870 12-12-06 02:19 WMP54G-EU_LA_DRUT/Drivers/WMP54Gv4.1/rt61.cat 17479 12-12-06 02:19 WMP54G-EU_LA_DRUT/Drivers/WMP54Gv4.1/Rt61.INF 356096 12-12-06 02:19 WMP54G-EU_LA_DRUT/Drivers/WMP54Gv4.1/rt61.sys Looking at rt61.sys with strings(1) reveals; rt2561.bin rt2561s.bin rt2661.bin Which indicates it uses a Ralink Technology RT2561 chip, which is also supported by if_ral(4) in -STABLE. I applied the patch from -STABLE to 6.2-RELEASE, and it works for me. I've got version 1.5 of if_ral_pci.c It is bloody annoying that you have to go plowing through the drivers to see what chip is inside. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpvouUAcIbwk.pgp Description: PGP signature
deleting old mails
I'm running a postfix server on FreeBSD 6.1 and I'd like to have a cronjob which deletes old mails from mboxes in /var/mail. I tried mail/archivemail but it cannot create it's lock file in /var/mail because it runs as the user owning the mailbox on which it operates. I also tried mail/archmbox but I'm wondering if it is safe to use it while postfix is running. Quoting the manual: A few words about locking. There has been a discussion about archmbox handles file locking. The answer is simple: no mailbox is ever locked. The reason behind this behavior is that I want archmbox to be as least invasive as possible, so other kind of checks are performed to ensure that no data is lost (mailbox has changed/mailbox is in use by another program). I will surely add some locking mechanism in the future. Any help would be appreciated. Regards, Thierry. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: startup / shutdown script (rc.d)
On Thu, 31 May 2007, gmoniey wrote: Hi, I was wondering if there is a simple way to create 1 script that will be called during startup and shutdown. Basically, I am looking for something like this: if startup run command 1 with params run command 2 with params run command 3 with params if shutdown run command 4 with params run command 5 with params run command 6 with params i have tried lookin up rc.d documentation, but it very vague and difficult to understand...thanks I don't know if this is too vague as well or not. However, I used the man page for 'rc' on startup/shutdown scripts. Just do 'man rc'. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD t-shirt
Thanks I will check it out. Daniel K. Greenwood wrote: --- Kávássy Dániel [EMAIL PROTECTED] wrote: Hi, I know it's a bit off. I've seen FreeBSD t-shirts (probably drafts) with the new logo: http://logo-contest.freebsd.org/result/640-1.png http://www.bsdmall.com/sport.html perhaps? If there were any, I'd happily buy one. Daniel Park yourself in front of a world of choices in alternative vehicles. Visit the Yahoo! Auto Green Center. http://autos.yahoo.com/green_center/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
VirtualBox on FreeBSD
Hello list, Does VirtualBox work on FreeBSD? I couldn't find it in ports. Did anyone manage to run it? Thanks. -- Best regards, Ghirai. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
startup / shutdown script (rc.d)
Hi, I was wondering if there is a simple way to create 1 script that will be called during startup and shutdown. Basically, I am looking for something like this: if startup run command 1 with params run command 2 with params run command 3 with params if shutdown run command 4 with params run command 5 with params run command 6 with params i have tried lookin up rc.d documentation, but it very vague and difficult to understand...thanks -- View this message in context: http://www.nabble.com/startup---shutdown-script-%28rc.d%29-tf3848895.html#a10902043 Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: deleting old mails
Hi, I've used archmbox for a long time on a Sendmail server with no problems at all. Dunno if you'll have the same experience with Postfix, but as far as I'm concerned, archmbox works very well. Lisa Casey jellico.com, Inc. - Original Message - From: Thierry Lacoste To: freebsd-questions@freebsd.org Sent: Thursday, May 31, 2007 4:21 PM Subject: deleting old mails I'm running a postfix server on FreeBSD 6.1 and I'd like to have a cronjob which deletes old mails from mboxes in /var/mail. I tried mail/archivemail but it cannot create it's lock file in /var/mail because it runs as the user owning the mailbox on which it operates. I also tried mail/archmbox but I'm wondering if it is safe to use it while postfix is running. Quoting the manual: A few words about locking. There has been a discussion about archmbox handles file locking. The answer is simple: no mailbox is ever locked. The reason behind this behavior is that I want archmbox to be as least invasive as possible, so other kind of checks are performed to ensure that no data is lost (mailbox has changed/mailbox is in use by another program). I will surely add some locking mechanism in the future. Any help would be appreciated. Regards, Thierry. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.472 / Virus Database: 269.8.4/825 - Release Date: 5/30/2007 3:03 PM ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Help with Bind config syntax for reverse DNS on subnet
Hi, was hoping someone could help me with the correct syntax in my named.conf for reverse DNS on a small subnet. Say I have 10.0.0.0/27, such that actual addresses are 10.0.0.0 through 10.0.0.31 -- If I add a zone like: zone 0.0.10.in-addr.arpa { type master; file master/0.0.10.in-addr.arpa; }; ...I can define addresses for my little block, but reverse lookups on the rest of 10.0.0.x seem to fail. What's the correct way to configure Bind for this? -Thanks, RW ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help with Bind config syntax for reverse DNS on subnet
Rob wrote: Hi, was hoping someone could help me with the correct syntax in my named.conf for reverse DNS on a small subnet. Say I have 10.0.0.0/27, such that actual addresses are 10.0.0.0 through 10.0.0.31 -- If I add a zone like: zone 0.0.10.in-addr.arpa { type master; file master/0.0.10.in-addr.arpa; }; ...I can define addresses for my little block, but reverse lookups on the rest of 10.0.0.x seem to fail. What's the correct way to configure Bind for this? That's known as Classless IN-ADDR.ARPA delegation, and is documented here: http://www.ietf.org/rfc/rfc2317.txt -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Customizing installation/distribution.
G'day, I need to be able to distribute an FTP version of FreeBSD with some minor changes... We have a standard set of customizations that we need to be able to dist out in cookie-cutter style to our production systems, and include: - Custom /etc/motd - Custom /etc/pf.conf - Custom /etc/ssh/sshd_config - Custom /etc/ttys - Custom /boot/loader.conf (e.g. beastie_disable=YES) - Remove 'toor' account - Remove *GCC* from base, so no-one can compile anything. I have a FreeSBIE CD that I have set up to: 1) Boot a Live FreeBSD system, replete with PERL and a few other pkgs to allow (2) to work. 2) A PERL script that asks the boot user some info (IP/netmask/gw/FTP-install-server/hostname). 3) A modified sysinstall that asks for no input if the config file from the previos step is found, and reaches out to our FTP server. I am finding that the source is checked out from ncvs each time, so all changes are not saved when I cd /usr/src/release make release. I have specified the following with the 'make release': ROOTDIR=/data/release BUILDNAME=6.2.mybuild NODOC=YES NOPORT=YES CVSROOT=/data/ncvs RELEASE=RELENG_6_2 Any clues as to how I can assure that my changes are included? Note: As far as PKGs go, that I have figured out for additional ports/PKGs to add onto the BASE. It is the BASE distribution that is giving me a headache. Pointers and suggestions welcome. TIA! -cjm ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: Re: The worst error message in history belongs to... BIND9!
On Thu, 31 May 2007 12:02:26 -0400 Bob Johnson [EMAIL PROTECTED] wrote: On 5/31/07, George [EMAIL PROTECTED] wrote: Or how about favourite most useless man page entry: The notion of errors is ill defined. Come to think of it, that last one is almost poetic, isn't it? In a Zen sort of way. Anyone recall which manpage it's from? grep says netstat(1). In the Bugs section, which seems like a good place for that information. - Bob Not actually one of the worst error messages, per se, but one I found most amusing the first time I saw it: Running procmail's mailstat program without any arguments yields the following: Most people don't type their own logfiles; but, what do I care? :-) -- Conrad J. Sabatier [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: printing a very long-line files with openoffice using letter pages
the poster util is what you want /usr/ports/print/poster POSTER(1) POSTER(1) NAME poster - Scale and tile a postscript image to print on multiple pages SYNOPSIS poster options infile DESCRIPTION Poster can be used to create a large poster by building it from multi- ple pages and/or printing it on large media. It expects as input a generic (encapsulated) postscript file, normally printing on a single page. The output is again a postscript file, maybe containing multiple pages together building the poster. The output pages bear cutmarks and have slightly overlapping images for easier assembling. The input pic- ture will be scaled to obtain the desired size. cheers mjt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gary Kline Sent: Thursday, 31 May 2007 3:47 PM To: FreeBSD Mailing List Subject: printing a very long-line files with openoffice using letter pages People, I have in mind putting, say 6, 8.5x11-inch pages to create a Large page 25.5x11 on which something would be printed. Whatever would be printed in a large typescript could be glued on cardboard or some other solid background. I'm thinking of one of my personal meditations or a Shakespearian sonnet or the Gettysburg address. I need to know if openoffice has the printer settings to do this. Whenever I try to write something in a large font on a letter sized page, the lines wrap; this is not what I want! If OpenOffice isn't the right application, is there any other? (I'm copying the -questions FreeBSD list in case they have a clue.) thanks for any tips/howto/or other apps! gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] --- The information transmitted in this e-mail is for the exclusive use of the intended addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. E-mails may not be secure, may contain computer viruses and may be corrupted in transmission. Please carefully check this e-mail (and any attachment) accordingly. No warranties are given and no liability is accepted for any loss or damage caused by such matters. --- ### This e-mail message has been scanned for Viruses by Bytecraft ### ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help with Bind config syntax for reverse DNS on subnet
At 03:44 PM 5/31/2007, Rob wrote: Hi, was hoping someone could help me with the correct syntax in my named.conf for reverse DNS on a small subnet. Say I have 10.0.0.0/27, such that actual addresses are 10.0.0.0 through 10.0.0.31 -- If I add a zone like: zone 0.0.10.in-addr.arpa { type master; file master/0.0.10.in-addr.arpa; }; ...I can define addresses for my little block, but reverse lookups on the rest of 10.0.0.x seem to fail. What's the correct way to configure Bind for this? You are missing any way to allow slaves to read the maps, so you might do something like: zone 0.0.10.in-addr.arpa { type master; file master/0.0.10.in-addr.arpa; allow-transfer ( 10.0.0.2; and any other nameserver IP's; ); }; Then in your file: 0.0.10.in-addr.arpa list your addresses even if some are DHCP. 1 IN PTR router.domain.name. 2 IN PTR ns.domain.name. 3 IN PTR DHCP-10-0-0-3.domain.name. etc . . . -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NTPd not syncing time correctly - No errors either
On 5/31/07, John Webster [EMAIL PROTECTED] wrote: --On Thursday, May 31, 2007 19:02:47 -0400 Schiz0 [EMAIL PROTECTED] wrote: Hey, I'm running a dev server in VMWare (On a WindowsXP host) just to screw around with some things. Running FreeBSD 6.2-STABLE. VMWare causes the clock in FreeBSD to be a inaccurate; it loses about 2 hours every 24 hours. I read the handbook entry on the NTP daemon which automatically syncs the clock. Previously I was using cron to run ntpdate every 2 hours. I set NTPd to update using NTP.org's pool servers. Yet it isn't syncing. I setup NTPd last night. I checked about 20 minutes ago and the time was off by 2 hours. I shutdown ntpd and ran ntpdate manually, and it updated just fine. My logs have only this: /var/log/messages:May 30 23:04:19 Jupiter ntpd[489]: ntpd 4.2.0-a Mon May 28 23:49:40 EDT 2007 (1) /var/log/messages:May 30 23:04:19 Jupiter ntpd[489]: no IPv6 interfaces found /var/log/messages:May 31 16:41:50 Jupiter ntpd[489]: ntpd exiting on signal 15 The first two came up as soon as I started NTPd. The third one was when I stopped it. I rebuild world without IPv6 support. I tried adding the -4 flag to ntpd_flags in /etc/rc.conf as it says in the man page, but NTPd reports that -4 doesn't exist. While NTPd is running, I ran ntpq -np to display the peers. It did output the four servers from pool.ntp.org, so it's connecting fine. My /etc/rc.conf contains: ntpd_enable=YES ntpd_sync_on_start=YES ntpd_flags=-p /var/run/ntpd.pid -f /var/db/ntpd.drift -g Anyone know how I can fix this? Or should I just go back to running ntpdate with cron? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] http://support.ntp.org/bin/view/Support/KnownOsIssues NTP was not designed to run inside of a virtual machine. It requires a high resolution system clock, with response times to clock interrupts that are serviced with a high level of accuracy. No known virtual machine is capable of meeting these requirements. Run NTP on the base OS of the machine, and then have your various guest OSes take advantage of the good clock that is created on the system. Even that may not be enough, as there may be additional tools or kernel options that you need to enable so that virtual machine clients can adequately synchronize their virtual clocks to the physical system clock. Ah, that would do it. I guess I'm back to running ntpdate in cron. Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: what is pkg_create doing?
On May 31, 2007, at 11:22 AM, Conrad J. Sabatier wrote: No, by default, portupgrade runs pkg_create *before* installing the newly built port, to create a backup of the old version in case something goes wrong. Depending on the size of the old port (package), this can take an appreciable amount of time, even on a fast system. Packages are only built *after* installation if one explicitly tells portupgrade to do so, via the -p or --package switches. This is consistent with what I am observing, as the command output claims the package is installed, I then see a delay (minutes? on a dual core 2.4GHz system?) while pkg_create runs, and then cleanup happens. The man page lists several package-related ENVIRONMENT variables, which may or may not provide a means to disable some or all of this package creation; I don't know for sure, as I've never tried changing or unsetting them to see what may happen. If you're curious, though, it may be worth experimenting with, although I would certainly advise against disabling the precautionary backup package creation before the new port is successfully installed. Thanks. I'll take a look there. I wasn't sure if something changes in how ports are done in the Moderne Age. -- Paul Beard words: http://paulbeard.org/wordpress pictures: http://www.flickr.com/photos/pdb206/ Are you trying to win an argument or solve a problem? PGP.sig Description: This is a digitally signed message part
Re: NTPd not syncing time correctly - No errors either
--On Thursday, May 31, 2007 19:02:47 -0400 Schiz0 [EMAIL PROTECTED] wrote: Hey, I'm running a dev server in VMWare (On a WindowsXP host) just to screw around with some things. Running FreeBSD 6.2-STABLE. VMWare causes the clock in FreeBSD to be a inaccurate; it loses about 2 hours every 24 hours. I read the handbook entry on the NTP daemon which automatically syncs the clock. Previously I was using cron to run ntpdate every 2 hours. I set NTPd to update using NTP.org's pool servers. Yet it isn't syncing. I setup NTPd last night. I checked about 20 minutes ago and the time was off by 2 hours. I shutdown ntpd and ran ntpdate manually, and it updated just fine. My logs have only this: /var/log/messages:May 30 23:04:19 Jupiter ntpd[489]: ntpd 4.2.0-a Mon May 28 23:49:40 EDT 2007 (1) /var/log/messages:May 30 23:04:19 Jupiter ntpd[489]: no IPv6 interfaces found /var/log/messages:May 31 16:41:50 Jupiter ntpd[489]: ntpd exiting on signal 15 The first two came up as soon as I started NTPd. The third one was when I stopped it. I rebuild world without IPv6 support. I tried adding the -4 flag to ntpd_flags in /etc/rc.conf as it says in the man page, but NTPd reports that -4 doesn't exist. While NTPd is running, I ran ntpq -np to display the peers. It did output the four servers from pool.ntp.org, so it's connecting fine. My /etc/rc.conf contains: ntpd_enable=YES ntpd_sync_on_start=YES ntpd_flags=-p /var/run/ntpd.pid -f /var/db/ntpd.drift -g Anyone know how I can fix this? Or should I just go back to running ntpdate with cron? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] http://support.ntp.org/bin/view/Support/KnownOsIssues NTP was not designed to run inside of a virtual machine. It requires a high resolution system clock, with response times to clock interrupts that are serviced with a high level of accuracy. No known virtual machine is capable of meeting these requirements. Run NTP on the base OS of the machine, and then have your various guest OSes take advantage of the good clock that is created on the system. Even that may not be enough, as there may be additional tools or kernel options that you need to enable so that virtual machine clients can adequately synchronize their virtual clocks to the physical system clock. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: what is pkg_create doing?
On Thu, 31 May 2007 09:47:20 -0400 Lowell Gilbert [EMAIL PROTECTED] wrote: paul beard [EMAIL PROTECTED] writes: I realize it should be obvious from the name but it seems to linger for several minutes after each package is installed. PID USERNAMETHR PRI NICE SIZERES STATE C TIME WCPU COMMAND 55763 root 11210 1852K 1232K RUN 0 2:38 95.73% pkg_create I am new to 6.2 (being a belated migrator from 4.x): is there a knob somewhere to turn off pkg creation? Not that I see any packages being kept anywhere . . . . When a package is built, it is always done *after* the port has been installed into $PREFIX. As far as I recall, packages don't get built unless you explicitly ask for them, so the command you used to install the program is what you need to look at for details. Incidentally, built packages get installed to /usr/ports/packages by default. None of this is different from earlier versions, as far as I remember. No, by default, portupgrade runs pkg_create *before* installing the newly built port, to create a backup of the old version in case something goes wrong. Depending on the size of the old port (package), this can take an appreciable amount of time, even on a fast system. Packages are only built *after* installation if one explicitly tells portupgrade to do so, via the -p or --package switches. The man page lists several package-related ENVIRONMENT variables, which may or may not provide a means to disable some or all of this package creation; I don't know for sure, as I've never tried changing or unsetting them to see what may happen. If you're curious, though, it may be worth experimenting with, although I would certainly advise against disabling the precautionary backup package creation before the new port is successfully installed. -- Conrad J. Sabatier [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
NTPd not syncing time correctly - No errors either
Hey, I'm running a dev server in VMWare (On a WindowsXP host) just to screw around with some things. Running FreeBSD 6.2-STABLE. VMWare causes the clock in FreeBSD to be a inaccurate; it loses about 2 hours every 24 hours. I read the handbook entry on the NTP daemon which automatically syncs the clock. Previously I was using cron to run ntpdate every 2 hours. I set NTPd to update using NTP.org's pool servers. Yet it isn't syncing. I setup NTPd last night. I checked about 20 minutes ago and the time was off by 2 hours. I shutdown ntpd and ran ntpdate manually, and it updated just fine. My logs have only this: /var/log/messages:May 30 23:04:19 Jupiter ntpd[489]: ntpd 4.2.0-a Mon May 28 23:49:40 EDT 2007 (1) /var/log/messages:May 30 23:04:19 Jupiter ntpd[489]: no IPv6 interfaces found /var/log/messages:May 31 16:41:50 Jupiter ntpd[489]: ntpd exiting on signal 15 The first two came up as soon as I started NTPd. The third one was when I stopped it. I rebuild world without IPv6 support. I tried adding the -4 flag to ntpd_flags in /etc/rc.conf as it says in the man page, but NTPd reports that -4 doesn't exist. While NTPd is running, I ran ntpq -np to display the peers. It did output the four servers from pool.ntp.org, so it's connecting fine. My /etc/rc.conf contains: ntpd_enable=YES ntpd_sync_on_start=YES ntpd_flags=-p /var/run/ntpd.pid -f /var/db/ntpd.drift -g Anyone know how I can fix this? Or should I just go back to running ntpdate with cron? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Fwd: Squid and IPFW
Thanks for your reply. I asked the question long in advance. I will try this. -- Forwarded message -- From: Tek Bahadur Limbu [EMAIL PROTECTED] Date: 31-May-2007 14:35 Subject: Re: Squid and IPFW To: Spiros Papadopoulos [EMAIL PROTECTED] Cc: freebsd mailing list freebsd-questions@freebsd.org Spiros Papadopoulos wrote: Dear all, I would like to setup a gw / firewall (IPFW) which will also run Squid, in order to restrict access to certain websites or to allow certain workstations to have full access to the internet. How can I redirect all traffic going to port 80 on the gw, to port 3128 on Squid without setting this on each workstation? I know this can be done with iptables but i don't want to use iptables on this one... Hi Spiros, You can try the following commands: /sbin/ipfw add fwd 127.0.0.1,3128 tcp from any to any 80 in /sbin/ipfw add allow tcp from 192.168.0.0/24 to any 3128 in via fxp0 Hope it helps. Thanks in advance Spiros P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Spiros P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD t-shirt
Kávássy Dániel wrote: Thanks I will check it out. Daniel K. Greenwood wrote: --- Kávássy Dániel [EMAIL PROTECTED] wrote: Hi, I know it's a bit off. I've seen FreeBSD t-shirts (probably drafts) with the new logo: http://logo-contest.freebsd.org/result/640-1.png http://www.bsdmall.com/sport.html perhaps? If there were any, I'd happily buy one. Daniel Mmm... that is nice. Just a suggestion, but maybe also a case badge with the new logo? :) btw, when will these be available? I'd like a hardcopy of the handbook. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: what is pkg_create doing?
Conrad J. Sabatier [EMAIL PROTECTED] writes: On Thu, 31 May 2007 09:47:20 -0400 Lowell Gilbert [EMAIL PROTECTED] wrote: paul beard [EMAIL PROTECTED] writes: I realize it should be obvious from the name but it seems to linger for several minutes after each package is installed. PID USERNAMETHR PRI NICE SIZERES STATE C TIME WCPU COMMAND 55763 root 11210 1852K 1232K RUN 0 2:38 95.73% pkg_create I am new to 6.2 (being a belated migrator from 4.x): is there a knob somewhere to turn off pkg creation? Not that I see any packages being kept anywhere . . . . When a package is built, it is always done *after* the port has been installed into $PREFIX. As far as I recall, packages don't get built unless you explicitly ask for them, so the command you used to install the program is what you need to look at for details. Incidentally, built packages get installed to /usr/ports/packages by default. None of this is different from earlier versions, as far as I remember. No, by default, portupgrade runs pkg_create *before* installing the newly built port, to create a backup of the old version in case something goes wrong. Depending on the size of the old port (package), this can take an appreciable amount of time, even on a fast system. Packages are only built *after* installation if one explicitly tells portupgrade to do so, via the -p or --package switches. The man page lists several package-related ENVIRONMENT variables, which may or may not provide a means to disable some or all of this package creation; I don't know for sure, as I've never tried changing or unsetting them to see what may happen. If you're curious, though, it may be worth experimenting with, although I would certainly advise against disabling the precautionary backup package creation before the new port is successfully installed. Ah; I'm sure that's it. I didn't realize that the poster was using portupgrade... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: printing a very long-line files with openoffice using letter pages
On Fri, Jun 01, 2007 at 08:30:04AM +1000, Murray Taylor wrote: the poster util is what you want /usr/ports/print/poster POSTER(1) POSTER(1) NAME poster - Scale and tile a postscript image to print on multiple pages SYNOPSIS poster options infile DESCRIPTION Poster can be used to create a large poster by building it from multi- ple pages and/or printing it on large media. It expects as input a generic (encapsulated) postscript file, normally printing on a single page. The output is again a postscript file, maybe containing multiple pages together building the poster. The output pages bear cutmarks and have slightly overlapping images for easier assembling. The input pic- ture will be scaled to obtain the desired size. hey, thanks, murry!! scribus just finished, but it may be overkill. poster sounds like what I'm looking for; with overlap and cutmarks, yes :-) have a good one, gary ps: i figured there were other hackers who wanted to do this. cheers mjt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gary Kline Sent: Thursday, 31 May 2007 3:47 PM To: FreeBSD Mailing List Subject: printing a very long-line files with openoffice using letter pages People, I have in mind putting, say 6, 8.5x11-inch pages to create a Large page 25.5x11 on which something would be printed. Whatever would be printed in a large typescript could be glued on cardboard or some other solid background. I'm thinking of one of my personal meditations or a Shakespearian sonnet or the Gettysburg address. I need to know if openoffice has the printer settings to do this. Whenever I try to write something in a large font on a letter sized page, the lines wrap; this is not what I want! If OpenOffice isn't the right application, is there any other? (I'm copying the -questions FreeBSD list in case they have a clue.) thanks for any tips/howto/or other apps! gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] --- The information transmitted in this e-mail is for the exclusive use of the intended addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. E-mails may not be secure, may contain computer viruses and may be corrupted in transmission. Please carefully check this e-mail (and any attachment) accordingly. No warranties are given and no liability is accepted for any loss or damage caused by such matters. --- ### This e-mail message has been scanned for Viruses by Bytecraft ### -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: what is pkg_create doing?
In the last episode (May 31), paul beard said: On May 31, 2007, at 11:22 AM, Conrad J. Sabatier wrote: No, by default, portupgrade runs pkg_create *before* installing the newly built port, to create a backup of the old version in case something goes wrong. Depending on the size of the old port (package), this can take an appreciable amount of time, even on a fast system. Packages are only built *after* installation if one explicitly tells portupgrade to do so, via the -p or --package switches. The man page lists several package-related ENVIRONMENT variables, which may or may not provide a means to disable some or all of this package creation; I don't know for sure, as I've never tried changing or unsetting them to see what may happen. If you're curious, though, it may be worth experimenting with, although I would certainly advise against disabling the precautionary backup package creation before the new port is successfully installed. Thanks. I'll take a look there. I wasn't sure if something changes in how ports are done in the Moderne Age. Apply the patch in PR 112630. It fixes an inefficient dependency sorting algorithm that only became an issue after the xorg port update introduced an extra 100 dependencies to every X-using port. Took my pkg_create times down from 5 minutes to 5 seconds :) -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Download speed and TCPIP window sizing
On Fri, 01 Jun 2007 02:21:13 +0800 Pang [EMAIL PROTECTED] wrote: Thanks for reply. Nicolas Gieczewski wrote: On Thu, 31 May 2007 22:06:39 +0800, Pang [EMAIL PROTECTED] wrote: Recently, I have leased a rack in Asianetcom and some bandwidth. However, the speed for my curcuit is substantially slower than my provider's company site. [...] *This server is using FreeBSD 6.2 patch 4 with Apache in the port tree. The kernel is custom built but I haven't made any modification in sysctl I have asked many techs in Asianetcom and they blamed on TCPIP window sizing. I used to have the same problem with my FreeBSD dedicated servers in the U.S. when I was living in South America with a latency of ~200 ms. Given identical hardware and connectivity, I could max out my download speed when downloading from a server running Linux, but would get no more than 100-150 KB/s when downloading from an otherwise identical FreeBSD box. The solution was to increase the size of the TCP send window on the FreeBSD server to about 128 KB--the default of 32 KB turned out to be way too small. # sysctl net.inet.tcp.sendspace=131072 After modifying this value, you need to restart any processes (e.g. Apache) that you want to take advantage of the change. It doesn't work. I am still getting ~10KB/s speed. hmm in some FBSD (6.0-STABLE) that we have in NL i have that set to 64K . From AU (where I live), 320 ms of ping away, i can almost saturate my meagre DSL link (got up to 2mpbs). There can be several things involved in bad download speeds - from the TCP stack of the OS , the software you use to serve (I'm assuming Apache is configured out of the box - it's not great, but should be better than this.), NIC in the server, the network segment where it's located (in the DC, upstream,etc), bandwidth limiting upstream or in apache itself,etc... .I tested that download of yours from different parts of the world, it was pretty bad from everywhere - I've captured the traffic from each download: http://www.meijome.net/files/freebsd/test_hk_dl/fbsd_hk_test_from_au.cap From AU , between 204 and 206 ms ping. http://www.meijome.net/files/freebsd/test_hk_dl/fbsd_hk_from_NL.cap Your file in HK downloaded from NL - ping time to HK = 329 ms http://www.meijome.net/files/freebsd/test_hk_dl/fbsd_hk_from_txusa.cap Your file in HK, downloaded from a linux server (RHES 3) in TX, USA. ping time avg 227. http://www.meijome.net/files/freebsd/test_hk_dl/fbsd_NL_test_from_au.cap the same file, which I uploaded to a FBSD in NL (as mentioned above). Ping time is about 320 ms to this box from home. Probably as fast as I'd expect it to be. I know I can transfer about up of 8 Mbps between the USA and NL hosts, so that test is not going to prove anything more. I haven't got time right now to review all the captures, but at first sight it seems there's more packet loss than you'd expect, duped ACKs,etc. The IO , RTT and throughpouts graphs (i'm using wireshark) definitely show very poor performance, though. I dont see any relation betwen ping times and download speed. BTW, how fast can you download this file from the server you say it's in the same network segment ? Have you got polling enabled? what hardware / nic ? HIH, Beto _ {Beto|Norberto|Numard} Meijome It's not what you do, it's the love you put into it. Mother Theresa. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: startup / shutdown script (rc.d)
On Thu, 31 May 2007 14:06:45 -0700 (PDT) gmoniey [EMAIL PROTECTED] wrote: I was wondering if there is a simple way to create 1 script that will be called during startup and shutdown. Basically, I am looking for something like this: the easiest way (for me) is to grab the rc script of anything that you know well (for example, apache) and modify it for your needs. anyway, at least you can learn from the one that is already made, without having to start from scratch. B _ {Beto|Norberto|Numard} Meijome People demand freedom of speech to make up for the freedom of thought which they avoid. Soren Aabye Kierkegaard I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Download speed and TCPIP window sizing
On Fri, 1 Jun 2007 12:34:11 +1000 Norberto Meijome [EMAIL PROTECTED] wrote: http://www.meijome.net/files/freebsd/test_hk_dl/fbsd_NL_test_from_au.cap the same file, which I uploaded to a FBSD in NL (as mentioned above). Ping time is about 320 ms to this box from home. Probably as fast as I'd expect it to be. meaning, from home to this server. It can definitely push more than this. I know I can transfer about up of 8 Mbps between the USA and NL hosts, so that test is not going to prove anything more. meaning : testing between US host and NL host isn't going to prove anything more than it works as expected. /me needs more coffee... oopss :) _ {Beto|Norberto|Numard} Meijome A problem cannot be solved with the same type of thinking that created it. Albert Einstein I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 6.2/i386 X/DRI issues
On Thu, 31 May 2007 16:13:48 +1000, Norberto Meijome [EMAIL PROTECTED] wrote: it actually isn't that hard - just issue the commands, let it build and install... anyway, you wont be getting DRI until you do it (or 6.3 comes out, in which case you may be able to use freebsd-update to upgrade) _ {Beto|Norberto|Numard} Meijome thanks to everyone that has helped so far.. I have partial sucess. [EMAIL PROTECTED] ~]$ uname -a FreeBSD desktop.dhcpclient.schlossadler.net 6.2-STABLE FreeBSD 6.2-STABLE #0: Thu May 31 23:44:11 EST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CUSTOM i386 [EMAIL PROTECTED] ~]$ dmesg |grep agp agp0: Intel 82945G (945G GMCH) SVGA controller port 0xc000-0xc007 mem 0xe200-0xe207,0xd000-0xdfff,0xe208-0xe20b irq 16 at device 2.0 on pci0 agp0: detected 7932k stolen memory agp0: aperture size is 256M [EMAIL PROTECTED] ~]$ dmesg |grep drm drmsub0: Intel i945G: (child of agp_i810.c) on agp0 info: [drm] AGP at 0xe200 0MB info: [drm] Initialized i915 1.5.0 20060119 buildworld seems to have sorted these. I have installed Xorg 7.2, but I cant seem to check whether DRI is enabled/working. the glxinfo command no longer works [EMAIL PROTECTED] ~]$ glxinfo -bash: glxinfo: command not found i did a bit of googling, apparently some changes have been made with the packages/applications included with Xorg 7.2, is glxinfo not working because its been replaced with another command? or am i missing a package? Thanks Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
problem found in sent message Mail Delivery (failure [EMAIL PROTECTED])
Attention: [EMAIL PROTECTED] A problem was found in an Email message you sent. This Email scanner intercepted it and stopped the entire message reaching its destination. The problem was reported to be: Disallowed file (message.scr) assosiated with unrelated MIME type (audio/x-wav) - potential virus Please contact your IT support personnel with any queries regarding this policy. Your message was sent with the following envelope: MAIL FROM: [EMAIL PROTECTED] RCPT TO: [EMAIL PROTECTED] ... and with the following headers: --- MAILFROM: [EMAIL PROTECTED] Received: from unknown (HELO aroma.ru) (87.241.236.225) by astaroth.aroma.ru with SMTP; 1 Jun 2007 07:26:10 +0400 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Mail Delivery (failure [EMAIL PROTECTED]) Date: Fri, 1 Jun 2007 10:29:29 +0700 MIME-Version: 1.0 Content-Type: multipart/related; type=multipart/alternative; boundary==_NextPart_000_001B_01C0CA80.6B015D10 X-Priority: 3 X-MSMail-Priority: Normal --- The original message is kept in: astaroth:/usr/local/qmailscan/quarantine/new/astaroth118066837051248880 where the System Anti-Virus Administrator can further diagnose it. The Email scanner reported the following when it scanned that message: --- ---perlscanner results --- problem 'Disallowed file (message.scr) assosiated with unrelated MIME type (audio/x-wav) - potential virus' found in attachment message.scr --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 6.2/i386 X/DRI issues
On Fri, 1 Jun 2007 13:01:22 +1000 Alex R [EMAIL PROTECTED] wrote: On Thu, 31 May 2007 16:13:48 +1000, Norberto Meijome [EMAIL PROTECTED] wrote: it actually isn't that hard - just issue the commands, let it build and install... anyway, you wont be getting DRI until you do it (or 6.3 comes out, in which case you may be able to use freebsd-update to upgrade) _ {Beto|Norberto|Numard} Meijome thanks to everyone that has helped so far.. I have partial sucess. cool :) [EMAIL PROTECTED] ~]$ uname -a FreeBSD desktop.dhcpclient.schlossadler.net 6.2-STABLE FreeBSD 6.2-STABLE #0: Thu May 31 23:44:11 EST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CUSTOM i386 [EMAIL PROTECTED] ~]$ dmesg |grep agp agp0: Intel 82945G (945G GMCH) SVGA controller port 0xc000-0xc007 mem 0xe200-0xe207,0xd000-0xdfff,0xe208-0xe20b irq 16 at device 2.0 on pci0 agp0: detected 7932k stolen memory agp0: aperture size is 256M [EMAIL PROTECTED] ~]$ dmesg |grep drm drmsub0: Intel i945G: (child of agp_i810.c) on agp0 info: [drm] AGP at 0xe200 0MB info: [drm] Initialized i915 1.5.0 20060119 looks good :) buildworld seems to have sorted these. I have installed Xorg 7.2, but I cant seem to check whether DRI is enabled/working. What does /var/log/Xorg.0.log tell you about it? the glxinfo command no longer works glxinfo is not there at all anymore. [EMAIL PROTECTED] ~]$ glxinfo -bash: glxinfo: command not found i did a bit of googling, apparently some changes have been made with the packages/applications included with Xorg 7.2, is glxinfo not working because its been replaced with another command? or am i missing a package? it's in the archives of the list - you need to install the mesa-demos port. _ {Beto|Norberto|Numard} Meijome Science Fiction...the only genuine consciousness expanding drug Arthur C. Clarke I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: startup / shutdown script (rc.d)
Hi Noberto, I actually looked at the apache one, and it seemed so complicated, there were 2 files for it, one of which was relatively short and the other was significantly long. Now dont get me wrong, they aren't beyond comprehension, but i simply dont have the time right now to figure them out. I dont quite see how something as simple as apachectl start is expanded into so many lines. maybe i will get some time in the near future to understand it... Norberto Meijome-2 wrote: On Thu, 31 May 2007 14:06:45 -0700 (PDT) gmoniey [EMAIL PROTECTED] wrote: I was wondering if there is a simple way to create 1 script that will be called during startup and shutdown. Basically, I am looking for something like this: the easiest way (for me) is to grab the rc script of anything that you know well (for example, apache) and modify it for your needs. anyway, at least you can learn from the one that is already made, without having to start from scratch. B _ {Beto|Norberto|Numard} Meijome People demand freedom of speech to make up for the freedom of thought which they avoid. Soren Aabye Kierkegaard I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/startup---shutdown-script-%28rc.d%29-tf3848895.html#a10906324 Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 6.2/i386 X/DRI issues
On Fri, 1 Jun 2007 13:16:00 +1000, Norberto Meijome [EMAIL PROTECTED] wrote: On Fri, 1 Jun 2007 13:01:22 +1000 What does /var/log/Xorg.0.log tell you about it? (have chopped out the irrelevant bits as the log is far too long to post here) (II) LoadModule: dri (II) Loading /usr/local/lib/xorg/modules/extensions//libdri.so (II) Module dri: vendor=X.Org Foundation compiled for 7.2.0, module version = 1.0.0 ABI class: X.Org Server Extension, version 0.3 (II) Loading extension XFree86-DRI (II) Loading extension X-Resource (II) LoadModule: glx (II) Loading /usr/local/lib/xorg/modules/extensions//libglx.so (II) Module glx: vendor=X.Org Foundation compiled for 7.2.0, module version = 1.0.0 ABI class: X.Org Server Extension, version 0.3 (==) AIGLX disabled (II) Loading extension GLX (II) I810(0): [drm] DRM interface version 1.2 (II) I810(0): [drm] created i915 driver at busid pci::00:02.0 (II) I810(0): [drm] added 8192 byte SAREA at 0xc5574000 (II) I810(0): [drm] mapped SAREA 0xc5574000 to 0x2858d000 (II) I810(0): [drm] framebuffer handle = 0xd002 (II) I810(0): [drm] added 1 reserved context for kernel (II) I810(0): Allocated 32 kB for the logical context at 0xffe2000. (II) I810(0): Allocated 8192 kB for the back buffer at 0xf00. (II) I810(0): Allocated 8192 kB for the depth buffer at 0xe80. (II) I810(0): Allocated 36608 kB for textures at 0xc44 (II) I810(0): 0x81cc130: Memory at offset 0x0002, size 12288 kBytes (II) I810(0): 0x81c9b80: Memory at offset 0x0000, size 4 kBytes (II) I810(0): 0x81c9ba0: Memory at offset 0x0fffb000, size 16 kBytes (II) I810(0): 0x82be304: Memory at offset 0x, size 128 kBytes (II) I810(0): 0x81cc170: Memory at offset 0x0ffea000, size 64 kBytes (II) I810(0): 0x81c9bc0: Memory at offset 0x0fffa000, size 4 kBytes (II) I810(0): 0x81cc308: Memory at offset 0x0ffe2000, size 32 kBytes (II) I810(0): 0x81cc328: Memory at offset 0x0f00, size 8192 kBytes (II) I810(0): 0x81cc348: Memory at offset 0x0e80, size 8192 kBytes (II) I810(0): 0x81cc368: Memory at offset 0x0c44, size 36608 kBytes (II) I810(0): Activating tiled memory for the back buffer. (II) I810(0): Activating tiled memory for the depth buffer. (II) I810(0): [drm] Registers = 0xe200 (II) I810(0): [drm] ring buffer = 0xd000 (II) I810(0): [drm] init sarea width,height = 1280 x 1024 (pitch 2048) (II) I810(0): [drm] Mapping front buffer (II) I810(0): [drm] Front Buffer = 0xd002 (II) I810(0): [drm] Back Buffer = 0xdf00 (II) I810(0): [drm] Depth Buffer = 0xde80 (II) I810(0): [drm] textures = 0xdc44 (II) I810(0): [drm] Initialized kernel agp heap manager, 37486592 (II) I810(0): [drm] dma control initialized, using IRQ 16 (II) I810(0): [dri] visual configs initialized (==) I810(0): Removed Write-combining range (0xe200,0x8) (==) I810(0): Write-combining range (0xd000,0x1000) (II) I810(0): vgaHWGetIOBase: hwp-IOBase is 0x03d0, hwp-PIOOffset is 0x (==) I810(0): Write-combining range (0xa,0x1) was already clear (WW) I810(0): Extended BIOS function 0x5f05 not supported. (II) I810(0): xf86BindGARTMemory: bind key 18 at 0x007bf000 (pgoffset 1983) (II) I810(0): xf86BindGARTMemory: bind key 10 at 0x0000 (pgoffset 65535) (II) I810(0): xf86BindGARTMemory: bind key 11 at 0x0fffb000 (pgoffset 65531) (II) I810(0): xf86BindGARTMemory: bind key 13 at 0x0ffea000 (pgoffset 65514) (II) I810(0): xf86BindGARTMemory: bind key 12 at 0x0fffa000 (pgoffset 65530) (II) I810(0): xf86BindGARTMemory: bind key 14 at 0x0ffe2000 (pgoffset 65506) (II) I810(0): xf86BindGARTMemory: bind key 15 at 0x0f00 (pgoffset 61440) (II) I810(0): xf86BindGARTMemory: bind key 16 at 0x0e80 (pgoffset 59392) (II) I810(0): xf86BindGARTMemory: bind key 17 at 0x0c44 (pgoffset 50240) X actually starts ok. Just don't know if DRI is enabled cos of the glxinfo issue. I haven't installed gnome or kde yet. I wanted to get DRI sorted out before I start. it's in the archives of the list - you need to install the mesa-demos port. in /usr/ports? Thanks again ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: Re: The worst error message in history belongs to... BIND9!
Favourite worst written error message in history: Keyboard not found. Press F1 to continue. I have always loved this one!! Who made that up!? Someone at IBM. That's what the original IBM PC, PC-AT, and (presumably) PC-XT displayed if the keyboard was dead or not plugged in. It was probably a case of modular code: any problem in POST would display a message and return a fail status, and the generic code would append Press F1 to continue. and wait. Not a bad idea at all -- certainly better than blindly trying to boot the machine without giving the operator a chance to decide what to do about the problem -- but this particular combination does have a chicken- egg aspect :( ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 6.2/i386 X/DRI issues
On Fri, 1 Jun 2007 13:16:00 +1000, Norberto Meijome [EMAIL PROTECTED] wrote: it's in the archives of the list - you need to install the mesa-demos port. Installed it. [EMAIL PROTECTED] ~]$ glxinfo Error: unable to open display But thats because I am ssh'd into the box from work, I dare say it will work when I get home and test from within X. You are a champion :-) Thank you! Cheers Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: startup / shutdown script (rc.d)
On Thu, 31 May 2007 21:05:17 -0700 (PDT) gmoniey [EMAIL PROTECTED] wrote: I actually looked at the apache one, and it seemed so complicated, there were 2 files for it, one of which was relatively short and the other was significantly long. Now dont get me wrong, they aren't beyond comprehension, but i simply dont have the time right now to figure them out. I dont quite see how something as simple as apachectl start is expanded into so many lines. maybe i will get some time in the near future to understand it... fair enough. How's this for a simpler script? --- #!/bin/sh RTOOL=/usr/local/bin/radeontool case $1 in start) if [ -x $RTOOL ]; then echo -n ' Radeon' $RTOOL light $RTOOL light on $RTOOL light $RTOOL dac $RTOOL dac off $RTOOL dac fi ;; stop) ;; *) echo Usage: `basename $0` {start|stop} 2 exit 64 ;; esac - it doesnt read anything from rc.conf at all (which is where some of the extra stuff is) _ {Beto|Norberto|Numard} Meijome Too bad ignorance isn't painful. Don Lindsay I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]