Re: carp interface and running manual scripts

2008-08-08 Thread Christopher Cowart
Omer Faruk SEN wrote: Is it possible to run a script after carp interface becomes MASTER? Ie external script that runs the required services.. You should look at the ucarp implementation provided in ports (net/ucarp). I believe it does its magic in userland and supports the execution of

Re: [OT] Re: apple mac laptop.

2008-08-08 Thread Gary Kline
On Thu, Aug 07, 2008 at 04:15:30PM -0700, Chuck Swiger wrote: On Aug 7, 2008, at 3:42 PM, Gary Kline wrote: My daughter wants a laptop; the only brand [ AFAIC ] is Apple. amazon.com seems to have a fair price. Her school requires Word, for some reason. {maybe because we're in X-Bill

Re: A few questions from a current linux user

2008-08-08 Thread Giorgos Keramidas
On Fri, 8 Aug 2008 07:01:14 +0200, Polytropon [EMAIL PROTECTED] wrote: On Thu, 7 Aug 2008 23:20:08 -0400, Krishna Mohan Gundu [EMAIL PROTECTED] wrote: 5) Does FreeBSD have support for PCMCIA-USB cards? Don't know. Yes. ___

Re: Add CONFIGURE_ARGS option for port in make.conf

2008-08-08 Thread Matthias Kellermann
Polytropon wrote: As it has been mentioned before, /etc/make.conf is read first with your +=, setting CONFIGURE_ARGS to only this one value. Then, Makefile of the port is read, and it has a = in it, not a +=, so CONFIGURE_ARGS is overwritten and your setting is gone. Hint: Maybe the

Re: problems with a C script, exiting with signal 10

2008-08-08 Thread Jordi Moles Blanco
Hi, thanks for the reply, i will have a close look at what you suggested. The thing is that, yes, i work with arrays, pointers, mallocs and so on. I'll try to make sure everything is initiliazed properly before being used. Thanks for the advice. En/na Patrick Mahan ha escrit: Jordi

Re: Disk errors on installing FreeBSD 7.0

2008-08-08 Thread Julien Cigar
Same problems for me with atapi CD/DVD drives (READ_BIG timeouts, etc) .. it works a bit better when dma is turned off, but then performances are very poor. On Thu, 2008-08-07 at 14:17 -1000, Al Plant wrote: N.J. Thomas wrote: * Snorre D. ?verb? [EMAIL PROTECTED] [2008-08-07 15:29:11+]:

Re: Mixing 64 and 32-bit code

2008-08-08 Thread Andrea Venturoli
Chuck Swiger ha scritto: The simplest answer is that it won't work-- the syscall interface and function argument/return-value sizes are going to be different between 32-bit and 64-bit code. I was quite sure of this :-( [1]: You can look up how thunking between Win16 and Win32 code worked

Re: joining 2 files together ?

