Re: how to enforce password change at first login

2011-03-30 Thread Michael
On 30/03/2011 06:19, Yuri Pankov wrote: Something like: # pw usermodusername -p -1 Thanks a lot, exactly what I was looking for. Michael ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To

how to enforce password change at first login

2011-03-29 Thread Michael
Hi, How can I enforce a user to change his password at first login? I want to set up ssh access for my friends but I don't want to know their passwords. And I don't trust they will change it just because I've asked to do so. I was thinking I can create account with random password

Re: how to enforce password change at first login

2011-03-29 Thread Yuri Pankov
On Wed, Mar 30, 2011 at 06:10:11AM +0100, Michael wrote: Hi, How can I enforce a user to change his password at first login? I want to set up ssh access for my friends but I don't want to know their passwords. And I don't trust they will change it just because I've asked to do so. I

Re: MySQL 3 needed but how?

2011-03-27 Thread krad
On 26 March 2011 21:40, Laszlo Nagy gand...@shopzeus.com wrote: There is nothing in /var/log/messages. It was working with 4.1 server, but I just uninstalled that (because the upgrading faq told me to install 4.0 instead.) Do you have the following in your /etc/rc.conf file:

Re: MySQL 3 needed but how? [SOLVED]

2011-03-27 Thread Laszlo Nagy
I could install FreeBSD 6.4 on a virtual machine, replace the data dir and run mysqldump from there. Thank you for your help! L -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___

Xircom realport in 8.1-RELEASE - how do I determine proper cbb.start_memory ?

2011-03-27 Thread George Sanders
hw.cbb.start_memory=0xf480 sysctl hw.cbb.start_memory=0x3000 However, neither of these values work for me, and I continue to get this kind of error: dc1: No station address in CIS! etc. I am happy to use this workaround, I just wonder how do I determine the proper value

MySQL 3 needed but how?

