dhcpd issues with Android phone

2013-03-14 Thread John Tate
I have an android phone that requests a least regularly from my dhcpd server on OpenBSD 5.2 which eventually starts failing with this error in /var/log/daemon Mar 14 21:40:42 menger dhcpd[7088]: DHCPREQUEST for 10.0.0.4 from 0c:14:20:6b:08:e5 via fxp0 Mar 14 21:40:42 menger dhcpd[7088]: DHCPNAK

Re: Server

2013-03-14 Thread Daniel Bolgheroni
On Wed, Mar 13, 2013 at 10:51:17AM -0300, Andi wrote: Hello everybody, I'm thinking about putting the openBSD 5.2, in a desktop machine, in order to make this a server. The hardware configuration is: intel i3, 1TB of HD, nvidia 9800. But I'm wondering about this, if it will be good

renaming name of interfaces

2013-03-14 Thread Jiri B
Hello, just for curiosity, is it planned for future? I can't just now think about real usability... jirib

Re: renaming name of interfaces

2013-03-14 Thread Peter N. M. Hansteen
On Thu, Mar 14, 2013 at 07:12:08AM -0400, Jiri B wrote: just for curiosity, is it planned for future? I can't just now think about real usability... Me neither. For most use cases I can think of, interface groups (a feature we do have, see ifconfig(8) and possibly other references

Re: dhcpd issues with Android phone

2013-03-14 Thread Kenneth R Westerback
On Thu, Mar 14, 2013 at 09:46:04PM +1100, John Tate wrote: I have an android phone that requests a least regularly from my dhcpd server on OpenBSD 5.2 which eventually starts failing with this error in /var/log/daemon Mar 14 21:40:42 menger dhcpd[7088]: DHCPREQUEST for 10.0.0.4 from

Re: dhcpd issues with Android phone

2013-03-14 Thread John Tate
I did exactly what you said, thanks! On Thu, Mar 14, 2013 at 11:16 PM, Kenneth R Westerback kwesterb...@rogers.com wrote: On Thu, Mar 14, 2013 at 09:46:04PM +1100, John Tate wrote: I have an android phone that requests a least regularly from my dhcpd server on OpenBSD 5.2 which eventually

Re: renaming name of interfaces

2013-03-14 Thread Christian Weisgerber
Peter N. M. Hansteen pe...@bsdly.net wrote: Me neither. For most use cases I can think of, interface groups (a feature we do have, see ifconfig(8) and possibly other references elsewhere) will give you what others have implemented interface renaming for. There are also interface

Re: renaming name of interfaces

2013-03-14 Thread Jiri B
On Thu, Mar 14, 2013 at 02:10:40PM +, Christian Weisgerber wrote: Peter N. M. Hansteen pe...@bsdly.net wrote: Me neither. For most use cases I can think of, interface groups (a feature we do have, see ifconfig(8) and possibly other references elsewhere) will give you what others

Re: renaming name of interfaces

2013-03-14 Thread Jiri B
On Thu, Mar 14, 2013 at 12:17:50PM +0100, Peter N. M. Hansteen wrote: On Thu, Mar 14, 2013 at 07:12:08AM -0400, Jiri B wrote: just for curiosity, is it planned for future? I can't just now think about real usability... Me neither. For most use cases I can think of, interface groups

Re: renaming name of interfaces

2013-03-14 Thread Nick Holland
On 03/14/2013 11:31 AM, Jiri B wrote: On Thu, Mar 14, 2013 at 12:17:50PM +0100, Peter N. M. Hansteen wrote: On Thu, Mar 14, 2013 at 07:12:08AM -0400, Jiri B wrote: just for curiosity, is it planned for future? I can't just now think about real usability... Me neither. For most use cases I

Re: renaming name of interfaces

2013-03-14 Thread Peter N. M. Hansteen
On Thu, Mar 14, 2013 at 11:31:29AM -0400, Jiri B wrote: Situation: onboard network card is broken and was used in OS. You just plug additional network card, and disable the old one via `config' (is this right?). The policy in your setup is the order of network cards make some logic: * 1st

Re: HEllo - static rthread bug

2013-03-14 Thread Ted Unangst
On Tue, Mar 05, 2013 at 22:18, Ted Unangst wrote: On Mon, Mar 04, 2013 at 17:46, sven falempin wrote: Dear misc readers, I have a home small c++ program, i used it for a while with no fuss and use the -static on my command line. Today i correct a 'feature' in the program (like deep

two questions about packages, library and module

2013-03-14 Thread Sean Shoufu Luo
Hi all, Several questions: 1. How can I know exactly what packages/libraries/modules installed (and loaded)? It seems 'pkg-config --list-all' does not provide all libraries listed, for example, libpcap is installed, but pkg-config fails to list it Is there any tool like 'lsmod/insmod/rmmod'

Re: two questions about packages, library and module

2013-03-14 Thread Ted Unangst
On Thu, Mar 14, 2013 at 13:54, Sean Shoufu Luo wrote: 1. How can I know exactly what packages/libraries/modules installed (and loaded)? pkg_info It seems 'pkg-config --list-all' does not provide all libraries listed, for example, libpcap is installed, but pkg-config fails to list it libpcap

PHP mini_sendmail problems

2013-03-14 Thread John Tate
I've been trying to get PHP to be able to email from a chrooted apache server. Running without chroot is not an option. I can't find clear documentation on doing this, and the logs don't contain any errors I can find about the problem. I've put mini_sendmail in /var/www/usr/sbin/sendmail and

Re: PHP mini_sendmail problems

2013-03-14 Thread Alexey E. Suslikov
John Tate john at johntate.org writes: I've been trying to get PHP to be able to email from a chrooted apache server. Running without chroot is not an option. I can't find clear documentation on doing this, and the logs don't contain any errors I can find about the problem. you need femail

Re: two questions about packages, library and module

2013-03-14 Thread Zé Loff
On Mar 14, 2013, at 5:54 PM, Sean Shoufu Luo luosho...@gmail.com wrote: Hi all, Several questions: 1. How can I know exactly what packages/libraries/modules installed (and loaded)? man pkg_info man ldconfig (hint: look for the -r option) Is there any tool like 'lsmod/insmod/rmmod' in

Re: PHP mini_sendmail problems

2013-03-14 Thread John Tate
Strange port, I did make and then make install but there was no output from make install, but it seems to run anyway, but I can't find it in whereis. # make clean === Cleaning for femail-0.98 # make === Verifying specs: c === found c.65.0 === Checking files for femail-0.98

Re: PHP mini_sendmail problems

2013-03-14 Thread Stefan Sperling
On Thu, Mar 14, 2013 at 06:51:54PM +, Alexey E. Suslikov wrote: John Tate john at johntate.org writes: I've been trying to get PHP to be able to email from a chrooted apache server. Running without chroot is not an option. I can't find clear documentation on doing this, and the

Re: renaming name of interfaces

2013-03-14 Thread Alexey E. Suslikov
Jiri B jirib at devio.us writes: I'm aware of both. So what is this renaming of ifaces good for? Like /etc/mactab in Linux... I've thought I have usage for this but then I discovered I did bad testing and reorder of nics was my issue in RHEVM/kvm world. hey, this is OpenBSD, which is neither

Re: PHP mini_sendmail problems

2013-03-14 Thread Alexey Suslikov
On Thu, Mar 14, 2013 at 9:12 PM, Stefan Sperling s...@openbsd.org wrote: On Thu, Mar 14, 2013 at 06:51:54PM +, Alexey E. Suslikov wrote: John Tate john at johntate.org writes: I've been trying to get PHP to be able to email from a chrooted apache server. Running without chroot is not

Re: PHP mini_sendmail problems

2013-03-14 Thread John Tate
I installed femail-chroot and put /usr/libexec/ld.so in /var/www/usr/libexec/ld.so and updated /etc/php-5.2.ini but it still doesn't work. On Fri, Mar 15, 2013 at 6:14 AM, Alexey Suslikov alexey.susli...@gmail.comwrote: On Thu, Mar 14, 2013 at 9:12 PM, Stefan Sperling s...@openbsd.org wrote:

Re: PHP mini_sendmail problems

2013-03-14 Thread John Tate
From the end of error_log: femail: no recipients On Fri, Mar 15, 2013 at 6:31 AM, John Tate j...@johntate.org wrote: I installed femail-chroot and put /usr/libexec/ld.so in /var/www/usr/libexec/ld.so and updated /etc/php-5.2.ini but it still doesn't work. On Fri, Mar 15, 2013 at 6:14 AM,

Re: PHP mini_sendmail problems

2013-03-14 Thread Alexey Suslikov
On Thu, Mar 14, 2013 at 9:35 PM, John Tate j...@johntate.org wrote: From the end of error_log: femail: no recipients femail commandline switches aren't 100% sendmail- compatible. check php.ini on how you pass recipients to femail.

Re: PHP mini_sendmail problems

2013-03-14 Thread Pascal Stumpf
On Thu, 14 Mar 2013 20:12:52 +0100, Stefan Sperling wrote: On Thu, Mar 14, 2013 at 06:51:54PM +, Alexey E. Suslikov wrote: John Tate john at johntate.org writes: I've been trying to get PHP to be able to email from a chrooted apache server. Running without chroot is not an

Re: PHP mini_sendmail problems

2013-03-14 Thread John Tate
It seems to be a problem with drupal, I wrote my own php script that could send mail without issues. I have no idea how such a problem is possible unless drupal doesn't use php's mail() but I can't find anyone with similar problems. I didn't notice the log entries because they don't have a

Re: PHP mini_sendmail problems

2013-03-14 Thread Richard Toohey
On 03/15/13 08:41, Alexey Suslikov wrote: On Thu, Mar 14, 2013 at 9:35 PM, John Tate j...@johntate.org wrote: From the end of error_log: femail: no recipients femail commandline switches aren't 100% sendmail- compatible. check php.ini on how you pass recipients to femail. Also check out

Re: renaming name of interfaces

2013-03-14 Thread Alexander Hall
On 03/14/13 20:15, Alexey E. Suslikov wrote: Jiri B jirib at devio.us writes: I'm aware of both. So what is this renaming of ifaces good for? Like /etc/mactab in Linux... I've thought I have usage for this but then I discovered I did bad testing and reorder of nics was my issue in RHEVM/kvm

Re: renaming name of interfaces

2013-03-14 Thread Lars Hansson
On Thu, Mar 14, 2013 at 10:22 PM, Jiri B ji...@devio.us wrote: I'm aware of both. So what is this renaming of ifaces good for? On Windows it has it's advantages because by default you get stupid and unhelpful names like Local Area Connection X. It's pretty nice to be able to rename it to