Re: ports
Chuck Swiger wrote: On Jul 8, 2008, at 11:04 AM, Mel wrote: On Tuesday 08 July 2008 19:07:02 Matthew Seaman wrote: You can configure named to always send packets using a fixed port number (which can be helpful for firewalling) Purely outof interest, which (useful) firewall/nat rules cannot be made with dest port 53, that can be made with source port 53. Not talking syntax, but business logically. Please note that using the same port for answering queries makes it vastly easier for somebody to spoof your DNS traffic. Unless you are one of the handful using DNSSEC, that is. Yes. In the light of this, released last night: http://www.kb.cert.org/vuls/id/800113 fixing the response port is a bad idea. A really bad idea. 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
Install Linux in FreeBSD
Hi again list, Is it possible to run a VM machine in your freebsd server in which inside that VM you are running on it a Linux environment? coul it be? You would rather want to know why do I want that set up? Simply because I want to install a Quickbooks Enterprise solutions Database manager in Linux, further, Freebsd doesn't support the Quickbooks (also vice versa) it only runs or support in Linux..thats the reason guys.. Could some one give me some idea how will I do that? Thanks.. FreeBSD ROCKS...!!! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
A sed question
Hi all I want to translate following GNU sed lines to FreeBSD sed: 1. sed -e '/\*address:/{n;[EMAIL PROTECTED]@replaceText @}' 2. sed -e '/\*address:/{n;[EMAIL PROTECTED]@ [EMAIL PROTECTED]' Appreciate if someone could help with it. Is there a good documentation about FreeBSD sed other than man page? Kind regards Unga ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Install Linux in FreeBSD
On Wednesday 09 July 2008 08:46, Ruel Luchavez wrote: Hi again list, Is it possible to run a VM machine in your freebsd server in which inside that VM you are running on it a Linux environment? coul it be? You would rather want to know why do I want that set up? Simply because I want to install a Quickbooks Enterprise solutions Database manager in Linux, further, Freebsd doesn't support the Quickbooks (also vice versa) it only runs or support in Linux..thats the reason guys.. Could some one give me some idea how will I do that? Did you read section 10 of the Handbook - Linux Binary Compatibility? Jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't run WindowMaker. Fatal server error:
I have recompiled the kernel and no change what so ever. I have also upgraded windowmaker to windowmaker-0.92.0_4. Current Xorg is xorg-7.3_2 On 06-juil.-08, at 21:31, Luke Dean wrote: On Sun, 6 Jul 2008, Pedro Alves wrote: Hello I have a serious problem with windowmaker. Every time I configure .xinitrc to launch wmaker, the server aborts here what I get: Fatal server error: Caught signal 11. Server aborting xnit: connection to X server lost. wmaker warning: got signal1-exiting... So... What to do, as I don't find any information concerning this problem. I am running FreeBSD 7.0 One week old cvs ports upgrade. You may find clues in the Xorg log. /var/log/Xorg.0.log When I have this problem, or just about any X-related problem, it means I need to go rebuild my video driver. -- Pedro Alves PhD. ICP Inst. Christian de Duve UCL 7459 Av. Hippocrate, 74 1200 Brussels Belgium work:+32(0)2 764 7434 fax: +32(0)2 762 9405 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Load balance for POP3
[EMAIL PROTECTED] wrote: Hi Vince, On Mon, 30 Jun 2008, Vince Hoffman wrote: | | I need to switch the users connections between two POP3 servers based on | | login information. | | Since the login is part of the pop3 handshake, I'm stuck on how to | | transfer the connection and pass the info already sent. | |would nginx (as described here |http://highscalability.com/nginx-high-performance-smpt-pop-imap-proxy) |be more what your after? Yes, it seems thar Nginx has what I need. Do you have any working setup? Thank you, I'm afraid not, I looked into it a little but management ended up deciding we would be using zxtm load balancers (http://www.zeus.com/products/zxtm/) which were better suited for us overall. Vince - Marcelo Souza - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Load balance for POP3
I'm afraid not, I looked into it a little but management ended up deciding we would be using zxtm load balancers (http://www.zeus.com/products/zxtm/) which were better suited for us overall. Vince, With a little TrafficScript, you can do exactly this with ZXTM, so perhaps management made a good choice =). Here's a simple TrafficScript rule I've used to connect POP3 connections to two different groups of POP3 servers based on username: $req = request.getLine(); if( string.regexmatch( $req, USER ([^\\s]*)) ) { $user = $1; if( $user == owen ) { pool.use( local pop servers ); } if( $user == owen.garrett ) { pool.use( gmail pop servers ); } # Otherwise, drop the connection connection.discard(); } The 'gmail pop servers' pool is configured to use SSL to connect to gmail's servers on port 995, so you can use this technique to bridge between plain pop3 (port 110) on the client and SSL-wrapped connections on the server too. Talk to Zeus' support team - they will be more than able and willing to help you configure ZXTM with a bit of TrafficScript to do what you need... Owen -- View this message in context: http://www.nabble.com/Load-balance-for-POP3-tp18155594p18358709.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
problem with sendmail and su
Hello. I use FreeBSD 7 with sendmail. I have a problem for sending email. More precisely, with the sender of the mail. When I'm logged to my machine in root, the mail is sent with [EMAIL PROTECTED] with sender. OK, no problems. When I'm logged to my machine in nicolas, the mail is sent with [EMAIL PROTECTED] with sender. OK, no problems. However, when I'm logged in nicolas to my machine, and if I do a su root or su - root, and I send a mail, the sender will be [EMAIL PROTECTED] and not [EMAIL PROTECTED]. It's a problem, because I done a su to be logged as root. I don't have this problem with a FreeBSD/Postfix. Thanks for your advices and helps. I don't understand this problem. Regards, -- - Nicolas. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: A sed question
Hii, Am Mittwoch, 09. Jul 2008, 00:35:32 -0700 schrieb Unga: I want to translate following GNU sed lines to FreeBSD sed: 1. sed -e '/\*address:/{n;[EMAIL PROTECTED]@replaceText @}' 2. sed -e '/\*address:/{n;[EMAIL PROTECTED]@ [EMAIL PROTECTED]' An obvious problem is that a semicolon is missing before the closing brace. sed -e '/\*address:/{n;[EMAIL PROTECTED]@replaceText @;}' I'm almost sure your version won't work with GNU sed either. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ports
On Tuesday 08 July 2008 23:07:58 Chuck Swiger wrote: On Jul 8, 2008, at 11:04 AM, Mel wrote: On Tuesday 08 July 2008 19:07:02 Matthew Seaman wrote: You can configure named to always send packets using a fixed port number (which can be helpful for firewalling) Purely outof interest, which (useful) firewall/nat rules cannot be made with dest port 53, that can be made with source port 53. Not talking syntax, but business logically. Please note that using the same port for answering queries makes it vastly easier for somebody to spoof your DNS traffic. Unless you are one of the handful using DNSSEC, that is. That's exactly why I asked. I don't see a reason to use a fixed source port, since you can always make rules (even for bandwidth shaping) based on destination port only. The only difference you'll able to account for is resolver clients querying directly to the internet installed on the machine with your DNS server vs the DNS server itself. IMO, that distinction is not worth the risk or even important in any accounting/bandwidth shaping scheme. But I may have overlooked a valid scenario. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: quota and sendmail accepts 10k mail size
Hi Derek, It is good to hear from you. You are right about sendmail has only global option to limit mail size. However, my company wants to have 20meg mbox space per user. If the User exceeds, he/she should not recieved any mail. So, I use system quota to prevent sendmail from writing to mbox of a user which is under quota.Sendmail should bounce the mail and reply to sender with this kind of error: - The following addresses had permanent fatal errors - [EMAIL PROTECTED] (reason: 550 5.0.0 output error) Here is my configs: I enable quota to /var and /home filesystem /dev/ipsd0s1f /home ufs rw,userquota 2 2 /dev/ipsd0s1d /var ufs rw,userquota 2 2 # qouta -v user.underquota Disk quotas for user user.underquota (uid 1333): Filesystem usage quota limit grace files quota limit grace /home 210 20480 20480 11 0 0 /var 62960* 20480 20480 none 1 0 0 As you can see here, user.underquota already exceeded the limit (soft and hard). If I try to send a mail to this user more than 13k mail size, sendmail cannot write to this mbox (since mbox of a user is located in /var/mail) and will reply with an error message. At first I thought it was working, however, when i try to send 10k, 7k, 5k or less mail size, sendmail can write to user.underquota mbox. User file permition: #ls -l -rw-rw 1 user.underquota mail 64413589 Jul 8 09:54 user.underquota So, what do you think? Do i missed some config? or this is a bug? Thank you. Best regards, Alyd ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
(un)mounting usb disk as non root user
Hi all FreeBSD 6.2 I have made a copy system with USB disk and GELI for crypto. Now, I would like that one non root user can login run a shell form unmount the disk and change it, and then mount the new usb disk. I have the shell script done, but only works if it runs under root. When I tried to run under the user, I get unmount /mnt/usb1 - Operation not permited My user is in the group operator, but what more can I do? I want to let them a script that in the login moment they can safely change the usb disks. Thanks in advance Juan Coruña Desarrollo de Software Atlantico ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 7.0 and RAM limit
At 2008-07-05T13:04:19+02:00, Robert Heron wrote: FreeBSD 7.0-R on i386 server with motherboard S5000VSA and 6GB RAM onboard. BIOS version - 88 (the latest) Kernel includes: options MAXMEM=(6*1024*1024) And FreeBSD reports only: real memory = 2680160256 (2556 MB) avail memory = 2617892864 (2496 MB) Why? What is wrong that FreeBSD sees only about 2.5GB instead of 6GB? (I ran into this question recently when buying a computer, and did some homework on it, however my understanding may be off the mark.) As mentioned in earlier replies, the problem isn't caused by the OS, but is a limitation of the i386 architecture, in which each byte of memory is indexed by a 32-bit integer. This means that an i386 machine can use only 2^32 bytes, i.e., 4 GB, of memory --- unless one uses pae(4). Some of the 2^32 addresses are used by devices like the video card, and by the BIOS. For instance, if the machine has a video card with 512 MB of video RAM, this means that less than 3.5 GB of memory can be used. It seems a safe bet in such a case to install at most 3 GB of memory. There is more info at http://www.codinghorror.com/blog/archives/000811.html http://en.wikipedia.org/wiki/Memory_address Raghavendra. -- N. Raghavendra [EMAIL PROTECTED] | http://www.retrotexts.net/ Harish-Chandra Research Institute | http://www.mri.ernet.in/ See message headers for contact and OpenPGP information. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 7.0 and RAM limit
Hello, You might try the 64bit FreeBSD, I think your system is 64bit capable. That has much higher limits on memory addressing and should get around the issue. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Image metadata - reading writing
Hi Does anyone know of a uitlity that for metatdata stored in raw image files (especially canon *.CR2) would enable me to: 1. Read the data from a file 2. Write new information into the file I want to extract the metadata, use it in a mysql database and update the metadata from the mysql database. Thanks in advance David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: A sed question
--- On Wed, 7/9/08, Bertram Scharpf [EMAIL PROTECTED] wrote: From: Bertram Scharpf [EMAIL PROTECTED] Subject: Re: A sed question To: Unga [EMAIL PROTECTED], freebsd-questions@freebsd.org Date: Wednesday, July 9, 2008, 6:52 PM Hii, Am Mittwoch, 09. Jul 2008, 00:35:32 -0700 schrieb Unga: I want to translate following GNU sed lines to FreeBSD sed: 1. sed -e '/\*address:/{n;[EMAIL PROTECTED]@replaceText @}' 2. sed -e '/\*address:/{n;[EMAIL PROTECTED]@ [EMAIL PROTECTED]' An obvious problem is that a semicolon is missing before the closing brace. sed -e '/\*address:/{n;[EMAIL PROTECTED]@replaceText @;}' I'm almost sure your version won't work with GNU sed either. Thank you very much for the reply. That was indeed the difference between the GNU sed and the FreeBSD sed in this case. I tested with a semicolon, it worked perfectly but the GNU sed does not require similar semicolon. Best regards Unga ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: (un)mounting usb disk as non root user
On Wed, 9 Jul 2008 11:29:22 - (GMT) DSA - JCR [EMAIL PROTECTED] wrote: Hi all FreeBSD 6.2 I have made a copy system with USB disk and GELI for crypto. Now, I would like that one non root user can login run a shell form unmount the disk and change it, and then mount the new usb disk. I have the shell script done, but only works if it runs under root. When I tried to run under the user, I get unmount /mnt/usb1 - Operation not permited My user is in the group operator, but what more can I do? I want to let them a script that in the login moment they can safely change the usb disks. Thanks in advance Juan Coruña Desarrollo de Software Atlantico Add the following line to your /etc/sysctl.conf file: vfs.usermount=1 To enable it immediately run the following command as root: sysctl vfs.usermount=1 The user must be the owner of the mount point! -- Anders Trobäck http://www.troback.com/ Windows: Where do you want to go today? Linux: Where do you want to go tomorrow? FreeBSD: Are you guys coming, or what? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How do I install openoffice from packages?
/Andreas, On Wed, 9 Jul 2008, Andreas Davour wrote: I've tried and it just wont work. It look like the packages don't reside on the server but I can't change ftp.freebsd.org so how do I get it? From the Googling I did on the subject recently there is no official binary packages for OpenOffice available. It is available in the ports tree. The following thread: http://daemonforums.org/showthread.php?t=21 on DæmonForums.org has a link to a site: ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/2.4.0/7.0-STABLE/amd64/ With binary packages available for various versions of FreeBSD. Well, the thread pointed to the i386 packages, but the amd64 packages were easy enough to find. I had no trouble installing OpenOffice 3 from ports on my i686 box, other than it taking 8+ hours to compile and my PC locked up shortly after it completed. I thought it had locked up during the compile but eventually discovered that it had completed the install successfully before locking up. I'm still getting the kinks out of my ZFS tweaks. Kevin http://www.RawFedDogs.net http://www.WacoAgilityGroup.org Bruceville, TX Si hoc legere scis nimium eruditionis habes. Longum iter est per praecepta, breve et efficax per exempla!!! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How do I install openoffice from packages?
You could try one of the packages from the openoffice.org site http://porting.openoffice.org/freebsd/#obtain . I only see packages for 6.2 and there may be issues. Otherwise you need to build from the ports. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Image metadata - reading writing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 David Southwell wrote: | Hi | | Does anyone know of a uitlity that for metatdata stored in raw image files | (especially canon *.CR2) would enable me to: | 1. Read the data from a file | 2. Write new information into the file You may want to give graphics/dcraw a try.. | | I want to extract the metadata, use it in a mysql database and update the | metadata from the mysql database. | | Thanks in advance Hope this helps, | | David | | ___ | freebsd-questions@freebsd.org mailing list | http://lists.freebsd.org/mailman/listinfo/freebsd-questions | To unsubscribe, send any mail to [EMAIL PROTECTED] - -- Pietro Cerutti [EMAIL PROTECTED] PGP Public Key: http://gahr.ch/pgp -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) iEYEAREKAAYFAkh01LUACgkQwMJqmJVx9471pwCgjQZeDf+/VNDYRnEj2+/yVZvo eZcAoJ5AUq7t2hYY06uJxcCo9XsERJEx =hDv1 -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]
gvinum rename doesn't work on drive objects
I have been struggling with gvinum over the last few days, and have recently hit an interesting problem: the 'rename' command in gvinum doesn't appear to work on drive objects in 7.0-RELEASE. I initially created three drive objects to support my RAID-5 gvinum setup, named 'r0', 'r1' and 'r2'. Straightaway, I realised that this was not the naming scheme I had intended to use, but rather than deleting and recreating them, I tried renaming to 'rA', 'rB' and 'rC'. This appeared to complete successfully, I created the appropriate volume and plex, newfs(8)ed the filesystem, and mounted it as appropriate. However, on rebooting the machine (some days later) I discovered that the rename operation did not persist across a reboot. Thus, I have three drives named 'r0', 'r1' and 'r2', and a RAID-5 plex that looks for drives to attach to subdisks named 'rA', 'rB' and 'rC'. It fails to load successfully, and I am left without a running volume... especially irritating as it contains my /usr filesystem. No amount of booting to single user and issuing 'rename r0 rA', with or without 'saveconfig', results in a drive name change that persists across reboots. I have tried deleting and recreating the drive objects with the correct names, but all that manages to do is panic the kernel on the create step, with the attached panic message. I realise this is an entirely separate question. Any ideas? I have attached my dmesg, and I'm using 7.0-RELEASE-p2. Thanks, David Adam [EMAIL PROTECTED]Fatal trap 12: page fault while in kernel mode cpuid = 1; apic id = 00 fault virtual address= 0x40 fault code = supervisor read, page not present instruction pointer = 0x20:0xc55dabcb stack pointer = 0x28:0xe56aa800 frame pointer = 0x28:0xe56aa81c code segment = base 0x0 limit 0xf, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 2 (g_event) trap number = 12 panic: page fault cpuid = 1 Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) III CPU family 1133MHz (1130.45-MHz 686-class CPU) Origin = GenuineIntel Id = 0x6b1 Stepping = 1 Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real memory = 2147221504 (2047 MB) avail memory = 2091663360 (1994 MB) ACPI APIC Table: INTEL SCB20 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 3 cpu1 (AP): APIC ID: 0 MADT: Forcing active-low polarity and level trigger for SCI ioapic0 Version 1.1 irqs 0-15 on motherboard ioapic1 Version 1.1 irqs 16-31 on motherboard lapic3: Forcing LINT1 to edge trigger kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 19:59:27) acpi0: INTEL SCB20 on motherboard ACPI Warning (dswload-0794): Type override - [DEB_] had invalid type (Integer) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [MLIB] had invalid type (Integer) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [DATA] had invalid type (String) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [SIO_] had invalid type (String) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [SB__] had invalid type (String) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [PM__] had invalid type (String) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [ICNT] had invalid type (String) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [ACPI] had invalid type (String) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [LEDP] had invalid type (String) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [WUES] had invalid type (String) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [WUSE] had invalid type (String) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [CSB5] had invalid type (String) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [PM__] had invalid type (String) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [BIOS] had invalid type (Integer) for Scope operator,
Re: (un)mounting usb disk as non root user
This is a Frequently Asked Question. http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER-FLOPPYMOUNT -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Which VIA CPUs have hardware RNG support?
I am trying to figure out which VIA CPUs support hardware RNG under recent FreeBSD. I've been looking at things on 7.0-RELEASE-p2. If there is something that else I should be looking at, please let me know. Based on 'man 4 random' I see: The only hardware implementation currently is for the VIA C3 Nehemiah (stepping 3 or greater) CPU. More will be added in the future. Poking around in the kernel I see that indeed nehemiah and yarrow seem to be the only random sources there. From 'usr/src/sys/i386/i386/initcpu.c': SYSCTL_UINT(_hw, OID_AUTO, via_feature_rng, CTLFLAG_RD, via_feature_rng, 0, VIA C3/C7 RNG feature available in CPU); Based on all this and some reading on wikipedia, my best guess is that C3 Nehemiah and later and all C7 support the hardware RNG. Can anyone confirm this? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ia-64 Floppies
Please help: I am trying to install Free BSD ia-64 architecture but cannot find floppies. Will the 386 floppies work? My cdrom will not boot from ia-64 live. I had a i386 installation but wanted to replace it. Thanks, John William Blyth (newbie) [EMAIL PROTECTED] 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: ia-64 Floppies
John William Blyth wrote: Please help: I am trying to install Free BSD ia-64 architecture but cannot find floppies. Will the 386 floppies work? My cdrom will not boot from ia-64 live. I doubt that you have an ia64. Are you absolutely certain you don't mean amd64? Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ia-64 Floppies
To clarify Kris' response: amd64 = AMD/Intel 64bit capable CPUs ia64 = Intel Itanium So if you're looking for an x86 compatible install CD, then you'll be wanting the amd64 version. (sorry for the direct reply Kris, I'm not used to mailing lists that don't do proper reply-to) At 12:13 PM 7/9/2008, you wrote: John William Blyth wrote: Please help: I am trying to install Free BSD ia-64 architecture but cannot find floppies. Will the 386 floppies work? My cdrom will not boot from ia-64 live. I doubt that you have an ia64. Are you absolutely certain you don't mean amd64? Kris ___ 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]
ports/ImageMagick - Magick++ - 2 tests fail on FBSD 6.3 alpha
Two ImageMagick tests fail with core dumps on my FBSD 6.3 alpha: FAIL: Magick++/tests/exceptions.sh FAIL: Magick++/tests/attributes.sh They pass on my FBSD 7.0 i386. exceptions.cpp actually warns: %vi exceptions.cpp [skip] 22 23 cout Checking for working exceptions (may crash) ... ; 24 Is this to do with different c++ versions on FBSD 7 and 6? many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
bind94 security update (UNOFFICIAL)
Hi, For anyone looking to update the bind94 port due to the recent frenzy, you can : 1) Update the Makefile : From : PORTREVISION= 1 To : PORTREVISION= 2 From : ISCVERSION= 9.4.2 To : ISCVERSION= 9.4.2-P1 2) Drop this into distinfo : MD5 (bind-9.4.2-P1.tar.gz) = 87b80edd9872cb017053866c81ca9be8 SHA256 (bind-9.4.2-P1.tar.gz) = eeeb8f89fe6d88b250ad85ee21cfde6f8ac6f425c70c6705352b3fa8c4c4ee84 SIZE (bind-9.4.2-P1.tar.gz) = 6451654 MD5 (bind-9.4.2-P1.tar.gz.asc) = 72310b7045d9806b913835c55ba5388b SHA256 (bind-9.4.2-P1.tar.gz.asc) = c84b6446416ff1096ec5bfb1c731d31f984b312b45a3d2064a922a6b50b6162d SIZE (bind-9.4.2-P1.tar.gz.asc) = 479 THIS IS NOT THE OFFICIAL FREEBSD PORTS UPGRADE PATH OR MAINTAINER... This is a stop gap until MAINTAINER= [EMAIL PROTECTED] does it officially. I have not contacted him about it yet admittedly. I have tested this on a 4.10, 5.5, and 7.0 system and it works fine. Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
snippet of configure script - explain please
I get errors building ports/graphviz on FBSD 6.3 on alpha. It seems the error is due to configure script erroneously deciding that there is no strncasecmp function on OS. Based on config.log: configure:9333: result: no configure:9253: checking for strncasecmp I think the following configure snippet is to blame. Could somebody explain, at least in general terms, what this piece of code does. many thanks anton 9249 9250 for ac_func in strcasecmp strncasecmp 9251 do 9252 as_ac_var=`echo ac_cv_func_$ac_func | $as_tr_sh` 9253 { echo $as_me:$LINENO: checking for $ac_func 5 9254 echo $ECHO_N checking for $ac_func... $ECHO_C 6; } 9255 if { as_var=$as_ac_var; eval test \\${$as_var+set}\ = set; }; then 9256 echo $ECHO_N (cached) $ECHO_C 6 9257 else 9258 cat conftest.$ac_ext _ACEOF 9259 /* confdefs.h. */ 9260 _ACEOF 9261 cat confdefs.h conftest.$ac_ext 9262 cat conftest.$ac_ext _ACEOF 9263 /* end confdefs.h. */ where as_tr_sh : 549 # Sed expression to map a string onto a valid variable name. 550 as_tr_sh=eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g' as_cr_alnum : 40 as_cr_alnum=$as_cr_Letters$as_cr_digits as_me : 132 # Name of the executable. 133 as_me=`$as_basename -- $0 || ECHO_N and ECHO_C : 474 ECHO_C= ECHO_N= ECHO_T= 475 case `echo -n x` in 476 -n*) 477 case `echo 'x\c'` in 478 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 479 *) ECHO_C='\c';; 480 esac;; 481 *) 482 ECHO_N='-n';; 483 esac -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: bind94 security update (UNOFFICIAL)
For those like me who don't know any better. How can I confirm your suggestion will not be introducing addition problems or people into the equation? Thanks, David Quoting Tuc at T-B-O-H.NET [EMAIL PROTECTED]: Hi, For anyone looking to update the bind94 port due to the recent frenzy, you can : 1) Update the Makefile : From : PORTREVISION= 1 To : PORTREVISION= 2 From : ISCVERSION= 9.4.2 To : ISCVERSION= 9.4.2-P1 2) Drop this into distinfo : MD5 (bind-9.4.2-P1.tar.gz) = 87b80edd9872cb017053866c81ca9be8 SHA256 (bind-9.4.2-P1.tar.gz) = eeeb8f89fe6d88b250ad85ee21cfde6f8ac6f425c70c6705352b3fa8c4c4ee84 SIZE (bind-9.4.2-P1.tar.gz) = 6451654 MD5 (bind-9.4.2-P1.tar.gz.asc) = 72310b7045d9806b913835c55ba5388b SHA256 (bind-9.4.2-P1.tar.gz.asc) = c84b6446416ff1096ec5bfb1c731d31f984b312b45a3d2064a922a6b50b6162d SIZE (bind-9.4.2-P1.tar.gz.asc) = 479 THIS IS NOT THE OFFICIAL FREEBSD PORTS UPGRADE PATH OR MAINTAINER... This is a stop gap until MAINTAINER= [EMAIL PROTECTED] does it officially. I have not contacted him about it yet admittedly. I have tested this on a 4.10, 5.5, and 7.0 system and it works fine. Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] This message was sent using IMP, the Internet Messaging Program. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: bind94 security update (UNOFFICIAL)
because the source download comes from ISC, he is correct in the proceedure, and I trust him :) On Thu, Jul 10, 2008 at 12:29 AM, David Alanis [EMAIL PROTECTED] wrote: For those like me who don't know any better. How can I confirm your suggestion will not be introducing addition problems or people into the equation? Thanks, David Quoting Tuc at T-B-O-H.NET [EMAIL PROTECTED]: Hi, For anyone looking to update the bind94 port due to the recent frenzy, you can : 1) Update the Makefile : From : PORTREVISION= 1 To : PORTREVISION= 2 From : ISCVERSION= 9.4.2 To : ISCVERSION= 9.4.2-P1 2) Drop this into distinfo : MD5 (bind-9.4.2-P1.tar.gz) = 87b80edd9872cb017053866c81ca9be8 SHA256 (bind-9.4.2-P1.tar.gz) = eeeb8f89fe6d88b250ad85ee21cfde6f8ac6f425c70c6705352b3fa8c4c4ee84 SIZE (bind-9.4.2-P1.tar.gz) = 6451654 MD5 (bind-9.4.2-P1.tar.gz.asc) = 72310b7045d9806b913835c55ba5388b SHA256 (bind-9.4.2-P1.tar.gz.asc) = c84b6446416ff1096ec5bfb1c731d31f984b312b45a3d2064a922a6b50b6162d SIZE (bind-9.4.2-P1.tar.gz.asc) = 479 THIS IS NOT THE OFFICIAL FREEBSD PORTS UPGRADE PATH OR MAINTAINER... This is a stop gap until MAINTAINER= [EMAIL PROTECTED] does it officially. I have not contacted him about it yet admittedly. I have tested this on a 4.10, 5.5, and 7.0 system and it works fine. Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] This message was sent using IMP, the Internet Messaging Program. ___ 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: [freebsd-questions] Re: bind94 security update (UNOFFICIAL)
David, You are very wise to ask If you look at the changes, there are NO changes to what FTP site the binary is picked up from, there are NO additional files inserting patches, etc. I have only changed the PORTREVISION so that portupgrade and the likes will notice it, and the distinfo since there is a new binary and asc. If you check the make, it actually uses the .asc file to verify the contents. Had I added any FTP/HTTP sites, additional patches, etc I wouldn't have even published this. But in my opinion, since I only bump the revision and give new checksums for files that are taken off a previous distribution site, I don't feel people are in danger of taking them over. As dougb says, its just as easy to officially D/L it from the source site and compile by hand. I was just doing this in the hopes that people wanted a make;make install or portupgrade ... could have it quickly. Tuc For those like me who don't know any better. How can I confirm your suggestion will not be introducing addition problems or people into the equation? Thanks, David Quoting Tuc at T-B-O-H.NET [EMAIL PROTECTED]: Hi, For anyone looking to update the bind94 port due to the recent frenzy, you can : 1) Update the Makefile : From : PORTREVISION= 1 To : PORTREVISION= 2 From : ISCVERSION= 9.4.2 To : ISCVERSION= 9.4.2-P1 2) Drop this into distinfo : MD5 (bind-9.4.2-P1.tar.gz) = 87b80edd9872cb017053866c81ca9be8 SHA256 (bind-9.4.2-P1.tar.gz) = eeeb8f89fe6d88b250ad85ee21cfde6f8ac6f425c70c6705352b3fa8c4c4ee84 SIZE (bind-9.4.2-P1.tar.gz) = 6451654 MD5 (bind-9.4.2-P1.tar.gz.asc) = 72310b7045d9806b913835c55ba5388b SHA256 (bind-9.4.2-P1.tar.gz.asc) = c84b6446416ff1096ec5bfb1c731d31f984b312b45a3d2064a922a6b50b6162d SIZE (bind-9.4.2-P1.tar.gz.asc) = 479 THIS IS NOT THE OFFICIAL FREEBSD PORTS UPGRADE PATH OR MAINTAINER... This is a stop gap until MAINTAINER= [EMAIL PROTECTED] does it officially. I have not contacted him about it yet admittedly. I have tested this on a 4.10, 5.5, and 7.0 system and it works fine. Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] This message was sent using IMP, the Internet Messaging Program. ___ 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: bind94 security update (UNOFFICIAL)
Hi, But Dingo, can YOU be trusted to trust me? ;) BTW: There are 2 ways to tell if your DNS is vulnerable : 1) I PREFER the command line written by Michael C. Toren : http://michael.toren.net/code/noclicky/ Though you need per, Net::DNS and LWP. 2) If you can use a GUI browser on the machine you have DNS itself running on : http://www.doxpara.com/ NEITHER site is mine. Tuc because the source download comes from ISC, he is correct in the proceedure, and I trust him :) On Thu, Jul 10, 2008 at 12:29 AM, David Alanis [EMAIL PROTECTED] wrote: For those like me who don't know any better. How can I confirm your suggestion will not be introducing addition problems or people into the equation? Thanks, David Quoting Tuc at T-B-O-H.NET [EMAIL PROTECTED]: Hi, For anyone looking to update the bind94 port due to the recent frenzy, you can : 1) Update the Makefile : From : PORTREVISION= 1 To : PORTREVISION= 2 From : ISCVERSION= 9.4.2 To : ISCVERSION= 9.4.2-P1 2) Drop this into distinfo : MD5 (bind-9.4.2-P1.tar.gz) = 87b80edd9872cb017053866c81ca9be8 SHA256 (bind-9.4.2-P1.tar.gz) = eeeb8f89fe6d88b250ad85ee21cfde6f8ac6f425c70c6705352b3fa8c4c4ee84 SIZE (bind-9.4.2-P1.tar.gz) = 6451654 MD5 (bind-9.4.2-P1.tar.gz.asc) = 72310b7045d9806b913835c55ba5388b SHA256 (bind-9.4.2-P1.tar.gz.asc) = c84b6446416ff1096ec5bfb1c731d31f984b312b45a3d2064a922a6b50b6162d SIZE (bind-9.4.2-P1.tar.gz.asc) = 479 THIS IS NOT THE OFFICIAL FREEBSD PORTS UPGRADE PATH OR MAINTAINER... This is a stop gap until MAINTAINER= [EMAIL PROTECTED] does it officially. I have not contacted him about it yet admittedly. I have tested this on a 4.10, 5.5, and 7.0 system and it works fine. Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
PAE Compilation Error
Good Day, I suppose now I am paying for questioning TUC's credibility huh?!?!? (jk) In the process of building an older server running 7.0-RELEASE :/usr/obj/usr/src/sys/SERVER i386 on a HP Proliant D380 G3 (CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2387.05-MHz 686-class CPU). After some research I come to find out having RAM over 4 gigs can have side effects and I will need to compile PAE with the kernel (this is a given). I've also come to find my set up can only handle up to 6 gigs of RAM and it's currently at 5. However, when I compile PAE on this machine the kernel build crashes with the following: n -fformat-extensions -c /usr/src/sys/modules/rum/../../dev/usb/if_rum.c ld -d -warn-common -r -d -o if_rum.kld if_rum.o : export_syms awk -f /usr/src/sys/modules/rum/../../conf/kmod_syms.awk if_rum.kld export_syms | xarg s -J% objcopy % if_rum.kld ld -Bshareable -d -warn-common -o if_rum.ko.debug if_rum.kld objcopy --only-keep-debug if_rum.ko.debug if_rum.ko.symbols objcopy --strip-debug --add-gnu-debuglink=if_rum.ko.symbols if_rum.ko.debug if_rum.ko === s3 (all) /usr/local/libexec/ccache/world-cc -O2 -fno-strict-aliasing -pipe -D_KERNEL -DKLD_MODU LE -std=c99 -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/SERV ER/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth =100 --param large-function-growth=1000 -fno-common -g -I/usr/obj/usr/src/sys/SERVER -m no-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-s se2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototyp es -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sig n -fformat-extensions -c /usr/src/sys/modules/s3/../../dev/fb/s3_pci.c /usr/src/sys/modules/s3/../../dev/fb/s3_pci.c:394: error: conflicting types for 's3lfb_ mmap' /usr/src/sys/modules/s3/../../dev/fb/s3_pci.c:116: error: previous declaration of 's3lf b_mmap' was here /usr/src/sys/modules/s3/../../dev/fb/s3_pci.c: In function 's3lfb_mmap': /usr/src/sys/modules/s3/../../dev/fb/s3_pci.c:395: warning: passing argument 3 of 'prev vidsw-mmap' from incompatible pointer type *** Error code 1 Stop in /usr/src/sys/modules/s3. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/obj/usr/src/sys/SERVER. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. I have a messy make.conf but I don't think this would be the issue hence it's worked on different servers tweak to fit them ofcourse: #CPUTYPE?=athlon-xp CFLAGS= -O2 -fno-strict-aliasing -pipe MAKE_SHELL?=sh COPTFLAGS= -O -pipe KERNCONF=SERVER The only hit I get on google is this which really does not solve my issue or I am not reading this correctly? http://www.bsdforums.org/forums/archive/index.php/t-34088.html Does anyone have any experience with this that can help? Thank you, David This message was sent using IMP, the Internet Messaging Program. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which VIA CPUs have hardware RNG support?
Joseph Gleason wrote: I am trying to figure out which VIA CPUs support hardware RNG under recent FreeBSD. I've been looking at things on 7.0-RELEASE-p2. If there is something that else I should be looking at, please let me know. Based on 'man 4 random' I see: The only hardware implementation currently is for the VIA C3 Nehemiah (stepping 3 or greater) CPU. More will be added in the future. Poking around in the kernel I see that indeed nehemiah and yarrow seem to be the only random sources there. From 'usr/src/sys/i386/i386/initcpu.c': SYSCTL_UINT(_hw, OID_AUTO, via_feature_rng, CTLFLAG_RD, via_feature_rng, 0, VIA C3/C7 RNG feature available in CPU); Based on all this and some reading on wikipedia, my best guess is that C3 Nehemiah and later and all C7 support the hardware RNG. Can anyone confirm this? If you don't get any answers here, try freebsd-hardware@ mailing list. AFAIK (I don't have the hardware), the source is correct and C7 is also supported. I'd be glad to hear if anyone confirms it. signature.asc Description: OpenPGP digital signature
Re: problem with sendmail and su
At 05:44 AM 7/9/2008, Nicolas Letellier wrote: Hello. I use FreeBSD 7 with sendmail. I have a problem for sending email. More precisely, with the sender of the mail. When I'm logged to my machine in root, the mail is sent with [EMAIL PROTECTED] with sender. OK, no problems. When I'm logged to my machine in nicolas, the mail is sent with [EMAIL PROTECTED] with sender. OK, no problems. However, when I'm logged in nicolas to my machine, and if I do a su root or su - root, and I send a mail, the sender will be [EMAIL PROTECTED] and not [EMAIL PROTECTED]. It's a problem, because I done a su to be logged as root. I don't have this problem with a FreeBSD/Postfix. Thanks for your advices and helps. I don't understand this problem. Regards, -- - Nicolas. That is exactly working as designed. The reason sendmail sends the mail as your actual login user is so you cannot spoof so easily. If you have certain emails like system reports you are sending and want them sent as root, add them to roots crontab file. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How do I install openoffice from packages?
On Wednesday 09 July 2008 12:39:06 Andreas Davour wrote: On Wed, 9 Jul 2008, Kevin Monceaux wrote: /Andreas, On Wed, 9 Jul 2008, Andreas Davour wrote: I've tried and it just wont work. It look like the packages don't reside on the server but I can't change ftp.freebsd.org so how do I get it? From the Googling I did on the subject recently there is no official binary packages for OpenOffice available. It is available in the ports tree. The following thread: Your google-fu is stronger than mine. And mine too ... http://daemonforums.org/showthread.php?t=21 on DæmonForums.org has a link to a site: ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/2.4.0/7.0-STABL E/amd64/ With binary packages available for various versions of FreeBSD. Well, the thread pointed to the i386 packages, but the amd64 packages were easy enough to find. I'll try those ones. Just installed the i386 version ... works like a charm .. thanks _a_lot_ Kevin !!! I had no trouble installing OpenOffice 3 from ports on my i686 box, other than it taking 8+ hours to compile and my PC locked up shortly after it completed. I thought it had locked up during the compile but eventually discovered that it had completed the install successfully before locking up. I'm still getting the kinks out of my ZFS tweaks. Installing from ports is just to lengthy a process. I did it once before and after compiling for 48 hours (!!!) it crashed every time I tried to open a document. I'd rather have that happen after a much shorter package install. Thanks. I'll see if the packages from that good-day.net site works. /andreas Just in case .. there _is_ yet another (and let me add: quite clever) way to get OOo installed on your FBSD7 box and it can be found in here: http://www.millingtons.eclipse.co.uk/glyn/freebsd.html ... look under the Open Office on FreeBSD 7 title ... i haven't tested it .. but it _sure_ looks like a trick I'd like to get in my bag -- Blessings Gonzalo Nemmi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Set up keymap
Hi: I have installed XFCE on my freebsd but i dont know why my X keymap is wrong. I need latam on a normal console works but not in X how can i change the keymap? Thanks -- mmm, interesante. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Set up keymap
On Wednesday 09 July 2008 22:33:29 Diego F. Arias R. wrote: Hi: I have installed XFCE on my freebsd but i dont know why my X keymap is wrong. I need latam on a normal console works but not in X how can i change the keymap? Thanks ls /usr/share/syscons/keymaps/ Pick the one you need and set xorg.conf accordingly: I'm using an english keayboard with international accents (my native tongue is spanish so I need á,é,í,ó,ú,ü and ñ .. but I also need portuguese chars like ç and ã, ê, ô and so on ...). Here's my InputDevice section in xorg.conf Section InputDevice Identifier Keyboard0 Driver kbd Option XkbModel pc105 Option XkbLayout us(alt-intl) Option XkbOptions compose:rwin EndSection If you have a spanish or latam keyboard, you'll probably need latinamerican.iso.acc.kbd ... or latinamerican.kbd ... Maybe spanish.iso15.acc.kbd .. play around with those until you find the one that better suits your needs :) Ultimate, and only authoritative, answer will be available at: man 4 kbd Regards -- Blessings Gonzalo Nemmi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
User properties and how to make files with a specific group owner
Hi, I've not had to set this up and so far my efforts have proven less than successful. I'm working on a web project with my father and one other developer. I need to have it so that our user id's, when creating files in the directory we share the source code in, create the files with the group id common to the three of us. How do I do this? I thought that it would be that I change the primary group membership from the group ID equal to our userid's to the shared group name (in this case www). However, this doesn't seem to be doing it. I've done this on the three of our user ids, but when I checked it (checking out files from subversion), all of the files were still owned by, in my case, UID=andy and GID=andy. How do I get this to stop working like this and create files with UID=andy GID=www? Andy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Locate command
Whenever I do a locate command on a new installation I get this message: locate: database too small: /var/db/locate.database Can someone give me a heads up on how to fix this? Thanks, Rem ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Locate command
Rem P Roberti wrote: Whenever I do a locate command on a new installation I get this message: locate: database too small: /var/db/locate.database Can someone give me a heads up on how to fix this? Thanks, Rem ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Run this shell script: /etc/periodic/weekly/310.locate ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Locate command
Whenever I do a locate command on a new installation I get this message: locate: database too small: /var/db/locate.database Can someone give me a heads up on how to fix this? Thanks, Run this shell script: /etc/periodic/weekly/310.locate Thank you! Rem ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Locate command
Rem P Roberti wrote: Whenever I do a locate command on a new installation I get this message: locate: database too small: /var/db/locate.database Can someone give me a heads up on how to fix this? Thanks, Run this shell script: /etc/periodic/weekly/310.locate Thank you! Rem Your most welcomed. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Locate command
Rem P Roberti wrote: Whenever I do a locate command on a new installation I get this message: locate: database too small: /var/db/locate.database Can someone give me a heads up on how to fix this? create the locate database via: man locate.updatedb(8) man locate(1) -- Regards, Doug ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: User properties and how to make files with a specific group owner
Andrew Falanga [EMAIL PROTECTED] wrote: I've not had to set this up and so far my efforts have proven less than successful. I'm working on a web project with my father and one other developer. I need to have it so that our user id's, when creating files in the directory we share the source code in, create the files with the group id common to the three of us. How do I do this? [...] New files are created with GID set to that of the directory in which they're contained. In your case, is that directory owned by user and group 'andy'? If so: % chown -R :www /path/to/shared/directory ... and every file created therein will have the default GID. -- Sahil Tandon [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
freeBSD kernel-current
Dear, I want to know how to install freeBSD on XEN on LInux. And i've read this documentation http://www.freebsd.org/doc/en/books/handbook/virtualization-guest.html But, i get trouble...I cann't found file krenel-current because thereis broken link. Could tell me, where i can download it ? Thanks -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: snippet of configure script - explain please
On Thu, 10 Jul 2008 02:55 am, Anton Shterenlikht wrote: I get errors building ports/graphviz on FBSD 6.3 on alpha. It seems the error is due to configure script erroneously deciding that there is no strncasecmp function on OS. Based on config.log: configure:9333: result: no This probably the result for the previous check; probably strcasecmp configure:9253: checking for strncasecmp I think the following configure snippet is to blame. Could somebody explain, at least in general terms, what this piece of code does. many thanks anton 9249 9250 for ac_func in strcasecmp strncasecmp 9251 do 9252 as_ac_var=`echo ac_cv_func_$ac_func | $as_tr_sh` This is eqivalent to: as_ac_var=ac_cv_func_strcasecmp or: as_ac_var=ac_cv_func_strncasecmp depending on which time through the loop. 9253 { echo $as_me:$LINENO: checking for $ac_func 5 9254 echo $ECHO_N checking for $ac_func... $ECHO_C 6; } These lines simplly write reports of one type or another (including to config.log ?) The $ECHO_N and $ECHO_C are to cater for different versions of 'echo' wrt line feeds. 9255 if { as_var=$as_ac_var; eval test \\${$as_var+set}\ = set; }; then I find this line somewhat strange as I've not been able to find documentation for the expansion of ${parameter+set} under the Bourne shell. (nor bash, nor ksh) * Presumably someone out there knows where to find it? * But it seems that it returns set if parameter has been assigned a value and null otherwise. Unless strcasecmp, strncasecmp have already been checked one expects these will fail so the 'else' section is executed. 9256 echo $ECHO_N (cached) $ECHO_C 6 9257 else 9258 cat conftest.$ac_ext _ACEOF 9259 /* confdefs.h. */ 9260 _ACEOF 9261 cat confdefs.h conftest.$ac_ext 9262 cat conftest.$ac_ext _ACEOF 9263 /* end confdefs.h. */ This is the start of the build of a C program to test if the library function exists. But we've barely started -- the guts of the check is still to come. One would expect that if it does not exist the configuration would implement some alternative action so even then I would not expect the built to fail. where as_tr_sh : 549 # Sed expression to map a string onto a valid variable name. 550 as_tr_sh=eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g' as_cr_alnum : 40 as_cr_alnum=$as_cr_Letters$as_cr_digits as_me : 132 # Name of the executable. 133 as_me=`$as_basename -- $0 || ECHO_N and ECHO_C : 474 ECHO_C= ECHO_N= ECHO_T= 475 case `echo -n x` in 476 -n*) 477 case `echo 'x\c'` in 478 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 479 *) ECHO_C='\c';; 480 esac;; 481 *) 482 ECHO_N='-n';; 483 esac Best of luck, Malcolm Kay ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ntpd(8) - bind only to specified interfaces?
Having read the man page (also, ntp.conf(5)), it is not apparent that there is a way to tell it to bind only to a particular interface (or particular interfaces). It would be nice if there is actually such a feature, so I figured I'd ask. Definitely not a major problem is this isn't possible right now, but I figure if it's only going to be receiving NTP requests on one interface, it may as well not listen on the others. TIA, frase pgpn9tReQJi0O.pgp Description: PGP signature
Re: ntpd(8) - bind only to specified interfaces?
On Wed, Jul 9, 2008 at 9:44 PM, Fraser Tweedale [EMAIL PROTECTED] wrote: Having read the man page (also, ntp.conf(5)), it is not apparent that there is a way to tell it to bind only to a particular interface (or particular interfaces). It would be nice if there is actually such a feature, so I figured I'd ask. At the moment, no. Your question could qualify as a FAQ, so it might help in the future to check recent posts or the archives first. Definitely not a major problem is this isn't possible right now, but I figure if it's only going to be receiving NTP requests on one interface, it may as well not listen on the others. The alternative is openntpd (available in ports). Fairly straightforward to set up and use. The caveats are the provided rc script could use some work (see my recent post with the subject of rc scripts), there's no logging (ibid), using it may result in occasional calcru errors (see my recent post on that subject), and reading the overbrief manpage requires remembering to run man -M /usr/local ntpd. I did say straightforward, right? ;-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]