Auto update

2010-04-11 Thread Jos Chrispijn
Can someone tell me if there is a way of generating an email on the moment that someone logs in to my FreeBSD server? The mail part (phpmail) will be easy; I don't know yet how to trigger and pass parameter to this script or redirect info to a file (that I then send by email). Thanks. Jos

Re: Auto update

2010-04-11 Thread andrew clarke
On Sun 2010-04-11 08:14:48 UTC+0200, Jos Chrispijn (ker...@webrz.net) wrote: Can someone tell me if there is a way of generating an email on the moment that someone logs in to my FreeBSD server? By which method? SSH? ___

Re: Auto update

2010-04-11 Thread Doug Hardie
On 10 April 2010, at 23:14, Jos Chrispijn wrote: Can someone tell me if there is a way of generating an email on the moment that someone logs in to my FreeBSD server? The mail part (phpmail) will be easy; I don't know yet how to trigger and pass parameter to this script or redirect info

Re: Auto update

2010-04-11 Thread Jos Chrispijn
On 11-4-2010 8:27, andrew clarke wrote: By which method? SSH? Yes, sorry I didn't mention that. If possible on both SSH and otherwise. Thanks, Jos ___ freebsd-questions@freebsd.org mailing list

Re: Auto update

2010-04-11 Thread Jos Chrispijn
On 11-4-2010 9:41, Doug Hardie wrote: A cheesy way to do that is to use a popen (tail -f /var/log/auth.log, r) and then read that. It will give you every login regardless of ssh, telnet etc. You could then generate the emails from that. I have no idea just how resource intensive this might

Re: reliable rs-232