2011-03-26 Thread Laszlo Nagy
. I need a quick solution. Maybe I can install a different OS in a virtual machine. But do you know where can I download a BSD OS version that has a binary package of MySQL server 3? (I don't know how to search for a BSD OS that has binary packages for mysql3...) Thanks, Laszlo

Re: MySQL 3 needed but how?

2011-03-26 Thread John Levine
In article 4d8e1e4a.5000...@shopzeus.com you write: Hi, I have an old backup from a MySQL data directory. It was created with MySQL version 3. If I install MySQL 4 then I get this message telling that the table was created with a different MySQL version. You should be able to restore the

Re: MySQL 3 needed but how?

2011-03-26 Thread Kristaps Kūlis
, but in this case this won't work. I need a quick solution. Maybe I can install a different OS in a virtual machine. But do you know where can I download a BSD OS version that has a binary package of MySQL server 3? (I don't know how to search for a BSD OS that has binary packages for mysql3

Re: MySQL 3 needed but how?

2011-03-26 Thread Laszlo Nagy
On 2011-03-26 18:41, John Levine wrote: In article4d8e1e4a.5000...@shopzeus.com you write: Hi, I have an old backup from a MySQL data directory. It was created with MySQL version 3. If I install MySQL 4 then I get this message telling that the table was created with a different MySQL version.

Re: MySQL 3 needed but how?

2011-03-26 Thread John R. Levine
Starting mysql. gw# /usr/local/etc/rc.d/mysql-server status mysql is not running. gw# There is nothing in /var/log/messages. Sounds like you'll have to do some debugging. Try adding --verbose to mysql_args in /etc/rc.conf, and see the other advice in

Re: MySQL 3 needed but how?

2011-03-26 Thread Jerry
On Sat, 26 Mar 2011 20:21:08 +0100 Laszlo Nagy gand...@shopzeus.com articulated: On 2011-03-26 18:41, John Levine wrote: In article4d8e1e4a.5000...@shopzeus.com you write: Hi, I have an old backup from a MySQL data directory. It was created with MySQL version 3. If I install MySQL 4

Re: MySQL 3 needed but how?

2011-03-26 Thread Laszlo Nagy
There is nothing in /var/log/messages. It was working with 4.1 server, but I just uninstalled that (because the upgrading faq told me to install 4.0 instead.) Do you have the following in your /etc/rc.conf file: mysql_enable=YES Yes. I'm in the process of installing FreeBSD 6.4 in a

Re: MySQL 3 needed but how?

2011-03-26 Thread Laszlo Nagy
Sounds like you'll have to do some debugging. Try adding --verbose to mysql_args in /etc/rc.conf, and see the other advice in http://dev.mysql.com/doc/refman/4.1/en/starting-server.html gw# /usr/local/bin/mysqld_safe --verbose Starting mysqld daemon with databases from /var/db/mysql

Re: MySQL 3 needed but how?

2011-03-26 Thread Fbsd8
Laszlo Nagy wrote: Sounds like you'll have to do some debugging. Try adding --verbose to mysql_args in /etc/rc.conf, and see the other advice in http://dev.mysql.com/doc/refman/4.1/en/starting-server.html gw# /usr/local/bin/mysqld_safe --verbose Starting mysqld daemon with databases from

Re: MySQL 3 needed but how?

2011-03-26 Thread Jerry
On Sat, 26 Mar 2011 18:56:03 -0400 Fbsd8 fb...@a1poweruser.com articulated: Laszlo Nagy wrote: Sounds like you'll have to do some debugging. Try adding --verbose to mysql_args in /etc/rc.conf, and see the other advice in http://dev.mysql.com/doc/refman/4.1/en/starting-server.html

Re: how to enable NCQ on Intel ESB2 AHCI SATA?controller/ST31000340NS

2011-03-24 Thread Anton Yuzhaninov
On Wed, 23 Mar 2011 16:37:11 -0500, Dan Nelson wrote: DN If you do a verbose boot, you should get a couple more lines printed: DN DN ahci0: Caps: 64bit NCQ SNTF AL CLO 3Gbps PM PMD SSC PSC 32cmd CCC EM 6ports DN ahci0: Caps2: DN ahci0: EM Caps: ALHD XMT SMB LED DN DN If you see NCQ in your Caps

Re: how to enable NCQ on Intel ESB2 AHCI SATA controller/ST31000340NS

2011-03-23 Thread Dan Nelson
In the last episode (Mar 22), Anton Yuzhaninov said: How to enable NCQ on this controller: ahci0@pci0:0:31:2: class=0x010601 card=0x808015d9 chip=0x26818086 rev=0x09 hdr=0x00 vendor = 'Intel Corporation' device = 'LSI LOGIC, 62089A2, LSISAS1068 B0, T 0620, WE 119200.1

how to enable NCQ on Intel ESB2 AHCI SATA controller/ST31000340NS

2011-03-22 Thread Anton Yuzhaninov
How to enable NCQ on this controller: ahci0@pci0:0:31:2: class=0x010601 card=0x808015d9 chip=0x26818086 rev=0x09 hdr=0x00 vendor = 'Intel Corporation' device = 'LSI LOGIC, 62089A2, LSISAS1068 B0, T 0620, WE 119200.1 (62089A2)' class = mass storage subclass

Re: [solved] How to tell whether CPU supports x64?

2011-03-18 Thread Tait
The original system... I said (on 2011/03/17): CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2387.76-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf29 Stepping = 9

Re: [solved] How to tell whether CPU supports x64?

2011-03-18 Thread Ilya Kazakevich
AMD Features=0x2010NX,LM AMD Features2=0x1LAHF Cores per package: 16 Logical CPUs per core: 2 The Intel site does say the E5520 supports x64. It seems the lack of LM in the original system does in fact mean it's a 32-bit only processor. Look again: AMD

Re: [solved] How to tell whether CPU supports x64?

2011-03-18 Thread Chad Perrin
On Fri, Mar 18, 2011 at 02:18:22PM +0300, Ilya Kazakevich wrote: AMD Features=0x2010NX,LM AMD Features2=0x1LAHF Cores per package: 16 Logical CPUs per core: 2 The Intel site does say the E5520 supports x64. It seems the lack of LM in the original

Re: [solved] How to tell whether CPU supports x64?

2011-03-18 Thread Daniel Zhelev
On Fri, Mar 18, 2011 at 1:15 PM, Chad Perrin per...@apotheon.com wrote: On Fri, Mar 18, 2011 at 02:18:22PM +0300, Ilya Kazakevich wrote: AMD Features=0x2010NX,LM AMD Features2=0x1LAHF Cores per package: 16 Logical CPUs per core: 2 The Intel

How to tell whether CPU supports x64?

2011-03-17 Thread Tait
I have a remote server, and I'd like to know if it will support 64-bit instructions. Is there some way I can tell? It's running 32-bit FreeBSD right now. From dmesg.boot: Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2387.76-MHz 686-class

Re: How to tell whether CPU supports x64?

2011-03-17 Thread Ilya Kazakevich
Afaik there should be LM in AMD features output. Even for Intel. Grep your dmesg.boot for LM. On Fri, Mar 18, 2011 at 12:33 AM, Tait free...@t41t.com wrote: I have a remote server, and I'd like to know if it will support 64-bit instructions. Is there some way I can tell? It's running

Re: How to tell whether CPU supports x64?

2011-03-17 Thread Devin Teske
On Thu, 2011-03-17 at 14:33 -0700, Tait wrote: I have a remote server, and I'd like to know if it will support 64-bit instructions. I wrote this for the job (please, suggestions/comments very welcome): BEGIN FILE /* -*- tab-width:

Re: How to tell whether CPU supports x64?

2011-03-17 Thread John Levine
I have a remote server, and I'd like to know if it will support 64-bit instructions. Is there some way I can tell? It's running 32-bit FreeBSD right now. From dmesg.boot: Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2387.76-MHz 686-class CPU)

Re: How to tell whether CPU supports x64?

2011-03-17 Thread Michael Powell
Tait wrote: I have a remote server, and I'd like to know if it will support 64-bit instructions. Is there some way I can tell? It's running 32-bit FreeBSD right now. From dmesg.boot: Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2387.76-MHz 686-class

Re: How to tell whether CPU supports x64?

2011-03-17 Thread Devin Teske
On Thu, 2011-03-17 at 14:33 -0700, Tait wrote: I have a remote server, and I'd like to know if it will support 64-bit instructions. Is there some way I can tell? It's running 32-bit FreeBSD right now. From dmesg.boot: Timecounter i8254 frequency 1193182 Hz quality 0 CPU:

Re: How to tell whether CPU supports x64?

2011-03-17 Thread Adam Vande More
On Thu, Mar 17, 2011 at 5:14 PM, Ilya Kazakevich kazakevichi...@gmail.comwrote: Afaik there should be LM in AMD features output. Even for Intel. Grep your dmesg.boot for LM. Please don't top-post. yes that is correct, LM stands for Long Mode which indicates amd64 support. If your CPU doesn't

Re: How to tell whether CPU supports x64?

2011-03-17 Thread Chad Perrin
On Thu, Mar 17, 2011 at 06:27:13PM -0500, Adam Vande More wrote: yes that is correct, LM stands for Long Mode which indicates amd64 support. If your CPU doesn't list it, it's either a 32 bit only CPU, or it's a bug. . . . or maybe it is a 64 bit CPU that is not x86_64/amd64 compatible. Do

Re: How to tell whether CPU supports x64?

2011-03-17 Thread Adam Vande More
On Thu, Mar 17, 2011 at 7:30 PM, Chad Perrin per...@apotheon.com wrote: . . . or maybe it is a 64 bit CPU that is not x86_64/amd64 compatible. Do IA-64 (Itanium), IBM POWER, and SPARC 64 bit processors use the same Long Mode functionality? No, it is a function of it's ancestry, real mode,

Re: How to tell whether CPU supports x64?

2011-03-17 Thread Chad Perrin
On Thu, Mar 17, 2011 at 07:54:13PM -0500, Adam Vande More wrote: On Thu, Mar 17, 2011 at 7:30 PM, Chad Perrin per...@apotheon.com wrote: . . . or maybe it is a 64 bit CPU that is not x86_64/amd64 compatible. Do IA-64 (Itanium), IBM POWER, and SPARC 64 bit processors use the same Long Mode

Re: any friendly folk willing to teach an old foggie how to configure kde/ gnome on freebsd?

2011-03-17 Thread Foo JH
Hello all, including the guys who responded. Thanks for the comments and tips/ links. I'd see what I can do to move fwd on the issue. Appreciate your feedback! On 3/10/2011 11:33 AM, Juan C. Valido wrote: I'm an old foggie also and a lifetime Windows guy and I did a lot of research and a

Re: How to tell whether CPU supports x64?

2011-03-17 Thread John Levine
yes that is correct, LM stands for Long Mode which indicates amd64 support. If your CPU doesn't list it, it's either a 32 bit only CPU, or it's a bug. . . . or maybe it is a 64 bit CPU that is not x86_64/amd64 compatible. Do IA-64 (Itanium), IBM POWER, and SPARC 64 bit processors use the same

Re: How to get Huawei USB modem to work ?

2011-03-11 Thread Erich Dollansky
and there was no usba.ko Can somebody please tell me how to get my Huawei USB dial-up modem to work on FreeBSD 8.1 ? From dmesg, I have the following information : Trying to mount root from ufs:/dev/ad8s2a ugen0.3: HUAWEI TECHNOLOGIES at usbus0 u3g0: Data Interface on usbus0 u3g0: Found

Re: any friendly folk willing to teach an old foggie how to configure kde/ gnome on freebsd?

2011-03-10 Thread Juan C. Valido
A GUI on a server is just a matter of preference, I go back to before Dos 1.0 and when Windows came out, I fell in love. Now I've got to have a GUI on everything, besides as you get older the command line becomes harder (memory loss)... On Thu, 2011-03-10 at 08:39 +0100, Bas Smeelen wrote: On

Re: any friendly folk willing to teach an old foggie how to configure kde/ gnome on freebsd?

