Re: Editing PDF files

2010-01-05 Thread Jorge Castillo
Last time I needed to fill a form I used Evince (in Ubuntu before I started 
using OpenBSD) it apparently worked fine, why don't you try it.



- Original Message 
 From: Predrag Punosevac punoseva...@gmail.com
 To: misc@openbsd.org
 Sent: Mon, January 4, 2010 10:20:52 PM
 Subject: Editing PDF files
 
 I hope, I am not going to annoy too many people with this rather general
 question. 
 
 I have some PDF form that I need to fill in. I thought that I would be 
 able to accomplish the job in couple of minutes. Namely, my idea was
 to convert PDf file to PS file and then to use pstoedit to convert the
 PostScript file into fig file. Then like in old good times I would just
 add text to fig file and export to PDF. Just to be on the safe side I 
 was to do the above process a single page at the time. 
 
 My problem is that pstoedit is producing a huge non-usable fig file.
 
 What would be more claver way to accomplish above task short of buying
 Acrobat or using on-line PDF editing tools and exposing my private 
 information.
 
 I heard that KOffice and Scribe have the ability to edit PDF file as
 well as Gimp. I am somewhat familiar with PDFEdit even though it is not
 ported to OpenBSD and not very enthusiastic about its abilities.
 
 Most Kind Regards,
 Predrag Punosevac



Re: Maximizing File/Network I/O

2010-01-05 Thread nixlists
On Tue, Jan 5, 2010 at 1:45 AM, Bret S. Lambert blamb...@openbsd.org wrote:
 Start with mount_nfs options, specifically -r and -w; I assume that
 you would have mentioned tweaking those if you had already done so.

