HP DL320 G6 shared network adapter not working

2011-05-10 Thread Peter van Oord van der Vlies
Hello misc,

I am installing several HP DL320G6 servers and see there are some problems
with the Network Adapter that is shared with ILO2 .

When openbsd boots the ILO adapter becomes unavailable and within openbsd the
interface bge0 is not usable. It's connected at 10BaseT but in real it's
connected at 1000baseT .
Ifconfig :

bge0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500
lladdr 1c:c1:de:f9:c6:50
priority: 0
media: Ethernet autoselect (10baseT full-duplex)
status: active

See below dmesg output :

OpenBSD 4.9 (GENERIC.MP) #794: Wed Mar  2 07:19:02 MST 2011
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Xeon(R) CPU E5502 @ 1.87GHz (GenuineIntel 686-class) 1.87
GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3
,CX16,xTPR,PDCM,DCA,SSE4.1,SSE4.2,POPCNT
real mem  = 3747340288 (3573MB)
avail mem = 3675897856 (3505MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 12/31/99, BIOS32 rev. 0 @ 0xf,
SMBIOS rev. 2.7 @ 0xdf7fe000 (134 entries)
bios0: vendor HP version W07 date 01/29/2011
bios0: HP ProLiant DL320 G6
acpi0 at bios0: rev 2
acpi0: sleep states S0 S4 S5
acpi0: tables DSDT FACP SPCR MCFG HPET  SPMI ERST APIC SRAT  BERT HEST
DMAR SSDT SSDT SSDT
acpi0: wakeup devices PCI0(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimcfg0 at acpi0 addr 0xe000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 16 (boot processor)
cpu0: apic clock running at 133MHz
cpu1 at mainbus0: apid 20 (application processor)
cpu1: Intel(R) Xeon(R) CPU E5502 @ 1.87GHz (GenuineIntel 686-class) 1.87
GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3
,CX16,xTPR,PDCM,DCA,SSE4.1,SSE4.2,POPCNT
ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins
ioapic1 at mainbus0: apid 0 pa 0xfec8, version 20, 24 pins
acpiprt0 at acpi0: bus 1 (IP2P)
acpiprt1 at acpi0: bus 3 (NIB1)
acpiprt2 at acpi0: bus 4 (IPT5)
acpiprt3 at acpi0: bus -1 (PRB2)
acpiprt4 at acpi0: bus 10 (PT07)
acpiprt5 at acpi0: bus 7 (PT03)
acpiprt6 at acpi0: bus 13 (PT01)
acpiprt7 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0: C3, C3, C1
acpicpu1 at acpi0: C3, C3, C1
acpitz0 at acpi0: critical temperature 31 degC
bios0: ROM list: 0xc/0xb000 0xcb000/0x4000! 0xcf000/0x1a00
ipmi at mainbus0 not configured
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 5500 Host rev 0x13
ppb0 at pci0 dev 1 function 0 Intel X58 PCIE rev 0x13
pci1 at ppb0 bus 13
bnx0 at pci1 dev 0 function 0 Broadcom BCM5709 rev 0x20: apic 0 int 4 (irq
7)
bnx1 at pci1 dev 0 function 1 Broadcom BCM5709 rev 0x20: apic 0 int 16 (irq
11)
ppb1 at pci0 dev 3 function 0 Intel X58 PCIE rev 0x13
pci2 at ppb1 bus 7
ppb2 at pci0 dev 7 function 0 Intel X58 PCIE rev 0x13
pci3 at ppb2 bus 10
ciss0 at pci3 dev 0 function 0 Hewlett-Packard Smart Array rev 0x01: apic 0
int 6 (irq 7)
ciss0: 1 LD, HW rev 2, FW 3.00/3.00, 64bit fifo rro
scsibus0 at ciss0: 1 targets
sd0 at scsibus0 targ 0 lun 0: HP, LOGICAL VOLUME, 3.00 SCSI3 0/direct fixed
sd0: 286070MB, 512 bytes/sec, 585871964 sec total
pchb1 at pci0 dev 13 function 0 vendor Intel, unknown product 0x343a rev
0x13
pchb2 at pci0 dev 13 function 1 vendor Intel, unknown product 0x343b rev
0x13
pchb3 at pci0 dev 13 function 2 vendor Intel, unknown product 0x343c rev
0x13
pchb4 at pci0 dev 13 function 3 vendor Intel, unknown product 0x343d rev
0x13
pchb5 at pci0 dev 13 function 4 Intel 5520/X58 QuickPath rev 0x13
pchb6 at pci0 dev 13 function 5 Intel 5520 QuickPath rev 0x13
pchb7 at pci0 dev 13 function 6 vendor Intel, unknown product 0x341a rev
0x13
pchb8 at pci0 dev 14 function 0 vendor Intel, unknown product 0x341c rev
0x13
pchb9 at pci0 dev 14 function 1 vendor Intel, unknown product 0x341d rev
0x13
pchb10 at pci0 dev 14 function 2 vendor Intel, unknown product 0x341e rev
0x13
pchb11 at pci0 dev 14 function 3 vendor Intel, unknown product 0x341f rev
0x13
pchb12 at pci0 dev 14 function 4 vendor Intel, unknown product 0x3439 rev
0x13
Intel X58 Misc rev 0x13 at pci0 dev 20 function 0 not configured
Intel X58 GPIO rev 0x13 at pci0 dev 20 function 1 not configured
Intel X58 RAS rev 0x13 at pci0 dev 20 function 2 not configured
uhci0 at pci0 dev 26 function 0 Intel 82801JI USB rev 0x00: apic 8 int 20
(irq 5)
uhci1 at pci0 dev 26 function 1 Intel 82801JI USB rev 0x00: apic 8 int 23
(irq 7)
uhci2 at pci0 dev 26 function 2 Intel 82801JI USB rev 0x00: apic 8 int 22
(irq 10)
ehci0 at pci0 dev 26 function 7 Intel 82801JI USB rev 0x00: apic 8 int 22
(irq 10)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb3 at pci0 dev 28 function 0 Intel 82801JI PCIE rev 0x00
pci4 at ppb3 bus 2
ppb4 at pci4 dev 0 function 0 ServerWorks 

Re: Creating release using site48.tgz

2011-05-10 Thread Henning Brauer
* Andrew Fresh and...@afresh1.com [2011-05-10 02:20]:
 On Mon, May 09, 2011 at 04:59:17PM -0700, Stefan N wrote:
  Are my steps correct?
 
 Close, but install sets are created in /usr/release

no. they are created in $RELEASEDIR. this is the first time i see
/usr/release. you might be the only one using that.

I use /snapshots/$arch-$timestamp. theo uses a dir under /home. art is
using sth else. thib is using something different. as in, there is no
one well known (let alone standard) $RELEASEDIR.

in the end siteXY.tgz just needs to be in the same dir as baseXZ.tgz
and friends (ok, not even really necessarily, but easier that way).

-- 
Henning Brauer, h...@bsws.de, henn...@openbsd.org
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting



Re: Creating release using site48.tgz

2011-05-10 Thread Alexander Hall
On 05/10/11 11:16, Henning Brauer wrote:
 * Andrew Fresh and...@afresh1.com [2011-05-10 02:20]:
 On Mon, May 09, 2011 at 04:59:17PM -0700, Stefan N wrote:
 Are my steps correct?

 Close, but install sets are created in /usr/release
 
 no. they are created in $RELEASEDIR. this is the first time i see
 /usr/release. you might be the only one using that.
 
 I use /snapshots/$arch-$timestamp. theo uses a dir under /home. art is
 using sth else. thib is using something different. as in, there is no
 one well known (let alone standard) $RELEASEDIR.

OMG, that does it.

We really need the Filesystem Hierarchy Standard to help us here! ;-)

 
 in the end siteXY.tgz just needs to be in the same dir as baseXZ.tgz
 and friends (ok, not even really necessarily, but easier that way).



Re: Creating release using site48.tgz

2011-05-10 Thread Henning Brauer
* Alexander Hall ha...@openbsd.org [2011-05-10 11:33]:
 On 05/10/11 11:16, Henning Brauer wrote:
  * Andrew Fresh and...@afresh1.com [2011-05-10 02:20]:
  On Mon, May 09, 2011 at 04:59:17PM -0700, Stefan N wrote:
  Are my steps correct?
 
  Close, but install sets are created in /usr/release
  
  no. they are created in $RELEASEDIR. this is the first time i see
  /usr/release. you might be the only one using that.
  
  I use /snapshots/$arch-$timestamp. theo uses a dir under /home. art is
  using sth else. thib is using something different. as in, there is no
  one well known (let alone standard) $RELEASEDIR.
 
 OMG, that does it.
 
 We really need the Filesystem Hierarchy Standard to help us here! ;-)