2011-03-10 Thread Bas Smeelen
On 03/10/2011 12:35 PM, Juan C. Valido wrote: A GUI on a server is just a matter of preference, I go back to before Dos 1.0 and when Windows came out, I fell in love. Now I've got to have a GUI on everything, besides as you get older the command line becomes harder (memory loss)... Do you plan

Re: any friendly folk willing to teach an old foggie how to configure kde/ gnome on freebsd?

2011-03-10 Thread Bas Smeelen
On 03/10/2011 01:46 PM, Bas Smeelen wrote: On 03/10/2011 12:35 PM, Juan C. Valido wrote: A GUI on a server is just a matter of preference, I go back to before Dos 1.0 and when Windows came out, I fell in love. Now I've got to have a GUI on everything, besides as you get older the command line

Re: any friendly folk willing to teach an old foggie how to configure kde/ gnome on freebsd?

2011-03-10 Thread Juan C. Valido
Thank you, being a Windows guy, I didn't know about webmin, tried it and was impressed. New Server coming up no GUI... On Thu, 2011-03-10 at 08:39 +0100, Bas Smeelen wrote: On 03/10/2011 04:33 AM, Juan C. Valido wrote: I'm an old foggie also and a lifetime Windows guy and I did a lot of

Re: any friendly folk willing to teach an old foggie how to configure kde/ gnome on freebsd?

2011-03-10 Thread Polytropon
On Thu, 10 Mar 2011 13:46:42 +0100, Bas Smeelen b.smee...@ose.nl wrote: Do you plan to update FreeBSD and installed ports on your servers on a regular basis? Then I would not recommend installing graphical window ports (applications) on these servers, because it can give you a lot of time,

Re: any friendly folk willing to teach an old foggie how to configure kde/ gnome on freebsd?

2011-03-10 Thread Juan C. Valido
Well. I don't really know what I'm doing but you offer some great advice, thanks. For an old man I learn fast, I don't mind doing research and of course RTFM :-) On Fri, 2011-03-11 at 01:10 +0100, Polytropon wrote: On Thu, 10 Mar 2011 13:46:42 +0100, Bas Smeelen b.smee...@ose.nl wrote: Do you

Re: any friendly folk willing to teach an old foggie how to configure kde/ gnome on freebsd?

2011-03-10 Thread Bas Smeelen
On 03/11/2011 01:10 AM, Polytropon wrote: On Thu, 10 Mar 2011 13:46:42 +0100, Bas Smeelen b.smee...@ose.nl wrote: Do you plan to update FreeBSD and installed ports on your servers on a regular basis? Then I would not recommend installing graphical window ports (applications) on these servers,

any friendly folk willing to teach an old foggie how to configure kde/ gnome on freebsd?

2011-03-09 Thread Foo JH
Hi guys, I know the steps are documented on the Handbook and all. I've tried to read, follow, and re-read the steps, but I'm not still getting any popular window manager up and running on my FreeBSD servers. Meanwhile new hires are seduced by the comes-with-it windows manager via Ubuntu

Re: any friendly folk willing to teach an old foggie how to configure kde/ gnome on freebsd?

2011-03-09 Thread Juan C. Valido
I'm an old foggie also and a lifetime Windows guy and I did a lot of research and a lot of trial and error until I found Dan's blog. God Bless the Man! Without his blog I would not have this server up. And yes it's running gnome. https://www.dan.me.uk/blog/category/freebsd/ On Thu, 2011-03-10 at

Re: any friendly folk willing to teach an old foggie how to configure kde/ gnome on freebsd?

2011-03-09 Thread Bas Smeelen
On 03/10/2011 04:33 AM, Juan C. Valido wrote: I'm an old foggie also and a lifetime Windows guy and I did a lot of research and a lot of trial and error until I found Dan's blog. God Bless the Man! Without his blog I would not have this server up. And yes it's running gnome.

Re: how to add a few hundred ip on one interface?

2011-03-07 Thread Guillermo Cotone
2011/2/14 krad kra...@gmail.com On 11 February 2011 13:25, Guillermo Fernando Cotone guillermo.cot...@gmail.com wrote: On 02/11/2011 09:55 AM, Vladislav V. Prodan wrote: And this construction work? ipv4_addrs_ed0=192.0.2.129/27 192.0.2.1-2/28 192.0.2.4-5/28 It would work only

Re: how to keep track of data usage (mobile broadband)

2011-03-06 Thread Michael
On 05/03/2011 18:17, Eitan Adler wrote: How can I keep track of data usage? It's a laptop so these counters needs to be reboot persistent. I'm running 8.1-R with ue0 interface. Check out http://humdi.net/vnstat/ and http://www.cyberciti.biz/faq/freebsd-install-vnstat-network-traffic-monitor

Re: how to keep track of data usage (mobile broadband)

2011-03-06 Thread Eitan Adler
Looks like it's exactly what I was looking for, thanks! Do you have the rc.d script maybe? It should be part of the port. I don't have it on this computer. -- Eitan Adler ___ freebsd-questions@freebsd.org mailing list

Re: how to keep track of data usage (mobile broadband)

2011-03-06 Thread Michael
On 06/03/2011 14:32, Eitan Adler wrote: Looks like it's exactly what I was looking for, thanks! Do you have the rc.d script maybe? It should be part of the port. I don't have it on this computer. I'm afraid it's not. My ports tree is updated and a standard ports installation of net/vnstat

how to determine if GSM modem is roaming

2011-03-06 Thread Michael
Hi, Is there a way to check if GSM modem is currently operating in roaming mode or not? Michael ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to

how to keep track of data usage (mobile broadband)

2011-03-05 Thread Michael
Hi. Currently I'm planning to go with mobile broadband on my laptop. I got my card working fine but the remaining problem is - there is a limit of 5GB per month and I really don't want to go over it. How can I keep track of data usage? It's a laptop so these counters needs to be reboot

Re: how to keep track of data usage (mobile broadband)

2011-03-05 Thread Eitan Adler
How can I keep track of data usage? It's a laptop so these counters needs to be reboot persistent. I'm running 8.1-R with ue0 interface. Check out http://humdi.net/vnstat/ and http://www.cyberciti.biz/faq/freebsd-install-vnstat-network-traffic-monitor-software/ -- Eitan Adler

Re: how to read a live changing capture file with a tcpdump or wireshark like with tail for a file.

2011-03-02 Thread Mubeesh ali
thanks Jason. netcat seems suited for this. I will check this out. Best Regards, Mubeesh On Wed, Mar 2, 2011 at 8:42 PM, Jason C. Wells j...@speakeasy.net wrote: On 03/01/11 08:07, Mubeesh ali wrote: Hi , We do wifi troubleshooting and are planning to use kismet for wireless captures.

how to read a live changing capture file with a tcpdump or wireshark like with tail for a file.

2011-03-01 Thread Mubeesh ali
Hi , We do wifi troubleshooting and are planning to use kismet for wireless captures. It produces a file that will be written into every 300 secs(configurable value ,we use 30 secs). While comparing with a expensive windows sniffer like Omnipeek the only disadvantage of this free tool is we

How can I disable Internet access for programs running in Wine?

2011-02-25 Thread erikmccaskey64
I just can find any solution... Please help! thanks.. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: How can I disable Internet access for programs running in Wine?

2011-02-25 Thread Peter Vereshagin
Nothing to do oh, freebsd-questions stay in bat! 2011/02/25 01:07:58 -0800 erikmccaskey64 erikmccaske...@zoho.com = To freebsd : e I just can find any solution... I was sure that ipfw can select packets by process name? at least there are pf and ipf options out there... You can always use

Re: How to forward old root mails to an external email address?

2011-02-24 Thread David Brodbeck
On Wed, Feb 23, 2011 at 5:20 PM, Bill Tillman btillma...@yahoo.com wrote: Yes, but in the good ol' USA it's all about the money. They will not let me do anything like this unless I pay more to upgrade my service. The wierd thing is that once in a blue moon my IP address will change. Then I can

How to push privoxy traffic through squid?

2011-02-24 Thread Ed Flecko
...but it doesn't work. When I change my browser proxy settings to server address:8118 I can't reach the internet. I managed to make this work once before...but darned if I can remember how I did it! Suggestions??? Thank you, Ed ___ freebsd-questions@freebsd.org

Re: How to push privoxy traffic through squid?

2011-02-24 Thread Ed Flecko
Thanks Berk, Nope...no dice, that won't work either. More suggestions??? :-) Ed ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to

Re: How to push privoxy traffic through squid?

2011-02-24 Thread Berk Gulenler
this: forward / :3128 to try and push the content through squid...but it doesn't work. When I change my browser proxy settings to server address:8118 I can't reach the internet. I managed to make this work once before...but darned if I can remember how I did it! Suggestions??? Thank you, Ed

Re: How to push privoxy traffic through squid?

2011-02-24 Thread Berk Gulenler
this: listen-address 0.0.0.0:8118 and forward / 127.0.0.1:3128 to try and push the content through squid...but it doesn't work. When I change my browser proxy settings to server address:8118 I can't reach the internet. I managed to make this work once before...but darned if I can remember how I

Re: How to push privoxy traffic through squid?

2011-02-24 Thread RW
On Thu, 24 Feb 2011 12:09:04 -0800 Ed Flecko edfle...@gmail.com wrote: Hi folks, I have squid installed and working fine using its default settings; if I set my browser proxy to the server address:3128 , everything works fine. ... and I've added: listen-address 127.0.0.1:8118 and

how to enable sticky keys in xorg?

2011-02-24 Thread Neil Short
can sticky keys (SHIFT. ALT and CTRL hold until the next key is pressed) be enabled in x11-input.fdi? I wish to enable this accessibility option without resorting to KDE or GNOME. == ___ freebsd-questions@freebsd.org mailing list

Re: How to push privoxy traffic through squid?

2011-02-24 Thread Ed Flecko
Gentlemen, I think I have it! https://www.antagonism.org/web/squid-proxy.shtml The key is to add: cache_peer localhost parent 8118 0 default no-query no-digest no-netdb-exchange never_direct allow all to the squid.conf file (/usr/local/etc/squid/squid.conf) and have squid re-read its .conf

Re: How to forward old root mails to an external email address?

2011-02-23 Thread Bill Tillman
charge you for it they block it. From: Sergio de Almeida Lenzi lenzi.ser...@gmail.com To: Andy Wodfer wod...@gmail.com Cc: freebsd-questions freebsd-questions@freebsd.org Sent: Sat, February 19, 2011 6:37:23 PM Subject: Re: How to forward old root mails

Re: How to forward old root mails to an external email address?

2011-02-23 Thread Polytropon
On Wed, 23 Feb 2011 11:32:03 -0800 (PST), Bill Tillman btillma...@yahoo.com wrote: The only problem with this is that unlike 10 years ago, today almost all ISP's block anything coming down port 25 unless you have an account that allows your e-mail server to work. And they of course

Re: How to forward old root mails to an external email address?

2011-02-23 Thread Arthur Chance
On 02/23/11 19:32, Bill Tillman wrote: The only problem with this is that unlike 10 years ago, today almost all ISP's block anything coming down port 25 unless you have an account that allows your e-mail server to work. And they of course charge for this. I used to enjoy my own private e-mail

Re: How to forward old root mails to an external email address?

2011-02-23 Thread Lowell Gilbert
Bill Tillman btillma...@yahoo.com writes: The only problem with this is that unlike 10 years ago, today almost all ISP's block anything coming down port 25 unless you have an account that allows your e-mail server to work. And they of course charge for this. I used to enjoy my own

Re: How to forward old root mails to an external email address?

2011-02-23 Thread Bill Tillman
From: Polytropon free...@edvax.de To: Bill Tillman btillma...@yahoo.com Cc: freebsd-questions freebsd-questions@freebsd.org Sent: Wed, February 23, 2011 4:41:02 PM Subject: Re: How to forward old root mails to an external email address? On Wed, 23 Feb 2011 11

Re: How to install Tomcat 7

2011-02-22 Thread Andreas Junius
Thanks to you all for your help! That hint below worked fine. Cheers, Andy On 21/02/2011 9:06 PM, Michael Powell wrote: Repair the damage you've done to /usr/ports/www/tomcat7. You can just rm -rf the entire directory and a ports tree refresh will fix it for you. Then change into

Re: How to forward old root mails to an external email address?

2011-02-22 Thread Paul Chvostek
On Sat, Feb 19, 2011 at 11:39:38PM +0100, Andy Wodfer wrote: On Sat, Feb 19, 2011 at 11:14 PM, RW rwmailli...@googlemail.com wrote: On Sat, 19 Feb 2011 22:39:59 +0100 Andy Wodfer wod...@gmail.com wrote: I already tried something similare, but I keep getting command not found for

How to install Tomcat 7

2011-02-21 Thread Andreas Junius
Hi All, This is my first post to this list, so I hope I get it right. I'm new to both Unix and freeBSD and I've been doing my first steps for three days now. I was able to install Java and Tomcat 6, because these products are part of the ports directory. However I'd prefer Tomcat 7, so I got

Re: How to install Tomcat 7

2011-02-21 Thread Christer Solskogen
On Mon, Feb 21, 2011 at 9:48 AM, Andreas Junius andreas.jun...@gmail.com wrote: To be honest, I don't understand that message. That file apache-tomcat-7.0.6.tar.gz can't be in /usr/ports/www/tomcat7/distinfo, because distinfo is a file and not a directory. What went wrong? I got the missing

Re: How to install Tomcat 7

2011-02-21 Thread Michael Powell
prefer Tomcat 7, so I got the tomcat7.tar.gz and extracted the files to /usr/ports/www/tomcat7. Sorry but this is not the way this works. Maybe study the sections in the Handbook which explain how to install software on FreeBSD. This is just totally a wrong procedure. The I tried the following

Re: How to install Tomcat 7

2011-02-21 Thread Jerry McAllister
On Mon, Feb 21, 2011 at 07:18:28PM +1030, Andreas Junius wrote: Hi All, This is my first post to this list, so I hope I get it right. I'm new to both Unix and freeBSD and I've been doing my first steps for three days now. I was able to install Java and Tomcat 6, because these products are

How older files installed by previous versions of FreeBSD are supposed to be deleted?

2011-02-20 Thread Yuri
I updated my system many times. As a result I have many older libraries with different numbers: /lib/libm.so.4 /lib/libm.so.5 /lib/libutil.so.5 /lib/libutil.so.7 /lib/libutil.so.8 /lib/libutil.so.9 /lib/libc.so.6 /lib/libc.so.7 How older files are normally deleted? Is there a script that finds

Re: How older files installed by previous versions of FreeBSD are supposed to be deleted?

2011-02-20 Thread Herbert J. Skuhra
/libc.so.7 How older files are normally deleted? Is there a script that finds older versions and deletes them? Otherwise after a while all possible versions will accumulate there. # cd /usr/src # make delete-old # make delete-old-libs Afterwards you probably have to rebuild many installed ports

Re: How to forward old root mails to an external email address?

2011-02-20 Thread Daniel Staal
--As of February 19, 2011 11:39:38 PM +0100, Andy Wodfer is alleged to have said: Cool. Procmail is now installed, but the procmail.rc file, should that be placed under root's home folder ie /root/procmail.rc or another user? I assume root since Daniel's command doesn't specify any users?

How to forward old root mails to an external email address?

2011-02-19 Thread Andy Wodfer
Hi all! I'm running FreeBSD 8.0 Release on this particular server and I have a rather large root mailbox under /var/mail/root. I have set up an alias under /etc/aliases for new emails, but I need to forward all the old emails in this mailbox to an external email address. How can I do

Re: How to forward old root mails to an external email address?

2011-02-19 Thread Daniel Staal
emails in this mailbox to an external email address. How can I do that? --As for the rest, it is mine. Easiest way I know of is to set up a procmail rule to forward everything to the external address, then feed the old mailbox to procmail via formail. = .procmailrc: :0 ! n...@example.com

Re: How to forward old root mails to an external email address?

2011-02-19 Thread Andy Wodfer
an alias under /etc/aliases for new emails, but I need to forward all the old emails in this mailbox to an external email address. How can I do that? --As for the rest, it is mine. Easiest way I know of is to set up a procmail rule to forward everything to the external address, then feed the old

Re: How to forward old root mails to an external email address?

2011-02-19 Thread RW
On Sat, 19 Feb 2011 22:39:59 +0100 Andy Wodfer wod...@gmail.com wrote: I already tried something similare, but I keep getting command not found for formail. I was hoping there was a way of doing this without installing additional software - just use what comes with a default FreeBSD

Re: How to forward old root mails to an external email address?

2011-02-19 Thread Andy Wodfer
On Sat, Feb 19, 2011 at 11:14 PM, RW rwmailli...@googlemail.com wrote: On Sat, 19 Feb 2011 22:39:59 +0100 Andy Wodfer wod...@gmail.com wrote: I already tried something similare, but I keep getting command not found for formail. I was hoping there was a way of doing this without

Re: How to forward old root mails to an external email address?

2011-02-19 Thread Sergio de Almeida Lenzi
You can use fetchmail (in the ports) and teapop (in the ports too) setup a config that fetches your email (via pop) and send via smtp to another place in the planet It has been a long time (about 10 years) since I use this... Sergio ___

Re: how to add a few hundred ip on one interface?

2011-02-14 Thread krad
On 11 February 2011 13:25, Guillermo Fernando Cotone guillermo.cot...@gmail.com wrote: On 02/11/2011 09:55 AM, Vladislav V. Prodan wrote: And this construction work?       ipv4_addrs_ed0=192.0.2.129/27 192.0.2.1-2/28 192.0.2.4-5/28 It would work only if all the IPs were on the same subnet.

Re: how to add a few hundred ip on one interface?

2011-02-11 Thread Vladislav V. Prodan
11.02.2011 8:07, Matthew Seaman пишет: ipv4_addrs_re0=xxx.xxx.yyy.134-147/23 See rc.conf(5) for details. And this construction work? ipv4_addrs_ed0=192.0.2.129/27 192.0.2.1-2/28 192.0.2.4-5/28 -- Vladislav V. Prodan VVP24-UANIC +38[067]4584408 +38[099]4060508 vla...@jabber.ru

Re: how to add a few hundred ip on one interface?

2011-02-11 Thread Guillermo Fernando Cotone
On 02/11/2011 09:55 AM, Vladislav V. Prodan wrote: And this construction work? ipv4_addrs_ed0=192.0.2.129/27 192.0.2.1-2/28 192.0.2.4-5/28 It would work only if all the IPs were on the same subnet. If you want to use different subnets you need to implement vlans on that interface

Re: how to add a few hundred ip on one interface?