2008-08-08 Thread Denny White
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Quoted from beni on Thu, Aug 07, 2008 at 03:34:28PM +,: Hi, I am trying to find the equivalent for the old dos copy file1+file2 command (copy myfile1.txt+myfile2.txt copies the contents in myfile2.txt and combines it with the contents in

Re: Upgrading from 6.x to 7.x

2008-08-08 Thread Vincent Hoffman
Warren Liddell wrote: On Thursday 07 August 2008 23:18:34 Marc Coyles wrote: If i have read the man pages correct the command im using being ... # freebsd-update upgrade -r 7.0-CURRENT # sh freebsd-update.sh -f freebsd-update.conf -r 7.0-RELEASE upgrade followed eventually by... #

Re: High Availability FreeBSD www cluster

2008-08-08 Thread Sergej Kandyla
Michael Christie wrote: Hi all , I want to cluster some freeBSD servers, web links any thing to help me get started would be good. No I do not want to change over to linux. also some interesting link http://phaq.phunsites.net/2006/08/11/realtime-file-system-replication-on-freebsd/ --

Re: Upgrading from 6.x to 7.x

2008-08-08 Thread Warren Liddell
no for versions of FreeBSD beyond 6.3 its in base and you dont need to install it seperately to upgrade between versions. freebsd-update -r 7.1-RELEASE upgrade seems to have an effect where 7.0-RELEASE no longer does. I have CCed freebsd-stable@ on this to see if anyone knows if this is

Re: Upgrading from 6.x to 7.x

2008-08-08 Thread Vincent Hoffman
Warren Liddell wrote: no for versions of FreeBSD beyond 6.3 its in base and you dont need to install it seperately to upgrade between versions. freebsd-update -r 7.1-RELEASE upgrade seems to have an effect where 7.0-RELEASE no longer does. I have CCed freebsd-stable@ on this to see if anyone

Re: Upgrading from 6.x to 7.x

2008-08-08 Thread Warren Liddell
I would upgrade to a -RELEASE branch from source then try again. Vince change my releng to 7 in the supfile and do a csup then do world kernel and go from there ? ___ freebsd-questions@freebsd.org mailing list

Re: High Availability FreeBSD www cluster

2008-08-08 Thread Philippe Laquet
CARP does the job perfectly! Is you have to LB/RP from a front end (the SPOF?) you can also take a quick look on LighttpD with the Proxy module (very simple efficient) In a heavier (but also quite simple) environment : * Two (or more) LB/RP on the front with lighttpdproxy - HA with CARP * Two

Inconsistent behavior. PHP5 FreeBSD server Vs PHP5 Windows Server.

2008-08-08 Thread merv
Hi, I have a strange problem with PHP5 on FreeBSD. When run on a FreeBSD server the decrypt function of a xTea encryption library does not work correctly. While the same PHP code runs without problem on a Windows Server. Has anybody experienced similar problems? I am at a dead end any help

Re: Upgrading from 6.x to 7.x

2008-08-08 Thread Vincent Hoffman
Warren Liddell wrote: I would upgrade to a -RELEASE branch from source then try again. Vince change my releng to 7 in the supfile and do a csup then do world kernel and go from there ? RELENG_7_0 for the -RELEASE 7 is -STABLE Vince

Re: Upgrading from 6.x to 7.x

2008-08-08 Thread Warren Liddell
On Friday 08 August 2008 20:09:03 Vincent Hoffman wrote: Warren Liddell wrote: I would upgrade to a -RELEASE branch from source then try again. Vince change my releng to 7 in the supfile and do a csup then do world kernel and go from there ? RELENG_7_0 for the -RELEASE 7 is

dump locks again

2008-08-08 Thread Andrea Venturoli
Hello. I googled around for this but found only very old threads (from 2005 or so). I'm taking dumps of a new box I build, which runs 7.0/amd64 on 8 cores with harware RAID-5 (ciss driver). This is an example of the command I issue: dump -0 -a -f usr.dump -L -h 0 -u /usr Almost always, the

F7: base system reinstall, no (open)ssh anymore...

2008-08-08 Thread Rob
Hello, I have upgraded from FreeBSD 6.3 to 7.0. When I recompiled the base system, there are no ssh related files anymore in the base system (no ssh, sshd and /etc/rc.d/sshd for example). Am I missing some essential settings in /etc/make.conf? What is needed there in order to get (Open)SSH from

Re: The Design and Implementation of the FreeBSD Operating System

2008-08-08 Thread mcassar
A few years later about 6 months after the book went out of print I actually bought a box of 20 of the books for something like a dollar a book, from a remainder dealer, just to have a future cache of them that I could give away. Kind of funny to think about that being almost a decade

Re: Wireless (Edimax EW-7128g / ral) to work on FreeBSD 7.0

2008-08-08 Thread David Gurvich
I'm not sure of your settings, but increasing tx power is only good for transmitting and will increase noise, hurting reception. Your S:N numbers look quite poor, I rarely get any handshake when signal is that bad. I'm surprised you managed to get a dhcp offer. Have you tried this computer in

Re: [OT] Re: apple mac laptop.

2008-08-08 Thread John Almberg
(And yes, while one can run FreeBSD just fine on a Macbook, Sahil is right that the question is off-topic for these lists. :-) Well, considering that they asked us (and NetBSD) for clues when they were porting OSX, it didn't seem like my post was *that* far Off! maybe

usb-serial device

2008-08-08 Thread Michael Lednev
Hello. I've obtained USB thermometer and want to make it usable with FreeBSD. It identifies itself as: kernel: ugen0: vendor 0x4348 USB-SER!, rev 1.10/2.50, addr 2 Under Windows it looks like standard COM-port. When I try to use some existing drivers like ucycom or uplcom it gives no effect.

Re: usb-serial device

2008-08-08 Thread Warren Block
On Fri, 8 Aug 2008, Michael Lednev wrote: I've obtained USB thermometer and want to make it usable with FreeBSD. It identifies itself as: kernel: ugen0: vendor 0x4348 USB-SER!, rev 1.10/2.50, addr 2 Under Windows it looks like standard COM-port. When I try to use some existing drivers like

Re: F7: base system reinstall, no (open)ssh anymore...

2008-08-08 Thread Josh Carroll
Am I missing some essential settings in /etc/make.conf? What is needed there in order to get (Open)SSH from the base system? Thanks! Rob. It should be there by default. Check that /etc/make.conf (or /etc/src.conf) does not set/define: WITHOUT_OPENSSH There are other knobs that implicitly

Re: dump locks again

2008-08-08 Thread Kris Kennaway
Andrea Venturoli wrote: Hello. I googled around for this but found only very old threads (from 2005 or so). I'm taking dumps of a new box I build, which runs 7.0/amd64 on 8 cores with harware RAID-5 (ciss driver). This is an example of the command I issue: dump -0 -a -f usr.dump -L -h 0

Re: usb-serial device

2008-08-08 Thread Michael Lednev
Warren Block ?: On Fri, 8 Aug 2008, Michael Lednev wrote: I've obtained USB thermometer and want to make it usable with FreeBSD. It identifies itself as: kernel: ugen0: vendor 0x4348 USB-SER!, rev 1.10/2.50, addr 2 Under Windows it looks like standard COM-port. When I try to use some

x11/kde4 tries to install kde3?

2008-08-08 Thread Kirk Strauser
When attempting to install KDE4, I get: $ cd /usr/ports/x11/kde4 $ sudo make install === Installing for kde-3.5.8_2 [...] === Checking if x11/kde4 already installed === kde-3.5.8_2 is already installed [...] Stop in /usr/ports/x11/kde4. I installed on this hardware about two weeks ago, so it

Re: dump locks again

2008-08-08 Thread Andrea Venturoli
Kris Kennaway ha scritto: This was fixed in 7.0-STABLE. Kris Thanks Kris. Since this is a critical production box, I'm a bit scared to track Stable. Do you know when this will be merged into a release (7.1 I suppose)? Would it be safer to just get this single patch (if possible at all)? I've

Re: Atheros (ath) MSI wireless embedded chipset fails to attach on 7.0-STABLE

2008-08-08 Thread Edwin L. Culp
Alexander Sack [EMAIL PROTECTED] escribió: Edwin L. Culp wrote: Alexander Sack [EMAIL PROTECTED] escribió: Final update, I got everything working! I came home and connected by new notebook using the latest PCIe Atheros chipset to a WPA2 network using wpa_supplicant! Yippie! Hope this

Re: x11/kde4 tries to install kde3?

2008-08-08 Thread Josh Carroll
On Fri, Aug 8, 2008 at 10:14 AM, Kirk Strauser [EMAIL PROTECTED] wrote: When attempting to install KDE4, I get: $ cd /usr/ports/x11/kde4 $ sudo make install === Installing for kde-3.5.8_2 [...] === Checking if x11/kde4 already installed === kde-3.5.8_2 is already installed [...] Stop

Re: dump locks again

2008-08-08 Thread Kris Kennaway
Andrea Venturoli wrote: Kris Kennaway ha scritto: This was fixed in 7.0-STABLE. Kris Thanks Kris. Since this is a critical production box, I'm a bit scared to track Stable. Do you know when this will be merged into a release (7.1 I suppose)? I don't know if it is planned to merge the fix

ACLs, permission mask and chmod g=

2008-08-08 Thread Svein Halvor Halvorsen
If I have acls enabled on a file, running chmod g=rw on that file, will not change its group permissions, but the acl mask. That is, running the following command: $ chmod g=rw foo ... is equivalent with $ setfacl -m m::rw- ... and not, as I would suspect: $ setfacl -m

Re: Atheros (ath) MSI wireless embedded chipset fails to attach on 7.0-STABLE

2008-08-08 Thread Alexander Sack
Edwin L. Culp wrote: Alexander Sack [EMAIL PROTECTED] escribió: Edwin L. Culp wrote: Alexander Sack [EMAIL PROTECTED] escribió: Final update, I got everything working! I came home and connected by new notebook using the latest PCIe Atheros chipset to a WPA2 network using

[dhcpd] BOOTP from dynamic client and no dynamic leases

2008-08-08 Thread Andrew Falanga
Hi, If I had hair I'd be pulling it out now. I cannot find adequate help anywhere as yet for this issue. I've installed the ISC dhcpd program from ports and am struggling to get it setup properly. As I mentioned in my other e-mail, I cannot share the contents of my configuration file. I'm

RE: FreeBSD 7.0 on Xen

2008-08-08 Thread Elwell, Richard
Sorry about the premature sending. Here is the complete question: Greetings, I am attempting to follow the directions located at http://www.freebsd.org/doc/en/books/handbook/virtualization-guest.html and load a FreeBSD Xen DomU instance. The document says: Download the FreeBSD domU

FreeBSD 7.0 on Xen

2008-08-08 Thread Elwell, Richard
Greetings, I am attempting to follow the directions located at http://www.freebsd.org/doc/en/books/handbook/virtualization-guest.html and load a FreeBSD Xen DomU instance. The document says: ___ freebsd-questions@freebsd.org mailing list

Re: FreeBSD 7.0 on Xen

2008-08-08 Thread OutBackDingo
I have a working config for non-HVM systems, its stable enough to play with but not for production, if you have however a HVM machine, FreeBSD runs great under linux KVM On Friday 08 August 2008 22:46:11 Elwell, Richard wrote: Sorry about the premature sending. Here is the complete question:

Re: [dhcpd] BOOTP from dynamic client and no dynamic leases

2008-08-08 Thread Chuck Swiger
Hi-- On Aug 8, 2008, at 8:02 AM, Andrew Falanga wrote: Hi, If I had hair I'd be pulling it out now. I cannot find adequate help anywhere as yet for this issue. I've installed the ISC dhcpd program from ports and am struggling to get it setup properly. As I mentioned in my other e-mail, I

Re: Weird Processes on my server from user....

2008-08-08 Thread Dan Nelson
In the last episode (Aug 07), Agus said: Hi guys, Checking my server i found this processessThe user doesnt appear doing w..so its like if he was doing an scp or something like that...though in this case its sftp... But i read the man and doesnt have much information..so i dont

Re: The Design and Implementation of the FreeBSD Operating System

2008-08-08 Thread Bob Hall
A few years later about 6 months after the book went out of print I actually bought a box of 20 of the books for something like a dollar a book, from a remainder dealer, just to have a future cache of them that I could give away. I probably wouldn't be using FBSD now if it wasn't for your

Re: Wireless (Edimax EW-7128g / ral) to work on FreeBSD 7.0

2008-08-08 Thread RODNEY ROGER
On Fri, Aug 8, 2008 at 7:46 AM, David Gurvich [EMAIL PROTECTED] wrote: I'm not sure of your settings, but increasing tx power is only good for transmitting and will increase noise, hurting reception. Your S:N numbers look quite poor, I rarely get any handshake when signal is that bad. I'm

Re: [dhcpd] BOOTP from dynamic client and no dynamic leases

2008-08-08 Thread Andrew Falanga
On Fri, Aug 8, 2008 at 10:54 AM, Chuck Swiger [EMAIL PROTECTED] wrote: Hi-- On Aug 8, 2008, at 8:02 AM, Andrew Falanga wrote: not authoritative; If you are in charge of the subnet range that you are using, then you should be setting yours to authoritative. If there is already a DHCP

Re: FreeBSD 7.0 on Xen

2008-08-08 Thread Josh Carroll
On Fri, Aug 8, 2008 at 12:04 PM, OutBackDingo [EMAIL PROTECTED] wrote: I have a working config for non-HVM systems, its stable enough to play with but not for production, if you have however a HVM machine, FreeBSD runs great under linux KVM What host OS are you using for dom0? I'm

How to set quota ( as Mbyte ) for a directory?

2008-08-08 Thread Yavuz Maslak
On freebsd7, How to set quota for a directory? For instance I want to set 100Mbyte quota for a directory. How can I do that ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe,

Re: FreeBSD 7.0 on Xen

2008-08-08 Thread Elwell, Richard
CentOS 5.2 On Fri, Aug 8, 2008 at 12:04 PM, OutBackDingo [EMAIL PROTECTED] http://www.nabble.com/user/SendEmail.jtp?type=postpost=18896047i=0 wrote: I have a working config for non-HVM systems, its stable enough to play with but not for production, if you have however a HVM machine, FreeBSD

Re: How to set quota ( as Mbyte ) for a directory?

2008-08-08 Thread Chuck Swiger
On Aug 8, 2008, at 11:49 AM, Yavuz Maslak wrote: On freebsd7, How to set quota for a directory? For instance I want to set 100Mbyte quota for a directory. How can I do that ? Quotas are handled per filesystem, not per directory. See man quotaon man quotacheck, or the FreeBSD Handbook.

Re: [OT] Re: apple mac laptop.

2008-08-08 Thread Gary Kline
On Fri, Aug 08, 2008 at 08:47:50AM -0400, John Almberg wrote: (And yes, while one can run FreeBSD just fine on a Macbook, Sahil is right that the question is off-topic for these lists. :-) Well, considering that they asked us (and NetBSD) for clues when they were porting OSX, it

changing architecture from i386 to amd64

2008-08-08 Thread Ivo Karabojkov
Hi! I have machine working with i386 version of FreeBSD 7.0 Release (after several source updates from 6.0 during the years). Is it possible to re-build kernel and world with another architecture, in my case AMD64? I've tried to build kernel in /sys/amd64/conf, but on make depend everything

Re: changing architecture from i386 to amd64

2008-08-08 Thread Roland Smith
On Fri, Aug 08, 2008 at 10:55:30PM +0300, Ivo Karabojkov wrote: Hi! I have machine working with i386 version of FreeBSD 7.0 Release (after several source updates from 6.0 during the years). Is it possible to re-build kernel and world with another architecture, in my case AMD64? Yes, but

Re: changing architecture from i386 to amd64

2008-08-08 Thread Kirk Strauser
On Friday 08 August 2008, Ivo Karabojkov wrote: I hope to be able to switch my architecture without re-installing FreeBSD with AMD64. I went through this last week. I use the 7.0 install disk to do an *upgrade* installation over the old one, booted into the new amd64 system, and upgraded

changing architecture from i386 to amd64

2008-08-08 Thread Iv. Karabojkov
Hi! I have machine working with i386 version of FreeBSD 7.0 Release (after several source updates from 6.0 during the years). Is it possible to re-build kernel and world with another architecture, in my case AMD64? I've tried to build kernel in /sys/amd64/conf, but on make depend everything

no boot/loader

2008-08-08 Thread acmeinc
No /boot/loader no /boot/kernel/kernel I isntalled FreeBSD 7.0 with the defaults for partiioning. I am using one hard drive in which I followed with the ASQ (auto, tag for boot, quit) command. I choose the standard boot loader option. I installed through the master freebsd site via ethernet.

Re: FreePbx

2008-08-08 Thread José Manuel Echenique H.
Hi, Review other option: http://asterisk.s242.xrea.com/asterisk-gui-a0.html AsteriskNOW. On 8/3/08, orv [EMAIL PROTECTED] wrote: Hi, Does anyone have a recipe for installing freepbx on FreeBSD 6-3 stable. There does not seem to be a port for it and googling does not reveal anything

Re: How to set quota ( as Mbyte ) for a directory?

2008-08-08 Thread acmeinc
You may actually use the edquota -u command to set a quota a specific user. I think this is about as specific as you can get. edquota -g is for groups and edquota -f is for a filesystem. -- View this message in context:

Re: ACLs, permission mask and chmod g=

2008-08-08 Thread acmeinc
You may consider trying chmod 660 filename. 660 - UGW, user group world. For each read, write, and execute is given a number, 4,2,1 repectively. So, 660 would result in rw-rw, a popluar format is 755, rwxr-xr-x. You would simply replace add the numbers together for each division and

Re: ACLs, permission mask and chmod g=

2008-08-08 Thread Svein Halvor Halvorsen
acmeinc wrote: You may consider trying chmod 660 filename. It gives the same result. When changing group permission (either way) on a file with acls, you're effectively changing the acl mask instead. Also, if I change acl mask with setfacl, then ls -l will list the permission mask in the group

Re: ACLs, permission mask and chmod g=

2008-08-08 Thread acmeinc
One last thing have you tried; setfacl -s i notice you have -m in your original post. Other than this, I won't have any other insight. Svein Halvor Halvorsen-4 wrote: acmeinc wrote: You may consider trying chmod 660 filename. It gives the same result. When changing group

Re: ACLs, permission mask and chmod g=

2008-08-08 Thread Svein Halvor Halvorsen
acmeinc wrote: One last thing have you tried; setfacl -s setfacl -s is not documented, and also gives illegal option -- s signature.asc Description: OpenPGP digital signature

Re: no boot/loader

2008-08-08 Thread Derek Ragona
At 04:42 PM 8/8/2008, acmeinc wrote: No /boot/loader no /boot/kernel/kernel I isntalled FreeBSD 7.0 with the defaults for partiioning. I am using one hard drive in which I followed with the ASQ (auto, tag for boot, quit) command. I choose the standard boot loader option. I installed through

Re: no boot/loader

2008-08-08 Thread Derek Ragona
At 07:00 PM 8/8/2008, acmeinc wrote: Check things? Which things should I be checking for? And where should I be checking them, to be more specific, which optoin should I choose within sysinstall to check the things? I am reading on another forum the installation is incorrect and to try

Re: no boot/loader

2008-08-08 Thread Polytropon
On Fri, 8 Aug 2008 17:00:54 -0700 (PDT), acmeinc [EMAIL PROTECTED] wrote: Check things? Which things should I be checking for? And where should I be checking them, to be more specific, which optoin should I choose within sysinstall to check the things? Be sure to write your settings. In

Re: A few questions from a current linux user

2008-08-08 Thread Giorgos Keramidas
On Thu, 7 Aug 2008 23:20:08 -0400, Krishna Mohan Gundu [EMAIL PROTECTED] wrote: Hi, I am currently using Fedora Core 4 linux distribution for my everyday needs like programming, checking emails etc on my two year old HP laptop. I feel that time has come for me to move away from Fedora. I

Re: Disk errors on installing FreeBSD 8.0 (solved)

2008-08-08 Thread Al Plant
Julien Cigar wrote: Same problems for me with atapi CD/DVD drives (READ_BIG timeouts, etc) .. it works a bit better when dma is turned off, but then performances are very poor. On Thu, 2008-08-07 at 14:17 -1000, Al Plant wrote: N.J. Thomas wrote: * Snorre D. ?verb? [EMAIL PROTECTED]

Re: [OT] Re: apple mac laptop.

2008-08-08 Thread David Kelly
On Aug 8, 2008, at 2:44 PM, Gary Kline wrote: So besides the mac firewall [whatever], the laptop will be behind my pfSense box. So... --and to be completely honest, the main reason for this $1000 laptop is *security*. When she was younger I wasn't that

Re: Questions about coretemp

2008-08-08 Thread Norberto Meijome
On Thu, 7 Aug 2008 16:50:55 -0700 (PDT) [EMAIL PROTECTED] wrote: that is, exept for when i added coretemp_load=YES to loader.conf (as per the coretemp manpage) and then i got this in dmesg: module_register: module cpu/coretemp already exists! Module cpu/coretemp failed to register: