4.6-current Love Story

2009-09-04 Thread Rod Whitworth
I recently went looking for a netbook and was attracted by the Samsung
NC20. Hunting with the googlebird I saw a dmesg on todd.fries.net so I
felt reasonably positive and went and bought one. It was on special
with 2GB RAM and not much extra for a 320GB drive with the original
supplied in a USB case.

It came with Win XP home. Enough said about that! It got reduced to 50G
because I must run a few win things for clients.

Because there is lots of noise about Linux on Netbooks I decided to do
a quicky install so that I could see what X settings happened and copy
those for an OpenBSD install, if necessary.

A quick summary: Ubuntu netbook remix did not even get to display its
first screen. Looked like it lost vertical sync or something. SuSE
wanted to blow windows away no matter what I told it. Mandriva got to
the point of letting me select to install and then the screen never
changed but the USB dvd drive ran up and stopped again every little
while.
Mint, PCLinuxOS, and several others were useless.

So I decided to just see what happened with OpenBSD. Got an Aug 25 snap
and it went on a slickly as ever. I even got brave and let it do an xdm
setup.

Bingo! It JUST worked! I popped fluxbox, Firefox and a few other apps
and all was well.
Only gripe on day one - the etch-a-sketch pad is way too sensitive to
the lightest finger touchdown. I turned off the ability to use it for
mouse clicks in windows but it still sucks in OBSD of course.

Then I found out I could not do banking because I was missing a java
plug in. Well I had plenty of RAM and HDD so I compiled the thing right
there on a 1.6GHz cpu.

It worked like a charm. I now have a netbook with pf guarding my
network ports.

I knew that the inbuilt ath was not fully supported yet so  bought a
Dlink USB that shows as rum0. It can see my ral0 on my firewall but
cannot connect. H my old thinkpad talks to it just fine with a
supported Lenovo ath. More work to sus that out. Hints anybody?