2011-02-11 Thread Vladislav V. Prodan
11.02.2011 15:25, Guillermo Fernando Cotone wrote: On 02/11/2011 09:55 AM, Vladislav V. Prodan wrote: And this construction work? ipv4_addrs_ed0=192.0.2.129/27 192.0.2.1-2/28 192.0.2.4-5/28 It would work only if all the IPs were on the same subnet. If you want to use different

Re: how to add a few hundred ip on one interface?

2011-02-11 Thread Nathan Vidican
On Fri, Feb 11, 2011 at 8:25 AM, Guillermo Fernando Cotone guillermo.cot...@gmail.com wrote: On 02/11/2011 09:55 AM, Vladislav V. Prodan wrote: And this construction work? ipv4_addrs_ed0=192.0.2.129/27 192.0.2.1-2/28 192.0.2.4-5/28 It would work only if all the IPs were on the

how to add a few hundred ip on one interface?

2011-02-10 Thread Vladislav V. Prodan
only a shell script at startup? or there are other standard tools? Is there a limit on the number of IP on one interface? ## make aliases IP for i in 134 135 136 137 138 139 140 141 142 143 144 145 146 147 do ifconfig re0 xxx.xxx.yyy.$i/23 alias done for j in 134 135 136 137 138 139 140 141 142

Re: how to add a few hundred ip on one interface?

2011-02-10 Thread patrick
The standard way is to configure this in your /etc/rc.conf[.local]: ifconfig_re0=inet xxx.xxx.yyy.134 netmask 0xffnn ifconfig_re0_alias0=inet xxx.xxx.yyy.135 netmask 0x ifconfig_re0_alias1=inet xxx.xxx.yyy.136 netmask 0x ... etc. You could make a script to generate the

Re: how to add a few hundred ip on one interface?

2011-02-10 Thread Vladislav V. Prodan
11.02.2011 1:52, patrick wrote: See http://www.freebsd.org/doc/en/books/faq/networking.html#ETHERNET-ALIASES for more info. Note that aliases should have a netmask of 0x (255.255.255.255). Much difference in the appointment of netmask /23 or /32 are not seen. # ifconfig re0 re0:

Re: how to add a few hundred ip on one interface?

2011-02-10 Thread Matthew Seaman
On 10/02/2011 23:52, patrick wrote: The standard way is to configure this in your /etc/rc.conf[.local]: ifconfig_re0=inet xxx.xxx.yyy.134 netmask 0xffnn ifconfig_re0_alias0=inet xxx.xxx.yyy.135 netmask 0x ifconfig_re0_alias1=inet xxx.xxx.yyy.136 netmask 0x ... etc. That

How to count number of connections from nginx workers to php-cgi unix socket?

2011-02-07 Thread Igor Prokopenkov
amount of free processes. I tried all available tools (netstat, sockstat even lsof) but it seems there is no way to determine how many active connections from nginx to unix socket. Please advise. -- Best regards, Igor Prokopenkov Zend Certificied Engineer http://zend.com/zce.php?c=ZEND010909 http

OT: How to set a timeout for a process

2011-01-27 Thread Aryeh Friedman
I have a script that may or not hang (the reasons why it hangs are unimportant here) and need to call it from an other script and need to say if it hangs to give up after X seconds and just continue the script (no harm done if it fails) ___

Re: OT: How to set a timeout for a process

2011-01-27 Thread Eitan Adler
(no harm done if it fails) If you are willing to be bash specific: http://www.bashcookbook.com/bashinfo/source/bash-4.0/examples/scripts/timeout3 I'm not exactly sure how to do it in a normal POSIX shell. -- Eitan Adler ___ freebsd-questions@freebsd.org

Re: OT: How to set a timeout for a process

2011-01-27 Thread Eitan Adler
On Thu, Jan 27, 2011 at 3:37 AM, Aryeh Friedman aryeh.fried...@gmail.com wrote: I have a script that may or not hang (the reasons why it hangs are unimportant here) and need to call it from an other script and need to say if it hangs to give up after X seconds and just continue the script (no

Re: OT: How to set a timeout for a process

2011-01-27 Thread Devin Teske
On Thu, 2011-01-27 at 03:37 -0500, Aryeh Friedman wrote: I have a script that may or not hang (the reasons why it hangs are unimportant here) and need to call it from an other script and need to say if it hangs to give up after X seconds and just continue the script (no harm done if it fails)

Re: How to label a GELI device

2011-01-25 Thread Nikos Vassiliadis
device is 2048 sectors, the device geli provides is 2047 sectors: moby# diskinfo /dev/md0 /dev/md0.eli /dev/md0512 1048576 20480 0 /dev/md0.eli512 1048064 20470 0 There is no way for the internal GEOM to mess with the external's metadata. So, how do I make

<    6   7   8   9   10   11   12   13   14   15   >