oh yeah, let us find a solution for that.
and afterwards we can make up a problem that this solution solves.

-- 
Henning Brauer, h...@bsws.de, henn...@openbsd.org
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting



html5 video and browsers

2011-05-10 Thread LEVAI Daniel
Hi!

I'm trying out youtube with html5 videos, and I have few question to the
fellow video watchers.

In mozilla-firefox I can't even enable html5 in youtube :/
In chrome the video plays, but without sound.
In xxxterm everything works perfectly.

Is it normal that the fullscreen playback is slow and laggy on a
moderate hardware (i386, ThinkPad T60, Intel(R) CPU T2400 @ 1.83GHz)?

What are your experiences?


Daniel

-- 
LIVAI Daniel
PGP key ID = 0x83B63A8F
Key fingerprint = DBEC C66B A47A DFA2 792D  650C C69B BE4C 83B6 3A8F



Re: [Bulk] html5 video and browsers

2011-05-10 Thread Kevin Chadwick
On Tue, 10 May 2011 12:04:50 +0200
LEVAI Daniel wrote:

 Hi!
 
 I'm trying out youtube with html5 videos, and I have few question to the
 fellow video watchers.
 
 In mozilla-firefox I can't even enable html5 in youtube :/

If it's mozilla-firefox 3.6 then you can play html5 video but only in
ogg format. Youtube is using webM now which was introduced in firefox 4.

Video in browsers does seem rather resource hungry. Something to do
with working out where to render what, I suspect but could be way off
the mark. Iplayer is terrible on a decent system I use for mythtv
running flash and linux, though improvements in a more recent nvidia
driver than the one from the repos makes up for some of it's
inefficiency, itvplayer isn't so bad though.

The good news, webm is in it's infancy and should get better and better
unlike flash.



Re: Squid on LAN

2011-05-10 Thread Alessandro Baggi
I've tried the rdrnat without results and I can't put in other vlan, I'm 
trying this at home. Other issue?


Thanks in advance

On  09/05/2011 19:06, Stuart Henderson wrote:

If possible, put the proxy server on a different vlan.

If you can't, try the method in http://www.openbsd.org/faq/pf/rdr.html#rdrnat
It works, but your proxy logs will then only show the firewall's address
rather than the original client addresses.


On 2011-05-09, Alessandro Baggialessandro.ba...@gmail.com  wrote:

Hi list. I've a question about positioning a proxy server into the LAN.
I've tried this in dmz (also in transparent mode + rdr pf), and works
great, but now I'm trying to put this proxy in LAN.
Also in this case it works, but when I try to set it in transparent
mode, and put rdr rules on the firewall (OpenBSD 4.8):

match in on $int proto tcp from $int:network to any port 80 rdr-to
$proxy port 3128

it does not work, and the request seems not be redirected on the proxy.
I've ridden this:

  http://www.openbsd.org/faq/pf/rdr.html

I'm trying to get solution only with pf rules without no results.
Could some point me in the right direction?

Thanks in advance




Re: html5 video and browsers

2011-05-10 Thread David Coppa
On Tue, May 10, 2011 at 12:04 PM, LEVAI Daniel l...@ecentrum.hu wrote:
 Hi!

 I'm trying out youtube with html5 videos, and I have few question to the
 fellow video watchers.

 In mozilla-firefox I can't even enable html5 in youtube :/

Uh!?!
Works perfectly on my system (mozilla-firefox-4.0.1p2)

 In chrome the video plays, but without sound.

This should be investigated, indeed.



Sustilo, BebekDolabi, Armine, Aker, Pierre Cardin, KancaEv, Voit

2011-05-10 Thread Modamol Kampanya
--- Autogenerated message ---
http://www.anp.se/newsletterweb/1181048/4844584273424B58477141405143



problem with download limit

2011-05-10 Thread OpenBSD Geek
Hi,

I meet a strange problem, at work, i have a firewall using OpenBSD 4.8
with PF enabled.
OpenBSD 4.8 with 2 network cards 10/100 MB, net.inet.ip.forwarding=1

When i try to download (with a computer in our lan) a file 001.dmg, it
downloads at a speed like 32 Ko/s (max). I tried to disable PF : 'pfctl -d'
and on the firewall download it using wget, it always downloads at 32 Ko.
So the problem isn't the pf ruleset.

Now i remove the firewall, and put a win7 Machine with the public address,
it downloads at 82 Ko/s.

I don't understand why the OpenBSD Box limit my download. 
Any idea ?

Thank you very much.

Wesley.


Here my ifconfig :
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33200
priority: 0
groups: lo
inet 127.0.0.1 netmask 0xff00
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 00:50:fc:47:05:00
priority: 0
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 192.168.0.2 netmask 0xff00 broadcast 192.168.0.255
inet6 fe80::250:fcff:fe47:500%rl0 prefixlen 64 scopeid 0x1
rl1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 00:e0:4c:ab:34:96
priority: 0
groups: egress
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet #public_ip#
inet6 fe80::2e0:4cff:feab:3496%rl1 prefixlen 64 scopeid 0x2
enc0: flags=0 mtu 1536
priority: 0
pflog0: flags=141UP,RUNNING,PROMISC mtu 33200
priority: 0
groups: pflog



Re: html5 video and browsers

2011-05-10 Thread Jona Joachim
On 2011-05-10, LEVAI Daniel l...@ecentrum.hu wrote:
 Hi!

 I'm trying out youtube with html5 videos, and I have few question to the
 fellow video watchers.

 In mozilla-firefox I can't even enable html5 in youtube :/

Works perfectly for me.

 In chrome the video plays, but without sound.
 In xxxterm everything works perfectly.

It also works flawlessly for me in webkit-based browsers like midori or
xxxterm. I don't know about chromium though.

 Is it normal that the fullscreen playback is slow and laggy on a
 moderate hardware (i386, ThinkPad T60, Intel(R) CPU T2400 @ 1.83GHz)?

Why run i386 on a T60?


Best regards,
Jona

-- 
Worse is better
Richard P. Gabriel



Re: html5 video and browsers

2011-05-10 Thread Paul de Weerd
On Tue, May 10, 2011 at 12:05:00PM +, Jona Joachim wrote:
|  Is it normal that the fullscreen playback is slow and laggy on a
|  moderate hardware (i386, ThinkPad T60, Intel(R) CPU T2400 @ 1.83GHz)?
| 
| Why run i386 on a T60?

Because that CPU does not support amd64[1].

Paul 'WEiRD' de Weerd

[1]: http://ark.intel.com/Product.aspx?id=27235

-- 
[++-]+++.+++[---].+++[+
+++-].++[-]+.--.[-]
 http://www.weirdnet.nl/ 



Re: [Bulk] html5 video and browsers

2011-05-10 Thread LEVAI Daniel
On Tue, May 10, 2011 at 11:33:44 +, Kevin Chadwick wrote:
 On Tue, 10 May 2011 12:04:50 +0200
 LEVAI Daniel wrote:
 
  Hi!
  
  I'm trying out youtube with html5 videos, and I have few question to the
  fellow video watchers.
  
  In mozilla-firefox I can't even enable html5 in youtube :/
 
 If it's mozilla-firefox 3.6 then you can play html5 video but only in
 ogg format. Youtube is using webM now which was introduced in firefox 4.
I'm using 4.0rc2 from packages. But I see now that in the tree, there is
a newer version. I'll wait for a package update.


Daniel

-- 
LIVAI Daniel
PGP key ID = 0x83B63A8F
Key fingerprint = DBEC C66B A47A DFA2 792D  650C C69B BE4C 83B6 3A8F



Re: html5 video and browsers

2011-05-10 Thread Stuart Henderson
On 2011-05-10, Paul de Weerd we...@weirdnet.nl wrote:
 On Tue, May 10, 2011 at 12:05:00PM +, Jona Joachim wrote:
|  Is it normal that the fullscreen playback is slow and laggy on a
|  moderate hardware (i386, ThinkPad T60, Intel(R) CPU T2400 @ 1.83GHz)?
| 
| Why run i386 on a T60?

 Because that CPU does not support amd64[1].

There are plenty of valid reasons why you might want to run i386
on 64-bit-capable hardware.



Re: Creating release using site48.tgz

2011-05-10 Thread Stefan N
I was making the site48.tgz for testing and there is only /etc/rc.firsttime. 
There is a command line to create some new users for this purpose.

The next step was I put the site48.tgz on /home/OpenBSD/4.8/amd64 (the same 
folder where base48.tgz, etc48.tgz etc there) and make iso file using mkhybrid.

During the installation using the new iso file, the site48.tgz is displayed on 
the menu and I was able to include in as a set (by clicking +site48.tgz) and 
the 
installation was successfull.

However, after I log in to the new system, the new users that I created (using 
some command line on /etc/rc.firsttime file inside site48.tgz) do not exist at 
all. I have tested /etc/rc.firsttime on another machine by copying rc.firsttime 
on /etc folder and reboot manually and it works normally.

Is there a way to check what went wrong here?

Below is the sample of the content of rc.firsttime:
#!/bin/ksh

#creating the detail for fwadmin account
groupadd -g 1011 fwadmin
useradd -p '$2a$06$rJ5kpL.4nZ.qQPHnbO' -u 1011 -s /bin/ksh -m -g fwadmin fwadmin

Regards,
Stefanus






From: Andrew Fresh and...@afresh1.com
To: misc@openbsd.org
Sent: Tue, May 10, 2011 8:40:28 AM
Subject: Re: Creating release using site48.tgz

On Mon, May 09, 2011 at 05:28:12PM -0700, Stefan N wrote:
 Thanks. By the way, I don't see the release directory inside the source 
 file(/usr/src) directory.
 Does it mean that I need to create directory mkdir /usr/release first  if my 
 source files is at /usr/src?

The release man page does describe creating RELEASEDIR

# mkdir -p ${DESTDIR} ${RELEASEDIR}

I generally set RELEASEDIR=/usr/release, but it can really be a path
anywhere you want your sets.  The important part is that site48.tgz is
in the same directory as the rest of the install sets.


l8rZ,
-- 
andrew - http://afresh1.com

Computer Science: solving today's problems tomorrow.



DHCP client question. bug ?

2011-05-10 Thread Per-Olov Sjöholm
Hi misc

I think there maybe is a bug in the dhcp client. I am not sure but will ask
the list...

I have have had the following:
em0: lan static IP
em1: internet interface with static IP
a default route to the isp is in mygate

I had to add a dhcp interface to this
This means I added dhcp to the hostname.bge0 interface

When I got the IP from the dhcp config on the bge0 interface it destroyed the
mygate and resolv.conf files and the default gateway was now going over to the
bge0 instead (expected though)...

I then changed the dhclient.conf to just contain the bge0 interface and the
row:
request subnet-mask;

This looks good as I want ONLY the IP and MASK from the DHCP-server and not
the gw and dns servers. However with this config the default gateway is
removed but not replaced with the gateway from the dhcp.


Question:
Why is the default gateway destroyed by the dhcp config?

This system uses OpenBSD 4.6 stable

Tnx in advance

/Per-Olov
--
GPG keyID: 5231C0C4
GPG fingerprint: B232 3E1A F5AB 5E10 7561 6739 766E D29D 5231 C0C4
GPG key:
http://wwwkeys.eu.pgp.net/pks/lookup?op=getsearch=0x766ED29D5231C0C4



Re: Creating release using site48.tgz

2011-05-10 Thread Ingo Schwarze
Hi Stefanus,

Stefan N wrote on Tue, May 10, 2011 at 06:51:53AM -0700:

 I was making the site48.tgz for testing
 and there is only /etc/rc.firsttime. 

That's the one file you don't want to put in there.

[...]
 However, after I log in to the new system, the new users
 that I created (using some command line on /etc/rc.firsttime
 file inside site48.tgz) do not exist at all.

Quoting from

  http://www.openbsd.org/faq/faq4.html#site

  This will happen if install.site is used to append any such commands
   to an rc.firsttime(8) file (appending to this file is neccessary since
   the installer itself may write to this file).

I guess your rc.firsttime was overwritten by the installer.

Yours,
  Ingo



Re: html5 video and browsers

2011-05-10 Thread Jona Joachim
On Tue, May 10, 2011 at 02:23:16PM +0200, Paul de Weerd wrote:
 On Tue, May 10, 2011 at 12:05:00PM +, Jona Joachim wrote:
 |  Is it normal that the fullscreen playback is slow and laggy on a
 |  moderate hardware (i386, ThinkPad T60, Intel(R) CPU T2400 @ 1.83GHz)?
 | 
 | Why run i386 on a T60?
 
 Because that CPU does not support amd64[1].

Oh, well sorry, I didn't know they made them with different CPUs, I
thought they all had a 64 bit Core Duo CPU.

Best regards,
Jona

-- 
Worse is better
Richard P. Gabriel



Re: Creating release using site48.tgz

2011-05-10 Thread Stefan N
Hi Ingo,

So what you meant is:
I need to create the install.site script with the content of some commands that 
I made for rc.firsttime.
After that I need to put install.site script inside site48.tgz?

I am quite confused with the explanation from FAQ.
In this case, I can create site48.tgz with the content of (install.site, 
sudoers 
etc etc)
For the install.site script , I can write some commands like:
#!/bin/ksh

#creating the detail for fwadmin account
groupadd -g 1011 fwadmin
useradd -p '$2a$06$rJ5kpL.4nZ.qQPHnbO' -u 1011 -s /bin/ksh -m -g fwadmin fwadmin

For customized /etc/sudoers, I will add in inside site48.tgz.

Regards,
Stefanus





From: Ingo Schwarze schwa...@usta.de
To: Stefan N stefanbsd...@yahoo.com
Cc: misc@openbsd.org
Sent: Tue, May 10, 2011 10:50:58 PM
Subject: Re: Creating release using site48.tgz

Hi Stefanus,

Stefan N wrote on Tue, May 10, 2011 at 06:51:53AM -0700:

 I was making the site48.tgz for testing
 and there is only /etc/rc.firsttime. 

That's the one file you don't want to put in there.

[...]
 However, after I log in to the new system, the new users
 that I created (using some command line on /etc/rc.firsttime
 file inside site48.tgz) do not exist at all.

Quoting from

  http://www.openbsd.org/faq/faq4.html#site

  This will happen if install.site is used to append any such commands
   to an rc.firsttime(8) file (appending to this file is neccessary since
   the installer itself may write to this file).

I guess your rc.firsttime was overwritten by the installer.

Yours,
  Ingo



Re: Creating release using site48.tgz

2011-05-10 Thread Ingo Schwarze
Hi Stefanus,

Stefan N wrote on Tue, May 10, 2011 at 08:11:53AM -0700:

 So what you meant is:
 I need to create the install.site script with the content of some
 commands that I made for rc.firsttime.

No, that is not what i meant and not what the FAQ says.
However, in your particular case, it might work as well,
given that you only want to run groupadd and useradd.
That will probably work even before the first reboot.

What the FAQ says it that the install.site script can write commands
to /etc/rc.firsttime, keeping any existing content, appending them
at the end, as in

  echo 'groupadd -g 1011 fwadmin'  /etc/rc.firsttime

 After that I need to put install.site script inside site48.tgz?

Yes.

 I am quite confused with the explanation from FAQ.

Suggestions for improvement are always welcome; however, i don't see
anything right now that might cause confusion.

[...]
 For customized /etc/sudoers, I will add in inside site48.tgz.

Yes.

Yours,
  Ingo



Re: problem with download limit

2011-05-10 Thread Kevin Chadwick
On Tue, 10 May 2011 15:55:29 +0400
OpenBSD Geek wrote:

 Any idea ?
media: Ethernet autoselect (100baseTX full-duplex)

Not sure, there's certainly not enough info here. PF won't cause
that unless you have some queuing limit. Maybe you have an
autonegotiation conflict. You could try setting all devices to
100baseTX full-duplex.



Re: Creating release using site48.tgz

2011-05-10 Thread Stefan N
Hi Ingo,

Thanks a lot. I will try again.

Regards,
Stefanus





From: Ingo Schwarze schwa...@usta.de
To: Stefan N stefanbsd...@yahoo.com
Cc: misc@openbsd.org
Sent: Tue, May 10, 2011 11:31:53 PM
Subject: Re: Creating release using site48.tgz

Hi Stefanus,

Stefan N wrote on Tue, May 10, 2011 at 08:11:53AM -0700:

 So what you meant is:
 I need to create the install.site script with the content of some
 commands that I made for rc.firsttime.

No, that is not what i meant and not what the FAQ says.
However, in your particular case, it might work as well,
given that you only want to run groupadd and useradd.
That will probably work even before the first reboot.

What the FAQ says it that the install.site script can write commands
to /etc/rc.firsttime, keeping any existing content, appending them
at the end, as in

  echo 'groupadd -g 1011 fwadmin'  /etc/rc.firsttime

 After that I need to put install.site script inside site48.tgz?

Yes.

 I am quite confused with the explanation from FAQ.

Suggestions for improvement are always welcome; however, i don't see
anything right now that might cause confusion.

[...]
 For customized /etc/sudoers, I will add in inside site48.tgz.

Yes.

Yours,
  Ingo



problem with quote

2011-05-10 Thread gdrm
Hi misc!

I'v a problem with quote:

$ sudo vi /etc/fstab
[ . . . ]
/dev/sd0l /home ffs rw,softdep,nodev,nosuid,userquota=/var/quotas/quota.user 1
2
[ . . . ]

$ sudo edquota testuser
Quotas for user dayid:
/usr/home KBytes in use: 0, limits (soft = 102400, hard = 112640)
  inodes in use: 0, limits (soft = 0, hard = 0)
$ sudo quota -u testuser
Disk quotas for user testuser (uid 1002): none

And if I reboot the system can't mount /home directory.

Thanks all









 --
 Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP
autenticato? GRATIS solo con Email.it http://www.email.it/f

 Sponsor:
 Prenota la Vacanza entro il 20/5 un bambino fino 12 anni in camera con  i