Overall a happy experience with only the wi-fi as a showstopper for
travelling.
(BTW what's the go for accessing hotspots with quick reconfigs? These
damn USB things don't take major changes without a cold boot it seems.
Even from a windows reboot to my default OS the rum0 doesn't like it.)

Here is the mandatory dmesg with the rum in and also the USB stick.

OpenBSD 4.6-current (GENERIC) #133: Tue Aug 25 21:52:51 MDT 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: VIA Nano processor u2...@1300+mhz (CentaurHauls 686-class) 1.60
GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH
,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,CX16,xTPR
real mem  = 1877364736 (1790MB)
avail mem = 1810202624 (1726MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 04/22/09, BIOS32 rev. 0 @
0xfdb04, SMBIOS rev. 2.5 @ 0xdf010 (51 entries)
bios0: vendor Phoenix Technologies Ltd. version 09MQ date 04/22/2009
bios0: SAMSUNG ELECTRONICS CO., LTD. NC20/NB20
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP APIC MCFG HPET BOOT SSDT SLIC
acpi0: wakeup devices PWRB(S5) PER1(S3) MBTN(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: RNG AES AES-CTR SHA1 SHA256
cpu0: apic clock running at 199MHz
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 3, 24 pins
ioapic1 at mainbus0: apid 2 pa 0xfecc, version 3, 24 pins
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEGC)
acpiprt2 at acpi0: bus 1 (PE0C)
acpiprt3 at acpi0: bus 2 (PE1C)
acpiprt4 at acpi0: bus 255 (SP2P)
acpiec0 at acpi0
acpicpu0 at acpi0: C2, C1, PSS
acpipwrres0 at acpi0: FN00
acpitz0 at acpi0: critical temperature 95 degC
acpitz1 at acpi0: critical temperature 95 degC
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT1 type LION oem SAMSUNG Electronics
acpibtn0 at acpi0: LID0
acpibtn1 at acpi0: PWRB
acpibtn2 at acpi0: SLPB
acpivideo0 at acpi0: VGA_
acpivout0 at acpivideo0: CRT_
acpivout1 at acpivideo0: LCD_
acpivout2 at acpivideo0: DVI_
acpivout3 at acpivideo0: TV__
bios0: ROM list: 0xc/0xe800 0xce800/0x1000 0xdf000/0x1000!
cpu0: Enhanced SpeedStep 1597 MHz: speeds: 1600, 1400, 1300, 1200,
1100, 1000, 900, 800 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 VIA VX800 Host rev 0x12
pchb1 at pci0 dev 0 function 1 VIA VX800 Host rev 0x00
pchb2 at pci0 dev 0 function 2 VIA VX800 Host rev 0x00
pchb3 at pci0 dev 0 function 3 VIA VX800 DRAM rev 0x00
pchb4 at pci0 dev 0 function 4 VIA VX800 Host rev 0x00
VIA VX800 IOAPIC rev 0x00 at pci0 dev 0 function 5 not configured
pchb5 at pci0 dev 0 function 6 VIA VX800 Host rev 0x00
pchb6 at pci0 dev 0 function 7 VIA VX800 Host rev 0x00
vga1 at pci0 dev 1 function 0 VIA Chrome9 HC3 IGP rev 0x11
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb0 at pci0 dev 3 function 0 VIA VX800 PCIE rev 

Re: CPU RAM viz Squid Kerberos (network setup)

2009-09-04 Thread Joachim Schipper
On Thu, Sep 03, 2009 at 12:56:41PM +0200, soko.tica wrote:
 Hello list,
 
 I am setting up a mini network for myself, but trying to imitate a
 full-fledged network with all servers required, everything on i386
 architecture. Everything will run on 4.5 stable.
 
 Since Squid and Kerberos should be deployed, and I haven't worked with
 any of them, could anyone tell me which of them consumes more CPU
 power? I have two i386 boxes available, 3.00Mhz 512 Mb RAM and celeron
 2.88Mhz 750Mb RAM.
 
 Also, if anyone can tell me that placing ftp/tftp private server on
 inet alias of kerberos machine is stupid (since I figured out it would
 be stupid on squid machine), please don't hesitate to say it.

I'm inclined to question your should, but if you have two boxes that
run at about 3 GHz (I suppose MHz was a typo?) either should do
perfectly well. You can run on hardware a lot more modest than that, in
fact.

In a real network, there is something to be said for doing as little as
possible on the Kerberos machine, as a compromise of your KDC is pretty
painful (an attacker has access to everything Kerberos-enabled, and
you'll be busy replacing keytabs for quite a while). For the same
reason, you don't want to do too much on the firewall host.

Do note that FTP is pretty much a relic. Anonymous FTP is okay, although
it doesn't really offer any compelling advantages over HTTP, but most
other uses should be replaced with SFTP or another technology.

I'm not really sure that running Squid and ftpd on the same box is an
issue. I'm note sure if they can both do active FTP at the same time,
and of course they cannot both listen on port 21, but in the worst case
you can always just not use Squid for FTP.

Joachim



Re: cvs question

2009-09-04 Thread Otto Moerbeek
On Thu, Sep 03, 2009 at 04:21:29PM -0400, Kenneth R Westerback wrote:

 On Thu, Sep 03, 2009 at 12:07:52PM -0700, Brian Whalen wrote:
  When one enters cvs get commands, like cvs get src, ports, or
  xenocara, is one getting stable or current versions of these, how
  can one tell?
  
  Brian
  
 
 Without specifying a tag, version, etc., you should be getting
 -current assuming the repository you are connected to is up to date.

AND you do not have a sticky tag in your tree somewhere.

 
  Ken



router/firewall

2009-09-04 Thread Sha'ul
Where can I find some information or some sort of guide for how to setup 
and configure OpenBSD to install on an old PC to use as a router and 
firewall?




Re: router/firewall

2009-09-04 Thread Bret S. Lambert
On Fri, Sep 04, 2009 at 01:33:50AM -0700, Sha'ul wrote:
 Where can I find some information or some sort of guide for how to
 setup and configure OpenBSD to install on an old PC to use as a
 router and firewall?
 

The OpenBSD Installation Guide
http://www.openbsd.org/faq/faq4.html
(#1 hit for openbsd install guide in google)

PF User's Guide
http://www.openbsd.org/faq/pf/index.html
(#1 hit for pf guide in google)



Re: tmux - open terminal failed

2009-09-04 Thread Jan Stary
On Sep 03 20:01:53, Nicholas Marriott wrote:
 This should work in -current.

Yes it does.

 Older tmux, including 4.6, would need to reopen the tty device node which 
 meant
 permissions would get in the way, in -current it uses imsg and passes the tty
 fd that has already been opened from the client up to the server so it doesn't
 need to care about file permissions.
 
 If you can't run -current, right now you should be able to build and use the
 -current tmux on 4.6 or 4.5 without problems (although this may not be the 
 case
 in future).

I cvs'ed up my src tree and just did a 'make clean ; make ; make install'
in the usr.bin/tmux directory. What happens now is:

~$ id
uid=1000(hans) gid=1000(hans) groups=1000(hans), 0(wheel), 5(operator)

$ ls -l `tty`
crw--w  1 hans  tty5,   2 Sep  4 10:51 /dev/ttyp2

$ su - test
Password:

$ id
uid=1001(test) gid=999(test) groups=999(test)

$ ls -l `tty`
crw--w  1 hans  tty5,   2 Sep  4 10:51 /dev/ttyp2

$ tmux  # starts
$ ls -l `tty`   # in tmux
crw--w  1 test  tty5,   4 Sep  4 10:51 /dev/ttyp4


Thanks!

Jan


 On Thu, Sep 03, 2009 at 02:58:13PM +0200, Jan Stary wrote:
  While switching from screen to tmux and trying out things,
  I noticed that being su'd to another user (who does not
  own the terminal I am running in) I cannot start tmux:
  
  $ id
  uid=1000(hans) gid=1000(hans) groups=1000(hans), 0(wheel), 5(operator)
  
  $ su - test
  Password:
  
  $ id
  uid=1001(test) gid=999(test) groups=999(test)
  
  $ tmux
  open terminal failed: /dev/ttyp4: Permission denied
  
  $ ls -l `tty`
  crw--w  1 hans  tty5,   4 Sep  3 14:41 /dev/ttyp4
  
  This happens on both 4.5 (tmux package) and 4.6 (base tmux).
  (In fact, screen behaves the same in this respect.)
  
  Obviously, this doesn't apply when I am su root, which
  - luckilly - is the most common case of using tmux for me.
  But I believe the following is a pretty common situation:
  an admin is only allowed to log in remotely via his 'regular'
  user account (say, 'joe'). Once he's logged in, he su's to
  'admin' (who is in wheel and all that), and does his thing.
  Now, what if the 'admin' work calls for tmux? 'admin' cannot
  run tmux, because his terminal is owned by joe:tty.
  
  Is this a problem? If so, what would be the most elegant
  way of allowing su'd users to run tmux?
  
  Thanks for your time
  
  Jan



formation sur le virus grippal

2009-09-04 Thread Laurent Antoine
Bonjour, 

Concernant la grippe A et la possible pandimie grippale du virus H1 N1, il y a 
des informations ilimentaires ` connantre. 

Comme privue dans le plan pandimique du ministhre de la santi les adultes 
malades devront rester chez eux et appeler leur midecin giniraliste. 

Le ministhre de l'iducation nationale, privoit la fermeture des icoles si 
plusieurs cas sont diagnostiquis dans l'une d'elle. 

Administrativement tout est privu, mais dans les faits que se passe-t-il 
vraiment? 

- Comment savoir si un proche est atteint ? 
- Quels sont les sympttmes ? 
- Que faire pour se primunir efficacement ? 
- Quel matiriel utiliser ? 
- Quels sont les vraies mesures d'hygihne ` mettre en place au travail ? en 
famille ? 
- Comment utiliser efficacement le matiriel?

Bref, des questions que tout le monde va se poser dans la pricipitation cet 
automne, dans ces conditions, il vaut mieux jtre prjt, bien informi, aprhs 
avoir appris les bons gestes de santi au quotidien pour vivre et travailler 
sereinement. 

Mais surtout et c'est le plus important, savoir prodiguer les soins et prendre 
correctement en charge un proche ayant contracti le virus ! 

La sociiti Plus Haut Formation midicale propose une formation de 3 heures 
dispensie par des midecins et des infirmihres en intra dans les entreprises. 

Cette formation est prise en charge par le dispositif formation continue et 
ripond pricisiment ` toutes les questions que tous les collaborateurs vont se 
poser en plus d'une mise en pratique sur des simulations de cas concrets ! 

Pour plus d'informations sur cette formation, vous pouvez me contacter au 01 75 
43 25 99 ou tout simplement ripondre ` ce mail 
antoine.laur...@pandemie-gripale.fr

Je reste ` votre disposition pour tout entretien ` votre convenance et vous 
prie d'agrier, Madame, Monsieur, mes plus cordiales salutations.

Antoine LAURENT - antoine.laur...@pandemie-gripale.fr
www.pandemie-gripale.fr
A-Meds Groupe
3, rue Jean Jaurhs
91860 Epinay sous Sinart
Til : 01 75 43 25 99
Fax : 01 75 43 19 89


P.S. : pour vos commandes d'iquipement, vous pouvez vous connecter sur le 
www.pandemie-gripale.fr 



Re: 4.6-current Love Story

2009-09-04 Thread Rod Whitworth
On Fri, 04 Sep 2009 16:08:23 +1000, Rod Whitworth wrote:

I knew that the inbuilt ath was not fully supported yet so  bought a
Dlink USB that shows as rum0. It can see my ral0 on my firewall but
cannot connect. H my old thinkpad talks to it just fine with a
supported Lenovo ath. More work to sus that out. Hints anybody?

Overall a happy experience with only the wi-fi as a showstopper for
travelling.
(BTW what's the go for accessing hotspots with quick reconfigs? These
damn USB things don't take major changes without a cold boot it seems.
Even from a windows reboot to my default OS the rum0 doesn't like it.)

Here is the mandatory dmesg with the rum in and also the USB stick.

Sounds like the rum  was in me! I haven't had one for years though.
,$s/rum/run/g would help that message.
*** NOTE *** Please DO NOT CC me. I am subscribed to the list.
Mail to the sender address that does not originate at the list server is 
tarpitted. The reply-to: address is provided for those who feel compelled to 
reply off list. Thankyou.

Rod/
---
This life is not the real thing.
It is not even in Beta.
If it was, then OpenBSD would already have a man page for it.



Re: router/firewall

2009-09-04 Thread James Peltier
http://openbsd.org/faq/pf/index.html

---
James A. Peltier james_a_pelt...@yahoo.ca


--- On Fri, 9/4/09, Sha'ul pbap...@gmail.com wrote:

 From: Sha'ul pbap...@gmail.com
 Subject: router/firewall
 To: misc@openbsd.org
 Received: Friday, September 4, 2009, 4:33 AM
 Where can I find some information or
 some sort of guide for how to setup and configure OpenBSD to
 install on an old PC to use as a router and firewall?
 
 


  __
Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/



Re: router/firewall

2009-09-04 Thread Ivo Chutkin

Sha'ul wrote:
Where can I find some information or some sort of guide for how to setup 
and configure OpenBSD to install on an old PC to use as a router and 
firewall?


This is very useful article:

http://www.benjaminheckmann.de/howto/openbsd42_altq_v2.7.pdf

Regs,
Ivo





__ Information from ESET NOD32 Antivirus, version of virus 
signature database 4393 (20090904) __


The message was checked by ESET NOD32 Antivirus.

http://www.eset.com







__ Information from ESET NOD32 Antivirus, version of virus signature 
database 4394 (20090904) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



spawn: fork() failed

2009-09-04 Thread Siju George
Hi,

Some times i am not able to open more than n number of xterms in my
X ( fvwm2 ).
'n' varies but the error I get while trying to open xterm through
another x term is

$ xterm
xterm: Error 29, errno 35: Resource temporarily unavailable
Reason: spawn: fork() failed

If I try to open aterm through another aterm i get.

$ aterm
aterm: can't fork
aterm: aborting

Sometimes

$ls

jut hangs!

What could be the trouble?

Thanks

Siju

$ dmesg
OpenBSD 4.5-stable (GENERIC) #0: Tue Jun  2 10:15:05 IST 2009
r...@risen.hifxchn2.local:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 CPU 2.80GHz (GenuineIntel 686-class) 2.81 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,CNXT-ID,xTPR
real mem  = 2113433600 (2015MB)
avail mem = 2035261440 (1940MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 06/02/05, BIOS32 rev. 0 @
0xfa830, SMBIOS rev. 2.3 @ 0xf0800 (40 entries)
bios0: vendor Phoenix Technologies, LTD version 6.00 PG date 06/02/2005
bios0: Acer Aspire SA60
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC
acpi0: wakeup devices USB0(S5) USB1(S5) USB2(S5) USB3(S5) MAC0(S5)
AMR0(S4) UAR1(S5) PS2M(S5) PS2K(S4) PCI0(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 133MHz
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 14, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0
acpitz0 at acpi0: critical temperature 90 degC
acpibtn0 at acpi0: PWRB
bios0: ROM list: 0xc/0x8000 0xc8000/0x4000!
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 SiS 661 PCI rev 0x11
sisagp0 at pchb0
agp0 at sisagp0: aperture at 0xe800, size 0x400
ppb0 at pci0 dev 1 function 0 SiS 648FX AGP rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 SiS 6330 VGA rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 2 function 0 SiS 964 ISA rev 0x36
pciide0 at pci0 dev 2 function 5 SiS 5513 EIDE rev 0x01: 661: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
wd0 at pciide0 channel 0 drive 0: WDC WD400BB-00HEA0
wd0: 16-sector PIO, LBA, 38166MB, 78165360 sectors
wd1 at pciide0 channel 0 drive 1: WDC WD800BB-00JHC0
wd1: 16-sector PIO, LBA, 76319MB, 156301488 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 5
pciide0: channel 1 disabled (no drives)
auich0 at pci0 dev 2 function 7 SiS 7012 AC97 rev 0xa0: apic 2 int
18 (irq 5), SiS7012 AC97
ac97: codec id 0x414c4760 (Avance Logic ALC655 rev 0)
audio0 at auich0
ohci0 at pci0 dev 3 function 0 SiS 5597/5598 USB rev 0x0f: apic 2
int 20 (irq 10), version 1.0, legacy support
ohci1 at pci0 dev 3 function 1 SiS 5597/5598 USB rev 0x0f: apic 2
int 21 (irq 11), version 1.0, legacy support
ohci2 at pci0 dev 3 function 2 SiS 5597/5598 USB rev 0x0f: apic 2
int 22 (irq 9), version 1.0, legacy support
ehci0 at pci0 dev 3 function 3 SiS 7002 USB rev 0x00: apic 2 int 23 (irq 3)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 SiS EHCI root hub rev 2.00/1.00 addr 1
sis0 at pci0 dev 4 function 0 SiS 900 10/100BaseTX rev 0x90: apic 2
int 19 (irq 11), address 00:01:6c:c6:8a:ab
rlphy0 at sis0 phy 1: RTL8201L 10/100 PHY, rev. 1
isa0 at pcib0
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)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
it0 at isa0 port 0x2e/2: IT8705F rev 3, EC port 0x290
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 SiS OHCI root hub rev 1.00/1.00 addr 1
usb2 at ohci1: USB revision 1.0
uhub2 at usb2 SiS OHCI root hub rev 1.00/1.00 addr 1
usb3 at ohci2: USB revision 1.0
uhub3 at usb3 SiS OHCI root hub rev 1.00/1.00 addr 1
mtrr: Pentium Pro MTRR support
uhidev0 at uhub2 port 1 configuration 1 interface 0 Dell Dell Premium
USB Optical Mouse rev 2.00/0.09 addr 2
uhidev0: iclass 3/1
ums0 at uhidev0: 5 buttons, Z dir
wsmouse0 at ums0 mux 0
uhidev1 at uhub3 port 1 configuration 1 interface 0 Chicony USB
Keyboard rev 2.00/1.00 addr 2
uhidev1: iclass 3/1
ukbd0 at uhidev1: 8 modifier keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev2 at uhub3 port 1 configuration 1 interface 1 Chicony USB
Keyboard rev 2.00/1.00 addr 2
uhidev2: iclass 3/0, 3 report ids
uhid0 at uhidev2 reportid 1: input=1, output=0, feature=0
uhid1 at uhidev2 reportid 2: input=1, output=0, feature=0
uhid2 at uhidev2 reportid 3: input=3, output=0, feature=0
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
kqemu: kqemu version 

Re: spawn: fork() failed

2009-09-04 Thread Joachim Schipper
On Fri, Sep 04, 2009 at 03:54:07PM +0530, Siju George wrote:
 Hi,
 
 Some times i am not able to open more than n number of xterms in my
 X ( fvwm2 ).
 'n' varies but the error I get while trying to open xterm through
 another x term is
 
 $ xterm
 xterm: Error 29, errno 35: Resource temporarily unavailable
 Reason: spawn: fork() failed
 
 If I try to open aterm through another aterm i get.
 
 $ aterm
 aterm: can't fork
 aterm: aborting
 
 Sometimes
 
 $ls
 
 jut hangs!
 
 What could be the trouble?

It's likely to be too many processes or some other resource. Such limits
can be raised in /etc/login.conf (although the default process limit is
already rather high for simple use...)

Joachim



Re: spawn: fork() failed

2009-09-04 Thread Daniel Ouellet

Siju George wrote:

Hi,

Some times i am not able to open more than n number of xterms in my
X ( fvwm2 ).
'n' varies but the error I get while trying to open xterm through
another x term is

$ xterm
xterm: Error 29, errno 35: Resource temporarily unavailable
Reason: spawn: fork() failed

If I try to open aterm through another aterm i get.

$ aterm
aterm: can't fork
aterm: aborting

Sometimes

$ls

jut hangs!

What could be the trouble?

Thanks

Siju


I am not saying for sure this is your problem, but every time I have 
seen issue with fork it's because you reach the number of process limits 
under the login class of that user. Cold be as simple as that really and 
increasing the running process limits for the class used by that user 
may just do the trick. They are use the default class, if that account 
is special and does need more, then may be you can create a special 
class for it and increase the limits process allow here.


Just something to think about and try that I could think of. If that's 
not it, then sorry for the noise. Hope it help you never the less.


Best,

Daniel



Re: router/firewall

2009-09-04 Thread Sha'ul
Thank you for the info. I was not looking for anything for how to 
install OpenBSD, but only for how to use it as a router and wireless 
access point system for network




Re: router/firewall

2009-09-04 Thread Johan Beisser
On Fri, Sep 4, 2009 at 11:31 AM, Sha'ulpbap...@gmail.com wrote:
 Thank you for the info. I was not looking for anything for how to install
 OpenBSD, but only for how to use it as a router and wireless access point
 system for network

The difference between the two installs is almost zero. Understanding
one without the other is utterly pointless and leads to frustration
anyway.

Read the documentation and read the man pages.



Multiple DHCP interfaces

2009-09-04 Thread Fabio Almeida
Hi misc :)

I have the following setup:

em1 - LAN
em0 - Internet connection (DHCP)
em2 - Internet connection (Static Route)
em3 - Internet connection (DHCP)

For now I have two External interfaces working, em3 which sets the
default gateway via dhclient and em2 which I have included as an
aditional default gateway with the command:

/sbin/route add -mpath default 200.x.x.x

I was also able to use the static route with a route-to rule.

So, my questions:
1- Can I use dhclient on the two DHCP interfaces setting multiple
default gateways as I did with -mpath?
2- Is there an option on dhclient.conf (I read the man, but can't
figure out how to do this) to not set the gateway but save the gateway
ip address in a file, so I can use these files on pf.conf along with
route-to rules?
3- Is there a better way to do this?

Any directions will be appreciated.

Thanks in advance,
Fabio Almeida



Re: EuroBSDcon: 18-20 Sept. 2009, Cambridge, UK.

2009-09-04 Thread Rod Whitworth
On Fri, 4 Sep 2009 01:15:48 +0100, Stuart Henderson wrote:

EuroBSDcon 2009
Friday 18th - Sunday 20th September,
University of Cambridge, UK


I am coming from Australia and would like to know, apart from those who
are already on the speaker list, who is coming as far as OpenBSD users
and contributors so that I can meet as many as possible. It is great to
put faces to names and to watch your conceptions of how someone looks
in your mind get blown away by reality ;-)

Offlist replies, if you like to save noise here, can best go to 98 at
my domain (witworx dot com)

Looking forward to have some OpenBSD faces to see whom I would not
expect to see often given the distance. Maybe some can come visit here
in the future. Welcome awaits.




*** NOTE *** Please DO NOT CC me. I am subscribed to the list.
Mail to the sender address that does not originate at the list server is 
tarpitted. The reply-to: address is provided for those who feel compelled to 
reply off list. Thankyou.

Rod/
---
This life is not the real thing.
It is not even in Beta.
If it was, then OpenBSD would already have a man page for it.



Re: CPU RAM viz Squid Kerberos (network setup)

2009-09-04 Thread Edho P Arief
On Sat, Sep 5, 2009 at 12:12 AM, Lars Noodenlars.cura...@gmail.com wrote:
 Edho P Arief wrote:
 On Thu, Sep 3, 2009 at 5:56 PM, soko.ticasoko.t...@gmail.com wrote:
 Hello list,

 I am setting up a mini network for myself, but trying to imitate a
 full-fledged network with all servers required, everything on i386
 architecture. Everything will run on 4.5 stable.

 Since Squid and Kerberos should be deployed, and I haven't worked with
 any of them, could anyone tell me which of them consumes more CPU
 power? I have two i386 boxes available, 3.00Mhz 512 Mb RAM and celeron
 2.88Mhz 750Mb RAM.

 wow, 0.003 GHz processor and 64 MB RAM.

 Have 1 Gb/s down and ran into a sales drone who wrote down on paper that
 he'd upgrade it to 2GB/s for the same price if we extended the contract.
 Unfortunately, before he signed I started laughing and could not stop.

 3 Mhz is not quite the old 4.77 Mhz, but that is made up for by the 64MB
 RAM. B ;)

 -Lars


forgot to cc to m...@?

--
O ascii ribbon campaign - stop html mail - www.asciiribbon.org



Curso Trimestral: Terapia de Pareja

2009-09-04 Thread difusion-esa
[IMAGE]

Directores: Dr. Horacio Serebrinsky - Dr. Marcelo R. Ceberio

La Escuela sistimica Argentina es una institucisn que desarrolla
actividades de formacisn de Terapeutas familiares sistimicos,
investigacisn y asistencia psicolsgica.

Curso Trimestral



TERAPIA DE PAREJA

DESDE EL MODELO SISTEMICO



[IMAGE]

Coordina:
 Lic. Fernando RUBANO y Equipo docente

Horarios:
Miircoles de 10 a 12 Hs.

Inicio: 23 de Septiembre de 2009 - Finalizacisn:  09 de diciembre de 2009

Arancel: 3 cuotas de $200 (consulte modalidades de pago)

Solicitar programa -  Se entrega certificacisn al finalizar el curso



INFORMES E INSCRIPCION:
Fray Justo S. M. de Oro 1843 (C1414DBC) CABA.
Te/Fax: 4774-2875/6112 4899-1053 Web: www.escuelasistemica.com.ar -
i...@escuelasistemica.com.ar

[demime 1.01d removed an attachment of type image/gif which had a name of 
texto-esa chiq.gif]

[demime 1.01d removed an attachment of type image/jpeg which had a name of 
pareja 5.jpg]



Cyrillic fonts in X Window. (fwd)

2009-09-04 Thread 4625

This problem still exist yet. I see no advices.

--
4625

-- Forwarded message --
Date: Fri, 31 Jul 2009 20:52:25 +
To: misc@openbsd.org
Subject: Cyrillic fonts in X Window.

I have add string 'FontPath /usr/X11R6/lib/X11/fonts/cyrillic/' into 
xorg.conf, then I execute fc-cache. However, these fonts unavailable in X. What 
is going wrong?


fc-cache -v
Fontconfig error: Cannot load default config file
/usr/X11R6/lib/X11/fonts/TTF: skipping, 23 fonts, 0 dirs
/usr/X11R6/lib/X11/fonts/Type1: skipping, 29 fonts, 0 dirs
/usr/X11R6/lib/X11/fonts/cyrillic: skipping, 0 fonts, 0 dirs