Setting -r and -w to 16384, and jumbo frames to 9000 yields just a
couple of MB/s more. Far from 10 MB/s more the network can do ;(



Re: Maximizing File/Network I/O

2010-01-05 Thread Tomas Bodzar
There is much more to do. You can find some ideas eg. here
http://www.openbsd.org/papers/tuning-openbsd.ps . It's good idea to
follow outputs of systat, vmstat and top for some time to find
bottlenecks.

On Tue, Jan 5, 2010 at 9:04 AM, nixlists nixmli...@gmail.com wrote:
 On Tue, Jan 5, 2010 at 1:45 AM, Bret S. Lambert blamb...@openbsd.org wrote:
 Start with mount_nfs options, specifically -r and -w; I assume that
 you would have mentioned tweaking those if you had already done so.

 Setting -r and -w to 16384, and jumbo frames to 9000 yields just a
 couple of MB/s more. Far from 10 MB/s more the network can do ;(





-- 
http://www.openbsd.org/lyrics.html



Re: Bridging between rdomains

2010-01-05 Thread Csaba Szép
2010/1/5 Claudio Jeker cje...@diehard.n-r-g.com:
 On Mon, Jan 04, 2010 at 09:04:49PM +0100, Csaba Szip wrote:
 Hello!

 I trying to bridge two rdomain with vether device, but it doesnt works
 for me. Is it a bug, or i something misunderstand?


 The bridge(4) code is not smart enough to support bridging between
 rdomains. I started looking into it.
 Actually it is impossible to pass traffic between two local interfaces.
 It is on my list to look at during n2k10

 --
 :wq Claudio



Oh thank you, so this was the problem.



Re: smtpd + dovecot: virtual map trouble

2010-01-05 Thread Gregory Edigarov
On Mon, 04 Jan 2010 14:21:58 -0600
Jacob Yocom-Piatt j...@fixedpointgroup.com wrote:

 i am working on a new production mailserver using smtpd for an mta
 and dovecot for serving mail. i have run into a problem where i would
 like to use the same authentication mechanism for smtpd and dovecot
 so there is only one password database to maintain.
 
 as best i can tell i need to use system accounts and virtual user
 maps to get mail to dump into separate directories. the caveat is
 getting either dovecot to understand the virtual user mapping to
 system accounts or smtpd to do smtp authentication through dovecot. i
 would rather use bsdauth than have dovecot handle authentication.
 
 i currently have smtpd setup and delivering mail fine with the
 following config
 
 ext_if = re0
 
 listen on lo0
 listen on $ext_if tls enable auth
 
 map aliases { source db /etc/mail/aliases.db }
 map virtual { source db /etc/mail/virtual.db }
 
 accept for local alias aliases deliver to mbox
 accept from all for virtual virtual deliver to maildir
 /var/vmail/%d/%a accept for all relay
 
 with the virtual map specified like so
 
 us...@domain1.com: user1_dom1
 ...
 us...@domain1.com: userN_dom1
 
 where i have added users user1_dom1 through userN_dom1 with the false 
 shell to the system. all works fine with the mail delivery and relay.
 
 any insight into how i can get dovecot or smtpd to do what i want
 would be appreciated.

I've written a bsdauth module for to authenticate  over pop3.
since smtpd using bsdauth - you can use it. later today I'll put it on
the web to share. 

-- 
With best regards,
Gregory Edigarov



Re: Maximizing File/Network I/O

2010-01-05 Thread Claudio Jeker
On Tue, Jan 05, 2010 at 03:04:53AM -0500, nixlists wrote:
 On Tue, Jan 5, 2010 at 1:45 AM, Bret S. Lambert blamb...@openbsd.org wrote:
  Start with mount_nfs options, specifically -r and -w; I assume that
  you would have mentioned tweaking those if you had already done so.
 
 Setting -r and -w to 16384, and jumbo frames to 9000 yields just a
 couple of MB/s more. Far from 10 MB/s more the network can do ;(
 

Jumbo frames on em(4) will not gane you that much since the driver is
already very efficent. msk(4) is a bit a different story one problem for
high speed low delay links is the interrupt mitigation in those cards.
msk(4) delays packets a lot more then em(4). Plus you should run -current
on msk(4) systems (a few things got fixed at f2k9).

-- 
:wq Claudio



Re: Maximizing File/Network I/O

2010-01-05 Thread Iñigo Ortiz de Urbina
On Tue, Jan 5, 2010 at 9:13 AM, Tomas Bodzar tomas.bod...@gmail.com wrote:

 There is much more to do. You can find some ideas eg. here
 http://www.openbsd.org/papers/tuning-openbsd.ps . It's good idea to
 follow outputs of systat, vmstat and top for some time to find
 bottlenecks.


I recall a message in misc (which I am not able to find on the archives)
about someone posting here the results of his research on optimizing and
improving OpenBSD overall performance (fs, network, etc).

Among the links he posted on his comprehensive compilation, he sent
tuning-openbsd.ps.

I remember one reply of a developer stating that some of those tuning
measures are not needed anymore as OpenBSD has grown quite a bit since that
time. Which are the recommended -always working- directions, then, to tune a
system for its particular needs?

My point is we all have to be careful and not follow guides or try values on
sysctls blindly (although experimenting is welcome and healthy) as we can
harm more than benefit we can get. Still, some enviroments will need
adjustment to push much more traffic than GENERIC can, and this is a really
hard task to accomplish unless you are a @henning or @claudio :)


 On Tue, Jan 5, 2010 at 9:04 AM, nixlists nixmli...@gmail.com wrote:
  On Tue, Jan 5, 2010 at 1:45 AM, Bret S. Lambert blamb...@openbsd.org
 wrote:
  Start with mount_nfs options, specifically -r and -w; I assume that
  you would have mentioned tweaking those if you had already done so.
 
  Setting -r and -w to 16384, and jumbo frames to 9000 yields just a
  couple of MB/s more. Far from 10 MB/s more the network can do ;(
 
 



 --
 http://www.openbsd.org/lyrics.html



Je sur comptable a la banque BCB je vais virée $6.million a la etranger

2010-01-05 Thread Ashraf Cotu
You are invited to Je sur comptable a la banque BCB je vais virie $6.million a 
la etranger.


By your host Ashraf Cotu:


 Date:  Tuesday January 5, 2010

 Time:  10:00 am - 11:00 am (GMT +00:00)
 Location:  cher ami Salut, je suis MONSIEUR. ASHRAF COTU 
gestionnaire de comptable BANQUE comerciale du Burkina (BCB) Je veux transfirer 
$6.million(USD) sur un compte itranger, si vous voulez m'aider, je vous 
enverrai tous les ditails sur la fagon dont il sera fait et Notez igalement que 
vous aurez 30% du montant. Si vous jtes d'accord pour m'aider ` exicuter cette 
opiration riponse me dhs que posssible, et s'il vous plant tenir comfidential

Guests:

 * repcom...@bluewin.ch
 * petric...@yahoo.com
 * yusufibragi...@yahoo.com
 * shaminashal...@yahoo.com
 * adio...@yahoo.com
 * kawa...@lavache.com
 * e...@visitmail.com
 * combl...@free.fr
 * speciestecero...@yahoo.com
 * maisonchap...@yahoo.com
 * hommesmaisonchap...@yahoo.com
 * emferrei...@yahoo.com.br
 * bessiepe...@yahoo.comhasta
 * mrmeu...@yahoo.com
 * ko...@free.fr
 * maurogarciac...@yahoo.com
 * sifonte...@yahoo.com
 * jorgealujasanda...@yahoo.com.mx
 * alvaroyo...@yahoo.com.mx
 * artfranc...@hotmail.com
 * kitchen-pho...@yahoo.com
 * filiped...@yahoo.fr
 * oldcel...@yahoo.com
 * cocodrilo200...@yahoo.com
 * ricardovivan...@yahoo.com
 * emiliaca...@yahoo.com.ar
 * bog1...@yahoo.com
 * ge...@cncascais.com
 * minobi...@hotmail.com
 * toltecap...@yahoo.com.br
 * da_m...@yahoo.com
 * minoram2...@yahoo.fr
 * m...@yahoo.fr
 * mir...@hotmail.fr
 * mis...@hotmail.fr
 * m...@hotmail.com
 * misc@openbsd.org
 * diveclim...@yahoo.com
 * mino-le-pailla...@hotmail.fr
 * j.gilles...@ulster.ac.uk
 * wal...@sheffield.ac.uk
 * dqpust...@yahoo.com
 * edaw...@skypro.be
 * ela0...@gold.ac.uk
 * mediat...@education.gouv.fr
 * m...@cc.nara-wu.ac.jp
 * jerome.ague...@telefun.fr
 * ayzan...@yahoo.com
 * mek...@yahoo.fr
 * meu...@yahoo.fr
 * nivom...@yahoo.fr
 * saleh_alou...@mwi.go.jo
 * saleh_1...@yahoo.com
 * yawa...@pwa-pna.org
 * yawa...@yahoo.com
 * e.m...@semide.org
 * papai...@yahoo.com
 * povman...@yahoo.com
 * hafid.m...@yahoo.fr
 * .tanger...@hotmail.commoomena_moomena
 * yahoo.commoomena_moom...@yahoo.comtamazight87
 * alexlascara...@yahoo.com
 * will...@yahoo.com
 * liorem...@libero.it
 * maena...@yahoo.com
 * algerie--hani...@yahoo.com--kouider
 * nouioua--hani...@yahoo.com--
 * candidat.m...@yahoo.fr
 * tier...@yahoo.com
 * ayikae...@yahoo.com
 * alex_...@yahoo.com
 * ph...@yahoo.com
 * madm...@intnet.mu
 * afdup...@yahoo.com
 * lectoriumcamero...@yahoo.com
 * sma...@yahoo.com
 * nchristiane2...@yahoo.com
 * jow...@yahoo.com
 * 0...@yahoo.com
 * lea_redh...@yahoo.com

invitation_add_to_your_yahoo_calendar:

 
http://calendar.yahoo.com/?v=60ST=20100105T10%2BTITLE=Je+sur+comptable+a+la+banque+BCB+je+vais+vir%c3%a9e+$6.million+a+la+etrangerDUR=0100VIEW=din_loc=cher+ami+Salut,+je+suis+MONSIEUR.+ASHRAF+COTU+gestionnaire+de+comptable+BANQUE+comerciale+du+Burkina+(BCB)+Je+veux+transf%c3%a9rer+$6.million(USD)+sur+un+compte+%c3%a9tranger,+si+vous+voulez+m%27aider,+je+vous+enverrai+tous+les+d%c3%a9tails+sur+la+fa%c3%a7on+dont+il+sera+fait+et+Notez+%c3%a9galement+que+vous+aurez+30%25+du+montant.+Si+vous+%c3%aates+d%27accord+pour+m%27aider+%c3%a0+ex%c3%a9cuter+cette+op%c3%a9ration+r%c3%a9ponse+me+d%c3%a8s+que+posssible,+et+s%27il+vous+pla%c3%aet+tenir+comfidentialTYPE=10


Copyright ) 2010 All Rights Reserved
 www.yahoo.com

Privacy Policy:
 http://privacy.yahoo.com/privacy/us

Terms of Service:
 http://docs.yahoo.com/info/terms/



Re: CUPS alternative

2010-01-05 Thread Chris Bennett

Predrag Punosevac wrote:
I know very little about Windows but I would swear 
that I have seen or read that Windows can speak LPD printing protocol.
I also have no knowledge of Samba but I would swear that I read 
somewhere that supports LPD. 



  
Yes, windows speaks LPD. I just don't know anything about Vista and 
later, though


--
A human being should be able to change a diaper, plan an invasion,
butcher a hog, conn a ship, design a building, write a sonnet, balance
accounts, build a wall, set a bone, comfort the dying, take orders,
give orders, cooperate, act alone, solve equations, analyze a new
problem, pitch manure, program a computer, cook a tasty meal, fight
efficiently, die gallantly. Specialization is for insects.
  -- Robert Heinlein



Re: softraid rebuild

2010-01-05 Thread Marco Peereboom

It is in raid 1. I added an example to the man page not too long ago.

On Jan 4, 2010, at 20:44, nixlists nixmli...@gmail.com wrote:


Hi.

My softraid mirror went into degraded mode (on -current). How to
rebuild? I am trying to follow the bioctl manual page, but I don't
seem to understand the command to throw at it - syntax errors. Is it
supported yet?

Thanks.




Re: newfs for large files

2010-01-05 Thread Marco Peereboom

You should make that mem patch available to reduce fsck surprises.

On Jan 5, 2010, at 0:14, Otto Moerbeek o...@drijf.net wrote:


On Mon, Jan 04, 2010 at 10:28:28PM -0500, nixlists wrote:


Hi.

What are the recommended newfs tweaks for an FS that will store  
mostly

large or very large files? Are defaults sufficient for optimum
performance, or are they mostly a general case for typical OS small
program/text files? Also my guess tweaking with tunefs is useless,
since it's a very old tool? I tried tunefs with larger values than
default, but that makes the kernel either freeze or panic :D

Thanks.


It will work with defaults, but you can use -f and -b to increase
fragment and block sizes to a max of 65536. That will save space on
metadata and make fsck_ffs faster and use less memory.

   -Otto




Insecurity Output about httpd.conf

2010-01-05 Thread Chris Bennett
I don't use a lot of conf files in conf/modules, but yesterday I edited 
my php.conf and httpd.conf.

The two changes were tied to each other for a specific change.

I just got my insecurity output. It only listed changes to httpd.conf.
There was nothing about change to php.conf.

For a while now, since 4.3 httpd.conf has:
Include /var/www/conf/modules/*.conf

Since all conf files in conf/modules essentially ARE httpd.conf as of a 
restart, why aren't these files tracked also?


--
A human being should be able to change a diaper, plan an invasion,
butcher a hog, conn a ship, design a building, write a sonnet, balance
accounts, build a wall, set a bone, comfort the dying, take orders,
give orders, cooperate, act alone, solve equations, analyze a new
problem, pitch manure, program a computer, cook a tasty meal, fight
efficiently, die gallantly. Specialization is for insects.
  -- Robert Heinlein



Re: Maximizing File/Network I/O

2010-01-05 Thread Marco Peereboom

Rpc unfortunately is slow.

On Jan 5, 2010, at 2:04, nixlists nixmli...@gmail.com wrote:

On Tue, Jan 5, 2010 at 1:45 AM, Bret S. Lambert  
blamb...@openbsd.org wrote:

Start with mount_nfs options, specifically -r and -w; I assume that
you would have mentioned tweaking those if you had already done so.


Setting -r and -w to 16384, and jumbo frames to 9000 yields just a
couple of MB/s more. Far from 10 MB/s more the network can do ;(




Re: newfs for large files

2010-01-05 Thread Otto Moerbeek
On Tue, Jan 05, 2010 at 06:18:53AM -0600, Marco Peereboom wrote:

 You should make that mem patch available to reduce fsck surprises.

yes, but I have to tweak it first. Currently it does not take into
account the (expected) number of dirs. It just takes ndirs, which is
pretty low for a new fs ;-)

-Otto

 
 On Jan 5, 2010, at 0:14, Otto Moerbeek o...@drijf.net wrote:
 
 On Mon, Jan 04, 2010 at 10:28:28PM -0500, nixlists wrote:
 
 Hi.
 
 What are the recommended newfs tweaks for an FS that will store
 mostly
 large or very large files? Are defaults sufficient for optimum
 performance, or are they mostly a general case for typical OS small
 program/text files? Also my guess tweaking with tunefs is useless,
 since it's a very old tool? I tried tunefs with larger values than
 default, but that makes the kernel either freeze or panic :D
 
 Thanks.
 
 It will work with defaults, but you can use -f and -b to increase
 fragment and block sizes to a max of 65536. That will save space on
 metadata and make fsck_ffs faster and use less memory.
 
-Otto



Re: Insecurity Output about httpd.conf

2010-01-05 Thread Antoine Jacoutot
On Tue, 5 Jan 2010, Chris Bennett wrote:

 I don't use a lot of conf files in conf/modules, but yesterday I edited my
 php.conf and httpd.conf.
 The two changes were tied to each other for a specific change.
 
 I just got my insecurity output. It only listed changes to httpd.conf.
 There was nothing about change to php.conf.
 
 For a while now, since 4.3 httpd.conf has:
 Include /var/www/conf/modules/*.conf
 
 Since all conf files in conf/modules essentially ARE httpd.conf as of a
 restart, why aren't these files tracked also?

They are not part of the base system.

-- 
Antoine



Re: newfs for large files

2010-01-05 Thread Otto Moerbeek
On Tue, Jan 05, 2010 at 01:29:19PM +0100, Otto Moerbeek wrote:

 On Tue, Jan 05, 2010 at 06:18:53AM -0600, Marco Peereboom wrote:
 
  You should make that mem patch available to reduce fsck surprises.
 
 yes, but I have to tweak it first. Currently it does not take into
 account the (expected) number of dirs. It just takes ndirs, which is
 pretty low for a new fs ;-)

Ok, here you go. This should give an reasonable estimate of the amount
of memory needed to fsck a filesystem. This is a lower bound, actual
memory use can get higher if you have lots of long file names, or lots
of dirs, for example. 

With this diff newfs just prints the number. It's up to yourself to
validate things. I have to think a bit how to incorporate this into
newfs for real. 

-Otto


Index: mkfs.c
===
RCS file: /cvs/src/sbin/newfs/mkfs.c,v
retrieving revision 1.72
diff -u -p -r1.72 mkfs.c
--- mkfs.c  8 Aug 2008 23:49:53 -   1.72
+++ mkfs.c  5 Jan 2010 12:40:45 -
@@ -40,6 +40,7 @@
  */
 
 #include sys/param.h
+#include machine/vmparam.h
 #include sys/time.h
 #include sys/disklabel.h
 #include sys/ioctl.h
@@ -137,6 +138,7 @@ int isblock(struct fs *, unsigned char 
 void   rdfs(daddr64_t, int, void *);
 void   mkfs(struct partition *, char *, int, int,
mode_t, uid_t, gid_t);
+static void checksz(void);
 
 #ifndef STANDALONE
 volatile sig_atomic_t cur_cylno;
@@ -494,6 +496,7 @@ mkfs(struct partition *pp, char *fsys, i
sblock.fs_fpg / sblock.fs_frag, sblock.fs_ipg);
 #undef B2MBFACTOR
}
+   checksz();
 
/*
 * Wipe out old FFS1 superblock if necessary.
@@ -1152,4 +1155,38 @@ ilog2(int val)
return (n);
 
errx(1, ilog2: %d is not a power of 2\n, val);
+}
+
+struct inoinfo {
+struct  inoinfo *i_nexthash;/* next entry in hash chain */
+struct  inoinfo *i_child, *i_sibling, *i_parentp;
+size_t  i_isize;/* size of inode */
+ino_t   i_number;   /* inode number of this entry */  
+ino_t   i_parent;   /* inode number of parent */
+  
+ino_t   i_dotdot;   /* inode number of `..' */
+u_int   i_numblks;  /* size of block array in bytes */
+daddr64_t   i_blks[1];  /* actually longer */
+};
+
+static void
+checksz(void)
+{
+   unsigned long long allocate, maxino, maxfsblock, ndir;
+   
+   allocate = 0;
+   maxino = sblock.fs_ncg * (unsigned long long)sblock.fs_ipg;
+   maxfsblock = sblock.fs_size;
+   ndir = maxino / avgfilesperdir;
+
+   allocate += roundup(howmany(maxfsblock, NBBY), sizeof(int16_t));
+   allocate += (maxino + 1) * 3;
+   allocate += sblock.fs_ncg * sizeof(long);
+   allocate += (MAX(ndir, 128) + 10) * sizeof(struct inoinfo);
+   allocate += MAX(ndir, 128) * sizeof(struct inoinfo);
+   if (allocate  MAXDSIZ || 1)
+   warnx(fsck_ffs needs at least %lluM to fsck 
+   this filesystem, MAXDSIZ is %lluM,
+   allocate / (1024ULL * 1024ULL), MAXDSIZ /
+   (1024ULL * 1024ULL));
 }



Re: Insecurity Output about httpd.conf

2010-01-05 Thread Peter Hessler
On 2010 Jan 05 (Tue) at 06:25:59 -0600 (-0600), Chris Bennett wrote:
:I don't use a lot of conf files in conf/modules, but yesterday I
:edited my php.conf and httpd.conf.
:The two changes were tied to each other for a specific change.
:
:I just got my insecurity output. It only listed changes to httpd.conf.
:There was nothing about change to php.conf.
:
:For a while now, since 4.3 httpd.conf has:
:Include /var/www/conf/modules/*.conf
:
:Since all conf files in conf/modules essentially ARE httpd.conf as of
:a restart, why aren't these files tracked also?

The insecurity report only looks to see if the file itself has changed.
It does not parse the files and pull in the includes.  You'd have to add
those files to /etc/changelist yourself.

-- 
It is against the law for a monster to enter the corporate limits of
Urbana, Illinois.



Re: Editing PDF files

2010-01-05 Thread ropers
2010/1/5 Predrag Punosevac punoseva...@gmail.com:
 I have some PDF form that I need to fill in.

Just to make sure we're on the same page here, are you talking about a
PDF that makes use of Adobe's PDF form field features? (Cf.
http://en.wikipedia.org/wiki/PDF#Interactive_elements and
http://www.google.com/search?hl=ensafe=offq=PDF+form+fields .)
Or are you trying to edit a static PDF that only happens to render
(things that look like) form fields, but that don't actually make use
of the said features?

regards,
--ropers



BGPd problem with some BGP4+ (IPv6) sessions

2010-01-05 Thread Laurent CARON

Hi,

I'm currently facing a problem with a cisco peer.

Here is the config on the cisco peer (ISP's core router):
neighbor 2001:7A8:1:9FF2::2 remote-as 49463
 no neighbor 2001:7A8:1:9FF2::2 activate
 neighbor 2001:7A8:1:9FF2::2 activate
 neighbor 2001:7A8:1:9FF2::2 soft-reconfiguration inbound
 neighbor 2001:7A8:1:9FF2::2 maximum-prefix 5 restart 30


Here is the config on my OpenBSD box:

AS 49463
router-id 213.215.49.242
holdtime 90
holdtime min 3
fib-update yes
log updates
network 2001:7a8:820::/44 set localpref 200

neighbor 2001:7a8:1:9FF2::1 {
remote-as   13193
descr   nerim-ipv6-bgp-peer
local-address   2001:7a8:1:9FF2::2
holdtime30
holdtime min3
announceself
announce IPv6   unicast
announce IPv4   none

}

The cisco peer doesn't see any anouncements:

#sh bgp ipv6 uni nei 2001:7A8:1:9FF2::2 received-routes
Total number of prefixes 0

It used to work with a previous version of bgpd (I did upgrade it 
yesterday).


The weird is that another session is up to another ISP (Hurricane 
Electric) through a 6to4 tunnel.


Any clue ?

Thanks



dhcrelay barfing on reboot

2010-01-05 Thread Steven M. Caesare
Running 4.6-stable:



$ dmesg

OpenBSD 4.6-stable (GENERIC) #0: Wed Nov 25 08:10:07 EST 2009

...



Attempting to enable dhcrelay to run via rc.conf.local is barfing.



Specifically running the daemon interactively seems happy:



$ sudo dhcrelay -i fxp3 192.168.100.6

$

$ ps -ax | grep dhcrelay

31341 ??  Is  0:00.00 dhcrelay -i fxp3 192.168.100.6

$



Subsequently, my DHCP server now responds to DHCP requests forwarded
from the segment on fxp3. Life is good.



However attempting to configure for start upon reboot fails:



$ cat /etc/rc.conf.local | grep dhcrelay

dhcrelay_flags=-i fxp3 192.168.100.6



*INSERT REBOOT HERE*



$ ps -ax | grep dhcrelay

$

$ more /var/log/daemon | grep dhcrelay

Jan  4 16:11:49 fw01 dhcrelay: fxp3: host unknown

Jan  4 16:11:49 fw01 dhcrelay: no interface given

Jan  4 16:11:49 fw01 dhcrelay: exiting.

Jan  4 16:11:57 fw01 dhcrelay: Can't find free bpf: Permission denied

Jan  4 16:11:57 fw01 dhcrelay: exiting.

Jan  4 16:12:12 fw01 dhcrelay: Can't find free bpf: Permission denied

Jan  4 16:12:12 fw01 dhcrelay: exiting.

Jan  4 16:14:25 fw01 dhcrelay: Can't find free bpf: Permission denied

Jan  4 16:14:25 fw01 dhcrelay: exiting.

Jan  4 17:00:54 fw01 dhcrelay: Can't find free bpf: Permission denied

Jan  4 17:00:54 fw01 dhcrelay: exiting.

Jan  4 17:12:58 fw01 dhcrelay: connect: Address already in use

Jan  4 17:12:58 fw01 dhcrelay: exiting.

$



Haven't found much online about others dealing with this. Man pages for
dhcrelay, rc.conf.local, etc...  haven't yielded much either.



Any pointers and or RTFM suggestions appreciated.



Entire dmesg below sig



-sc



$ dmesg

OpenBSD 4.6-stable (GENERIC) #0: Wed Nov 25 08:10:07 EST 2009

r...@fw01.caesare.com:/usr/src/sys/arch/i386/compile/GENERIC

cpu0: Intel(R) Pentium(R) III CPU family 1266MHz (GenuineIntel
686-class) 1.27 GHz

cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,
MMX,FXSR,SSE

real mem  = 1610166272 (1535MB)

avail mem = 1547108352 (1475MB)

mainbus0 at root

bios0 at mainbus0: AT/286+ BIOS, date 12/31/99, BIOS32 rev. 0 @ 0xf,
SMBIOS rev. 2.3 @ 0xf7ce8 (23 entries)

bios0: vendor Compaq version P21 date 06/13/2001

bios0: Compaq ProLiant DL360

acpi0 at bios0: rev 0, can't enable ACPI

mpbios0 at bios0: Intel MP Specification 1.4

cpu0 at mainbus0: apid 3 (boot processor)

cpu0: apic clock running at 132MHz

mpbios0: bus 0 is type PCI

mpbios0: bus 3 is type PCI

mpbios0: bus 9 is type ISA

ioapic0 at mainbus0: apid 8 pa 0xfec0, version 11, 35 pins

ioapic0: misconfigured as apic 0, remapped to apid 8

bios0: ROM list: 0xc/0x8000 0xc8000/0x4000! 0xe8000/0x6000
0xee000/0x2000!

pci0 at mainbus0 bus 0: configuration mode 1 (bios)

pchb0 at pci0 dev 0 function 0 ServerWorks CNB20LE Host rev 0x06

pchb1 at pci0 dev 0 function 1 ServerWorks CNB20LE Host rev 0x06

pci1 at pchb1 bus 3

fxp0 at pci1 dev 4 function 0 Intel 8255x rev 0x08, i82559: apic 8 int
17 (irq 5), address 00:02:a5:8b:95:32

inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4

fxp1 at pci1 dev 5 function 0 Intel 8255x rev 0x08, i82559: apic 8 int
24 (irq 7), address 00:02:a5:8b:95:31

inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 4

ppb0 at pci1 dev 6 function 0 DEC 21152 PCI-PCI rev 0x03

pci2 at ppb0 bus 4

fxp2 at pci2 dev 4 function 0 Intel 8255x rev 0x05, i82558: apic 8 int
23 (irq 11), address 00:03:47:42:3a:c5

inphy2 at fxp2 phy 1: i82555 10/100 PHY, rev. 0

fxp3 at pci2 dev 5 function 0 Intel 8255x rev 0x05, i82558: apic 8 int
22 (irq 10), address 00:03:47:42:3a:c6

inphy3 at fxp3 phy 1: i82555 10/100 PHY, rev. 0

cac0 at pci0 dev 1 function 0 Symbios Logic 53c1510 rev 0x02: apic 8
int 19 (irq 3), Integrated Array

scsibus0 at cac0: 1 targets

sd0 at scsibus0 targ 0 lun 0: Compaq, RAID1 vol #00,  SCSI2 0/direct
fixed

sd0: 17359MB, 512 bytes/sec, 35553120 sec total

vga1 at pci0 dev 3 function 0 ATI Mach64 rev 0x7a

wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)

wsdisplay0: screen 1-5 added (80x25, vt100 emulation)

Compaq Netelligent ASMC rev 0x00 at pci0 dev 4 function 0 not
configured

ppb1 at pci0 dev 5 function 0 DEC 21152 PCI-PCI rev 0x03

pci3 at ppb1 bus 1

fxp4 at pci3 dev 4 function 0 Intel 8255x rev 0x05, i82558: apic 8 int
21 (irq 10), address 00:d0:b7:82:dd:ae

inphy4 at fxp4 phy 1: i82555 10/100 PHY, rev. 0

fxp5 at pci3 dev 5 function 0 Intel 8255x rev 0x05, i82558: apic 8 int
20 (irq 11), address 00:d0:b7:82:dd:af

inphy5 at fxp5 phy 1: i82555 10/100 PHY, rev. 0

piixpm0 at pci0 dev 15 function 0 ServerWorks OSB4 rev 0x51: SMBus
disabled

pciide0 at pci0 dev 15 function 1 ServerWorks OSB4 IDE rev 0x00: DMA

atapiscsi0 at pciide0 channel 1 drive 0

scsibus1 at atapiscsi0: 2 targets

cd0 at scsibus1 targ 0 lun 0: COMPAQ, CD-224E, 9.0C ATAPI 5/cdrom
removable

cd0(pciide0:1:0): using PIO mode 4, DMA mode 2

isa0 at mainbus0

isadma0 at isa0

com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo

pckbc0 at isa0 port 0x60/5

pckbd0 at pckbc0 (kbd slot)


Re: What does your environment look like?

2010-01-05 Thread Uwe Werler
On Sun, 3 Jan 2010 10:34:07 -0500
Anders Langworthy lagrang...@gmail.com wrote:

 On Sat, Jan 2, 2010 at 9:08 PM, Brynet bry...@gmail.com wrote:
  * Do you use one of the bundled window managers like
  cwm(1)/twm(1)/fvwm(1) or something else?
 
 I wasn't going to reply, but I couldn't believe that cwm hasn't
 received any love yet.   It's glorious.  Powerful keyboard control,
 neat features, and faster than you need it to be.  Its minimalism is
 elegant (and absolute) with no window decoration crud to distract or
 waste valuable pixels.  And it's in base.
 
  * Do you try to keep things uniform across other desktops?
 
 No, but net/rsync is excellent for that purpose.
 

always -current + cwm + mrxvt + tmux = all what i need. at my netbook
xfce or cwm.



Re: softraid rebuild

2010-01-05 Thread Markus Bergkvist

http://marc.info/?t=12587732083r=1w=2

nixlists wrote:

Hi.

My softraid mirror went into degraded mode (on -current). How to
rebuild? I am trying to follow the bioctl manual page, but I don't
seem to understand the command to throw at it - syntax errors. Is it
supported yet?

Thanks.




Re: Editing PDF files

2010-01-05 Thread Predrag Punosevac
ropers rop...@gmail.com wrote:

 2010/1/5 Predrag Punosevac punoseva...@gmail.com:
  I have some PDF form that I need to fill in.

 Just to make sure we're on the same page here, are you talking about a
 PDF that makes use of Adobe's PDF form field features? (Cf.
 http://en.wikipedia.org/wiki/PDF#Interactive_elements and
 http://www.google.com/search?hl=ensafe=offq=PDF+form+fields .)

I believe so but I am using mupdf to see the document so I am not 100%
sure. From mupdf the document looks static.

 Or are you trying to edit a static PDF that only happens to render
 (things that look like) form fields, but that don't actually make use
 of the said features?

 regards,
 --ropers



Re: Inconsistency between IPv6 and IPv4 announces between eBGP peers hooked through an iBGP session (OpenBGPd)

2010-01-05 Thread Laurent CARON

On 05/01/2010 16:39, Laurent CARON wrote:

Strangeness:

On peer bgpgw-001: v4 and v6 networks are announced. On bgpgw-002 v6
networks are received from bgpgw-001 but not announced.

bgpgw-001:/var/log# bgpctl sho rib neigh nerim-ipv6-bgp-peer out
flags: * = Valid,  = Selected, I = via IBGP, A = Announced
origin: i = IGP, e = EGP, ? = Incomplete

flags destination gateway lpref med aspath origin
AI* 2001:7a8:820::/44 :: 100 0 i
bgpgw-001:/var/log# bgpctl sho rib neigh nerim-ipv4-bgp-peer out
flags: * = Valid,  = Selected, I = via IBGP, A = Announced
origin: i = IGP, e = EGP, ? = Incomplete

flags destination gateway lpref med aspath origin
AI* 213.215.28.0/23 0.0.0.0 100 0 i


bgpgw-002:~# bgpctl sho rib neigh nerim-ipv6-bgp-peer out
flags: * = Valid,  = Selected, I = via IBGP, A = Announced
origin: i = IGP, e = EGP, ? = Incomplete

flags destination gateway lpref med aspath origin
I* 2001:7a8:820::/44 2001:7a8:820::1 100 0 i
bgpgw-002:~# bgpctl sho rib neigh nerim-ipv4-bgp-peer out
flags: * = Valid,  = Selected, I = via IBGP, A = Announced
origin: i = IGP, e = EGP, ? = Incomplete

flags destination gateway lpref med aspath origin
AI* 213.215.28.0/23 0.0.0.0 100 0 i



I forgot to mention that this problem doesn't occur when the iBGP 
session is down between bgpgw-001 and bgpgw-002.




Inconsistency between IPv6 and IPv4 announces between eBGP peers hooked through an iBGP session (OpenBGPd)

2010-01-05 Thread Laurent CARON

Hi,

Background:

Two OpenBSD routers hooked each to two ISPs.

Announced networks:
2001:7a8:820::/44
213.215.28.0/23

Relevant config snippets on bgpgw-001:
http://pastebin.com/m77017bcd

Relevant config snippets on bgpgw-002:
http://pastebin.com/d74d05557

Strangeness:

On peer bgpgw-001: v4 and v6 networks are announced. On bgpgw-002 v6 
networks are received from bgpgw-001 but not announced.


bgpgw-001:/var/log# bgpctl sho rib neigh nerim-ipv6-bgp-peer out
flags: * = Valid,  = Selected, I = via IBGP, A = Announced
origin: i = IGP, e = EGP, ? = Incomplete

flags destination gateway  lpref   med aspath origin
AI*  2001:7a8:820::/44   :: 100 0 i
bgpgw-001:/var/log# bgpctl sho rib neigh nerim-ipv4-bgp-peer out
flags: * = Valid,  = Selected, I = via IBGP, A = Announced
origin: i = IGP, e = EGP, ? = Incomplete

flags destination gateway  lpref   med aspath origin
AI*  213.215.28.0/23 0.0.0.0100 0 i


bgpgw-002:~# bgpctl sho rib neigh nerim-ipv6-bgp-peer out
flags: * = Valid,  = Selected, I = via IBGP, A = Announced
origin: i = IGP, e = EGP, ? = Incomplete

flags destination gateway  lpref   med aspath origin
I*   2001:7a8:820::/44   2001:7a8:820::1100 0 i
bgpgw-002:~# bgpctl sho rib neigh nerim-ipv4-bgp-peer out
flags: * = Valid,  = Selected, I = via IBGP, A = Announced
origin: i = IGP, e = EGP, ? = Incomplete

flags destination gateway  lpref   med aspath origin
AI*  213.215.28.0/23 0.0.0.0100 0 i

Thanks



Problems with bge0: watchdog timeout -- resetting

2010-01-05 Thread Daniel Bolgheroni
(I don't know what's happening but my message isn't getting the mailing 
list. Third try.)

Hi,

running -current, I'm having what it is not a problem at all, but at 
least a very, very annoying behaviour.

I'm getting a lot of console messages with bge0: watchdog timeout -- 
resetting. It's annonying because everytime the nic resets, the 
machine locks ~1 min or more and becomes completely unresponsive. This 
means that if you're running any IMs, they go down, if you're 
running some torrent client, the connection goes to 0.0 KB/s, etc.

Sometimes gets worst, with no special reason. I get ~1 minute with the 
machine completely unusable with short periods of ~20 seconds of very 
slow response.

Checked the man page, and when this problem arises, maybe the cable is 
broken. I'm pretty sure it isn't, since I changed and is working well 
with another machines.

Didn't find anything useful specifically to this nic. Disabling ACPI has 
no effect.

Any hints?

Thank you.



OpenBSD 4.6-current (GENERIC) #471: Sat Dec 26 21:08:05 MST 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Atom(TM) CPU N270 @ 1.60GHz (GenuineIntel 686-class) 1.60 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,xTPR
real mem  = 1063677952 (1014MB)
avail mem = 1021980672 (974MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 02/25/09, BIOS32 rev. 0 @ 0xfdc40, SMBIOS 
rev. 2.5 @ 0xdf010 (24 entries)
bios0: vendor LENOVO version 14CN57WW date 02/25/2009
bios0: LENOVO 41874MU
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP HPET MCFG TCPA TMOR APIC BOOT SLIC ASF! SSDT SSDT SSDT
acpi0: wakeup devices HDEF(S4) PXS1(S4) PXS2(S4) PXS3(S4) USB1(S4) USB2(S4) 
USB3(S4) USB4(S4) USB7(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 132MHz
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (RP01)
acpiprt2 at acpi0: bus 3 (RP02)
acpiprt3 at acpi0: bus 5 (RP03)
acpiprt4 at acpi0: bus 6 (PCIB)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1, PSS
acpitz0 at acpi0: critical temperature 95 degC
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: SLPB
acpiac0 at acpi0: AC unit offline
acpibat0 at acpi0: BAT0 model LE30_C serial   type LION oem Celxpert
acpibtn2 at acpi0: LID_
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD01
acpivout1 at acpivideo0: DD02
acpivout2 at acpivideo0: DD03
acpivout3 at acpivideo0: DD04
bios0: ROM list: 0xc/0xec00! 0xcf000/0x1e00 0xdf000/0x800! 0xe/0x1800!
cpu0: Enhanced SpeedStep 1597 MHz: speeds: 1600, 1333, 1067, 800 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 82945GME Host rev 0x03
vga1 at pci0 dev 2 function 0 Intel 82945GME Video rev 0x03
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0 at vga1: apic 2 int 16 (irq 11)
drm0 at inteldrm0
Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: apic 2 int 
22 (irq 5)
azalia0: codecs: Realtek ALC269
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 2 int 17 
(irq 3)
pci1 at ppb0 bus 2
bge0 at pci1 dev 0 function 0 Broadcom BCM5906M rev 0x02, BCM5906 A2 
(0xc002): apic 2 int 16 (irq 11), address 00:23:8b:94:71:38
brgphy0 at bge0 phy 1: BCM5906 10/100baseTX PHY, rev. 0
ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 2 int 16 
(irq 11)
pci2 at ppb1 bus 3
ppb2 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02: apic 2 int 18 
(irq 3)
pci3 at ppb2 bus 5
Broadcom BCM4315 rev 0x01 at pci3 dev 0 function 0 not configured
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 2 int 23 
(irq 5)
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 2 int 19 
(irq 10)
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 2 int 18 
(irq 3)
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 2 int 16 
(irq 11)
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 2 int 23 
(irq 5)
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 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2
pci4 at ppb3 bus 6
ichpcib0 at pci0 dev 31 function 0 Intel 82801GBM LPC rev 0x02: PM disabled
pciide0 at pci0 dev 31 function 2 Intel 82801GBM SATA rev 0x02: DMA, channel 
0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: WDC WD1600BEVT-88ZCT0
wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6

Re: how to fresh raidframe install on an already raidframe system?

2010-01-05 Thread Kent Watsen
Jurgen/Pete - thanks for your replies, but it seems that I wasn't clear 
- my question is how to do fresh-install of OpenBSD with the new kernel 
discovering and trying to use the old RAID partition.  I ultimately 
solved this problem by rebooting using the old kernel and running 
`raidctl -A no raid0`.  This way the new kernel doesn't try the 
automatically mount the old RAID partition anymore...


BTW, I'm wondering if I'm wrong about SoftRAID - can it now contain the 
root partition like RAIDframe?  - looking at softraid(4), I don't see 
anything like `raidctl -A root dev` and I thought I read Marco saying 
that it's planned but a thing called life keeps getting in the way: 
(http://www.mail-archive.com/misc@openbsd.org/msg69397.html)


Thanks,
Kent



Re: Editing PDF files

2010-01-05 Thread Christoph Leser
Take a look at pdftk. It is a simple command line tool, that can do a lot of
things with pdf files: merge, split, rotate, fill forms etc.

http://www.accesspdf.com/pdftk/

Regards



 -Urspr|ngliche Nachricht-
 Von: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org]
 Im Auftrag von Predrag Punosevac
 Gesendet: Dienstag, 5. Januar 2010 06:21
 An: misc@openbsd.org
 Betreff: Editing PDF files


 I hope, I am not going to annoy too many people with this
 rather general question.

 I have some PDF form that I need to fill in. I thought that I
 would be
 able to accomplish the job in couple of minutes. Namely, my
 idea was to convert PDf file to PS file and then to use
 pstoedit to convert the PostScript file into fig file. Then
 like in old good times I would just add text to fig file and
 export to PDF. Just to be on the safe side I
 was to do the above process a single page at the time.

 My problem is that pstoedit is producing a huge non-usable fig file.

 What would be more claver way to accomplish above task short
 of buying Acrobat or using on-line PDF editing tools and
 exposing my private
 information.

 I heard that KOffice and Scribe have the ability to edit PDF
 file as well as Gimp. I am somewhat familiar with PDFEdit
 even though it is not ported to OpenBSD and not very
 enthusiastic about its abilities.

 Most Kind Regards,
 Predrag Punosevac



Re: Disable SSH passwords per user

2010-01-05 Thread Lars Nooden
Ted wrote:

 Now I know I can do a Match pattern on User with PasswordAuthentication.

You can also Match a group which will be useful if you wish to disable
password authentication for more than one user now or to leave the
option open in the future.

/Lars



Re: Problems with bge0: watchdog timeout -- resetting

2010-01-05 Thread Laurent CARON

On 06/01/2010 14:56, Daniel Bolgheroni wrote:

(I don't know what's happening but my message isn't getting the mailing
list. Third try.)



Hi,

Your messages are reaching the list. However, the date/time of your 
computer is incorrectly set:


for misc@openbsd.org; Tue, 5 Jan 2010 08:56:52 -0700 (MST)
Date: Wed, 6 Jan 2010 13:56:18 + (UTC)

Laurent



Re: What does your environment look like?

2010-01-05 Thread Peter Miller
 * Do you use one of the bundled window managers like
 cwm(1)/twm(1)/fvwm(1) or something else?

musca, it's easy to configure, and the catchall and dedicate commands
are awesome 
http://aerosuidae.net/musca/Musca_Window_Manager
http://aerosuidae.net/musca/Commands#catchall


 * What other utilities do you find useful, any dockapps or similar
 applets? personal customizations?


dmenu + conky


 * Do you try to keep things uniform across other desktops?


I saved and re-use my config files everywhere. All my files stay on 1
usb drive that I plug in to whatever cpu i'm using. I keep it backed up.


 * What does your environment look like? anyone willing to post
 screenshots or actual workspace photos?


not much to show, the magic is in musca

--
Later
Peter



Re: Current fails to boot a Dell R300

2010-01-05 Thread Laurent CARON

On 05/01/2010 03:16, Christopher Linn wrote:

i was having the same problem. i just built from cvs source
with the change and the kernel boots now.



That did the trick.

Thanks



Recuperam datorii

2010-01-05 Thread Recuperam datorii
SC VESTIMPEX SRL
 
Registrul Comertului : J33/107/1997 :   
  
Cod Unic de Inregistrare Fiscala : RO9173501 ,  
  
Adresa sediu social : str. Bujorilor , nr.12 , bl.105 ,sc.B , ap.37 , Suceava , 
cod postal 720164 ,
Judetul Suceava .
 
Tel/Fax : 0230 257760 ,  
Tel. mobil : 0722 728192.   www.recuperamdatorii.ro
 Domnului Director  General 
,
Societatea noastra ,VESTIMPEX SRL Suceava recupereaza , in conditii legale , 
pentru DVS orice fel de datorii , garantii de buna executie , garantii bancare 
,impozite cladiri si teren,alte taxe,amenzi, salarii etc.
Pentru recuperarea datoriilor , DVS nu cheltuiti nimic , toate taxele judiciare 
de timbru , onorarii avocat , cheltuieli de reprezentare in instanta , alte 
cheltuieli le suportam noi , iar in caz ca datornicul DVS este insolvabil si nu 
are bunuri patrimoniale de valorificat nu pierdeti nimic pentru ca , asa cum 
v-am spus ,toate cheltuielile ocazionate de procese le suporta firma noastra 
VESTIMPEX SRL , care , pe langa alte activitati este specializata in recuperari 
de creante , litigii comerciale . expertizari , evaluari , lichidari.
In decursul activitatii noastre am recuperat in instanta de judecata ,  cu 
succes deosebit pentru clientii nostrii , datorii de multe miliarde de lei 
vechi.
 In relatiile contractuale dintre noi pastram o confidentialitate deosebita 
protejandu-va relatiile DVS comerciale  chiar si cu datornicii DVS .
 Pentru informare DVS completa, prezentei scrisori am anexat si un contract de 
cesiune de creanta.
 Asigurandu-va de respectul nostru deosebit va multumim anticipat pentru 
atentia acordata acestei oferte.
 Director , administrator , Ing.ec. Constantin Popescu
Potrivit art. 6 din Legea 365/2002 , acest mesaj este PRIMA CERERE LEGALA  DE 
ACCEPTARE COMUNICARI COMERCIALE privind consimtamantul DVS expres , exprimat 
prealabil de a primi asemenea comunicari. Daca nu sunteti interesat de 
serviciile noastre , prezentate in continuare va rugam sa ignorati acest mesaj 
si sa va dezabonati printr-un reply cu mesajul bdezabonareb , adresa DVS de 
email va fi radiata definitiv din newsletterul nostru si nu veti mai primi 
niciodata un mesaj din partea noastra.
Daca ati dorit in trecut sa fiti abonat la newsletterul nostru si intre timp 
v-ati razgandit , atunci va puteti dezabona analog procedurilor descrise mai 
sus.
In art. 1 , punctul 8 , din Legea 365/2002 este prevazut ca nu constituie prin 
ele insele , comunicari comercialae , informatiile permitand accesul direct la 
activitatea unei persoane juridice. Conform acestei prevederi legale mesajul 
nostru va transmite informatii care sa va permita accesul direct la activitatea 
persoanei juridice VESTIMPEX SRL , prin site-ul www.recuperamdatorii.ro.
In cazul cand un prieten v-a inscris abuziv , fara cunostiinta DVS , in 
newsletterul nostru , atunci va rugam sa ne scuzati si sa trimiteti un reply cu 
mesajul bdezabonareb.
 
 
CONTRACT  DE  CESIUNE  DE  CREANTA
 
I  N  T  R  E   :
 
1.  Societatea Comerciala 
bb...denumita in continuare cedent  , 
inscrisa la  Registrul  Comertului  cu nr. 
J../.../.avand Codul Unic de Inregistrare 
Fiscala .cu sediul social in str. 
... 
..nr.bbblocalitate:cod
 postal : bbb judet reprezentata 
legal de Domnul 
...
  .cu functia 
de ..
  SI :
2.  Societatea Comerciala VESTIMPEX  SRL denumita in continuare cesionar 
(Cedentul si Cesionarul denumiti in continuare Parti Contractante) , inscrisa 
la Registrul Comertului cu nr. J33/107/1997 avand Codul Unic de Inregistrare 
Fiscala RO 9173501, cu sediul in str. Bujorilor , nr. 12 , bl.105 , sc. B ap. 
37 , Suceava , cod postal 720164 , judetul Suceava , reprezentata legal de 
domnul ing.ec. Constantin Popescu ,cu functia de administrator , director 
general.
Art.1. Obiectul Contractului :
(1)Obiectul prezentului contract consta in cedarea  de catre Cedent  , 
respectiv de catre  Societatea Comerciala 
..
in favoarea cesionarului adica in favoarea Societatii Comerciale VESTIMPEX SRL  
a dreptului de creanta impotriva 

Inicia tu Propio Negocio y obten libertad Economica, Contactanos !

2010-01-05 Thread INBOX Mexico
Correo proveniente de INBOXMEXICO.
Si su cuenta por seguridad no permite desplegar la imagen haga click en
mostrar imagen.

Si no puede ver correctamente este correo de click aqum

INBOXMEXICO Los Cabos

INBOXMEXICO Los Cabos

INBOXMEXICO Los Cabos

INBOXMEXICO Los CabosINBOXMEXICO Los Cabos

INBOXMEXICO Los Cabos

INBOXMEXICO Los Cabos

INBOXMEXICO Los Cabos

INBOXMEXICO Los Cabos

INBOXMEXICO Los Cabos

INBOXMEXICO Los Cabos

INBOXMEXICO Los CabosINBOXMEXICO Los Cabos

INBOXMEXICO Los Cabos

INBOXMEXICO
Los Cabos

Este mensaje es enviado por medio de INBOXMEXICO. Nuestra intencisn es
mantenerlo informado de productos y servicios de su ciudad. Con respeto a
las leyes Nacionales e Internaciones las cuales nos rigen y siendo
respetuosos con la privacidad de su persona, su cuenta de correo puede
ser removida haciendo CLICK en el enlace que se encuentra en la parte
inferior de este mensaje.

Este envmo no es considerado Spam, mientras se incluya la forma de ser
removido.

INBOXMEXICO

Si no desea recibir mas informacisn y promociones como esta. Cancelar
suscripcisn de INBOXMEXICOCLICK AQUI

[IMAGE]



Re: Maximizing File/Network I/O

2010-01-05 Thread Henning Brauer
* Iqigo Ortiz de Urbina tarom...@gmail.com [2010-01-05 11:24]:
 On Tue, Jan 5, 2010 at 9:13 AM, Tomas Bodzar tomas.bod...@gmail.com wrote:
 
  There is much more to do. You can find some ideas eg. here
  http://www.openbsd.org/papers/tuning-openbsd.ps . It's good idea to
  follow outputs of systat, vmstat and top for some time to find
  bottlenecks.
 
 
 I recall a message in misc (which I am not able to find on the archives)
 about someone posting here the results of his research on optimizing and
 improving OpenBSD overall performance (fs, network, etc).
 
 Among the links he posted on his comprehensive compilation, he sent
 tuning-openbsd.ps.

I'm one of the two authors of this paper.
ignore it. it is obsolete.

 I remember one reply of a developer stating that some of those tuning
 measures are not needed anymore as OpenBSD has grown quite a bit since that
 time. Which are the recommended -always working- directions, then, to tune a
 system for its particular needs?

there isn't really all that much needed these days, defaults are good.
some very specific situations benefit from some specific things, but
usually, you are wasting time trying to tune.

 My point is we all have to be careful and not follow guides or try values on
 sysctls blindly (although experimenting is welcome and healthy) as we can
 harm more than benefit we can get. Still, some enviroments will need
 adjustment to push much more traffic than GENERIC can, and this is a really
 hard task to accomplish unless you are a @henning or @claudio :)

heh :)

I really like the 275 - 420MBit/s change for 4.6 - current with pf.

-- 
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



2010 Sales Appointments for Complex Sale I.T. Solutions

2010-01-05 Thread Donna Thompson
We craft our lead generation programs for tech companies and complex-sale
businesses to expand sales pipelines and increase revenues. Markets served by
our firm cross over I.T. Infrastructure, Applications, and Services. We've
touched base with you a few times this year and I wanted to send you this
year-end note with more information on Sales Staff Corp.

Our firm operates an inside sales team staffed with experienced sales
professionals from I.T. and Services backgrounds. We customize a prospecting
plan around your target market and value proposition to generate actionable
opportunities in the form of in-person sales appointments and web demos for
your sales team.

You Pay for Performance only - 30 Day Test Pilots - 1st Quarter Promo
Available

Learn more at http://www.thesalesstaff.com/LeadGeneration.html or Reply Now
for more information on our Pay-Per-Meeting Test Pilot options.

Regards,

Donna Thompson
Marketing Coordinator
THE SALES STAFF
888-591-8022, Ext. 333
http://www.thesalesstaff.com/

-
---
Sent to m...@openbsd.org. To remove yourself from future mailings, copy and
paste the following address into a web browser:
http://www.enterprisemailer.net/public/unsubscribe.aspx?q=p%2fVvrxWBbKNAlsnyV
19gfUD5mgFv%2bV68aWFS8b9UYWp2B9VV1uaCnFgHuRoDYCD7

The Sales Staff, LLC 935 Eldridge Houston, TX   77478



IPSEC bringing down networking 1.1

2010-01-05 Thread Jeff Simmons
I have a machine that I admin remotely running 4.6 with all the patches. It's 
a firewall only machine with 6 ethernet interfaces, 4 of which are active, 
and has been running fine since I upgraded it. It's got a fairly complex 
pf.conf. Last week I set up a VPN on it to a Sonic Wall appliance. The VPN 
comes up and works fine, and then somewhere between 4 and 24 hours later the 
box loses all network connectivity. You can still login via console, and I've 
been able to get the local people to run some basic commands (ifconfig, 
netstat, ps, pfctl -s) and everything seems normal (from what I can get from 
non-technical people over the phone), but none of the interfaces are passing 
packets. Rebooting solves the problem for the next 4-24 hrs. It's happened 
several times now. System logs show nothing.

I finally got console on this, and found a highly suspicious entry in the 
routing table:

fw:$ netstat -nr

results elided
Encap:
Source Port Destination  Port  Proto SA(Address/Proto/Type/Direction)
expected ecap routes elided
0/00 0/00 0   gatewayIP/50/use/in
0/00 0/00 0   gatewayIP/50/require/out

Now, if that means what I think it means, it's obvious why I'm losing all my 
network connections to and from that box. I'm using a bare-bones ipsec.conf 
file that only specifies gateways, routes, and aes-sha1 (modp1024 pfs). Works 
fine (to both a Sonic Wall and a Cisco ASA) for a while, and then this shows 
up. Any ideas as to what could be causing this?

-- 
Jeff Simmons   jsimm...@goblin.punk.net
Simmons Consulting - Network Engineering, Administration, Security
You guys, I don't hear any noise.  Are you sure you're doing it right?
--  My Life With The Thrill Kill Kult



Re: What does your environment look like?

2010-01-05 Thread Jonathan Thornburg
Very minimalist:

No xdm -- I login and type 'startx;logout'.

Just twm -- it's simple  gets the job done.  Multiple desktops might
be nice; I've looked at vtwm, ctwm, and tvtwm at one time or another,
but never gotten any of them working to the point of usability.

My .xinitrc does xsetroot -solid black (I've played with grey15 at times),
tweaks mouse parameters, makes caps-lock a control key, then starts:
* xclock (analog, since that's more useful than digital for estimating
  angle-between-hands to answer questions like how long do I have before
  I have to stop leave here for a 2:50pm meeting)
* xbatt (for laptops)
* xmeter (must be compiled from ancient KR-C source, but it's still
  less-unnice than any other cpu-load-monitoring program I've seen)
* 4 open xterms
* a dozen more xterms pre-iconified,
* and finally twm itself
That's it.  No desktop managers, no other bloatware started by default
(although I do confess to having firefox (with adblock+noscript) on a
twm left-button menu).  I have lots of other software installed, but I
start it by typing (eg) openoffice from a shell prompt (tcsh).

I don't like flashy colors.  My typical xterm is
  xterm -g 80x38+0-0 -bw 4 -fn 7x14 -fg white -bg black -j -rw +s -sl 2000 +sb 
-si -sk +sf -wf -cm 
i.e. the background is black, letters  frame are white.  Right now as
I'm typing this, the only pixels on my screen which aren't black or white
are those in xbatt's battery icon.

I've used this same desktop layout since c.1986 on various Suns, SGIs,
Linux boxen, and various OpenBSDs.  One day around 1993, at an institution
which was all SGI desktops (running Irix), my boss walked into my office
to talk to one of my officemates.  My screen had my usual layout plus
a gnuplot window displaying a graph in gnuplot's default first-plot color
(red).  My boss glanced at the screen, and said (deadpan)
  Jonathan, your monitor's broken.
I though that was very funny...

-- 
-- Jonathan Thornburg [remove -animal to reply] 
jth...@astro.indiana-zebra.edu
   Dept of Astronomy, Indiana University, Bloomington, Indiana, USA
   Only one carry on?  No electronics for the first hour of flight?
I wish that, just once, some terrorist would try something that
you can only foil by upgrading the passengers to first class and
giving them free drinks. -- Bruce Schneier



Re: Editing PDF files

2010-01-05 Thread ropers
2010/1/5 Predrag Punosevac punoseva...@gmail.com:
 ropers rop...@gmail.com wrote:

 2010/1/5 Predrag Punosevac punoseva...@gmail.com:
  I have some PDF form that I need to fill in.

 Just to make sure we're on the same page here, are you talking about a
 PDF that makes use of Adobe's PDF form field features? (Cf.
 http://en.wikipedia.org/wiki/PDF#Interactive_elements and
 http://www.google.com/search?hl=ensafe=offq=PDF+form+fields .)

 I believe so but I am using mupdf to see the document so I am not 100%
 sure. From mupdf the document looks static.

Well, you need to know whether you want to fill in existing PDF form
fields or edit a regular, static PDF file, otherwise a discussion is
pointless. The difference is broadly similar to the difference between
a PDF containing text or an image of text. Entirely different problem
domain.

Find out what you're looking at. Evince has had forms support for
quite some time. This file contains an example Forms.pdf:
http://www.pdfonline.com/easypdf/sdk/programming-pdf/java/sample-projects/document.zip
Also see 
http://www.mjmwired.net/linux/2009/04/10/evince-and-acrobat-pdf-form-edits/
. See how that Forms.pdf and your file compare, both in evince and
mupdf. Mupdf does not appear to support PDF form fields.

If you want to edit or annotate a regular pdf, pdfedit and flpsed are
GUI programs that allow you to do that -- but I've actually never
tried to build them on OpenBSD, nor am I sure if anyone else has.
Scratch your itch and the community may welcome new ports. (
http://en.wikipedia.org/wiki/PDFedit ,
http://www.ecademix.com/JohannesHofmann/flpsed.html ) The capabilities
of flpsed are very limited, but it does allow you to add arbitrary
text in arbitrary places, which may be enough for your purposes.
PDFedit is not what I would describe as completely easy to use, and it
too has its limits. I have not, for instance, found a way to replace
an existing image in a PDF with another one with PDFedit.

And yeah, Christoph's suggestion is also good, if a command-line tool
is what you're looking for.

regards,
--ropers



Recommend T1 Card for 4.6

2010-01-05 Thread Brandan Rowley
Hi,



I'm looking for a reliable T1 card to use with 4.6.  There's a lot of
stuff out there indicating Sangoma, but It is not longer supported.
We're trying to replace a Cisco router with openBSD.  The card needs to
be supported and reliable as this is on a production network.



 Anyone have a recommendation?



Thanks

,Brandan



Re: What does your environment look like?

2010-01-05 Thread Marc Espie
On Tue, Jan 05, 2010 at 03:32:47PM -0500, Jonathan Thornburg wrote:
 Very minimalist:
 
 No xdm -- I login and type 'startx;logout'.

Use
exec startx
instead

same effect. Cleaner.



Re: how to fresh raidframe install on an already raidframe system?

2010-01-05 Thread Olivier Cherrier
On Tue, Jan 05, 2010 at 11:36:11AM -0500, k...@watsen.net wrote:
 Jurgen/Pete - thanks for your replies, but it seems that I wasn't clear  
 - my question is how to do fresh-install of OpenBSD with the new kernel  
 discovering and trying to use the old RAID partition.  I ultimately  
 solved this problem by rebooting using the old kernel and running  
 `raidctl -A no raid0`.  This way the new kernel doesn't try the  
 automatically mount the old RAID partition anymore...

Build and boot a bsd.rd with RAIDFrame and raidctl included.

 BTW, I'm wondering if I'm wrong about SoftRAID - can it now contain the  
 root partition like RAIDframe?  - looking at softraid(4), I don't see  

no.

 anything like `raidctl -A root dev` and I thought I read Marco saying  
 that it's planned but a thing called life keeps getting in the way:  
 (http://www.mail-archive.com/misc@openbsd.org/msg69397.html)

The boot chain can not load kernel on softraid sets.
You can put the root fs on a disk and store the rest of your system on
softraid sets.  Use the altroot mechanism to maintain a backup of your
root fs on another disk; the day the main disk breaks, you just have to
change a line in the fstab to boot.

$ df -h
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/wd0a  157M   69.2M   79.9M46%/
mfs:2 72.6M4.0K   68.9M 0%/tmp
/dev/sd0d  1.1G583M521M53%/usr
/dev/sd0e  3.9G2.6G1.0G71%/usr/local
/dev/sd0f  1.9G761M1.1G40%/usr/src
/dev/sd0g  1.9G1.2G637M66%/usr/obj
/dev/sd0h  3.0G887M2.0G30%/var
/dev/sd0i  1.1G500M603M45%/usr/xenocara
/dev/sd0j  482M189M270M41%/usr/X11R6
/dev/sd0k  231G   73.9G146G34%/home
/dev/sd0l 19.4G3.2G   15.2G17%/usr/ports
$ grep alt /etc/fstab
/dev/wd1a /altroot ffs xx 0 0
$ sudo bioctl -ih sd0
Volume  Status   Size Device  
softraid0 0 Online   298G sd0 RAID1
  0 Online   298G 0:0.0   noencl wd0d
  1 Online   298G 0:1.0   noencl wd1d
$ sudo disklabel wd0c | tail -n 4
#size   offset  fstype [fsize bsize  cpg]
  a:   327537   63  4.2BSD   2048 16384  324 
  c:6251424480  unused   
  d:624809745   327600RAID   
$ sudo disklabel wd1c | tail -n 4
#size   offset  fstype [fsize bsize  cpg]
  a:   327537   63  4.2BSD   2048 163841 
  c:6251424480  unused   
  d:624809745   327600RAID   


Later,

-- 
Olivier Cherrier - Symacx.com
mailto:o...@symacx.com



Proliant DL380 G3 cannot get on network

2010-01-05 Thread Ted Bullock
I am trying to install OpenBSD 4.6 on an older DL380 G3, and am unable
to get an address from DHCP using the onboard network adapter.

The install just repeats the DHCPDISCOVER message over and over.

Here is the some of the dmesg (hand typed unfortunately)

bge0 at pci4 dev 1 function 0 Broadcom BCM5703X rev 0x02, BCM5703 A2
(0x1002): apic 3 int 13 (irq 11), address 00:0b:03:c1:1f
brgphy0 at bge0 phy 1: BCM5703 10/100/1000baseT PHY, rev. 2
bge1 at pci4 dev 2 function 0 Broadcom BCM5703X rev 0x02, BCM5703 A2
(0x1002): apic 3 int 13 (irq 11), address 00:0b:03:c1:1e
brgphy1 at bge1 phy 1: BCM5703 10/100/1000baseT PHY, rev. 2

Note that only bge1 is currently physically connected however the
results are the same irregardless of which adapter is used.

Running ifconfig bge1 from the install shell gives:
bge1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 00:0b:cd:03:c1:1e
media: Ethernet autoselect (100baseTX full-duplex,rxpause,txpause)
status: active
inet6 fe80::20b:cdff:fe03:c11e%bge1 prefixlen 64 scopeid 0x2

-- 
Ted Bullock tbull...@comlore.com



pf: match vs. pass - nat and rdr

2010-01-05 Thread nixlists
Hi.

I think I mentioned that I upgraded one of the machines running pf
from 4.6 to -current.

Noticed that pf rule order behavior has changed, so I had to move
rules around and I of course had to change nat and rdr rules since the
syntax is new.
I've read the man page, but not clear on understanding the difference
between 'match' and 'pass'. What's preferable for nat and rdrs - match
or pass?

What about regular rules? In what sort of situations should I use
match rather than pass, vice/versa?

An issue today was the box totally froze after I removed one of the
redundant rules, did 'pfctl -f /etc/pf.conf', and ran 'systat queues'.
As soon as I ran systat it froze dead. Not even a panic.

Also there's a problem with
http://www.openbsd.org/faq/pf/queueing.html , first example - unless I
am confused it limits internal interface's bandwidth to that of
external. Why would I want to slow down my inside connection to the
local network?

Thanks.



PF cluestick please - low priority queue spills over into normal queue

2010-01-05 Thread Aaron Mason
Hi all,

I've got the following pf.conf file for limiting bittorrent
connections and providing higher priority to a game server.  While the
latter works wonderfully, the bittorrent connections seem to spill
over into the normal queue and it's driving me crazy.

My /etc/pf.conf file is as follows:
set skip on lo

# Setting some constants
prio_port  = { 22 53 5900 }
shiori = 192.168.2.241/32
chechemaru = 192.168.2.251/32
wired_if   = rl0
wlan_if= ath0

hi_bw   = 33Mb
norm_bw = 20Mb
lo_bw   = 178415b

altq on $wired_if cbq bandwidth 54Mb queue { wired_hi, wired_norm, wired_lo }
  queue wired_hi bandwidth $hi_bw priority 2
  queue wired_norm bandwidth $norm_bw cbq(default) priority 3
  queue wired_lo bandwidth $lo_bw priority 4

altq on $wlan_if cbq bandwidth 54Mb queue { wlan_hi, wlan_norm, wlan_lo }
  queue wlan_hi bandwidth $hi_bw priority 2
  queue wlan_norm bandwidth $norm_bw cbq(default) priority 3
  queue wlan_lo bandwidth $lo_bw priority 4

# SSH and DNS traffic as well
pass out quick on $wired_if proto { tcp udp } to any port $prio_port \
   queue wired_hi
pass out quick on $wired_if proto { tcp udp } from any port $prio_port \
   queue wired_hi
pass out quick on $wlan_if proto { tcp udp } to any port $prio_port \
   queue wlan_hi
pass out quick on $wlan_if proto { tcp udp } from any port $prio_port \
   queue wlan_hi

#High priority to Shiori
pass out quick on $wired_if to $shiori queue wired_hi
pass out quick on $wlan_if from $shiori queue wlan_hi

#Low priority and limiting to Chechemaru
#NOTE: BT connections are bidirectional, hence the seemingly \
#redundant rules
pass out quick on $wired_if to $chechemaru queue wired_lo
pass out quick on $wired_if from $chechemaru queue wired_lo
pass out quick on $wlan_if to $chechemaru queue wlan_lo
pass out quick on $wlan_if from $chechemaru queue wlan_lo

# Everything else gets normal priority
# pass out quick on $wired_if queue wired_norm
#pass
block in on ! lo0 proto tcp to port 6000:6010

A typical output from pftop shows the contents of
http://paste2.org/p/596043 - notice the upstream going crazy.
Unfortunately pfTop hasn't been updated to take advantage of the
changes to pf, so it refuses to display the rules.  I'd do it myself
if I had a better understanding of how pf worked within, but I'm not
quite at that stage yet.

A very hard cluestick is greatly appreciated, to go along with the
concussion I am suffering from banging my head on the desk.

Regards


-- 
Aaron Mason - Programmer, open source addict
I've taken my software vows - for beta or for worse



Re: PF cluestick please - low priority queue spills over into normal queue

2010-01-05 Thread Randal L. Schwartz
 Aaron == Aaron Mason simplersolut...@gmail.com writes:

Aaron hi_bw   = 33Mb
Aaron norm_bw = 20Mb
Aaron lo_bw   = 178415b

Aaron A typical output from pftop shows the contents of
Aaron http://paste2.org/p/596043 - notice the upstream going crazy.
Aaron Unfortunately pfTop hasn't been updated to take advantage of the
Aaron changes to pf, so it refuses to display the rules.  I'd do it myself
Aaron if I had a better understanding of how pf worked within, but I'm not
Aaron quite at that stage yet.

I don't see anything that is exceeding the threshold.

33M  387
20M  3273
178K  20K

33M  359
20M  48K
178K  18K

Where do you see going crazy?

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion



Re: Proliant DL380 G3 cannot get on network

2010-01-05 Thread Aaron Mason
On Wed, Jan 6, 2010 at 10:11 AM, Ted Bullock tbull...@comlore.com wrote:
 I am trying to install OpenBSD 4.6 on an older DL380 G3, and am unable
 to get an address from DHCP using the onboard network adapter.

 The install just repeats the DHCPDISCOVER message over and over.

 Here is the some of the dmesg (hand typed unfortunately)

 bge0 at pci4 dev 1 function 0 Broadcom BCM5703X rev 0x02, BCM5703 A2
 (0x1002): apic 3 int 13 (irq 11), address 00:0b:03:c1:1f
 brgphy0 at bge0 phy 1: BCM5703 10/100/1000baseT PHY, rev. 2
 bge1 at pci4 dev 2 function 0 Broadcom BCM5703X rev 0x02, BCM5703 A2
 (0x1002): apic 3 int 13 (irq 11), address 00:0b:03:c1:1e
 brgphy1 at bge1 phy 1: BCM5703 10/100/1000baseT PHY, rev. 2

 Note that only bge1 is currently physically connected however the
 results are the same irregardless of which adapter is used.

 Running ifconfig bge1 from the install shell gives:
 bge1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 lladdr 00:0b:cd:03:c1:1e
 media: Ethernet autoselect (100baseTX full-duplex,rxpause,txpause)
 status: active
 inet6 fe80::20b:cdff:fe03:c11e%bge1 prefixlen 64 scopeid 0x2

 --
 Ted Bullock tbull...@comlore.com



Hi Ted,

What happens if you set a static IP?  Can it talk to the network then?
 Also, there's been reports of bge devices getting hit with watchdog
timeouts, do you see any of these?

Also, you might want to invest in a null modem cable and set your
system to talk to the serial port if one is available.  If you don't
have a laptop with a serial port, look for a freecycle group in your
area and ask for old laptops - I have a Compaq Contura 430C that I use
for this, only issue is that it needs a new battery.  Surely people
have something like this gathering dust in a basement somewhere.

HTH

-- 
Aaron Mason - Programmer, open source addict
I've taken my software vows - for beta or for worse



another hint for fsck for large filesystems

2010-01-05 Thread Bohdan Tashchuk
Sorry I'm not subscribed to the misc@ list, I read on a web archive. So I can't 
reply directly to the recent discussion about how to do newfs / fsck etc on 
large file systems (memory issue).

I have one box with relatively limited memory and had to make a change directly 
to /etc/rc (yes, horrors)!.

The change is

fsck -p -l 1

This keeps fsck from checking more than one disk in parallel.



Re: Proliant DL380 G3 cannot get on network

2010-01-05 Thread Ted Bullock
On Tue, Jan 5, 2010 at 5:32 PM, Aaron Mason simplersolut...@gmail.com
wrote:
 What happens if you set a static IP?  Can it talk to the network then?

Even with a static address packets do not seem to be flowing.

ifconfig reports the following after statically allocating an address:
inet 192.168.15.97 netmask 0xff00 broadcast 192.168.15.255

When I ping the gateway or any other host on the network I get the following:

PING 192.168.15.1 (192.168.15.1): 56 data bytes
ping: sendto: Host is down
ping: wrote 192.168.15.1 64 chars, ret=-1
.
.
etc

with 100% packet loss

  Also, there's been reports of bge devices getting hit with watchdog
 timeouts, do you see any of these?

Nothing is jumping out at me here

 Also, you might want to invest in a null modem cable and set your
 system to talk to the serial port if one is available.

I have one, it's just not convenient for me to get it at the moment.

--
Ted Bullock tbull...@comlore.com



Re: What does your environment look like?

2010-01-05 Thread Bryan Irvine
 I generally first do:

 $ grep unclutter /usr/ports/INDEX

 I generally prefer to know as much as I can about something before I try it.

I usually cd /usr/ports ; make install ; find /usr/local/ -perm -g=x -exec {} \;


-B



Re: pf: match vs. pass - nat and rdr

2010-01-05 Thread Robert
On Tue, 5 Jan 2010 18:15:28 -0500
nixlists nixmli...@gmail.com wrote:

 Hi.
 
 I think I mentioned that I upgraded one of the machines running pf
 from 4.6 to -current.
 
 Noticed that pf rule order behavior has changed, so I had to move
 rules around and I of course had to change nat and rdr rules since the
 syntax is new.
 I've read the man page, but not clear on understanding the difference
 between 'match' and 'pass'. What's preferable for nat and rdrs - match
 or pass?

nat and rdr are now declared with match rules.

 What about regular rules? In what sort of situations should I use
 match rather than pass, vice/versa?

When it makes sense in the context of your ruleset.
The explanaition of match rules is quite clear in the manpage.
You dont have to use them if you don't need them, except for
translation and scrubbing where they are mandatory.

Those pf changes are explained on
http://www.openbsd.org/faq/current.html
Also henning@ wrote a mail to misc@ about them, that you might be
interested in.

 An issue today was the box totally froze after I removed one of the
 redundant rules, did 'pfctl -f /etc/pf.conf', and ran 'systat queues'.
 As soon as I ran systat it froze dead. Not even a panic.

You say you killed a box by trying to load a ruleset?
Checked the config with -n before loading?

 Also there's a problem with
 http://www.openbsd.org/faq/pf/queueing.html , first example - unless I
 am confused it limits internal interface's bandwidth to that of
 external. Why would I want to slow down my inside connection to the
 local network?

The queues on the internal interface in that example are used to limit
download speeds from the internet. Can't do that on the external
interface. And yes, if not done right those rules would mess with
traffic that is internal and should not have hit those queues in the
first place.

- Robert



Re: pf: match vs. pass - nat and rdr

2010-01-05 Thread nixlists
On Tue, Jan 5, 2010 at 8:34 PM, Robert rob...@openbsd.pap.st wrote:



 nat and rdr are now declared with match rules.

But  'pass' still works:

pass out on em0 inet from 192.168.1.0/24 to any flags S/SA keep state
nat-to (em0) round-robin

 An issue today was the box totally froze after I removed one of the
 redundant rules, did 'pfctl -f /etc/pf.conf', and ran 'systat queues'.
 As soon as I ran systat it froze dead. Not even a panic.

 You say you killed a box by trying to load a ruleset?
 Checked the config with -n before loading?

No, I am saying I killed the box by removing a single existing rule
from the ruleset and running systat.  it froze as soon as I ran
'systat queues' . After a reboot the box has no trouble running the
ruleset.

 The queues on the internal interface in that example are used to limit
 download speeds from the internet. Can't do that on the external
 interface. And yes, if not done right those rules would mess with
 traffic that is internal and should not have hit those queues in the
 first place.

Hmm... I simply copied the example, and my internal interface became
bandwidth-limited as in the example.

Thanks.



Re: Proliant DL380 G3 cannot get on network

2010-01-05 Thread Steve Shockley

On 1/5/2010 6:11 PM, Ted Bullock wrote:

I am trying to install OpenBSD 4.6 on an older DL380 G3, and am unable
to get an address from DHCP using the onboard network adapter.


Anything from tcpdump?

If tcpdump shows nothing, maybe check for firmware updates and reset the 
nvram to factory defaults.  I don't recall if the G3 still has an OS 
selection in the BIOS, if it does maybe try another one.


The DL380 G3 has ILO, once it's set up you can ssh to the ILO IP address 
and get the console.




Re: What does your environment look like?

2010-01-05 Thread Fuad NAHDI
I use OpenBSD-Stable with Gnome, triple-booting with Windows 7 and Centos
5.4
Some screenshots are here in my website
http://www.katalis.web.id/openbsd-4-5-screenshot-using-gnome-window-manager


On Sun, Jan 3, 2010 at 9:08 AM, Brynet bry...@gmail.com wrote:

 Hi,

 I know not everyone uses OpenBSD for a desktop OS, but I have been for
 nearly 5 years and I'm quite curious about some of your opinions? do you
  embrace minimalism or pure aesthetics? are the two mutually exclusive?

 When I started using OpenBSD (..around 3.7) I was frequently switching
 between window managers, tweaking.. but for 2 years now I've been using
 fluxbox and I believe I'm comfortable with it.

 * Do you use one of the bundled window managers like
 cwm(1)/twm(1)/fvwm(1) or something else?
 * What other utilities do you find useful, any dockapps or similar
 applets? personal customizations?
 * Do you try to keep things uniform across other desktops?
 * What does your environment look like? anyone willing to post
 screenshots or actual workspace photos?

 I realize none of this may be relevant or even useful, but I figured it
 was worth asking here anyway.

 Anyone feel like humouring me? :-)

 Thanks.
 -Bryan.