genitori GRATIS (min 7 notti)Pens Compl da Euro 60. Sardegna-Castelsardo Hotel
Pedraladda
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=11443d=10-5



Re: problem with download limit

2011-05-10 Thread Wesley MOUEDINE ASSABY
When PF is enabled on the box, there's no queuing limit.
And disable PF, don't solve the problem. Really, i don't understand why i
download the file at 32Ko/s instead of ~80Ko/s

At work, connection used is SDSL 1M (128 Ko/s = upload and download); We
have 5 Public Ip Adress; ORANGE is the ISP.
At Home, my connection is ADSL 8M (upload is 800K).

What i have tested :
Put a laptop with Windows 7, configure it with a public ip address. I can
download my file at 80 Ko/s
Now, remove the laptop, take a pc, install OpenBSD 4.8, configure the
network card with a public ip address, download the file at 32Ko/s;with
the
same RJ45 Cable*
With the office' firewall, disable pf, same problem, i download at 32
Ko/s.
I try also with an OpenBSD Appliance (soekris), download at 32Ko/s. 

Any idea ??
Thank you very much.

Wesley.

On Tue, 10 May 2011 13:11:14 +, Kevin Chadwick ma1l1i...@yahoo.co.uk
wrote:

Not sure, there's certainly not enough info here. PF won't cause
that unless you have some queuing limit. Maybe you have an
autonegotiation conflict. You could try setting all devices to
100baseTX full-duplex.



Re: html5 video and browsers

2011-05-10 Thread Jacob Meuser
On Tue, May 10, 2011 at 12:21:53PM +0200, David Coppa wrote:
 On Tue, May 10, 2011 at 12:04 PM, LEVAI Daniel l...@ecentrum.hu wrote:
  Hi!
 
  I'm trying out youtube with html5 videos, and I have few question to the
  fellow video watchers.
 
  In mozilla-firefox I can't even enable html5 in youtube :/
 
 Uh!?!
 Works perfectly on my system (mozilla-firefox-4.0.1p2)
 
  In chrome the video plays, but without sound.
 
 This should be investigated, indeed.

this is known.  there is no sound support for OpenBSD in chrome.
instead of using an existin audio API like portaudio, that already
supports mosts OSes (or at least the ones google cares about), they
go and invent another one.  why?  because obviously google focuses
on audio APIs.  that's obviously what google is best at, duh!

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: problem with download limit

2011-05-10 Thread John Jackson
Have you tried downloading from different sites?  What is the latency to
those sites?

You may be running into an issue with bandwidth delay product though I
thought recent OpenBSD releases autotuned the needed parameters.

See http://www.psc.edu/networking/projects/tcptune/ for better
understanding.  Mind you, I'm not suggesting that you tweak knobs
without understanding what they do, I'm just offering possible insight.

John

On Tue, May 10, 2011 at 10:44:50PM +0400, Wesley MOUEDINE ASSABY wrote:
 When PF is enabled on the box, there's no queuing limit.
 And disable PF, don't solve the problem. Really, i don't understand why i
 download the file at 32Ko/s instead of ~80Ko/s
 
 At work, connection used is SDSL 1M (128 Ko/s = upload and download); We
 have 5 Public Ip Adress; ORANGE is the ISP.
 At Home, my connection is ADSL 8M (upload is 800K).
 
 What i have tested :
 Put a laptop with Windows 7, configure it with a public ip address. I can
 download my file at 80 Ko/s
 Now, remove the laptop, take a pc, install OpenBSD 4.8, configure the
 network card with a public ip address, download the file at 32Ko/s;with
 the
 same RJ45 Cable*
 With the office' firewall, disable pf, same problem, i download at 32
 Ko/s.
 I try also with an OpenBSD Appliance (soekris), download at 32Ko/s. 
 
 Any idea ??
 Thank you very much.
 
 Wesley.
 
 On Tue, 10 May 2011 13:11:14 +, Kevin Chadwick ma1l1i...@yahoo.co.uk
 wrote:
 
 Not sure, there's certainly not enough info here. PF won't cause
 that unless you have some queuing limit. Maybe you have an
 autonegotiation conflict. You could try setting all devices to
 100baseTX full-duplex.



Re: problem with download limit

2011-05-10 Thread Tomas Bodzar
Try 4.9 and current(latest snapshot) if possible. Post dmesg,
ifconfig, pcidump -v, netstat -in, netstat -m and systat mbufs

On Tue, May 10, 2011 at 8:44 PM, Wesley MOUEDINE ASSABY
open...@e-solutions.re wrote:
 When PF is enabled on the box, there's no queuing limit.
 And disable PF, don't solve the problem. Really, i don't understand why i
 download the file at 32Ko/s instead of ~80Ko/s

 At work, connection used is SDSL 1M (128 Ko/s = upload and download); We
 have 5 Public Ip Adress; ORANGE is the ISP.
 At Home, my connection is ADSL 8M (upload is 800K).

 What i have tested :
 Put a laptop with Windows 7, configure it with a public ip address. I can
 download my file at 80 Ko/s
 Now, remove the laptop, take a pc, install OpenBSD 4.8, configure the
 network card with a public ip address, download the file at 32Ko/s;with
 the
 same RJ45 Cable*
 With the office' firewall, disable pf, same problem, i download at 32
 Ko/s.
 I try also with an OpenBSD Appliance (soekris), download at 32Ko/s.

 Any idea ??
 Thank you very much.

 Wesley.

 On Tue, 10 May 2011 13:11:14 +, Kevin Chadwick ma1l1i...@yahoo.co.uk
 wrote:

Not sure, there's certainly not enough info here. PF won't cause
that unless you have some queuing limit. Maybe you have an
autonegotiation conflict. You could try setting all devices to
100baseTX full-duplex.



OpenSMTPD and aliases.

2011-05-10 Thread David Walker
Bonjour.

I installed 4.9 today and found that aliasing doesn't work as per
included sendmail files and so on but there's a workaround available
from the archives that get's me where I want to be.
So, notification (hi Gilles) of a continuing issue from 4.8 with a
slightly different log entry and a nudge for anyone else that's
struggling with aliases to local from outside.

For the speed readers:

This won't work in aliases ...
postmaster:root

This will work in aliases ...
postmaster:root@your.domain

In the first instance, mail to postmaster@ won't get rejected and it
won't get to root's account ... it will get caught in a local loop
(reported in the logs) and get nowhere.

In the second instance, mail to postmaster@ will get to root's account.

Problem: http://marc.info/?l=openbsd-miscm=129656834314699w=2
Workaround: http://marc.info/?l=openbsd-miscm=129437721417326w=2

cat smtpd.conf:

server=my.domain

listen on lo0
listen on external_if

map aliases_local { source plain /etc/mail/aliases_local }

accept from all for domain $server alias aliases_local deliver to mbox
accept from local for all relay

cat aliases_local:

postmaster:root@my.domain

No cats were harmed.
Caveat ... I'm getting my feet wet with mail on smtpd so if this is
expected behaviour ... have a larf and some vino and let me know.

Best wishes.



Re: OpenSMTPD and aliases.

2011-05-10 Thread Gilles Chehade
On Wed, May 11, 2011 at 05:31:54AM +0930, David Walker wrote:
 Bonjour.
 

 [...]
 
 For the speed readers:
 
 This won't work in aliases ...
 postmaster:root
 
 This will work in aliases ...
 postmaster:root@your.domain

 [...]

 No cats were harmed.
 Caveat ... I'm getting my feet wet with mail on smtpd so if this is
 expected behaviour ... have a larf and some vino and let me know.


Nope, it is not expected behavior and it's actually quite a strange bug
as I use lots of aliases on my box and did not ever see this :-/

I got a bad and a good news though.

The bad news is that smtpd's aliases have been broken for a long time.
They are not broken in an unpredictable and unreliable way, but they do not 
always
lead to expansions that one with habit of another mta would expect. This is
particularly true when you have aliases referencing aliases 
(postmaster-root-user
for example) let alone if ~/.forward files are in the way.

The good news ... well, I've rewritten aliases support recently.
It's not yet ready to be committed because it's part of a larger and 
unsplittable
diff that does some pretty invasive cleanups/changes, but it might be ready by 
the
end of this week.

I'll look at your issue to try to understand it but I'm not sure it's even worth
trying to fix the broken aliases knowing they will be gone in a few days. 


 Best wishes.
 

Thanks ;-)


-- 
Gilles - http://users.poolp.org/~gilles/



Master Course: Professional Program Development and Funding Certification (August 17 - 19, 2011: Chicago, IL)

2011-05-10 Thread NAPPPA Announcements
The North American Program Planning and Policy Academy will be conducting
the Certificate in Professional Program Development and Grant Proposal
Writing Master Course in Chicago, Illinois from August 17 - 19, 2011. 
Interested development professionals, researchers, faculty, and graduate
students should register as soon as possible, as demand means that seats
will fill up quickly. Please forward, post, and distribute this e-mail to
your colleagues and listservs.

For more information call (800) 649-6522 or visit The NAPPPA website at
http://www.napppaPrograms.org. Please find the program description
below: 

The Certificate in Professional Program Development and Grant Proposal
Writing Master Course is a three-day, intensive and interactive
experience in which participants will be led through the program
development, grant writing, and funding acquisition processes through the
completion of four courses. This Certificate Program is not a seminar.
Participants will actively engage in exercises and activities designed to
strengthen their mastery of grant acquisition. Through the completion of
varying assignments, students will leave the program with a real grant
proposal outline complete with quality research, solid content, and
expert review.  This program focuses on combining the fundamentals of
grant proposal writing with expert knowledge of fundraising strategies
and principles. The Master Course is complete with advanced communication
and persuasion techniques, customized grant programs for each
participant, and  valuable course material that acts as a resource long
after the course is complete. Definitely an organizational investment,
the culmination of the course is materialized by the completion of the
Program Development Dossier which will allow the recipient certified
professional and their organization an advanced foundation for future
program pursuits, funding applications, and organization development
efforts.

The Certificate in Professional Program Development and Grant Proposal
Writing Master Course will cover the following modules during the three
day master course: 

(1) Program Development and Evaluation

This course is centered around the belief that its all about the
program.  This intensive course will teach professional program
development essentials and program evaluation.  While most grant writing
workshops treat program development and evaluation as separate from the
writing of a proposal, this session will teach students the relationship
between overall program planning and all strategic fundraising, including
grant writing.  Consistent in our belief in strategic fundraising, this
session encourages students to understand successful program development
and to think strategically about funding as an integral part of the
overall program planning process. This class turns participants into
experts by teaching them how to take ideas and concepts and turn them
into professionally developed programs. 

(2) Advanced Grant Proposal Writing

Designed to obtain tangible results, this session will make each
participant an overall proposal writing specialist. In addition to
teaching the basic components of a grant proposal, successful approaches,
and the do's and don'ts of grant writing, this session is infused with
expert principles that will lead to a mastery of the process. Strategy
resides at the forefront of this session's intent to illustrate grant
writing as an integrated, multidimensional, and dynamic endeavor. Each
student will learn to stop writing the grant and to start writing the
story. Ultimately, this course will illustrate how each component of the
grant proposal represents an opportunity to use proven techniques for
generating support. 

(3) Strategic Funding Research

At its foundation, this session will address the basics of foundation,
corporation, and government grant research. However, this course will
emphasize a strategic funding research approach that encourages writers
to see research not as something they do before they write a proposal,
but as an integrated part of the grant  seeking process. Students will be
exposed to online and database research tools, as well as publications
and directories that contain information about foundation, corporation,
and government grant opportunities. Focusing on funding sources and basic
social science research, this course teaches students how to use research
as part of a strategic grant  acquisition effort.

(4) Advanced Fundraising Strategies

This session will provide students with an arsenal of advanced
fundraising strategies based around persuasion and argument techniques.
Centered around expert fundraising and marketing principles, this
strategy session will change the way students conceptualize grant
proposals and other fundraising tools. This course is grounded on the
idea that fundraising and nonprofit development are essential acts of
advocacy and must be treated as such. This session will conclude with a
complete 

Re: problem with download limit

2011-05-10 Thread Daniel Melameth
On Tue, May 10, 2011 at 12:44 PM, Wesley MOUEDINE ASSABY
open...@e-solutions.re wrote:
 When PF is enabled on the box, there's no queuing limit.
 And disable PF, don't solve the problem. Really, i don't understand why i
 download the file at 32Ko/s instead of ~80Ko/s

 At work, connection used is SDSL 1M (128 Ko/s = upload and download); We
 have 5 Public Ip Adress; ORANGE is the ISP.
 At Home, my connection is ADSL 8M (upload is 800K).

 What i have tested :
 Put a laptop with Windows 7, configure it with a public ip address. I can
 download my file at 80 Ko/s
 Now, remove the laptop, take a pc, install OpenBSD 4.8, configure the
 network card with a public ip address, download the file at 32Ko/s;with
 the
 same RJ45 Cable*
 With the office' firewall, disable pf, same problem, i download at 32
 Ko/s.
 I try also with an OpenBSD Appliance (soekris), download at 32Ko/s.

 Any idea ??

Try sysctl net.inet.tcp.recvspace=65535.  This is resolved in 4.9.



Re: enable MFS for RAMDISK_CD on amd64

2011-05-10 Thread Daniel C. Sinclair
On Mon, May 9, 2011 at 1:49 PM, Stuart Henderson s...@spacehopper.org wrote:
 Why?

One situation that it would be useful is netbooting and using
/sbin/restore to rebuild filesystems over the network.  restore needs
to write temporary data to /tmp but the ramdisks don't have enough
space.  It would be handy to be able to mount /tmp on mfs.

I think it would be better it restore didn't write to /tmp, though.

Daniel



Re: enable MFS for RAMDISK_CD on amd64

2011-05-10 Thread Brett Lymn
On Tue, May 10, 2011 at 07:07:43PM -0700, Daniel C. Sinclair wrote:
 
 One situation that it would be useful is netbooting and using
 /sbin/restore to rebuild filesystems over the network.  restore needs
 to write temporary data to /tmp but the ramdisks don't have enough
 space.  It would be handy to be able to mount /tmp on mfs.
 
 I think it would be better it restore didn't write to /tmp, though.
 

restore honours TMPDIR.

-- 
Brett Lymn
Warning:
The information contained in this email and any attached files is
confidential to BAE Systems Australia. If you are not the intended
recipient, any use, disclosure or copying of this email or any
attachments is expressly prohibited.  If you have received this email
in error, please notify us immediately. VIRUS: Every care has been
taken to ensure this email and its attachments are virus free,
however, any loss or damage incurred in using this email is not the
sender's responsibility.  It is your responsibility to ensure virus
checks are completed before installing any data sent in this email to
your computer.



Uma das nossas soluções foi feita para si.

2011-05-10 Thread Habiserve
A presente e-newsletter destina-se znica e exclusivamente a informar e nco
pode ser considerada SPAM. De acordo com a legislagco internacional que
regulamenta o correio electrsnico, o e-mail nco podera ser considerado SPAM
quando incluir uma forma do receptor ser removido da lista. Caso o seu nome
faga parte da nossa lista por engano, desde ja apresentamos as nossas
desculpas. Dado que o processo de remogco i automatico, pedimos o favor de
verificar qual o e-mail onde receberam a nossa e-newsletter antes de solicitar
a remogco





Se nco deseja continuar a receber a nossa e-newsletter, clique Cancelar
subscrigco



Re: problem with download limit (resolved)

2011-05-10 Thread Wesley MOUEDINE ASSABY
I try this on our firewall (OpenBSD 4.8 -stable)
sysctl -w net.inet.tcp.recvspace=65535

the default value was : 16384

Thank's to Daniel Melameth

Cheers,

Wesley MOUEDINE ASSABY
www.mouedine.net

On Tue, 10 May 2011 15:59:09 -0600, Daniel Melameth dan...@melameth.com
wrote:
Try sysctl net.inet.tcp.recvspace=65535.  This is resolved in 4.9.