Re: Turning off sendmail

2008-11-16 Thread Han Boetes
David, Would you be able to understand what this code does if it was written like this: if [ $sendmail_flags != NO ] [ -s /etc/mailer.conf ]; then echo -n ' sendmail' /usr/sbin/sendmail $sendmail_flags /dev/null 21 fi # Han

bsd.mp hangs on boot

2008-11-16 Thread Daniel Bareiro
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all! I am trying to boot a qemu virtual machine of OpenBSD 4.4 (previous to November release) with smp kernel on AMD Athlon 64 X2 Dual Core Processor 3800+, but it hangs on setting tty flags. I read that somebody could solve it booting with:

Re: Turning off sendmail

2008-11-16 Thread David
I never said this was the proper or most elegant way to disable sendmail, more of an ugly hack - sorry to offend. Yes, I understand the way that code is written. Han Boetes wrote: David, Would you be able to understand what this code does if it was written like this: if [ $sendmail_flags !=

Re: azalia patches in -current

2008-11-16 Thread Marco Peereboom
That is not in yet, right? On Sat, Nov 15, 2008 at 01:51:31PM +, Jacob Meuser wrote: On Sat, Nov 15, 2008 at 07:30:24AM -0600, Marco Peereboom wrote: I find this very confusing too. I have to fart around until I figure out what volume setting is which. Is there no way to generalize

Re: DNS Server behind Router

2008-11-16 Thread K.R. (Randy) Lewis
As suggested by Johan, I too feel that it's a matter of proper access control for the named. You could have something like the following in your 'named.conf' file: --- # example named.conf entries for ACL # Establish site-specific Access Control

jdk for amd64!

2008-11-16 Thread Tony Berth
Dear Group, I just realised that there is no jdk package in the AMD64 version of the current, 4.4, OpenBSD release! Was it forgotten or is any reason for that? Thanks Tony

question about useradd command on 4.4

2008-11-16 Thread Don Jackson
My system installation script (similar to install.site, run right after the system was installed, and before first boot) attempts to configure a user account using sometime pretty much like this: /usr/sbin/useradd -mv -b /home -c name of user -u 2002 -g wheel -s /bin/ksh -p 'encrypted-password'

Re: question about useradd command on 4.4

2008-11-16 Thread System Administrator
On 16 Nov 2008 at 10:55, Don Jackson wrote: My system installation script (similar to install.site, run right after the system was installed, and before first boot) attempts to configure a user account using sometime pretty much like this: /usr/sbin/useradd -mv -b /home -c name of user -u

Re: question about useradd command on 4.4

2008-11-16 Thread Frank Brodbeck
Hi, On Sun, Nov 16, 2008 at 10:55:23AM -0800, Don Jackson wrote: But it didn't, the user was created with gid 0. I don't know, maybe I got something wrong but: $ grep wheel /etc/group wheel:*:0:root wheel has gid 0. Gru_, Frank. --

Re: jdk for amd64!

2008-11-16 Thread Tony Berth
On 11/16/08, Stephan Andreas [EMAIL PROTECTED] wrote: Am Sonntag, 16. November 2008 18:32:55 schrieben Sie: Dear Group, I just realised that there is no jdk package in the AMD64 version of the current, 4.4, OpenBSD release! Was it forgotten or is any reason for that? Thanks Tony There

Re: azalia patches in -current

2008-11-16 Thread Alexander Hall
Jacob Meuser wrote: there are more coming ... even if your device starts working, please keep testing patches to make sure it doesn't stop working ;) In this regard, I've had no sound on my speakers for a few snaps, but sound when headphones are plugged in. Updating to a new snap today fixed

Re: jdk for amd64!

2008-11-16 Thread Johan Beisser
It may not work with the release version of 4.4. Upgreade to a snapshot and cross your fingers. On 11/16/08, Tony Berth [EMAIL PROTECTED] wrote: On 11/16/08, Stephan Andreas [EMAIL PROTECTED] wrote: Am Sonntag, 16. November 2008 18:32:55 schrieben Sie: Dear Group, I just realised that

Re: bsd.mp hangs on boot

2008-11-16 Thread Jordi Beltran Creix
Shouldn't you *disable* acpi? 2008/11/16 Daniel Bareiro [EMAIL PROTECTED]: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all! I am trying to boot a qemu virtual machine of OpenBSD 4.4 (previous to November release) with smp kernel on AMD Athlon 64 X2 Dual Core Processor 3800+, but it

Re: azalia patches in -current

2008-11-16 Thread Jacob Meuser
On Sun, Nov 16, 2008 at 11:00:58PM +0100, Alexander Hall wrote: Jacob Meuser wrote: there are more coming ... even if your device starts working, please keep testing patches to make sure it doesn't stop working ;) In this regard, I've had no sound on my speakers for a few snaps, but sound

Re: DNS Server behind Router

2008-11-16 Thread Adriaan
On Sun, Nov 16, 2008 at 7:25 AM, Vivek Ayer [EMAIL PROTECTED] wrote: Need some help with DNS queries behind a router. I set up a DNS server in my network and it responds when I'm within my network. I tried nslookup from localhost on the dns server and also from the LAN and it works just find,

Re: DNS Server behind Router

2008-11-16 Thread Vivek Ayer
thanks to K.R. for the named cleanup. I tried that, but to no avail. I suspect it's a nat issue because the source packets aren't matching the destination packets. rdr/pass rules seem to be working because i'm getting a response from the internal DNS, when I nslookup on the router. I even tried

Re: DNS Server behind Router

2008-11-16 Thread Vivek Ayer
I must add that the public IP is a virtual IP that CARP claims. I run nslookup on the with the external public IP (a physical one) and I get no response. I get the unexpected source response only when I nslookup using the CARP public IP as the nameserver which forwards to the internal DNS. Is

Trouble setting up wireless

2008-11-16 Thread Dan
Hello. I am trying to set up an encrypted wireless network using at least WEP or, if possible WPA-PSK. I know WPA-PSK is a very new functionality, and wonder if anyone is using it successfuly. I have tried WEP and WPA-PSK as per the manual page for 'ral', but to no avail. Clients either can't

Re: DNS Server behind Router

2008-11-16 Thread Vivek Ayer
I forgot to mention that the router that's CARP is also load-balanced. I was searching the net and a lot of people the load-balancing for this unexpected source error. Since my router is load-balanced via CARP, is there a nat rule I can add to make source/destination IPs the same? Thanks On Sun,

apache 1.3.29 + PHP 5.2.6 on OpenBSD 4.4

2008-11-16 Thread Andrei Pirvan
Hello The problem I have is that default apache can't load PHP module. PHP was installed from packages (php5-core-5.2.6.tgz), so here is nothing custom made. The only error I have is when I try to start apache is when I make a configtest. # apachectl configtest Starting Pure-FTPd Processing

Re: apache 1.3.29 + PHP 5.2.6 on OpenBSD 4.4

2008-11-16 Thread Richard Toohey
On 17/11/2008, at 7:04 PM, Andrei Pirvan wrote: Hello The problem I have is that default apache can't load PHP module. PHP was installed from packages (php5-core-5.2.6.tgz), so here is nothing custom made. The only error I have is when I try to start apache is when I make a configtest. #

Re: apache 1.3.29 + PHP 5.2.6 on OpenBSD 4.4

2008-11-16 Thread Daniel Ouellet
Andrei Pirvan wrote: Hello The problem I have is that default apache can't load PHP module. PHP was installed from packages (php5-core-5.2.6.tgz), so here is nothing custom made. The only error I have is when I try to start apache is when I make a configtest. Was that an install from scratch,

Re: apache 1.3.29 + PHP 5.2.6 on OpenBSD 4.4

2008-11-16 Thread Daniel Ouellet
Andrei Pirvan wrote: Hello The problem I have is that default apache can't load PHP module. PHP was installed from packages (php5-core-5.2.6.tgz), so here is nothing custom made. The only error I have is when I try to start apache is when I make a configtest. Do you have something showing up

Re: apache 1.3.29 + PHP 5.2.6 on OpenBSD 4.4

2008-11-16 Thread Andrei Pirvan
1. Why does it say Starting Pure-FTPd? Have no ideea. Anyway, Pure-FTPd is already installed on the system, but don't know why it shows here. 2. Nothing in the httpd error log? # tail /var/www/logs/error_log [Sat Nov 15 00:19:04 2008] [error] [client 192.168.1.2] file permissions deny server

Re: apache 1.3.29 + PHP 5.2.6 on OpenBSD 4.4

2008-11-16 Thread Girish Venkatachalam
On 08:04:25 Nov 17, Andrei Pirvan wrote: Hello The problem I have is that default apache can't load PHP module. PHP was installed from packages (php5-core-5.2.6.tgz), so here is nothing custom made. The only error I have is when I try to start apache is when I make a configtest. #

Re: apache 1.3.29 + PHP 5.2.6 on OpenBSD 4.4

2008-11-16 Thread Andrei Pirvan
Try the httpd -u switch to run it outside /var/www chroot. # httpd -u Syntax error on line 1 of /var/www/conf/modules/php5.conf: Cannot load /usr/local/lib/php/libphp5.so into server: Cannot load specified object Anyway, afaik the chroot is applied after loading the modules.

Re: apache 1.3.29 + PHP 5.2.6 on OpenBSD 4.4

2008-11-16 Thread Daniel Ouellet
Try the httpd -u switch to run it outside /var/www chroot. This doesn't apply here because the library is pre-loaded before the httpd is chrooted. More details: Pre-loading Shared Libraries To extend the functionality of the webserver it can dynamically load shared libraries, e.g. a

Re: apache 1.3.29 + PHP 5.2.6 on OpenBSD 4.4

2008-11-16 Thread Gábri Máté
2008/11/17 Andrei Pirvan [EMAIL PROTECTED] 1. Why does it say Starting Pure-FTPd? Have no ideea. Anyway, Pure-FTPd is already installed on the system, but don't know why it shows here. 2. Nothing in the httpd error log? # tail /var/www/logs/error_log [Sat Nov 15 00:19:04 2008] [error]

Fresh install question

2008-11-16 Thread Denny White
I've always tried to do a fresh install any time possible, and then copy all my backed up /home and /data stuff back to the new installed system. I'm just trying to figure out if there's a way to keep those 2 slices intact while wiping out and recreating everything else, i.e., /usr, /var, /tmp. I

Re: apache 1.3.29 + PHP 5.2.6 on OpenBSD 4.4

2008-11-16 Thread Andrei Pirvan
Is there a new line character at the end of this line: LoadModule php5_module /usr/local/lib/php/libphp5.so Removed the line, but still no luck, I get the same error.

Re: apache 1.3.29 + PHP 5.2.6 on OpenBSD 4.4

2008-11-16 Thread Daniel Ouellet
Andrei Pirvan wrote: 1. Why does it say Starting Pure-FTPd? Have no ideea. Anyway, Pure-FTPd is already installed on the system, but don't know why it shows here. May be you have a link, or modules for it in your configuration: # ls -la /var/www/conf/modules/ total 8 drwxr-xr-x 2 root

Re: Trouble setting up wireless

2008-11-16 Thread Karl Karlsson
2008/11/17 Dan [EMAIL PROTECTED]: Hello. I am trying to set up an encrypted wireless network using at least WEP or, if possible WPA-PSK. I know WPA-PSK is a very new functionality, and wonder if anyone is using it successfuly. I have tried WEP and WPA-PSK as per the manual page for 'ral',