2010-04-11 Thread Pegasus Mc Cleaft
On Saturday 10 April 2010 13:41:33 Grzegorz Daniluk wrote: Hi everybody, I have a question regarding rs-232 under FreeBSD. I need to write an application for FreeBSD to operate an industrial controller via rs-232. The trick is that it should have very good long term stability (reliably

Re: [RESOLVED, for now] Re: USB Powered Speakers

2010-04-11 Thread Chris Whitehouse
Programmer In Training wrote: On 04/09/10 21:04, per...@pluto.rain.com wrote: Programmer In Training p...@joseph-a-nagy-jr.us wrote: I'm thinking I'm just going to wait until Tuesday and get a brand new pair of wall-powered speakers. This hassle is NOT worth it ... If speakers on USB 2.0

Re: Auto update

2010-04-11 Thread Ed Jobs
On Sunday 11 of April 2010 12:32, Jos Chrispijn wrote: In order to find out if someone logged in, I should then first copy auth.log to auth2.log, and do a compare and then do the tail trick. Have to cron that every half a minute. I would like to know if there is something that is alterted on

Re: [NOT RESOLVED][RESOLVED, for now] Re: USB Powered Speakers

2010-04-11 Thread Programmer In Training
On 04/11/10 05:06, Chris Whitehouse wrote: snip It's probably too late to suggest it now but it did occur to me a very cheap and easy way to get around the original problem might be to replace the keyboard with a PS/2 keyboard :P (if your computer has a PS/2 port). PS/2 ports do not work at

Re: Mixer Settings For Audacity

2010-04-11 Thread Programmer In Training
On 04/11/10 01:36, Dima Panov wrote: G'day, Programmer In Training! On Sat, Apr 10, 2010 at 20:58:46 -0500, You wrote: OK, I've read the mixer man page, the mic is set as recording source, yet even with mic playback and (apparent) sensitivity to max, I barely get anything recorded using

Re: Mixer Settings For Audacity

2010-04-11 Thread Polytropon
On Sun, 11 Apr 2010 05:54:40 -0500, Programmer In Training p...@joseph-a-nagy-jr.us wrote: Same thing, barely any pickup by the mic. Is the microphone working, and is it compatible with the connector (condenser / dynamic)? Does it provide a sufficient output level, maybe to be tested with other

Re: USB Powered Speakers

2010-04-11 Thread Nikolaj Thygesen
Programmer In Training wrote: On 04/09/10 10:15, Brodey Dover wrote: Apr 8 22:30:16 heaven kernel: usb_alloc_device:1624: getting device descriptor at addr 3 failed, USB_ERR_IOERROR! exactly! That is what is causing the issues. From what I can see, it is like it was explained before. The

Re: Mixer Settings For Audacity

2010-04-11 Thread Programmer In Training
On 04/11/10 06:00, Polytropon wrote: On Sun, 11 Apr 2010 05:54:40 -0500, Programmer In Training p...@joseph-a-nagy-jr.us wrote: Same thing, barely any pickup by the mic. Is the microphone working, and is it compatible with Yes the connector (condenser / dynamic)? Does it provide Yes a

Gambas on amd64 uses non-amd64 dependancy

2010-04-11 Thread Gene
Hi Again. I was installing the lang/gambas port. It uses math/ldouble as a dependancy. Problem is, ldouble refuses to install saying === ldouble-0.1_2 is only for i386 sparc64, while you are running amd64. Anyone know a way around this? Thanks in adance. IHN, Gene -- To everything there is

Re: host dig

2010-04-11 Thread Walter
Adam Vande More wrote: I used telnet to connect to 68.204.xxx.xxx it tells me I've connected to [1]xxx.xxx.204.68.cfl.res.rr.com. (backwards, right?), then I log in. No, you have to a connection before you login. You want to *strongly* consider using ssh instead of

Re: Auto update

2010-04-11 Thread RW
On Sun, 11 Apr 2010 11:32:27 +0200 Jos Chrispijn ker...@webrz.net wrote: On 11-4-2010 9:41, Doug Hardie wrote: A cheesy way to do that is to use a popen (tail -f /var/log/auth.log, r) and then read that. It will give you every login regardless of ssh, telnet etc. You could then

IPFW and separate data files.

2010-04-11 Thread Jerry
I am using IPFW on a FreeBSD-7.3 machine. Presently, I am loading several tables for IPFW. So far, I have just keep the data for the tables in the actual ipfw-rules referenced in the 'rc.conf' file itself. What I would like to do is keep the data for these tables in separate files and just have

FreeBSD PXE installation howto

2010-04-11 Thread Egoitz Aurrekoetxea Aurre
Hi, I'm working on a project for setting up a freebsd installation server with pxe. When I started I see the doc was a bit old-fashioned... so I started looking at some blogs... freebsd doc that could help me understanding the whole process and so on... finally I have ended looking at source

Re: Nethogs or similar for FreeBSD?

2010-04-11 Thread krad
On 10 April 2010 22:41, Adam Vande More amvandem...@gmail.com wrote: On Sat, Apr 10, 2010 at 3:14 PM, Dan Naumov dan.nau...@gmail.com wrote: I am on 8.0/amd64. From the website of Nethogs: Since NetHogs heavily relies on /proc, it currently runs on Linux only. perhaps something like

Re: Auto update

2010-04-11 Thread krad
On 11 April 2010 08:41, Doug Hardie bc...@lafn.org wrote: On 10 April 2010, at 23:14, Jos Chrispijn wrote: Can someone tell me if there is a way of generating an email on the moment that someone logs in to my FreeBSD server? The mail part (phpmail) will be easy; I don't know yet how to

Re: Auto update

2010-04-11 Thread krad
$ tail -F -n 0 /var/log/auth.log Definitely use the -F rather than -f option as it will handle log rotation ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to

Re: Auto update

2010-04-11 Thread Randal L. Schwartz
Jos == Jos Chrispijn ker...@webrz.net writes: Jos In order to find out if someone logged in, I should then first copy auth.log Jos to auth2.log, and do a compare and then do the tail trick. Have to cron that Jos every half a minute. No, just track it with tail -f as was already suggested.

linux-pango update fails

2010-04-11 Thread Chad Perrin
I'm having an issue with a linux-pango update on a FreeBSD 7.2 system: --- Upgrading 'linux-pango-1.10.2_3' to 'linux-pango-1.10.2_4' (x11-toolkits/linux-pango) --- Building '/usr/ports/x11-toolkits/linux-pango' === Cleaning for linux-pango-1.10.2_4 ** Command failed [exit

Re: FreeBSD PXE installation howto

2010-04-11 Thread Diego F. Arias R.
Hello There: I will read it, just found a mountpoint named puntodemontaje, that maybe you forgot to translate. Will check it out latter. Diego Arias On Sun, Apr 11, 2010 at 11:21 AM, Egoitz Aurrekoetxea Aurre ego...@ramattack.net wrote: Hi, I'm working on a project for setting up a

Re: FreeBSD PXE installation howto

2010-04-11 Thread Chris Whitehouse
Egoitz Aurrekoetxea Aurre wrote: Hi, I'm working on a project for setting up a freebsd installation server with pxe. When I started I see the doc was a bit old-fashioned... so I started looking at some blogs... freebsd doc that could help me understanding the whole process and so on...

Re: are the are C [or C++] src sites ....

2010-04-11 Thread Gary Kline
On Sat, Apr 10, 2010 at 12:45:15PM -0700, Charlie Kester wrote: On Sat 10 Apr 2010 at 08:19:38 PDT Gary Kline wrote: Sites of parts of websites that have example C functions? [continuing from the ^Subject. I have googled around and found practically nothing; yet, wen I

Re: reliable rs-232

2010-04-11 Thread Grzegorz Daniluk
Thank you very much for all your advices. The device I'm going to 'talk to' is cesium clock with rs-232 interface. So it is not possible to simply change the interface to differential one. Connection cable can be short and the transmission speed can be slow. The most important thing for me is

VirtualBox is still broken

2010-04-11 Thread Yuri
I still see VBox hanging the host system. This time I was able to install Ubuntu-9.10, then I ran it and FreeBSD hanged during Ubuntu system updates. VBox worked fine before the late January. After this some kernel change was checked in that caused immediate hangs. Later something changed and

Re: are the are C [or C++] src sites ....

2010-04-11 Thread C. P. Ghost
On Mon, Apr 12, 2010 at 12:39 AM, Gary Kline kl...@thought.org wrote:        what i am thinking of is functions that work in any of        several venues:                math, For maths, I'm particularly fond of GiNaC (+CLN) FreeBSD ports: math/GiNaC, math/cln WWW: http://www.ginac.de/

Re: reliable rs-232

2010-04-11 Thread Maxim Khitrov
2010/4/11 Grzegorz Daniluk li...@o2.pl: Thank you very much for all your advices. The device I'm going to 'talk to' is cesium clock with rs-232 interface. So it is not possible to simply change the interface to differential one. Connection cable can be short and the transmission speed can be

Re: are the are C [or C++] src sites ....

2010-04-11 Thread Charlie Kester
On Sun 11 Apr 2010 at 15:39:16 PDT Gary Kline wrote: On Sat, Apr 10, 2010 at 12:45:15PM -0700, Charlie Kester wrote: i used more strict search terms and found around 30 sites. none seemed that promising. what i am thinking of is functions that work in any of