The FreeBSD Diary: 2006-01-08 - 2006-01-28
The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives http://www.freebsd.org/search/search.html#mailinglists and/or The FreeBSD Diary http://www.freebsddiary.org/. These are the articles posted during this period: 16-Jan : The Technical BSD Conference The CFP ends soon - get your paper in now! http://freebsddiary.org/bsdcan-2006-cfp.php?2 -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Quickcam Orbit MP on FreeBSD?
I bought a fancy Quickcam (face-tracking), though I have no idea how to make it work with FreeBSD. I installed qcamview, but when I run it as root, it says Not found Quickcam, or Permission denied. Anyone know anything about Quickcams on FreeBSD? I don't expect it to work, but it would be cool if it did. There seems to be very little information on the net about qcamview. I'd be happy to just snapshots with it. I'm using FreeBSD 6.0 and Fluxbox. The cam is USB 2.0. Any suggestions? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
serial console for dummies?
Hello... I'm trying to set up a serial console for watching console error messages while in X, but am having a real hard time getting my head around the concepts of what I need to do (and don't need to). I've seen http://www.freebsd.org/doc/handbook/serialconsole-setup.html but I'm not clear about how much of that applies to what I want to do, since it talks about setting it up for a headless system (no keyboard or monitor) and actually instructs you to remove the keyboard. I've also searched the mailing list archives but I've read a lot of conflicting info, much of which for different uses of the serial console than what I want to use it for, and I've now read back so far that I can't even be certain that the suggestions apply to FreeBSD 6.0. Ugh So is there someone who can give me a hand-held walk-through of just what I need to do to make this work? I'm running FreeBSD 6.0-RELEASE and live in X (Gnome) all the time. My intention here is to be able to see console messages (Errors) so when something dies (like X locking, which happens sometimes) I have a chance to see what the heck happened. I have an old 486 laptop I intend to use as the dumb terminal, as well as the necessary null modem cable. I just need to know what to configure on my FreeBSD box so that console errors are mirrored to the serial port. Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Answering machine / voicemail -- email?
Hi all, I'm running a decently fast server with FreeBSD 5.4. I'd like to set up a way that the box can act as a voicemail server, and turn the messages into emails. I see Asterisk as a possible solution, but it seems awfully heavyweight for what I want. Are there any lighter-weight ways to achieve this? If Asterisk is the way to go, what's the cheapest modem card I can buy (for a PCI Express-based Dell SC 420) that can answer the phone, and let the machine receive these calls? It's for use in my home, so it's only 1 analog phone line running into the house right now. thanks, -Nick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sony Vaio sound
Chris wrote: Evgeny Solovyov wrote: Chris wrote: Ariff Abdullah wrote: On Fri, 27 Jan 2006 19:43:50 -0600 Chris [EMAIL PROTECTED] wrote: Additional info via pciconf -vl [EMAIL PROTECTED]:27:0:class=0x040300 card=0x81a0104d chip=0x26688086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801FB/FR/FW/FRW Intel High DefiNition Audio Controller' class= multimedia Intel High Definition Audio isn't supported yet. You may try free for personal use driver from http://www.opensound.com/ . -- Ariff Abdullah FreeBSD Yeah - I looked into that. It's a Beta, and it does not work (at least not on my box). I have same chip and oss does work. [EMAIL PROTECTED]:27:0:class=0x040300 card=0x09001558 chip=0x26688086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801FB/FR/FW/FRW Intel High DefiNition Audio Controller' class= multimedia You must set mute OFF. Its ON by default. and ... see http://www.4front-tech.com/forum/viewtopic.php?t=664 Actually, I got it set now. Question is, how to I make it use the mixer I use for XFCE4? I don't know. I use Fluxbox. I think u can't use mixer from XFCE4 Try ossxmix -d1. -d1 is virtual OSS mixer. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: serial console for dummies?
On Sun, 2006-01-29 at 08:39, Scott I. Remick wrote: Hello... I'm trying to set up a serial console for watching console error messages while in X, but am having a real hard time getting my head around the concepts of what I need to do (and don't need to). I've seen http://www.freebsd.org/doc/handbook/serialconsole-setup.html but I'm not clear about how much of that applies to what I want to do, since it talks about setting it up for a headless system (no keyboard or monitor) and actually instructs you to remove the keyboard. I've also searched the mailing list archives but I've read a lot of conflicting info, much of which for different uses of the serial console than what I want to use it for, and I've now read back so far that I can't even be certain that the suggestions apply to FreeBSD 6.0. Ugh So is there someone who can give me a hand-held walk-through of just what I need to do to make this work? I'm running FreeBSD 6.0-RELEASE and live in X (Gnome) all the time. My intention here is to be able to see console messages (Errors) so when something dies (like X locking, which happens sometimes) I have a chance to see what the heck happened. I have an old 486 laptop I intend to use as the dumb terminal, as well as the necessary null modem cable. I just need to know what to configure on my FreeBSD box so that console errors are mirrored to the serial port. Thanks! Scott, I can't help you directly, but have you looked at the error logs? they should give you a clue, especially Xorg.log Another thought is to connect via a network connection and SSH into the machine that will give you a console. Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: GEOM - how do we replace a failing HDD?
Yance Kowara wrote: We are trying to use GEOM to make a RAID-1 system (using a pair of identical IDE) and it is quite simple to setup. Does anyone know how to replace the hard disk if any of the two disks fails? There does not seem to be much clear documentation, if any exists, about this. It's explained quite clearly in the gmirror(8) man page -- particularly look at the examples near the end See also this very useful article by Dru Lavigne: http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html More importantly, if the first HDD fails, can we just stick a new HDD and it would boot from the second HDD and GEOM will synchronise it? Sure. Extract the failed disk, insert the new one, and then run: # gmirror forget gm0 # gmirror insert gm0 ad1 substituting whatever values are appropriate for the name of your raid 1 instead of gm0, and whatever disk device it is you're replacing instead of ad1. Hmmm... that sequence works very well with hot-swap drives. If you need to power down to extract the failed disk, then I think you should wait until you've got the new drive in and the system back running before trying any of those commands. You'll get lots of nasty looking error messages on boot-up, but it should work. If you have to reboot to change disks, and depending on which disk it is that fails, you may need to swap drives -- make your good disk the primary master, and put the new disk in as secondary and/or slave. Or you may need to fiddle around in the bios to tell your system which disk to boot from. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: Xorg6.9 XkbLayout us_intl *SOLVED*
On Sat, 28 Jan 2006 18:52:43 +0100 dick hoogendijk [EMAIL PROTECTED] wrote: After upgrading Xorg to 6.9 the keyboard option XkbLayout us_intl does not work anymore. so, I don't have accents :-( Does anybody know how to (re) install international keyboard layout? Options XkbLayout us Options XkbVariant intl This is the new way ;-) -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 6.0 ++ The Power to Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
No success with make buildworld
Hi, i had checked out the tree RELENG_5 and RELENG_6 and tried to compile /usr/src with make buildworld, but I always get the errormessage: --- cut --- rpcgen -C -h -o crypt.h /usr/obj/usr/src/i386/usr/include/rpcsvc/crypt.x rpcgen -C -l -o crypt_clnt.c /usr/obj/usr/src/i386/usr/include/rpcsvc/crypt.x rpcgen -C -c -o crypt_xdr.c /usr/obj/usr/src/i386/usr/include/rpcsvc/crypt.x rpcgen -C -h -o yp.h /usr/obj/usr/src/i386/usr/include/rpcsvc/yp.x rpcgen -C -c -o yp_xdr.c /usr/obj/usr/src/i386/usr/include/rpcsvc/yp.x ln -sf /usr/src/lib/libc/../../contrib/gdtoa/dmisc.c gdtoa_dmisc.c ln -sf /usr/src/lib/libc/../../contrib/gdtoa/dtoa.c gdtoa_dtoa.c ln -sf /usr/src/lib/libc/../../contrib/gdtoa/gdtoa.c gdtoa_gdtoa.c ln -sf /usr/src/lib/libc/../../contrib/gdtoa/gethex.c gdtoa_gethex.c ln -sf /usr/src/lib/libc/../../contrib/gdtoa/gmisc.c gdtoa_gmisc.c ln -sf /usr/src/lib/libc/../../contrib/gdtoa/hd_init.c gdtoa_hd_init.c ln -sf /usr/src/lib/libc/../../contrib/gdtoa/hexnan.c gdtoa_hexnan.c ln -sf /usr/src/lib/libc/../../contrib/gdtoa/misc.c gdtoa_misc.c ln -sf /usr/src/lib/libc/../../contrib/gdtoa/smisc.c gdtoa_smisc.c ln -sf /usr/src/lib/libc/../../contrib/gdtoa/strtoIg.c gdtoa_strtoIg.c ln -sf /usr/src/lib/libc/../../contrib/gdtoa/strtod.c gdtoa_strtod.c ln -sf /usr/src/lib/libc/../../contrib/gdtoa/strtodg.c gdtoa_strtodg.c ln -sf /usr/src/lib/libc/../../contrib/gdtoa/strtof.c gdtoa_strtof.c ln -sf /usr/src/lib/libc/../../contrib/gdtoa/strtord.c gdtoa_strtord.c ln -sf /usr/src/lib/libc/../../contrib/gdtoa/sum.c gdtoa_sum.c ln -sf /usr/src/lib/libc/../../contrib/gdtoa/ulp.c gdtoa_ulp.c ln -sf /usr/src/lib/libc/../../contrib/gdtoa/strtopx.c gdtoa_strtopx.c make: don't know how to make atexit.c. Stop *** Error code 2 Stop in /usr/src/lib. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. zsh: exit 1 make buildworld --- cut --- I tried to completly delete the /etc/make.conf and my environment of the shell is clear, env says: --- cut --- TERM=xterm-color SHELL=/usr/local/bin/zsh PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin HOME=/root LOGNAME=root USER=root PWD=/usr/src [EMAIL PROTECTED] PROMPT=%{%}%20..%~%%{%}%(!.#.) %{%} _=/usr/bin/env OLDPWD=/usr/local/etc/cvsup --- cut --- I tried to compile it from the console with sh as shell too; I got the same errormessage. I deleted /usr/src and /usr/obj, but the same errormessage. Has anyone the same probleme like myself or has a hint for me? TIA. 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: rm - Argument list too long
On Sunday 29 January 2006 03:27, Bill Campbell wrote: On Sat, Jan 28, 2006, Kirk Strauser wrote: On Friday 27 January 2006 17:52, Paul Schmehl wrote: for files in *.* do rm $files done Don't ever, *EVER* blindly unlink glob expansions. It's bad for you. Instead, use something like: find . -name 'sess.*' -delete While that's good advice, it doesn't answer the question of argument list too long. Yes, it does. The glob is expanded by find, the argument list too long problem occurs when the glob is expanded by the shell. The short answer is read ``man xargs''. find . | xargs command That should be: find . -print0 | xargs -0 command In FreeBSD null termination is needed to handle names with spaces, and not just the rare problem of names containing newlines. It's easier to just use find with the ls, delete and exec[dir] options. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gamin vs fam
On Sun, 29 Jan 2006 13:17:28 +0100 Michael Nottebrock [EMAIL PROTECTED] wrote: dick hoogendijk schrieb: Running pkgdb -F everytime is not pleasant. What is (are) the advantage (s) of gamin over fam? Is it wise to change to gamin? The recent change of the USE_FAM default was done without proper testing - others have already reported problems with gamin, especially in the case of courier-imap. You can however avoid the pkgdb -F dance (if you compile from ports): Set WITH_FAM_SYSTEM=fam in /etc/make.conf - this will change the default back to fam. OK, understood. However, as I understand it, portupgrade (the one I use) does not look at /etc/make.conf so I still have to put WITH_FAM_SYSTEM=YES into pkgtools.conf and don't know exactly for which programs ;-( This is not good.. Aahhrrgg g -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 6.0 ++ The Power to Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Lockup when suspending from X
Hi all, I need some help trying to understand why this is happening. apm -z (or zzz) works just fine from any of the text-based virtual consoles. If I run it from a shell in X, either as root or myself with sudo, the computer locks up - no panic, nothing . The only change I can see is the light in the USB mouse goes out, and that's it, total lock. If I do ctrl-Alt-F1 , a non-stopping beeping ensues. Upon restart, there is no log whatsoever of the apm -z attempt, and background fsck is run against all partitions sudo apm -z works fine. It happens in X having kdm or not kdm, KDE or just an xterm with no window manager running (aka 'failsafe' session type in kdm) - Toshiba Tecra A2, Bios 1.30 - FreeBSD xxx 6.0-STABLE FreeBSD 6.0-STABLE #0: Thu Jan 19 01:54:47 EST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 - APM, no ACPI (disabled via boot/device.hints) (long story, tons of g_vfs_done errors on resume) works for suspend (apm -z )and standby (apm -Z) . - rc.conf : allscreens_flags=MODE_30 apm_enable=YES apmd_enable=YES (and lots others, but only these seem relevant) - Xserver : xorg-server-6.8.2_6 ,xorg-libraries-6.9.0 - KDE 3.4.2 Thanks in advance for any help / information!! Beto ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: serial console for dummies?
Scott I. Remick wrote: Hello... I'm trying to set up a serial console for watching console error messages while in X, but am having a real hard time getting my head around the concepts of what I need to do (and don't need to). I've seen http://www.freebsd.org/doc/handbook/serialconsole-setup.html but I'm not clear about how much of that applies to what I want to do, since it talks about setting it up for a headless system (no keyboard or monitor) and actually instructs you to remove the keyboard. I've also searched the mailing list archives but I've read a lot of conflicting info, much of which for different uses of the serial console than what I want to use it for, and I've now read back so far that I can't even be certain that the suggestions apply to FreeBSD 6.0. Ugh So is there someone who can give me a hand-held walk-through of just what I need to do to make this work? I'm running FreeBSD 6.0-RELEASE and live in X (Gnome) all the time. My intention here is to be able to see console messages (Errors) so when something dies (like X locking, which happens sometimes) I have a chance to see what the heck happened. I have an old 486 laptop I intend to use as the dumb terminal, as well as the necessary null modem cable. I just need to know what to configure on my FreeBSD box so that console errors are mirrored to the serial port. Thanks! I was trying to accomplish the same thing a couple weeks ago and somebody recommended the following: touch /var/log/console.log Edit /etc/syslog.conf and uncomment the line that begins with console.info. Reboot (you might be able to just restart syslogd). -- Ken Stevenson Allen-Myland Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Shell Script Help
Hello, I am running FreeBSD 6.0 with Bash as my shell. I am trying to automate a task and I have been reading a lot about Bash, but I haven't been able to get a script working. I have a program that I need to pass 3 variables. I have a text file called list.txt that has the variables separated by a space. There are hundreds of lines which is why I am trying to automate this. I'd like to learn shell too :) list.txt contains: bob home 9002 jim data 9005 sarah backup 4001 john temp 3001 (it's in the format var1 var2 var3) Running the following for each line is what I'm trying to do: myprogram bob home 9002 myprogram jim data 9005 and so on.. I need to pass the variables in list.txt to my program. From the docs on shell scripting I have been reading, I think I need to run something like this: # for (not sure what to put here) in list.txt;do myprogram $1 $2 $3;done Perhaps some experienced users might know how to do this? I am not even sure if I'm doing this the right way or if it can be done. Thank you very much for any help you can provide. Ang - Do you Yahoo!? With a free 1 GB, there's more in store with Yahoo! Mail. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Shell Script Help
On 29 janv. 06, at 16:10, Angelo Christou wrote: list.txt contains: bob home 9002 jim data 9005 Running the following for each line is what I'm trying to do: myprogram bob home 9002 myprogram jim data 9005 and so on.. give this a try: while read myline; do set -- $myline myprogram $1 $2 $3 done list.txt Patrick PRONIEWSKI -- Administrateur Système - SENTIER - Université Lumière Lyon 2
Re: Shell Script Help
Hello Patrick, Your suggestion works perfectly. Thank you very much for helping a learner such as myself. Ang. Proniewski Patrick [EMAIL PROTECTED] wrote: On 29 janv. 06, at 16:10, Angelo Christou wrote: list.txt contains: bob home 9002 jim data 9005 Running the following for each line is what I'm trying to do: myprogram bob home 9002 myprogram jim data 9005 and so on.. give this a try: while read myline; do set -- $myline myprogram $1 $2 $3 done list.txt Patrick PRONIEWSKI -- Administrateur Syst�me - SENTIER - Universit� Lumi�re Lyon 2 - Do you Yahoo!? With a free 1 GB, there's more in store with Yahoo! Mail. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ctrl+Alt+number terminal switching stopped working
Ian Moore [EMAIL PROTECTED] writes: I've just noticed I can't switch from my X session back to the other vtty screens using Ctrl+Alt+1, Ctrl+Alt+2 etc. I can't seem to find any info on this - is it a known issue or is it just my system? It seems to happen when running both kde twm, so it's not window manger related. I'm running 5.4-RELEASE and Xorg6.9 built from ports about a week ago. All ports up to date as of 3 nights ago. Haven't heard of this happening anywhere else... What happens if you shut down X completely? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is there a how-to super-page for FreeBSD?
On 1/28/06, fbsd_user [EMAIL PROTECTED] wrote: Give the install guide at www.a1poweruser.com a try. What you call add-ons is what FreeBSD calls the port/package environment. A very simple command of pkg_add -r flash will download and install it. That's a very good website, it is bascially what I was looking for. thanks! As for Flash, I has to copy an example libmap.conf, and make some softlinks. I think I did make install clean on it. If I had installed the package, would those extra steps have been done 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: GEOM - how do we replace a failing HDD?
This depends on your RAID card. Most RAID cards report the failure of a drive and will do the rebuilding of a failed drive within the RAID firmware, outside any OS. So if a drive fails and you replace the drive, on the next system boot you would have the RAID firmware duplicate the existing drive to the new drive. -Derek At 11:43 PM 1/28/2006, Yance Kowara wrote: Hi all, We are trying to use GEOM to make a RAID-1 system (using a pair of identical IDE) and it is quite simple to setup. Does anyone know how to replace the hard disk if any of the two disks fails? There does not seem to be much clear documentation, if any exists, about this. More importantly, if the first HDD fails, can we just stick a new HDD and it would boot from the second HDD and GEOM will synchronise it? Regards, Yance __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ 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: No success with make buildworld
Matthias Fechner wrote: Hi, i had checked out the tree RELENG_5 and RELENG_6 and tried to compile /usr/src with make buildworld, but I always get the errormessage: --- cut --- rpcgen -C -h -o crypt.h /usr/obj/usr/src/i386/usr/include/rpcsvc/crypt.x rpcgen -C -l -o crypt_clnt.c /usr/obj/usr/src/i386/usr/include/rpcsvc/crypt.x rpcgen -C -c -o crypt_xdr.c /usr/obj/usr/src/i386/usr/include/rpcsvc/crypt.x rpcgen -C -h -o yp.h /usr/obj/usr/src/i386/usr/include/rpcsvc/yp.x rpcgen -C -c -o yp_xdr.c /usr/obj/usr/src/i386/usr/include/rpcsvc/yp.x ln -sf /usr/src/lib/libc/../../contrib/gdtoa/dmisc.c gdtoa_dmisc.c ln -sf /usr/src/lib/libc/../../contrib/gdtoa/dtoa.c gdtoa_dtoa.c ln -sf /usr/src/lib/libc/../../contrib/gdtoa/gdtoa.c gdtoa_gdtoa.c ln -sf /usr/src/lib/libc/../../contrib/gdtoa/gethex.c gdtoa_gethex.c ln -sf /usr/src/lib/libc/../../contrib/gdtoa/gmisc.c gdtoa_gmisc.c ln -sf /usr/src/lib/libc/../../contrib/gdtoa/hd_init.c gdtoa_hd_init.c ln -sf /usr/src/lib/libc/../../contrib/gdtoa/hexnan.c gdtoa_hexnan.c ln -sf /usr/src/lib/libc/../../contrib/gdtoa/misc.c gdtoa_misc.c ln -sf /usr/src/lib/libc/../../contrib/gdtoa/smisc.c gdtoa_smisc.c ln -sf /usr/src/lib/libc/../../contrib/gdtoa/strtoIg.c gdtoa_strtoIg.c ln -sf /usr/src/lib/libc/../../contrib/gdtoa/strtod.c gdtoa_strtod.c ln -sf /usr/src/lib/libc/../../contrib/gdtoa/strtodg.c gdtoa_strtodg.c ln -sf /usr/src/lib/libc/../../contrib/gdtoa/strtof.c gdtoa_strtof.c ln -sf /usr/src/lib/libc/../../contrib/gdtoa/strtord.c gdtoa_strtord.c ln -sf /usr/src/lib/libc/../../contrib/gdtoa/sum.c gdtoa_sum.c ln -sf /usr/src/lib/libc/../../contrib/gdtoa/ulp.c gdtoa_ulp.c ln -sf /usr/src/lib/libc/../../contrib/gdtoa/strtopx.c gdtoa_strtopx.c make: don't know how to make atexit.c. Stop *** Error code 2 Stop in /usr/src/lib. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. zsh: exit 1 make buildworld --- cut --- I tried to completly delete the /etc/make.conf and my environment of the shell is clear, env says: --- cut --- TERM=xterm-color SHELL=/usr/local/bin/zsh PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin HOME=/root LOGNAME=root USER=root PWD=/usr/src [EMAIL PROTECTED] PROMPT=%{%}%20..%~%%{%}%(!.#.) %{%} _=/usr/bin/env OLDPWD=/usr/local/etc/cvsup --- cut --- I tried to compile it from the console with sh as shell too; I got the same errormessage. I deleted /usr/src and /usr/obj, but the same errormessage. Has anyone the same probleme like myself or has a hint for me? TIA. Best regards Matthias Matthias, The simple answer to your problem is that you haven't cvsupp'ed all of the sources required to build your system. The more difficult answer is that you need to find out which category you are lacking in order to compile everything. Here's my cvsup file as a basis: [EMAIL PROTECTED] cat /root/sys.cvsup *default host=cvsup15.FreeBSD.org *default base=/var/db *default prefix=/usr *default release=cvs tag=RELENG_6_0 *default delete use-rel-suffix *default compress src-base src-bin src-contrib src-etc src-gnu src-include src-kerberos5 src-lib src-libexec src-rescue src-release src-sbin src-share src-sys src-tools src-usrbin src-usrsbin src-crypto src-secure src-sys-crypto I only included the above packages because I had to and not because I wanted to (with exception of the kerberos one). -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: A strategic question
On 2006-01-28 03:16, Jozef Baum [EMAIL PROTECTED] wrote: This posting doesn't contain a technical question about FreeBSD, rather a strategic one. Some time ago, I wanted to migrate to a Unix environment, because I wanted to have a secure, stable, convenient and efficient environment for developing and running programs, [...] That's a reasonable expectation. I downloaded Solaris 10 and a lot of documentation about it, then installed Solaris 10. As opposed to Linux and free BSD implementations of UNIX, Solaris looks like a professionally developed operating system. I'll agree to this. Mostly. But see below for what a `professional' system expects from you, as the installer person future administrator of the system. It seems to be1 a very advanced operating system. There is some advanced stuff in almost all the operating systems in use today. I'm not sure I understand what strikes you as 'advanced' in Solaris that does not have an equivalently 'advanced' technolody in FreeBSD. However, I soon realized that, when one wants a yacht, it is not a good idea to acquire the Queen Mary II, just as it costs too much time to acquire a hotel to have a cup of coffee. The same can be said for almost any operating system today -- except, perhaps, for the crap of Redmond, which is still riddled with trojans, viruses and countless lock-in tricks designed explicitly to *stop* the administrator and the users from doing their work, until they pay a hefty amount to company X for their special Y software. I don't really see why this is true for Solaris, but untrue for BSD. [Linux rant] I came to FreeBSD, with the idea that it had a more homogeneous quality development model, downloaded the FreeBSD 6.0 boot CD and CD 1 and 2, and installed it on my PC, following the handbook. So, does it? Hvae you used FreeBSD long enough to see this homogeneous design of things clearly? I had been using Linux for more than 5 years before I started with FreeBSD. About the same time that the diversity many differences of all the Linux distributions out there had started to get on my nerves, FreeBSD looked like a very good alternative. It still does :) In fact, to install FreeBSD, one needs already a lot of knowledge about the system. To acquire that knowledge, one needs experience on an installed system. But to have an installed system, one needs already a lot of knowledge about the system. That's the problem. No you don't. This is what the documentation is all about. You claim that you have read the documentation (i.e. the Handbook) before installing. I am not suggesting that you didn't, but if you did find things missing, have you tried asking here about anything that seemed confusing? Have you posted anything to the freebsd-doc list stating that you'd like the installation chapter to also explain Foo and Bar? The handbook doesn't tell you that, at the last chance message, you have to take out the boot CD and to insert CD 1. But if you don't do so, nothing gets installed. Depending on what you select to install, this may or may not be necessary. To give you meaningful help advice about the install process, we would need a detailed list of the steps you took during installation. If you go back and keep notes, I and as am sure many others from this list, will help you get through the obstacles of the installation. After all, it's something you're only going to do a few times at most :) I configured a German ISO keyboard, but many keys don't work correctly. One has to look with Google to find additional information about configuring a German keyboard. That's ok. The good thing about having access to the source code is that you can *make* these modifications to the system itself. If you have improvements about the keyboard layouts, we can arrange to bring you in contact with the right persons, who can then commit your changes to the official tree and improve German layout for everyone. That would be extremely cool :))) I have a cable Internet connection and my network card was recognized, but getting an IP-address with the DHCP service of my provider was impossible. Again, I had to look up with Google how to allow the firewall to get an IP-addres with my provider's DHCP. The Handbook explains how firewalls work. The new firewalls chapter even has an explicit example of a rule that allows DHCP access for one of the most popular FreeBSD firewalls: # Allow out access to my ISP's DHCP server for cable or DSL networks. # This rule is not needed for 'user ppp' type connection to the # public Internet, so you can delete this whole group. # Use the following rule and check log for IP address. # Then put IP address in commented out rule amp; delete first rule pass out log quick on dc0 proto udp from any to any port = 67 keep state #pass out quick on dc0 proto udp from any to z.z.z.z port = 67 keep state I'm sure you missed this one, but it's ok. Asking here
Re: Ctrl+Alt+number terminal switching stopped working
On Sat, Jan 28, 2006 at 10:58:10PM +1030, Ian Moore wrote: Hi, I've just noticed I can't switch from my X session back to the other vtty screens using Ctrl+Alt+1, Ctrl+Alt+2 etc. I can't seem to find any info on this - is it a known issue or is it just my system? It seems to happen when running both kde twm, so it's not window manger related. I'm running 5.4-RELEASE and Xorg6.9 built from ports about a week ago. All ports up to date as of 3 nights ago. Cheers, For starters, isn't it usually Ctrl+Alt+F1, Ctrl+Alt+F2, etc? Second, there's an option in your xorg.conf file for DontVTSwitch. Could that have accidentally been turned on? man xorg.conf Erik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: serial console for dummies?
On 29/01/06 Scott I. Remick said: Hello... I'm trying to set up a serial console for watching console error messages while in X, but am having a real hard time getting my head around the concepts of what I need to do (and don't need to). Can't you just run xconsole? Mike -- Michael P. Soulier [EMAIL PROTECTED] Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein pgpphjUFGQJLR.pgp Description: PGP signature
Freebsd verlihub machine hang
Hello, I've started to experience some system hangs on my Freebsd 5.4-RELEASE-p8. I'm running it on a P4 3Ghz machine with SMP support. My make.conf looks like this: CPUTYPE?=pentium4 CFLAGS= -O2 -pipe After 1-2 weeks of functioning the machine core dump a verlihub process and gdb gives: #0 0x282e078f in std::basic_filebufchar, std::char_traitschar ::_M_allocate_internal_buffer () from /usr/lib/libstdc++.so.4 #1 0x282e3c79 in std::basic_filebufchar, std::char_traitschar ::open () from /usr/lib/libstdc++.so.4 Has anyone got any ideas on what is causing this and/or how it can be fixed ? Should I recompile the software without the optimization flags ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sendmail, sasl, ldap
Hello Jon I'm in a similar situation as you. I play now a long time with this. You have to use cyrus-sasl2-saslauthd (is in ports). After the installation man saslauthd will explain more details. saslauthd will check the secrets against other backbone services (saslsb2, ldap, etc.). Am Tue, Jan 17, 2006 at 07:53:54PM -0800 Jon Falconer schrieb: Greetings, I'm trying to implement authenticated sending of email. But I want sasl to authenticate against my LDAP server. The how-to in the FreeBSD handbook is good but assumes only local authentication. The cyrus-sasl2 and openldap ports give hints that it is possible, but I'm just not quite getting it. Are there other how-to sites that others have used successfully? Do I need to use PAM or does cyrus-sasl know how to directly query an LDAP server? I'm running a fresh FreeBSD 6.0-Release system. -- Regards Martin [EMAIL PROTECTED] PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; public key : http://www.pc-service.ch/pgp/public_key.asc; fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; pgpOJGHrQ2fmb.pgp Description: PGP signature
Re: Ctrl+Alt+number terminal switching stopped working
On Sunday 29 January 2006 12:27, Erik Osterholm wrote: On Sat, Jan 28, 2006 at 10:58:10PM +1030, Ian Moore wrote: Hi, I've just noticed I can't switch from my X session back to the other vtty screens using Ctrl+Alt+1, Ctrl+Alt+2 etc. I can't seem to find any info on this - is it a known issue or is it just my system? It seems to happen when running both kde twm, so it's not window manger related. I'm running 5.4-RELEASE and Xorg6.9 built from ports about a week ago. All ports up to date as of 3 nights ago. Cheers, For starters, isn't it usually Ctrl+Alt+F1, Ctrl+Alt+F2, etc? Second, there's an option in your xorg.conf file for DontVTSwitch. Could that have accidentally been turned on? man xorg.conf Erik Hm, actually, I noticed this too on my R3240 6-STABLE machine with Xorg 6.9.0+Nvidia drivers. Nothing changed in the xorg.conf file and it used to work with Xorg 6.8. My 7-CURRENT machine doesn't show this behavior with Xorg 6.9.0. Nicolas. -- FreeBSD 7.0-CURRENT #5: Sat Jan 28 13:49:26 EST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A PGP? (updated 16 Nov 05) : http://www.clkroot.net/security/nb_root.asc pgpapjUOqwwnr.pgp Description: PGP signature
Jagged Alliance 2 for Linux on FreeBSD not working
I hope it is ok to post such a problem in this list. I have installed Jagged Alliance 2 for Linux using the setup.sh on the first disc and then tried to play it, mounting the game disc to the directory the installation disc was mounted to whilst installation and also to /cdrom, as wanted by the readme. When I go to /var/games/ja2 , where the game is installed and run ./ja2 , the output equals: $ ./ja2 Jagged Alliance 2 (c) 1999 by Sir-tech Canada Ltd. All rights reserved. Jagged Alliance is registered trademark of 1259191 Ontario Inc. You must mount the Jagged Alliance 2 for Linux game disk. Can I be helped?... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 6.0: Microsoft Wireless Optical Desktop - mouse not working???
Hi! I just finished my first FreeBSD 6.0 installation using the two CD image files, and my first problem is, that I can't get this optical wireless mouse to work. The Microsoft Wireless Optical Desktop consists of the receiver, connected to the PC by USB (also has a PS/2 connector, but it is not supposed to have both connected at the same time, and that connector is only to be connected to the keyboard jack), a wireless keyboard and a wireless optical mouse. The keyboard is working, but the mouse does not do anything (except the LED always on). Using the GENERIC kernel, USB is enabled (ohci ehci on an Asus A7N8X deluxe motherboard), the mouse is found during boot as follows: - cut - # cat /var/run/dmesg.boot | grep ums ums0: Microsoft Microsoft Wireless Optical Desktop\M-. 1.00, rev 2.00/17.17, addr 3, iclass 3/1 ums0: 3 buttons and Z dir. - cut - usbd + moused get started, /dev/ums0 and /dev/sysmouse are present, but no mousepointer and no mouse-reaction. cat /dev/sysmouse or killing moused cat /dev/ums0 does not do anything while moving the mouse. It is definitely no hardware-problem, because everything is working just fine in WinXP Gentoo Linux. I already searched with google, in the bugreports, the mailinglists, bsdforums.org bsdforen.de, and I could find quite some reports about similar problems with Microsoft / Logitech and other mice, but no solution (some patches were mentioned, but I could not find any success confirmation). So is there any hope at all, to get that mouse to work properly? If this is a commonly known issue, I wonder why nobody found a solution yet, some reports date back to the year 2003 with some older versions of FreeBSD. As I have read, USB support should have been improved in 6.0, and such a problem really should not be present any more. P.S. I was not quite sure, if this is the correct mailinglist to post that message in. I am subscribed to 6 FreeBSD-mailinglists ATM, but freebsd-questions seems to be the most popular one. Sincerely, Michael -- A FreeBSD Prospect, who is actually using Gentoo Linux ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Can not deliver to cyrus imapd
Hello On my two machines (FreeBSD 5.4) I'm not able to compile sendmail with other mailer then the default ones. The hole thread and the details you can see in comp.mail.senmdail (link: http://groups.google.com/group/comp.mail.sendmail/browse_thread/thread/a9c1364a7b98be36/0e04b81274290cb3#0e04b81274290cb3 ). My goal is to use sendmail and cyrus impad 2.3. The problem is if I change the mailer in sendmail.mc nothing appears. I also checked sendmail.cf. There are no other mailers the the default ones. I'm very confused about the problem. Any ideas are very welcome. -- Regards Martin [EMAIL PROTECTED] PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; public key : http://www.pc-service.ch/pgp/public_key.asc; fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; pgp55PaLwXukm.pgp Description: PGP signature
Re: Can not deliver to cyrus imapd
Sorry but the Google link was wrong. I attached the hole thread at the end from this post. Am Sun, Jan 29, 2006 at 07:12:08PM +0100 Martin Schweizer schrieb: Hello On my two machines (FreeBSD 5.4) I'm not able to compile sendmail with other mailer then the default ones. The hole thread and the details you can see in comp.mail.senmdail (link: http://groups.google.com/group/comp.mail.sendmail/browse_thread/thread/a9c1364a7b98be36/0e04b81274290cb3#0e04b81274290cb3 ). My goal is to use sendmail and cyrus impad 2.3. The problem is if I change the mailer in sendmail.mc nothing appears. I also checked sendmail.cf. There are no other mailers the the default ones. I'm very confused about the problem. Any ideas are very welcome. My system: FreeBSD 5.4 Sendmail 8.13.3/8.13 I want to deliver mails to the cyrus imapd (like described in the manuel from cyrus). But the problem is sendmail delivers only to /var/mail.. . If I start sendmail -bt and type in M= it gets: ADDRESS TEST MODE (ruleset 3 NOT automatically invoked) Enter ruleset address mailer 0 (prog): P=/bin/sh S=EnvFromL/HdrFromL R=EnvToL/HdrToL M=0 U=-1:-1 F=9DFMeloqsu L=0 E=\n T=X-Unix/X-Unix/X-Unix r=10 0 A=sh -c $u mailer 1 (*file*): P=[FILE] S=parse/parse R=parse/parse M=0 U=-1:-1 F=9DEFMPloqsu L=0 E=\n T=X-Unix/X-Unix/X-Unix r=100 A=FILE $u mailer 2 (*include*): P=/dev/null S=parse/parse R=parse/parse M=0 U=-1:-1 F=su L=0 E=\n T=undefined/undefined/undefined r=100 A=INCLUDE $u mailer 3 (local): P=/usr/libexec/mail.local S=EnvFromSMTP/HdrFromL R=EnvToL/HdrToL M=0 U=-1:-1 F=/59:@ADFMPSXlmnqswz| L=0 E=\r \n T=DNS/RFC822/SMTP r=100 A=mail.local -l mailer 4 (smtp): P=[IPC] S=EnvFromSMTP/HdrFromSMTP R=EnvToSMTP/EnvToSMTP M=0 U=-1:-1 F=DFMXmu L=990 E=\r\n T=DNS/RFC822/SMTP r =100 A=TCP $h mailer 5 (esmtp): P=[IPC] S=EnvFromSMTP/HdrFromSMTP R=EnvToSMTP/EnvToSMTP M=0 U=-1:-1 F=DFMXamu L=990 E=\r\n T=DNS/RFC822/SMTP r=100 A=TCP $h mailer 6 (smtp8): P=[IPC] S=EnvFromSMTP/HdrFromSMTP R=EnvToSMTP/EnvToSMTP M=0 U=-1:-1 F=8DFMXmu L=990 E=\r\n T=DNS/RFC822/SMTP r=100 A=TCP $h mailer 7 (dsmtp): P=[IPC] S=EnvFromSMTP/HdrFromSMTP R=EnvToSMTP/EnvToSMTP M=0 U=-1:-1 F=%DFMXamu L=990 E=\r\n T=DNS/RFC822/SMTP r=100 A=TCP $h mailer 8 (relay): P=[IPC] S=EnvFromSMTP/HdrFromSMTP R=MasqSMTP/MasqSMTP M=0 U=-1:-1 F=8DFMXamu L=2040 E=\r\n T=DNS/RFC822/SMTP r=100 A=TCP $h Is this correct? I expect one line with cyrus... Any ideas? Thank you in advance. Here is my sendmail.mc: divert(0) VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.29 2003/12/24 21:15:09 gshapiro Exp $') OSTYPE(freebsd5) DOMAIN(generic) FEATURE(access_db, `hash -o -TTMPF /etc/mail/access') FEATURE(blacklist_recipients) FEATURE(local_lmtp) FEATURE(mailertable, `hash -o /etc/mail/mailertable') FEATURE(virtusertable, `hash -o /etc/mail/virtusertable') define(`confCW_FILE', `-o /etc/mail/local-host-names') dnl The group needs to be mail in order to read the sasldb2 file define(`confRUN_AS_USER',`root:mail')dnl define(`confDONT_BLAME_SENDMAIL',`GroupReadableSASLDBFile')dnl define(`confAUTH_MECHANISMS',`LOGIN PLAIN')dnl TRUST_AUTH_MECH(`LOGIN PLAIN')dnl FEATURE(`access_db') DAEMON_OPTIONS(`Name=IPv4, Family=inet') DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O') define(`confBIND_OPTS', `WorkAroundBroken') define(`confNO_RCPT_ACTION', `add-to-undisclosed') define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy') define(`confLOCAL_MAILER', `cyrusv2') MAILER(local) MAILER(cyrusv2) MAILER(smtp) Kind regards, Martin Antworten Andrzej Adam Filip 26 Jan. 10:17 Optionen anzeigen - Zitierten Text anzeigen - sendmail.mc looks ok. Standard set of startup questions: 1) Have you generated new sendmail.cf after modifying *.mc file? 2) Have you restarted (or HUPed) sendmail daemon? [ the daemon rememembers at startup sendmail.cf ] 3) What is reported by the test commands below? [ run it as root ] echo '3,0 userx' | sendmail -bt echo '3,0 userx' | sendmail -d21.12 -bt -- [en: Andrew] Andrzej Adam Filip : [EMAIL PROTECTED] : [EMAIL PROTECTED] http://www.sendmail.org/faq/ http://www.sendmail.org/m4/readme.html http://anfi.homeunix.net/sendmail/B4UAsk-Sendmail.html Netcraft Site Rank: 529048 Antworten [EMAIL PROTECTED] 26 Jan. 10:42 Optionen anzeigen Hello Andrzej 1) Have you generated new sendmail.cf after modifying *.mc file? Yes, I did. In FreeBSD you can it do very easy (make ...) 2) Have you restarted (or HUPed) sendmail daemon? [ the daemon rememembers at startup sendmail.cf ] I restarted more then once the hole server. 3) What is reported by the test commands below? Here is the the output of the two commands: acsvfbsd02# echo '3,0 userx'|sendmail -bt ADDRESS TEST MODE (ruleset 3 NOT automatically invoked) Enter ruleset address canonify input: userx Canonify2 input: userx Canonify2
Re: Can not deliver to cyrus imapd
On Sunday 29 January 2006 13:12, Martin Schweizer wrote: Hello On my two machines (FreeBSD 5.4) I'm not able to compile sendmail with other mailer then the default ones. The hole thread and the details you can see in comp.mail.senmdail (link: http://groups.google.com/group/comp.mail.sendmail/browse_thread/thr ead/a9c1364a7b98be36/0e04b81274290cb3#0e04b81274290cb3 ). My goal is to use sendmail and cyrus impad 2.3. The problem is if I change the mailer in sendmail.mc nothing appears. I also checked sendmail.cf. There are no other mailers the the default ones. I'm very confused about the problem. Any ideas are very welcome. I'm using cyrus-imapd22 in production on a few servers with the base sendmail. I'm assuming you have cyrus-imapd23 setup correctly. # set the sendmail password check method touch /usr/local/lib/sasl2/Sendmail.conf # add pwcheck_method: saslauthd to use sasl database # or pwcheck_method: passwd for normal login password checking # add to /etc/make.conf SENDMAIL_CFLAGS+= -I/usr/local/include -DSASL=2 \ -D_FFR_SMTP_SSL -DSOCKETMAP SENDMAIL_LDFLAGS+=-L/usr/local/lib SENDMAIL_LDADD+=-lsasl2 # set box specific .mc file in /etc/make.conf so upgrades # don't wipe out our existing settings SENDMAIL_MC=/etc/mail/host.mydomain.com.mc # build shared sendmail libs cd /usr/src/lib/libsm \ make cleandir make depend make obj make cd /usr/src/lib/libsmutil \ make cleandir make depend make obj make # now rebuild sendmail in the base cd /usr/src/usr.sbin/sendmail \ make cleandir make depend make obj make make install # in for box specific .mc add dnl set SASL options define(`confAUTH_OPTIONS', `A p y')dnl dnl define(`confDEF_AUTH_INFO', /etc/mail/auth-info')dnl DAEMON_OPTIONS(`Port=smtp, Name=MSA, M=E')dnl DAEMON_OPTIONS(`Port=smtps, Name=TLSMSA, M=Es')dnl define(`confLOG_LEVEL', `13')dnl TRUST_AUTH_MECH(`LOGIN PLAIN')dnl define(`confAUTH_MECHANISMS',`LOGIN PLAIN')dnl define(`confLOCAL_MAILER',`cyrusv2') # stop and restart sendmail cd /etc/mail make make install make stop make start # check if it worked! telnet localhost 25 ehlo localhost If you're trying to host mail for multiple domains you'll need to hack the local ruleset to not strip the @domain.tld from the address before it's passed to cyrus. The -DSOCKETMAP in the SENDMAIL_CFLAGS is needed, but I use it with a special rule to verify the From: address that comes from a locally hosted domain is actually valid by looking it up via cyrus. -- Anish Mistry pgpeWhp12mNAm.pgp Description: PGP signature
Aureal Kernel Sound Drivers
Hello all, I am the not-quite-proud owner of a Dell system that comes with an aureal sound card inside of it. In any event, I found the aureal-kmod kernel module and have gotten it to work on my machine (following directions on http://www.matey.org/au88x0/). In the process of doing this I have found that in the directory /usr/src/sys/dev/sound/pci there are the files au88x0.[ch] aureal.[ch] When I tried getting sound to work prior to aureal-kmod, it did not figure out about my card. What is the purpose of these files and does 6.0-STABLE have native support for these class of cards? Thank you all for your information. -Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mysql unixodbc
I installed unixodbc mysql2odbc from the ports system. The /usr/local/etc files odbc.ini odbcinst.ini were empty. A mysql reference says odbcinst.ini should look like this [MySQL] Description = MySQL Driver Driver= /usr/local/lib/libmyodbc.so Setup = /usr/local/lib/libodbcmyS.so FileUsage = 1 Problem is locate does not find any libmyo* files any where on my system. Reviewing the mysql2odbc install log I see these files were added. /usr/local/mysql2odbc/libmysqlclient.a /usr/local/mysql2odbc/libmysqlclient.la /usr/local/mysql2odbc/libmysqlclient.so /usr/local/mysql2odbc/libmysqlclient.so.10 Are these my mysql driver files or what? If so which ones do I use for driver and setup? Have I selected the wrong ports to install? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
what with privileges
Hello freebsd-questions, I try add machine into domain. If i run smbldap-useradd manually, all ok. But from samba i get errors: Jan 29 22:47:04 sstand net: smbldap_open: cannot access LDAP when not root.. Jan 29 22:47:04 sstand net: [2006/01/29 22:47:04, 0] lib/smbldap.c:smbldap_search_suffix(1246) Jan 29 22:47:04 sstand net: smbldap_search_suffix: Problem during the LDAP search: (unknown) (Time limit exceeded) Jan 29 22:47:04 sstand net: [2006/01/29 22:47:04, 0] passdb/secrets.c:secrets_init(64) Jan 29 22:47:04 sstand net: Failed to open /usr/local/private/secrets.tdb Jan 29 22:47:04 sstand net: [2006/01/29 22:47:04, 0] passdb/machine_sid.c:pdb_generate_sam_sid(163) Jan 29 22:47:04 sstand net: pdb_generate_sam_sid: Failed to store generated machine SID. Jan 29 22:47:05 sstand net: [2006/01/29 22:47:05, 0] lib/util.c:smb_panic2(1548) Jan 29 22:47:05 sstand net: PANIC: Could not generate a machine SID Jan 29 22:47:05 sstand net: Jan 29 22:47:05 sstand net: Jan 29 22:47:11 sstand kernel: pid 2648 (net), uid 65534: exited on signal 6 (core dumped) Jan 29 22:47:11 sstand smbd[2643]: [2006/01/29 22:47:11, 0] rpc_server/srv_samr_nt.c:_samr_create_user(2028) Jan 29 22:47:11 sstand smbd[2643]: _samr_create_user: Running the command `/usr/local/sbin/smbldap-useradd -t 240 -w sstand$' gave 134 Jan 29 22:47:15 sstand smbd[2643]: [2006/01/29 22:47:15, 0] lib/util_sock.c:read_data(526) Jan 29 22:47:15 sstand smbd[2643]: read_data: read failure for 4 bytes to client 192.168.26.10. Error = Connection reset by peer -- Best regards, Playnet 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: No success with make buildworld
Hello Garrett, * Garrett Cooper [EMAIL PROTECTED] [29-01-06 09:15]: The simple answer to your problem is that you haven't cvsupp'ed all of the sources required to build your system. The more difficult answer is that you need to find out which category you are lacking in order to compile everything. Here's my cvsup file as a basis: thanks a lot, I found now the problem. It was really a problem of my cvsup server I had used. I corrected now the problem on the cvsup-server and everthing is fine now. 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: what with privileges
On Sun, 2006-01-29 at 20:06, Playnet wrote: Hello freebsd-questions, I try add machine into domain. If i run smbldap-useradd manually, all ok. But from samba i get errors: Jan 29 22:47:04 sstand net: smbldap_open: cannot access LDAP when not root.. Jan 29 22:47:04 sstand net: [2006/01/29 22:47:04, 0] lib/smbldap.c:smbldap_search_suffix(1246) Jan 29 22:47:04 sstand net: smbldap_search_suffix: Problem during the LDAP search: (unknown) (Time limit exceeded) Jan 29 22:47:04 sstand net: [2006/01/29 22:47:04, 0] passdb/secrets.c:secrets_init(64) Jan 29 22:47:04 sstand net: Failed to open /usr/local/private/secrets.tdb Jan 29 22:47:04 sstand net: [2006/01/29 22:47:04, 0] passdb/machine_sid.c:pdb_generate_sam_sid(163) Jan 29 22:47:04 sstand net: pdb_generate_sam_sid: Failed to store generated machine SID. Jan 29 22:47:05 sstand net: [2006/01/29 22:47:05, 0] lib/util.c:smb_panic2(1548) Jan 29 22:47:05 sstand net: PANIC: Could not generate a machine SID Jan 29 22:47:05 sstand net: Jan 29 22:47:05 sstand net: Jan 29 22:47:11 sstand kernel: pid 2648 (net), uid 65534: exited on signal 6 (core dumped) Jan 29 22:47:11 sstand smbd[2643]: [2006/01/29 22:47:11, 0] rpc_server/srv_samr_nt.c:_samr_create_user(2028) Jan 29 22:47:11 sstand smbd[2643]: _samr_create_user: Running the command `/usr/local/sbin/smbldap-useradd -t 240 -w sstand$' gave 134 Jan 29 22:47:15 sstand smbd[2643]: [2006/01/29 22:47:15, 0] lib/util_sock.c:read_data(526) Jan 29 22:47:15 sstand smbd[2643]: read_data: read failure for 4 bytes to client 192.168.26.10. Error = Connection reset by peer Hmm I think the 1st line says it all. You are not using the correct admin user ie one with sufficient privileges. to add the user to ldap. This is really a question for the samba mailing list. Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pf and scrubbing bubbles
Chuck Swiger wrote: J.D. Bronson wrote: I am using this in my pf.conf (on 6.0) and was wondering if these settings are appropriate. While 'scrub' by itself is always recommended, I added a few more things that seem to ought to be there? I use this for all the NICs...WAN and LAN... with the exception to remove filtering on loopback: === scrub all random-id reassemble tcp fragment reassemble no scrub on lo0 all === anyone see any issues with this - especially since its on the WAN and LAN NICs? You're shifting a fair amount of workload onto the firewall by requiring it to re-write all of the packets to change the IPID field; it would be highly desirable to have NICs which can do hardware checksums. There's a potential for DoS'ing the firewall if it does fragment reassembly, modulo how well PF handles such fragmentation attacks. If you permit Path MTU discovery to function, blocking fragments entirely may be a more reasonable approach than trying to reassemble them on the firewall. (If you need to support older machines which don't do PMTUd, that may not be an option for you, though...) Chuck, Here is really all that you need for your scrub rules. == scrub in on $ext_if no-df scrub out on $ext_if random-id == Remember: fragment-reassemble is default and does not need to be added. You really do not need to scrub packets on your internal LAN interfaces as it will slow you down. Here is a site for you which should offer a few tips and tricks. https://www.solarflux.org/pf/pf-tips.php Thanks, Russell ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
question of kernel options
Hi: Where can I find the list of all options of kernel file for freebsd 5.4? Thanks __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Starting mysql at boot time.
I installed the mysql-server port. How do I get it to start at boot time? Is there some how-to for apache/mysql? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: question of kernel options
gahn wrote: Hi: Where can I find the list of all options of kernel file for freebsd 5.4? Thanks cd /usr/src/sys/[insert_your_arch_here]/conf; make LINT; All you have to do is fire up your favorite editor and open up the LINT file that's been created. Of course you have to be root to do this. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Starting mysql at boot time.
On Sun, 2006-01-29 at 20:32, fbsd_user wrote: I installed the mysql-server port. How do I get it to start at boot time? Is there some how-to for apache/mysql? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] The handbook helps have a look at the apache section and 10 seconds with google will give you some examples. BTW try mysql_enable=YES in rc.conf. Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Starting mysql at boot time.
fbsd_user wrote: I installed the mysql-server port. How do I get it to start at boot time? I assume that you can do this by adding mysqld_enable=YES to rc.conf. Is there some how-to for apache/mysql? Uhm, there's a manual that's served by apache by default, so that's a good start for that. There are various pages for MySQL and the official site has a very in-depth document in regards to configuring, installing, and utilizing their server daemon. There should also be documentation installed by default for mysqld as well. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: question of kernel options
Look in the same directory where the default kernel source is. One of the files has all the options. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of gahn Sent: Sunday, January 29, 2006 3:33 PM To: freebsd general questions Subject: question of kernel options Hi: Where can I find the list of all options of kernel file for freebsd 5.4? Thanks __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ 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: S-Video to TV
By The Way; the American Standard is NTSC (*National Television System C ommittee*) not NTCS (otherwise you may find it not working as expected). On 1/23/06, David Raison [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Oh, and you most probably have to use the nvidia driver, not the generic nv driver. But I'm not sure about this, might be possible that the nv driver is able to use the tvout mode... D. Section Device ### Available Driver options are:- ### Values: i: integer, f: float, bool: True/False, ### string: String, freq: f Hz/kHz/MHz ### [arg]: arg optional [...] Identifier Card0 Driver nv VendorName nVidia Corporation BoardName Chaintech BusID PCI:1:0:0 EndSection -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFD083t/sLffsMilEkRAjZOAJsFUcFa8n+HZBIdE5YV4W/i1YoHbgCfWf2p Q7R3+F/8foQ8ZNaZ3yHyNdM= =3TxI -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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pf and scrubbing bubbles
At 02:31 PM 1/29/2006, Russell E. Meek wrote: Chuck Swiger wrote: J.D. Bronson wrote: I am using this in my pf.conf (on 6.0) and was wondering if these settings are appropriate. While 'scrub' by itself is always recommended, I added a few more things that seem to ought to be there? I use this for all the NICs...WAN and LAN... with the exception to remove filtering on loopback: === scrub all random-id reassemble tcp fragment reassemble no scrub on lo0 all === anyone see any issues with this - especially since its on the WAN and LAN NICs? You're shifting a fair amount of workload onto the firewall by requiring it to re-write all of the packets to change the IPID field; it would be highly desirable to have NICs which can do hardware checksums. There's a potential for DoS'ing the firewall if it does fragment reassembly, modulo how well PF handles such fragmentation attacks. If you permit Path MTU discovery to function, blocking fragments entirely may be a more reasonable approach than trying to reassemble them on the firewall. (If you need to support older machines which don't do PMTUd, that may not be an option for you, though...) Chuck, Here is really all that you need for your scrub rules. == scrub in on $ext_if no-df scrub out on $ext_if random-id == Remember: fragment-reassemble is default and does not need to be added. You really do not need to scrub packets on your internal LAN interfaces as it will slow you down. Here is a site for you which should offer a few tips and tricks. https://www.solarflux.org/pf/pf-tips.php Thanks, Russell I was actually the one that asked about this...not Chuck. But thanks for the insight...it was good reading. -JD ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
gcc options when building kernel
Hi all, I'm rebuilding my kernel and I noticed some gcc (I believe ) options being used that I don't think I set anyway. The options are : -mno-mmx -mno-3dnow -mno-sse -mno-sse2 Does this mean that the kernel won't make use of these cpu features, even though they are supported by the cpu (see below) Thanks! Beto MORE INFO They seem to appear throughout the kernel build process, for example: --- cc -O2 -fno-strict-aliasing -pipe -O2 -pipe -march=pentium-m -DAHC_REG_PRETTY_PRINT=1 -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/AYIIN/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common -g -I/usr/obj/usr/src/sys/AYIIN -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 /usr/src/sys/modules/aic7xxx/ahc/../../../dev/aic7xxx/aic7xxx.c cc -O2 -fno-strict-aliasing -pipe -O2 -pipe -march=pentium-m -DAHC_REG_PRETTY_PRINT=1 -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/AYIIN/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common -g -I/usr/obj/usr/src/sys/AYIIN -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 /usr/src/sys/modules/aic7xxx/ahc/../../../dev/aic7xxx/aic7xxx_93cx6.c --- from DMESG, my cpu is : --- CPU: Intel(R) Pentium(R) M processor 1.50GHz (1496.26-MHz 686-class CPU) Origin = GenuineIntel Id = 0x6d6 Stepping = 6 Features=0xafe9f9bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE Features2=0x180EST,TM2 --- My /etc/make.conf is: - BOOTWAIT=4000 SUP_UPDATE=YES SUP=/usr/local/bin/cvsup SUPFILE=/usr/local/etc/stable-supfile PORTSSUPFILE=/usr/local/etc/ports-supfile ENABLE_WPA_SUPPLICANT_EAPOL=true NO_PROFILE=true NO_INET6=true NO_PORTSUPDATE=true NO_ATM=true X_WINDOW_SYSTEM=xorg DOC_LANG = en_US.ISO8859-1 CPUTYPE?=pentium-m CFLAGS+= -O2 -pipe # added by use.perl 2006-01-24 12:09:58 PERL_VER=5.8.7 PERL_VERSION=5.8.7 WITH_MOZILLA=firefox WITH_FAM_SYSTEM=fam ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re[2]: what with privileges
Hello Robert, Sunday, January 29, 2006, 11:26:05 PM, you wrote: RS Hmm I think the 1st line says it all. You are not using the correct RS admin user ie one with sufficient privileges. to add the user to ldap. RS This is really a question for the samba mailing list. How subscribe to samba mainling list? -- Best regards, Playnetmailto:[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: gcc options when building kernel
On Mon, Jan 30, 2006 at 08:27:29AM +1100, Norberto Meijome wrote: Hi all, I'm rebuilding my kernel and I noticed some gcc (I believe ) options being used that I don't think I set anyway. The options are : -mno-mmx -mno-3dnow -mno-sse -mno-sse2 Does this mean that the kernel won't make use of these cpu features, even though they are supported by the cpu (see below) Yes, since you *can't* use them in the FreeBSD kernel. google for more discussion. Kris pgpvG1UVDEPoF.pgp Description: PGP signature
Re: pf and scrubbing bubbles
J.D. Bronson wrote: At 02:31 PM 1/29/2006, Russell E. Meek wrote: Chuck Swiger wrote: J.D. Bronson wrote: I am using this in my pf.conf (on 6.0) and was wondering if these settings are appropriate. While 'scrub' by itself is always recommended, I added a few more things that seem to ought to be there? I use this for all the NICs...WAN and LAN... with the exception to remove filtering on loopback: === scrub all random-id reassemble tcp fragment reassemble no scrub on lo0 all === anyone see any issues with this - especially since its on the WAN and LAN NICs? You're shifting a fair amount of workload onto the firewall by requiring it to re-write all of the packets to change the IPID field; it would be highly desirable to have NICs which can do hardware checksums. There's a potential for DoS'ing the firewall if it does fragment reassembly, modulo how well PF handles such fragmentation attacks. If you permit Path MTU discovery to function, blocking fragments entirely may be a more reasonable approach than trying to reassemble them on the firewall. (If you need to support older machines which don't do PMTUd, that may not be an option for you, though...) Chuck, Here is really all that you need for your scrub rules. == scrub in on $ext_if no-df scrub out on $ext_if random-id == Remember: fragment-reassemble is default and does not need to be added. You really do not need to scrub packets on your internal LAN interfaces as it will slow you down. Here is a site for you which should offer a few tips and tricks. https://www.solarflux.org/pf/pf-tips.php Thanks, Russell I was actually the one that asked about this...not Chuck. But thanks for the insight...it was good reading. -JD ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] JD Sorry about that, wrong name. Russ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sendmail, sasl, ldap
Hi, A comprehensive tutorial, in German, could be found at: http://wiki.bsd-crew.de/index.php/Projektseminar_Mailserver#Einf.FChrung Best regards, Ilias Martin Schweizer wrote: Hello Jon I'm in a similar situation as you. I play now a long time with this. You have to use cyrus-sasl2-saslauthd (is in ports). After the installation man saslauthd will explain more details. saslauthd will check the secrets against other backbone services (saslsb2, ldap, etc.). Am Tue, Jan 17, 2006 at 07:53:54PM -0800 Jon Falconer schrieb: Greetings, I'm trying to implement authenticated sending of email. But I want sasl to authenticate against my LDAP server. The how-to in the FreeBSD handbook is good but assumes only local authentication. The cyrus-sasl2 and openldap ports give hints that it is possible, but I'm just not quite getting it. Are there other how-to sites that others have used successfully? Do I need to use PAM or does cyrus-sasl know how to directly query an LDAP server? I'm running a fresh FreeBSD 6.0-Release system. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gcc options when building kernel
On Mon, Jan 30, 2006 at 08:27:29AM +1100, Norberto Meijome wrote: Hi all, I'm rebuilding my kernel and I noticed some gcc (I believe ) options being used that I don't think I set anyway. The options are : -mno-mmx -mno-3dnow -mno-sse -mno-sse2 Does this mean that the kernel won't make use of these cpu features, even though they are supported by the cpu (see below) Correct. The CPU registers associated with those CPU features must not be used inside the kernel, and therefore the build process explicitly disables them to avoid any mistakes. -- Insert your favourite quote here. Erik Trulsson [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: Starting mysql at boot time.
fbsd_user wrote: I installed the mysql-server port. How do I get it to start at boot time? Is there some how-to for apache/mysql? If you are using FreeBSD 6, then read the start-up scripts that were installed as part of the ports. The scripts are in /usr/local/etc/rc.d ___ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firefox 1.5
Andreas Davour wrote: On Fri, 27 Jan 2006, Frank Staals wrote: Hmm I got a question regarding to Fx 1.5. Has anyone else noticed a tremendous slowdown when using 1.5 ? I especially mean when the popup-window opens to ask what you want to do with a download ( save it or open it ) then Fx hangs for about 15 seconds ( while the 'ok' button is not clickable ) then It continues again. Also Firefox crashed when I tried using an upload function ( to attach a file to a post in a forum ). Anyone else had problems with this ? ( Using Xfce4.2.3.1 with gtk2.8.9 here ) Nope, but the person who decided to change the filerequester to a kind that no other program on the planet uses needs to take a lesson in consistency in gui design. That idiotic filerequester is a major problem with 1.5 in my opinion... I hate the friendly HTTP error messages. I haven't worked out how to get bare HTTP error messages yet. ___ Yahoo! Photos NEW, now offering a quality print service from just 8p a photo http://uk.photos.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firefox 1.5
On Sun, Jan 29, 2006 at 10:22:45PM +0100, Andreas Davour wrote: On Fri, 27 Jan 2006, Frank Staals wrote: Hmm I got a question regarding to Fx 1.5. Has anyone else noticed a tremendous slowdown when using 1.5 ? I especially mean when the popup-window opens to ask what you want to do with a download ( save it or open it ) then Fx hangs for about 15 seconds ( while the 'ok' button is not clickable ) then It continues again. Also Firefox crashed when I tried using an upload function ( to attach a file to a post in a forum ). Anyone else had problems with this ? ( Using Xfce4.2.3.1 with gtk2.8.9 here ) Nope, but the person who decided to change the filerequester to a kind that no other program on the planet uses needs to take a lesson in consistency in gui design. That idiotic filerequester is a major problem with 1.5 in my opinion... It's consistent with the rest of GNOME. Being a GNOME user, I like it. I think you can turn it off at compile time, but I haven't checked to see if the port supports it as well. --Stijn -- I have great faith in fools -- self confidence my friends call it. -- Edgar Allan Poe pgpONxdK4WcuI.pgp Description: PGP signature
Re: Firefox 1.5
On Sun, Jan 29, 2006 at 10:13:23PM +, Adam Nealis wrote: I hate the friendly HTTP error messages. I haven't worked out how to get bare HTTP error messages yet. set browser.xul.error_pages.enabled to false David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
what am I doing wrong with edquota ?
(edquota man page has no examples) # edquota -u -e /mnt/fs1:810:900:81:90 test200 # # quota test200 Disk quotas for user test200 (uid 1002): none # # So I run the edquota command non-iunteractively, and it produces no errors, and it seems to follow the format specified in the man page, which is: edquota [-u] -e fspath[:bslim[:bhlim[:islim[:ihlim [-e ...] username and yet when I immediately check the quotas for that user, I get nothing. How should I rework that edquota command line ? thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd hosting
www.LayeredTech.com is good for FreeBSD servers, they are flexable and offers any version of FreeBSD you need. They might. But by default they install 5.3. I just signed up with them and that's what they gave me... I upgraded to 6 though and so far have been happy with them. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd hosting
They are the best I know of for cost and support. Cperciva posts in their forums and they have their own mirror. Without starting a war does anyone know of any provider that can match or beat what LT has to offer? - Original Message - From: Philip Hallstrom [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Sunday, January 29, 2006 6:10 PM Subject: Re: freebsd hosting www.LayeredTech.com is good for FreeBSD servers, they are flexable and offers any version of FreeBSD you need. They might. But by default they install 5.3. I just signed up with them and that's what they gave me... I upgraded to 6 though and so far have been happy with them. ___ 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.1.375 / Virus Database: 267.14.23/243 - Release Date: 27/01/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 267.14.23/243 - Release Date: 27/01/2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ports : make index failed
hi sirs, after cvsup the ports tree , i make index but get errors. it said inspiron# cat /usr/ports/make-index Script started on Mon Jan 30 07:10:38 2006 You have mail. inspiron# uname -a FreeBSD inspiron.thai-aec.org 6.0-STABLE FreeBSD 6.0-STABLE #3: Tue Jan 24 18:17:06 ICT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/INSPIRON i386 inspiron# make index Generating INDEX-6 - please wait../usr/local/bin/php-config: not found grep: /usr/local/include/php/main/php_config.h: No such file or directory make: don't know how to make describe. Stop === mail/thunderbird-devel failed *** Error code 1 1 error Before reporting this error, verify that you are running a supported version of FreeBSD (see http://www.FreeBSD.org/ports/) and that you have a complete and up-to-date ports collection. (INDEX builds are not supported with partial or out-of-date ports collections -- in particular, if you are using cvsup, you must cvsup the ports-all collection, and have no refuse files.) If that is the case, then report the failure to [EMAIL PROTECTED] together with relevant details of your ports configuration (including FreeBSD version, your architecture, your environment, and your /etc/make.conf settings, especially compiler flags and WITH/WITHOUT settings). Note: the latest pre-generated version of INDEX may be fetched automatically with make fetchindex. *** Error code 1 Stop in /usr/ports. *** Error code 1 Stop in /usr/ports. inspiron# exit exit Script done on Mon Jan 30 07:37:55 2006 /etc/make.conf X_WINDOW_SYSTEM=xorg DOC_LANG=en_US.ISO8859-1 # added by use.perl 2006-01-13 14:51:17 PERL_VER=5.8.7 PERL_VERSION=5.8.7 FORCR_PKG_REGISTER=yes setenv USER=root HOME=/root SHELL=/bin/csh PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin MAIL=/var/mail/root BLOCKSIZE=K FTP_PASSIVE_MODE=YES TERM=xterm HOSTTYPE=FreeBSD VENDOR=intel OSTYPE=FreeBSD MACHTYPE=i386 SHLVL=1 PWD=/usr LOGNAME=root GROUP=wheel HOST=inspiron.thai-aec.org REMOTEHOST=siting.thai-aec.org EDITOR=vi PAGER=more inspiron# i have no 'refuse' file at all. and as far as i know, php has nothing to do with port tree at the very beginning. would you please clarify this issue for me? thanks in advance for any comments and please cc to me since i do not subscribe to this list. with best regards, psr ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gcc options when building kernel
On Mon, 2006-01-30 at 08:27 +1100, Norberto Meijome wrote: Hi all, I'm rebuilding my kernel and I noticed some gcc (I believe ) options being used that I don't think I set anyway. The options are : -mno-mmx -mno-3dnow -mno-sse -mno-sse2 Does this mean that the kernel won't make use of these cpu features, even though they are supported by the cpu (see below) Thanks! Beto MORE INFO They seem to appear throughout the kernel build process, for example: --- cc -O2 -fno-strict-aliasing -pipe -O2 -pipe -march=pentium-m -DAHC_REG_PRETTY_PRINT=1 -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/AYIIN/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common -g -I/usr/obj/usr/src/sys/AYIIN -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 /usr/src/sys/modules/aic7xxx/ahc/../../../dev/aic7xxx/aic7xxx.c cc -O2 -fno-strict-aliasing -pipe -O2 -pipe -march=pentium-m -DAHC_REG_PRETTY_PRINT=1 -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/AYIIN/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common -g -I/usr/obj/usr/src/sys/AYIIN -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 /usr/src/sys/modules/aic7xxx/ahc/../../../dev/aic7xxx/aic7xxx_93cx6.c --- from DMESG, my cpu is : --- CPU: Intel(R) Pentium(R) M processor 1.50GHz (1496.26-MHz 686-class CPU) Origin = GenuineIntel Id = 0x6d6 Stepping = 6 Features=0xafe9f9bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE Features2=0x180EST,TM2 --- My /etc/make.conf is: - BOOTWAIT=4000 SUP_UPDATE=YES SUP=/usr/local/bin/cvsup SUPFILE=/usr/local/etc/stable-supfile PORTSSUPFILE=/usr/local/etc/ports-supfile ENABLE_WPA_SUPPLICANT_EAPOL=true NO_PROFILE=true NO_INET6=true NO_PORTSUPDATE=true NO_ATM=true X_WINDOW_SYSTEM=xorg DOC_LANG = en_US.ISO8859-1 CPUTYPE?=pentium-m CFLAGS+= -O2 -pipe # added by use.perl 2006-01-24 12:09:58 PERL_VER=5.8.7 PERL_VERSION=5.8.7 WITH_MOZILLA=firefox WITH_FAM_SYSTEM=fam I am curious about this as well... I searched the mailing list arhives, and googled for a bit, but didn't really come up with anything useful. Anyone have any pointers to the discussion that was mentioned previously? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Gnome's bottom panel doesn't display running programs
Sunday 29 January 2006 12:36、Derrick Ryalls さんは書きました: Greetings, I did some searching, but didn't find anything so I was hoping someone might have a clue on this. I just did the compile for gnome 2.12 on FreeBSD 6 and so far most everything seems to work except the lower panel does not display the current running programs or the other virtual desktops. I can alt-tab to the other programs in the same virtual terminal, and can use cntrl-alt (left/right) to get to the other terminals, but none show the normal bar at the bottom. The top bar looks normal (has normal menus, clock, etc). I hope this is just dependancy that needs to be rebuilt, but am unsure of which one do try. My install was something like this: Install Freebsd 6 using 6.0 release disc burned last month. Install basic packages via sysinstall At this point I tried portupgrade -NPPR x11/gnome2 After many weird issue on out of date dependancies, I used the gnome2.12update script to fix the issues. After update script was finished, I executed a normal install: cd x11/gnome2; make install clean The final install did complete successfully and gnome has been running, but the bottom panel isn't working. Thanks in advance for any clues. If I recall correctly (can't test at the moment due to hard disk failure) GNOME relies on DBUS working to get everything working proper. I believe that the window list is part of that. Try making sure that DBUS is in fact working. You enable it by putting dbus_enable=YES or similar (from memory, that hard disk thing) in /etc/rc.conf. Since that only affects at boot time, either reboot or find the script (/usr/local/etc/rc.d/ somewhere, I should think) and start it. Hope this does it for you, Eric -- Emails appear more personalised with signatures. pgpdoJ4vECUTw.pgp Description: PGP signature
Re: 6.0 Migration Guide?
Rowdy [EMAIL PROTECTED] writes: Does anyone have a pointer to a FreeBSD 6.0-RELEASE Migration Guide? Try /usr/src/UPDATING, search for To upgrade in-place from 5.x-stable or higher to 6.x-stable (near the end of the file). I *just* went through this on two 5-STABLE systems, worked like a charm. Very nice. Thanks to all the FreeBSD developers who made this so trouble-free. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
can't build Apache::MP3
Hey people, I'm trying to build Apache::MP3, but I'm seeing failures. === Configuring for mod_perl-1.29_1 Will configure via APXS (apxs=/usr/local/sbin/apxs) PerlDispatchHandler.enabled PerlChildInitHandlerenabled PerlChildExitHandlerenabled PerlPostReadRequestHandler..enabled PerlTransHandlerenabled PerlHeaderParserHandler.enabled PerlAccessHandler...enabled PerlAuthenHandler...enabled PerlAuthzHandlerenabled PerlTypeHandler.enabled PerlFixupHandlerenabled PerlHandler.enabled PerlLogHandler..enabled PerlInitHandler.enabled PerlCleanupHandler..enabled PerlRestartHandler..enabled PerlStackedHandlers.enabled PerlMethodHandlers..enabled PerlDirectiveHandlers...enabled PerlTableApienabled PerlLogApi..enabled PerlUriApi..enabled PerlUtilApi.enabled PerlFileApi.enabled PerlConnectionApi...enabled PerlServerApi...enabled PerlSectionsenabled PerlSSI.enabled Will run tests as User: 'nobody' Group: 'wheel' Configuring mod_perl for building via APXS + Creating a local mod_perl source tree + Setting up mod_perl build environment (Makefile) + id: mod_perl/1.29 + id: Perl/v5.8.7 (freebsd) [/usr/local/bin/perl5.8.7] Now please type 'make' to build libperl.so Checking CGI.pm VERSION..ok Checking for LWP::UserAgent..ok Checking for HTML::HeadParserok Writing Makefile for Apache Writing Makefile for Apache::Connection Writing Makefile for Apache::Constants Writing Makefile for Apache::File Writing Makefile for Apache::Leak Writing Makefile for Apache::Log Writing Makefile for Apache::ModuleConfig Writing Makefile for Apache::PerlRunXS Writing Makefile for Apache::Server Writing Makefile for Apache::Symbol Writing Makefile for Apache::Table Writing Makefile for Apache::URI Writing Makefile for Apache::Util Disabling apxs_install target; deferred to pkg-install Writing Makefile for mod_perl === Building for mod_perl-1.29_1 (cd ./apaci PERL5LIB=/usr/ports/www/mod_perl/work/mod_perl-1.29/lib: make) cc -DPIC -fPIC -O -pipe -I/usr/local/lib/perl5/5.8.7/mach/CORE -DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.7/BSDPAN -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include -DMOD_PERL_VERSION=\1.29\ -DMOD_PERL_STRING_VERSION=\mod_perl/1.29\ -DMOD_PERL_PREFIX=\/usr/local/lib/perl5/site_perl/5.8.7/i386-freebsd-64int\ -I/usr/local/include/apache2 -DMOD_PERL -O -pipe -march=pentiumpro -O -pipe -march=pentiumpro -march=pentiumpro -c mod_perl.c mv mod_perl.o mod_perl.lo In file included from mod_perl.h:162, from mod_perl.c:58: apache_inc.h:128:31: http_conf_globals.h: No such file or directory In file included from mod_perl.c:58: mod_perl.h:248: error: syntax error before table mod_perl.h:260: error: syntax error before '*' token mod_perl.h:260: warning: data definition has no type or storage class mod_perl.h:262: error: syntax error before '*' token mod_perl.h:262: warning: data definition has no type or storage class In file included from mod_perl.c:58: mod_perl.h:1022: error: syntax error before array_header mod_perl.h:1035: error: syntax error before table mod_perl.h:1050: error: syntax error before table Now, I think that's because I'm using apache2. [EMAIL PROTECTED] p5-Apache-MP3]# pkg_info | grep apache apache-2.0.55 Version 2 of Apache web server with prefork MPM. apache-ant-1.6.5_1 Java- and XML-based build tool, conceptually similar to mak [EMAIL PROTECTED] p5-Apache-MP3]# pkg_info | grep mod_perl mod_perl2-2.0.2,2 Embeds a Perl interpreter in the Apache2 server How can I tell this package that I want mod_perl2, not mod_perl? Thanks, Mike -- Michael P. Soulier [EMAIL PROTECTED] Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein pgptK6f071kdU.pgp Description: PGP signature
Re: freebsd hosting
RJ wrote: They are the best I know of for cost and support. Cperciva posts in their forums and they have their own mirror. Without starting a war does anyone know of any provider that can match or beat what LT has to offer? I have a machine with dedicatednow. They've been alright so far. I had some issues when they originally set my machine up (no swap slice, d'oh) but I have had good experiences with what little support I've needed since I got that sorted out. -- ``Were you arrested under false circumcisions?'' ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ports : make index failed
Pirat SRIYOTHA wrote: hi sirs, after cvsup the ports tree , i make index but get errors. it said inspiron# cat /usr/ports/make-index Script started on Mon Jan 30 07:10:38 2006 You have mail. inspiron# uname -a FreeBSD inspiron.thai-aec.org 6.0-STABLE FreeBSD 6.0-STABLE #3: Tue Jan 24 18:17:06 ICT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/INSPIRON i386 inspiron# make index Generating INDEX-6 - please wait../usr/local/bin/php-config: not found grep: /usr/local/include/php/main/php_config.h: No such file or directory make: don't know how to make describe. Stop === mail/thunderbird-devel failed *** Error code 1 1 error Before reporting this error, verify that you are running a supported version of FreeBSD (see http://www.FreeBSD.org/ports/) and that you have a complete and up-to-date ports collection. (INDEX builds are not supported with partial or out-of-date ports collections -- in particular, if you are using cvsup, you must cvsup the ports-all collection, and have no refuse files.) If that is the case, then report the failure to [EMAIL PROTECTED] together with relevant details of your ports configuration (including FreeBSD version, your architecture, your environment, and your /etc/make.conf settings, especially compiler flags and WITH/WITHOUT settings). Note: the latest pre-generated version of INDEX may be fetched automatically with make fetchindex. *** Error code 1 Stop in /usr/ports. *** Error code 1 Stop in /usr/ports. inspiron# exit exit Script done on Mon Jan 30 07:37:55 2006 /etc/make.conf X_WINDOW_SYSTEM=xorg DOC_LANG=en_US.ISO8859-1 # added by use.perl 2006-01-13 14:51:17 PERL_VER=5.8.7 PERL_VERSION=5.8.7 FORCR_PKG_REGISTER=yes setenv USER=root HOME=/root SHELL=/bin/csh PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin MAIL=/var/mail/root BLOCKSIZE=K FTP_PASSIVE_MODE=YES TERM=xterm HOSTTYPE=FreeBSD VENDOR=intel OSTYPE=FreeBSD MACHTYPE=i386 SHLVL=1 PWD=/usr LOGNAME=root GROUP=wheel HOST=inspiron.thai-aec.org REMOTEHOST=siting.thai-aec.org EDITOR=vi PAGER=more inspiron# i have no 'refuse' file at all. and as far as i know, php has nothing to do with port tree at the very beginning. would you please clarify this issue for me? thanks in advance for any comments and please cc to me since i do not subscribe to this list. with best regards, psr ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hello everyone, I am curious about the CVS refuse files. I could find no mention of refuse files in the Cederqvist, but does it perhaps refer to the .cvsignore files which tells CVS which items to ignore (i.e. not fetch when updating the ports tree) Thanks for your help and patience with us newbies. --Best Regards Duane Whitty -- [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: serial console for dummies?
On Sun, 29 Jan 2006 10:21:23 +, Robert Slade wrote: I can't help you directly, but have you looked at the error logs? they should give you a clue, especially Xorg.log Last few times I remember looking, there was nothing logged. This lead me to believe that the lockup happened too fast for the output to the logfile to be saved to disk. Hence my desire for a capture on a separate terminal (which presumably might make it). Another thought is to connect via a network connection and SSH into the machine that will give you a console. Unfortunately the laptop I have for this use has no network connection, and it would also require getting FreeBSD working on this ancient (486) thing, which is probably about as much fun as giving yourself a root canal. I have questions about the condition of the HDD anyways (I was going to use a boot floppy, running DOS and a terminal app). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ctrl+Alt+number terminal switching stopped working
in message [EMAIL PROTECTED], wrote Ian Moore thusly... I've just noticed I can't switch from my X session back to the other vtty screens using Ctrl+Alt+1, Ctrl+Alt+2 etc. I can't seem to find any info on this - is it a known issue or is it just my system? I can't say if XkbDisable would help in your case ... Section ServerFlags Option DontZapfalse Option AllowMouseOpenFail true # XFree86 4.[34].x - Add DontVTSwitch to be false (for console # switching). Option DontVTSwitch false Option HandleSpecialKeys Always # Xorg 6.8.(2|99.903) - Add XkbDisable to be true (for console # switching). Option XkbDisable true EndSection ... but try it. - Parv -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: serial console for dummies?
On Sun, 29 Jan 2006 10:01:54 -0500, Ken Stevenson wrote: I was trying to accomplish the same thing a couple weeks ago and somebody recommended the following: touch /var/log/console.log Edit /etc/syslog.conf and uncomment the line that begins with console.info. Reboot (you might be able to just restart syslogd). Interesting. I will try that, but I think I'll be running into the same problem before where the HALT occurs before anything can be written to disk, so nothing gets logged. I think I'd still like to figure out how to set up a serial console too. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: serial console for dummies?
On Sun, 29 Jan 2006 12:32:46 -0500, Michael P. Soulier wrote: Can't you just run xconsole? Doesn't help me if xconsole is hidden by another window at the time of the halt. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: serial console for dummies?
Scott I. Remick wrote: Hello... I'm trying to set up a serial console for watching console error messages while in X, but am having a real hard time getting my head around the concepts of what I need to do (and don't need to). I've seen http://www.freebsd.org/doc/handbook/serialconsole-setup.html but I'm not clear about how much of that applies to what I want to do, since it talks about setting it up for a headless system (no keyboard or monitor) and actually instructs you to remove the keyboard. I've also searched the mailing list archives but I've read a lot of conflicting info, much of which for different uses of the serial console than what I want to use it for, and I've now read back so far that I can't even be certain that the suggestions apply to FreeBSD 6.0. Ugh So is there someone who can give me a hand-held walk-through of just what I need to do to make this work? I'm running FreeBSD 6.0-RELEASE and live in X (Gnome) all the time. My intention here is to be able to see console messages (Errors) so when something dies (like X locking, which happens sometimes) I have a chance to see what the heck happened. I have an old 486 laptop I intend to use as the dumb terminal, as well as the necessary null modem cable. I just need to know what to configure on my FreeBSD box so that console errors are mirrored to the serial port. Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hi, Take a look at /etc/ttys. It is pretty self-explanatory but you'll probably have to play around with what kind of terminal you want, i.e. vt100, vt220, cons25, etc. My guess is you want tty0getty(terminal type) on secure Plug in your laptop to the serial port, restart init (man init) and see what happens Best Regards, Duane Whitty -- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FTP Automate Shell Script
Hello. I am using FreeBSD 6.0 and Bash as my shell. I am following a tutorial to create a shell script to copy some files. It works perectly exept for 2 points. Here is the article - http://www.quepublishing.com/articles/printerfriendly.asp?p=170517 Here is the script - #!/bin/sh temp=/tmp/$(basename $0).$$ ; trap /bin/rm -f $temp 0 targetdir=remote-dir remote=laptop.intuitive.com echo taylor $temp echo cd $targetdir $temp for file in * do if [ -f $file ] ; then echo put $file $file $temp else echo skipping $file: not a file. 2 fi done echo quit $temp ftp $remote $temp exit 0 One problem is that the password must be entered manually, I have spent a good part of the day experimenting but can't seem to automate this. Can the password be entered using the script? The other problem is that it copies the actual file. What command would I look at to copy only images (.jpg) for example? Thanks in advance. Ang. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FTP Automate Shell Script
A .netrc file (read the ftp man page) may work for you. Cheers Gavin On 1/30/06, Angelo Christou [EMAIL PROTECTED] wrote: Hello. I am using FreeBSD 6.0 and Bash as my shell. I am following a tutorial to create a shell script to copy some files. It works perectly exept for 2 points. Here is the article - http://www.quepublishing.com/articles/printerfriendly.asp?p=170517 Here is the script - #!/bin/sh temp=/tmp/$(basename $0).$$ ; trap /bin/rm -f $temp 0 targetdir=remote-dir remote=laptop.intuitive.com echo taylor $temp echo cd $targetdir $temp for file in * do if [ -f $file ] ; then echo put $file $file $temp else echo skipping $file: not a file. 2 fi done echo quit $temp ftp $remote $temp exit 0 One problem is that the password must be entered manually, I have spent a good part of the day experimenting but can't seem to automate this. Can the password be entered using the script? The other problem is that it copies the actual file. What command would I look at to copy only images (.jpg) for example? Thanks in advance. Ang. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ 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]
pptp server
Hi all: I configured pptp server on 5.4 and it seems to be working (kinda): 1) From log file Jan 30 03:07:03 home mpd: [pptp0] using interface ng0 Jan 30 03:07:03 home mpd: [pptp1] ppp node is mpd5309-pptp1 Jan 30 03:07:03 home mpd: [pptp1] using interface ng1 Jan 30 03:07:03 home mpd: [pptp2] ppp node is mpd5309-pptp2 2) From ifconfig ng0: flags=8890POINTOPOINT,NOARP,SIMPLEX,MULTICAST mtu 1500 ng1: flags=8890POINTOPOINT,NOARP,SIMPLEX,MULTICAST mtu 1500 Also I configured a client and placed it at the same subnet of the external interface of the pptp server (254.254.254.3) and tried to connect. Nothing happens. mpd.log didn't even log any activities on the external interface. Here is the config for mpd.conf: default: load pptp0 load pptp1 pptp0: new -i ng0 pptp0 pptp0 set ipcp ranges 192.168.100.1/28 192.168.100.5/28 load common pptp1: new -i ng1 pptp1 pptp1 set ipcp ranges 192.168.100.1/28 192.168.100.6/28 load common client_common: set iface disable on-demand set iface enable proxy-arp set iface idle 1800 set iface enable tcpmssfix set bundle disable multilink set bundle enable compression set bundle yes crypt-reqd set link no pap chap set link enable chap-msv2 set link keep-alive 10 60 set link enable acfcomp protocomp set ipcp yes vjcomp set ccp yes mppc set ccp yes mpp-e128 Here is the config for mpd.links pptp0: set link type pptp set pptp self 254.254.254.1 set pptp enable incoming set pptp disable originate pptp1: set link type pptp set pptp self 254.254.254.254 set pptp enable incoming set pptp disable originate What did I do wrong? The firewall rule is to allow from any to any. Any help would be greatly appreciated. By the way, I am using mpd4. tried mpd3.18 and the same problem. Regards __ __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
pptp server
Hi all: I configured pptp server on 5.4 and it seems to be working (kinda): 1) From log file Jan 30 03:07:03 home mpd: [pptp0] using interface ng0 Jan 30 03:07:03 home mpd: [pptp1] ppp node is mpd5309-pptp1 Jan 30 03:07:03 home mpd: [pptp1] using interface ng1 Jan 30 03:07:03 home mpd: [pptp2] ppp node is mpd5309-pptp2 2) From ifconfig ng0: flags=8890POINTOPOINT,NOARP,SIMPLEX,MULTICAST mtu 1500 ng1: flags=8890POINTOPOINT,NOARP,SIMPLEX,MULTICAST mtu 1500 Also I configured a client and placed it at the same subnet of the external interface of the pptp server (254.254.254.3) and tried to connect. Nothing happens. mpd.log didn't even log any activities on the external interface. Here is the config for mpd.conf: default: load pptp0 load pptp1 pptp0: new -i ng0 pptp0 pptp0 set ipcp ranges 192.168.100.1/28 192.168.100.5/28 load common pptp1: new -i ng1 pptp1 pptp1 set ipcp ranges 192.168.100.1/28 192.168.100.6/28 load common client_common: set iface disable on-demand set iface enable proxy-arp set iface idle 1800 set iface enable tcpmssfix set bundle disable multilink set bundle enable compression set bundle yes crypt-reqd set link no pap chap set link enable chap-msv2 set link keep-alive 10 60 set link enable acfcomp protocomp set ipcp yes vjcomp set ccp yes mppc set ccp yes mpp-e128 Here is the config for mpd.links pptp0: set link type pptp set pptp self 254.254.254.1 set pptp enable incoming set pptp disable originate pptp1: set link type pptp set pptp self 254.254.254.254 set pptp enable incoming set pptp disable originate What did I do wrong? The firewall rule is to allow from any to any. Any help would be greatly appreciated. By the way, I am using mpd4. tried mpd3.18 and the same problem. Regards __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
CVS Import Permissions
Hi All, I am having some confusion regarding the way CVS works with permissions under unix when importing a new project. Currently, when I import a project, I get this sort of permissions on the project directory: drwxr-x--- 2 jim cvs 512 Jan 27 12:31 test_proj Notice that the group (cvs) is not granted write access. Is this the way it's supposed to work? Do I have to use chmod to grant write access to the group every time I do an import? Or is my CVS not configured correctly? If I don't grant write access to the group on that directory, every check in fails with a could not open lock file `/usr/local/cvs/test_proj/,test.txt,': Permission denied. I tried setting the LockDir in the config file to a world-writable directory, but this doesn't seem to solve the problem when trying to check-in. Thank you! Regards, DB -- david bryce [EMAIL PROTECTED] -- http://www.fastmail.fm - mmm... Fastmail... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FTP Automate Shell Script
Gavin Cameron wrote: A .netrc file (read the ftp man page) may work for you. Cheers Gavin If you have shell access on the destination host, you can also try mirror. -- ``Were you arrested under false circumcisions?'' ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portsnap
On 29/01/06, Donald J. O'Neill [EMAIL PROTECTED] wrote: On Saturday 28 January 2006 19:19, Chris wrote: Concerning speed I discovered the version in the ports tree is very slow, I have portsnap running zippy when using fetch on 2 5.4 boxes which I use the version in the base system, on 2 5.3 boxes and a 4.10 box I use the version from ports and portsnap fetch takes about 20-30 minutes to fetch 2000 port patches, which takes a few seconds on the base version, I discovered the base version doesnt fetch from a url but instead of a new server. I contacted the dev and he confirmed the ports version is old so I guess the ports maintainer needs to update it until that is done I dont reccomend it for 5.3 and older. Chris Hi Chris, I run two 6.0 stable boxes at home. I guess that's why one needs to ask what version of FreeBSD are you using? I'd never used portsnap until I was trying to put as much speed as I could into setting up the two 6.0 boxes. I will remeber about 5.3 and older. Don As previously mentioned on the 5 boxes, 2 run 5.3 2 run 5.4 1 runs 4.10 as portsnap is included in the base on 5.4 I just used that and it is very fast, on 5.3 and 4.10 I installed from ports and is very slow but this is because it uses an older method to fetch the patches I am told. I will try the -x next time I update. Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVS Import Permissions
david bryce wrote: Hi All, I am having some confusion regarding the way CVS works with permissions under unix when importing a new project. Currently, when I import a project, I get this sort of permissions on the project directory: drwxr-x--- 2 jim cvs 512 Jan 27 12:31 test_proj Notice that the group (cvs) is not granted write access. Is this the way it's supposed to work? Do I have to use chmod to grant write access to the group every time I do an import? Or is my CVS not configured correctly? If I don't grant write access to the group on that directory, every check in fails with a could not open lock file `/usr/local/cvs/test_proj/,test.txt,': Permission denied. I tried setting the LockDir in the config file to a world-writable directory, but this doesn't seem to solve the problem when trying to check-in. Thank you! Regards, DB Hi, I highly recommend the following book. It is available for viewing online or as a downloadble PDF http://cvsbook.red-bean.com/ Best Regards, --Duane Whitty --- [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: Elegant delete of word ~tmp files in all sub / dirs
Hi Mathieu, useless to do -r while you search only files (-type f) the delete function of find seems more apropriate to me But the -exec mode is more general (understand you put whatever command you want there) and beside, the first question was refeering to a syntax using {}. But I guess that Graham has already deleted all his directories anyway :) Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FTP Automate Shell Script
A .netrc file (read the ftp man page) may work for you. Cheers Gavin If you have shell access on the destination host, you can also try mirror. Thanks for the many suggestions, I will be looking into them all (.netrc doesn't work yet, still trying). I am still curious why the password isn't working though. Is it possible that you can not script this? The script works by creating the following temp file and piping it to ftp. angelo cd /images put img00234.jpg img00234.jpg put img00235.jpg img00235.jpg put img00236.jpg img00236.jpg put ftp.sh ftp.sh quit I tried - angelo mysecret cd /images put img00234.jpg img00234.jpg cut put ftp.sh ftp.sh quit and angelo mysecret cd /images put img00234.jpg img00234.jpg cut put ftp.sh ftp.sh quit Neither seem to work. I'm also not sure how to NOT copy the actual file too :) Thanks again.. Ang. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
CVS Import Permissions
david bryce wrote: I am having some confusion regarding the way CVS works with permissions under unix when importing a new project. Currently, when I import a project, I get this sort of permissions on the project directory: drwxr-x--- 2 jim cvs 512 Jan 27 12:31 test_proj Hi, I highly recommend the following book. It is available for viewing online or as a downloadble PDF http://cvsbook.red-bean.com/ Best Regards, --Duane Whitty --- duane at greenmeadow.ca Thanks, Duane. I have already read this excellent book, but couldn't find any clues there pertaining directly to this question. Thanks! Regards, DB -- david bryce [EMAIL PROTECTED] -- http://www.fastmail.fm - A no graphics, no pop-ups email service ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Vinum FreeBSD 4.11-STABLE
Hi, I am trying setup a vinum mirrored plex with two disks: ad2: 38204MB SAMSUNG SP0411N [77622/16/63] at ata1-master UDMA33 ad3: 38204MB SAMSUNG SP0411N [77622/16/63] at ata1-slave UDMA33 Disks are new and fully functional, but when i do: #vinum start #vinum vinum - mirror -v -n mirror /dev/ad2 /dev/ad3 i get this: drive vinumdrive0 device /dev/ad2 Can't create drive vinumdrive0, device /dev/ad2: Can't initialize drive vinumdrive0 P.S Sorry for my english.:) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Vinum FreeBSD 4.11-STABLE
On Monday, 30 January 2006 at 10:31:13 +0300, Forth wrote: Hi, I am trying setup a vinum mirrored plex with two disks: ad2: 38204MB SAMSUNG SP0411N [77622/16/63] at ata1-master UDMA33 ad3: 38204MB SAMSUNG SP0411N [77622/16/63] at ata1-slave UDMA33 Disks are new and fully functional, but when i do: #vinum start #vinum vinum - mirror -v -n mirror /dev/ad2 /dev/ad3 i get this: drive vinumdrive0 device /dev/ad2 Can't create drive vinumdrive0, device /dev/ad2: Can't initialize drive vinumdrive0 You should be using partitions, not disk drives. Create a partition of type vinum, for example /dev/ad2s1h, and specify that. The man page explains in more detail. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. pgpHrIkJCSqEG.pgp Description: PGP signature
excluding a particular filename from rsyncing ... help
Every night I rsync a directory tree from one system to another. Easy. However there is a particular set of files that could exist anywhere in that directory at any depth, and it is unknown how many there are at any given time. I want to make sure that rsync skips over those files regardless of where they ae, how deep they are, or how many there are. How can I do this on the command line, with rsync ? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]