Re: Packages issues

2011-11-11 Thread Marc Espie
On Fri, Nov 11, 2011 at 11:56:29AM +1100, John Tate wrote:
 Yeah I know, it just seems like an odd dependency.
 
 On Thu, Nov 10, 2011 at 6:51 PM, Antoine Jacoutot ajacou...@bsdfrog.org 
 wrote:
  * For some reason anjuta comes with Avahi, which doesn't seem to make
  any sense. Why?
 
  anjuta does not come with avahi per se.
  It's probably a dependency of anjuta that needs it.
 
  --
  Antoine
 

Well, if you feel like untangling the dependency nightmare that comes with
modern desktop systems, good luck !



can't raise gnome screen resolution

2011-11-11 Thread Sha'ul
I am using GNOME 2.32 can not chage the resolution to higher than 
1024x768 on Intel 945G. In Windows 7 it goes up to something like 
2000x1300 or 15000. I edited xorg.conf to Depth 24 Modes 1280x1024 and 
it is still not going higher than 1024x768. Dmesg after xorg.conf


Section ServerLayout
Identifier X.org Configured
Screen  0  Screen0 0 0
InputDeviceMouse0 CorePointer
InputDeviceKeyboard0 CoreKeyboard
EndSection

Section Files
ModulePath   /usr/X11R6/lib/modules
FontPath /usr/local/lib/X11/fonts/mscorefonts
FontPath /usr/X11R6/lib/X11/fonts/misc/
FontPath /usr/X11R6/lib/X11/fonts/TTF/
FontPath /usr/X11R6/lib/X11/fonts/OTF/
FontPath /usr/X11R6/lib/X11/fonts/Type1/
FontPath /usr/X11R6/lib/X11/fonts/100dpi/
FontPath /usr/X11R6/lib/X11/fonts/75dpi/
EndSection

Section Module
Load  dbe
Load  dri
Load  dri2
Load  extmod
Load  glx
Load  record
EndSection

Section InputDevice
Identifier  Keyboard0
Driver  kbd
EndSection

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol wsmouse
Option  Device /dev/wsmouse
Option  ZAxisMapping 4 5 6 7
EndSection

Section Monitor
Identifier   Monitor0
VendorName   Monitor Vendor
ModelNameMonitor Model
EndSection

Section Device
### Available Driver options are:-
### Values: i: integer, f: float, bool: True/False,
### string: String, freq: f Hz/kHz/MHz,
### percent: f%
### [arg]: arg optional
#Option NoAccel   # [bool]
#Option SWcursor  # [bool]
#Option ColorKey  # i
#Option CacheLines# i
#Option Dac6Bit   # [bool]
#Option DRI   # [bool]
#Option NoDDC # [bool]
#Option ShowCache # [bool]
#Option XvMCSurfaces  # i
#Option PageFlip  # [bool]
Identifier  Card0
Driver  intel
BusID   PCI:0:2:0
EndSection

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
DefaultDepth   24
SubSection Display
Viewport   0 0
Depth 1
EndSubSection
SubSection Display
Viewport   0 0
Depth 4
EndSubSection
SubSection Display
Viewport   0 0
Depth 8
EndSubSection
SubSection Display
Viewport   0 0
Depth 15
EndSubSection
SubSection Display
Viewport   0 0
Depth 16
EndSubSection
SubSection Display
Viewport   0 0
Depth 24
Modes   1280x1024
EndSubSection
EndSection


OpenBSD 5.0-stable (GENERIC.MP) #0: Tue Nov  1 02:46:09 PDT 2011
sh...@qrjhg.my.domain:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 3479896064 (3318MB)
avail mem = 3373207552 (3216MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xfcca0 (24 entries)
bios0: vendor American Megatrends Inc. version P2.10 date 01/18/2008
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP APIC MCFG OEMB SSDT
acpi0: wakeup devices P0P2(S4) P0P1(S4) PS2K(S4) PS2M(S4) UAR1(S4) 
EUSB(S4) MC97(S4) HDAC(S4) P0P4(S4) P0P5(S4) P0P6(S4) P0P7(S4) P0P8(S4) 
P0P9(S4) USB0(S4) USB1(S4) USB2(S4) USB3(S4) SLPB(S4)

acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Pentium(R) CPU E6800 @ 3.33GHz, 3324.53 MHz
cpu0: 
FPU,VME,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,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,XSAVE,LONG

cpu0: 2MB 64b/line 8-way L2 cache
cpu0: apic clock running at 265MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Pentium(R) CPU E6800 @ 3.33GHz, 3324.13 MHz
cpu1: 
FPU,VME,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,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,XSAVE,LONG

cpu1: 2MB 64b/line 8-way L2 cache
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P2)
acpiprt2 at acpi0: bus 3 (P0P1)
acpiprt3 at acpi0: bus 2 (P0P4)
acpiprt4 at acpi0: bus 1 (P0P5)
acpiprt5 at acpi0: bus -1 (P0P6)
acpiprt6 at acpi0: bus -1 (P0P7)
acpiprt7 at acpi0: bus -1 (P0P8)
acpiprt8 at acpi0: bus -1 (P0P9)
acpicpu0 at acpi0: PSS
acpicpu1 at 

Certificat AES or Camelia

2011-11-11 Thread hvom .org
Hi all

I'm search one soluce for my server and for a the best performance
ssl. Low ressources and speed performance

Best regards



firefox 5.0.1 ulimit -d

2011-11-11 Thread Sha'ul
I am trying to build from stable or release ports for 5.0.1 and I tried 
to set ulimit -d 9, ulimit -d 512999, for Firefox and I get the same 
error. This is on a Pentium III 650MHz 384MB, Firefox was not a problem 
to build on AMD64 5.0-stable


 -lxcb -lXrender -lX11 -lXt -lgthread-2.0 -L/usr/X11R6/lib -lfreetype 
-lz  -L/usr/local/lib -lnss3 -lsmime3 -lsoftokn3 -lssl3 -pthread -lcrmf 
 -lkrb5 -lcrypto

collect2: ld terminated with signal 11 [Segmentation fault]
gmake[3]: *** [libxul.so.24.0] Error 1
gmake[3]: Leaving directory 
`/usr/ports/pobj/firefox-5.0/mozilla-release/toolkit/library'

gmake[2]: *** [libs_tier_platform] Error 2
gmake[2]: Leaving directory `/usr/ports/pobj/firefox-5.0/mozilla-release'
gmake[1]: *** [tier_platform] Error 2
gmake[1]: Leaving directory `/usr/ports/pobj/firefox-5.0/mozilla-release'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/www/mozilla-firefox (line 2494 of 
/usr/ports/infrastructure/mk/bsd.port.mk).

*** Error code 1

Stop in /usr/ports/www/mozilla-firefox (line 1699 of 
/usr/ports/infrastructure/mk/bsd.port.mk).

*** Error code 1

Stop in /usr/ports/www/mozilla-firefox (line 2270 of 
/usr/ports/infrastructure/mk/bsd.port.mk).

*** Error code 1

Stop in /usr/ports/www/mozilla-firefox (line 2250 of 
/usr/ports/infrastructure/mk/bsd.port.mk).

*** Error code 1

Stop in /usr/ports/www/mozilla-firefox (line 1730 of 
/usr/ports/infrastructure/mk/bsd.port.mk).

*** Error code 1

Stop in /usr/ports/www/mozilla-firefox (line 2250 of 
/usr/ports/infrastructure/mk/bsd.port.mk).


OpenBSD 5.0-stable (GENERIC) #0: Fri Nov  4 15:39:20 PDT 2011
p...@hjgjhb.my.domain:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III (GenuineIntel 686-class) 648 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PSE36,SER,MMX,FXSR,SSE

real mem  = 402178048 (383MB)
avail mem = 385548288 (367MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/02/99, BIOS32 rev. 0 @ 0xfd780, 
SMBIOS rev. 2.1 @ 0xefca0 (49 entries)

bios0: vendor Intel Corp. version 4W4SB0X0.15A.0017.P12 date 12/21/1999
bios0: Gateway 
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S5
acpi0: tables DSDT FACP
acpi0: wakeup devices PCI0(S1) USB0(S1) UAR1(S1) UAR2(S1)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0: C3, C2
acpipwrres0 at acpi0: PFAN
bios0: ROM list: 0xc/0xa800 0xe/0x4000! 0xe4000/0xc000
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 82443BX AGP rev 0x03
intelagp0 at pchb0
agp0 at intelagp0: aperture at 0xec00, size 0x400
ppb0 at pci0 dev 1 function 0 Intel 82443BX AGP rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 NVIDIA GeForce2 MX 100 rev 0xb2
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
piixpcib0 at pci0 dev 7 function 0 Intel 82371AB PIIX4 ISA rev 0x02
pciide0 at pci0 dev 7 function 1 Intel 82371AB IDE rev 0x01: DMA, 
channel 0 wired to compatibility, channel 1 wired to compatibility

wd0 at pciide0 channel 0 drive 0: WDC WD800JB-00JJA0
wd0: 16-sector PIO, LBA, 76319MB, 156301488 sectors
atapiscsi0 at pciide0 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, DVD-RAM GSA-H55N, 1.02 ATAPI 
5/cdrom removable

wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
uhci0 at pci0 dev 7 function 2 Intel 82371AB USB rev 0x01: irq 9
piixpm0 at pci0 dev 7 function 3 Intel 82371AB Power rev 0x02: SMI
iic0 at piixpm0
spdmem0 at iic0 addr 0x50: 128MB SDRAM non-parity PC100CL2
spdmem1 at iic0 addr 0x51: 128MB SDRAM non-parity PC133CL3
spdmem2 at iic0 addr 0x52: 128MB SDRAM non-parity PC100CL2
rl0 at pci0 dev 14 function 0 Accton MPX 5030/5038 rev 0x10: irq 11, 
address 00:e0:29:95:b9:ee

rlphy0 at rl0 phy 0: RTL internal PHY
emu0 at pci0 dev 16 function 0 Creative Labs SoundBlaster Audigy rev 
0x03: irq 9

ac97: codec id 0x83847609 (SigmaTel STAC9721/23)
ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D
audio0 at emu0
Creative Labs SoundBlaster Audigy Digital rev 0x03 at pci0 dev 16 
function 1 not configured

Creative Labs Firewire rev 0x00 at pci0 dev 16 function 2 not configured
isa0 at piixpcib0
isadma0 at isa0
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
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 Intel UHCI root hub rev 1.00/1.00 addr 1
mtrr: Pentium Pro MTRR support
uhidev0 at uhub0 port 2 configuration 1 interface 0 Logitech USB 
Optical Mouse rev 2.00/54.00 addr 2

uhidev0: iclass 3/1
ums0 at uhidev0: 8 buttons, Z dir
wsmouse0 at ums0 mux 0
vscsi0 at root
scsibus1 at vscsi0: 256 

Re: Packages issues

2011-11-11 Thread Antoine Jacoutot
On Fri, Nov 11, 2011 at 09:06:35AM +0100, Marc Espie wrote:
 Well, if you feel like untangling the dependency nightmare that comes with
 modern desktop systems, good luck !

Yes, the dependency chain for modern desktop is quite complex.
In our packages (at least for GNOME related stuffs) we are trying to find the 
good balance so that most expected functionnality works out of the box.
The drawback of this is that we have to enforce some dependencies sometimes, 
but it is either that or we end up like Debian and have 15 packages created out 
of 1. This would end up in a complete nightmare wrt maintainability and users 
would need to know exactly which -libs, -common... package they need to install 
to make something work.
But do note that unlike most Linux distributions, OpenBSD does _not_ start any 
daemon installed from packages by default, the user/administrator has to 
explicitely enable it. So on and on, when you end up with avahi in your 
dependency chain it is not such a big deal as it will not be started anyway.

-- 
Antoine



Re: NFS not working

2011-11-11 Thread Jan Stary
On Nov 11 17:40:01, John Tate wrote:
 Fixed that now getting...
 # mount smass:/home /mhome/
 Cannot MNT PRC: RPC: Program not registered

is mountd even running?


 On Fri, Nov 11, 2011 at 5:38 PM, John Tate j...@johntate.org wrote:
  This is what I am getting...
 
  in /var/log/daemon
  Nov 11 17:35:58 smass nfsd[30663]: can't bind udp addr
 
 
  On Wed, Nov 9, 2011 at 11:19 PM, Rares Aioanei bsdlis...@gmail.com wrote:
 
 
  On Wed, 9 Nov 2011, John Tate wrote:
 
  Misc,
 
  I can't seem to mount NFS exports from my new OpenBSD 5.0 desktop system.
 
  # cat
  /etc/exports
  #   $OpenBSD: exports,v 1.2 2002/05/31 08:15:44 pjanzen Exp $
  #
  # NFS exports Database
  # See exports(5) for more information.  Be very careful:
  misconfiguration
  # of this file can result in your filesystems being readable by the
 world.
 
  /home -alldirs -rw -network=10.0.0 -mask=255.0.0.0
 
  # ps ax | grep nfs
  10290 ??  I   0:00.00 nfsd: server (nfsd)
  24226 ??  I   0:00.00 nfsd: server (nfsd)
  5635 ??  I   0:00.00 nfsd: server (nfsd)
  15980 ??  I   0:00.00 nfsd: server (nfsd)
 
  # hostname
  smass.kab.loc
 
  Perhaps network should be 10 not 10.0.0 ? I doubt it because the server
  10.0.0.1 and the client 10.0.0.10, so even a faulty netmask will work.
 
  # mount -t nfs smass:/home /net/smass/home
  mount_nfs: can't access /home: Permission denied
  # hostname
  rothbard.kab.loc
 
  John Tate
 
 
  Check the permissions on the exported directory and make sure you've
  restarted the NFS server. These are the most common causes for
  permission denied errors with NFS that I encountered.
 
 
 
 
  --
  www.johntate.org
 
 
 
 
 --
 www.johntate.org



Re: NFS not working

2011-11-11 Thread Otto Moerbeek
On Fri, Nov 11, 2011 at 09:57:34AM +0100, Jan Stary wrote:

 On Nov 11 17:40:01, John Tate wrote:
  Fixed that now getting...
  # mount smass:/home /mhome/
  Cannot MNT PRC: RPC: Program not registered
 
 is mountd even running?

and portmap for that matter?

-Otto

 
 
  On Fri, Nov 11, 2011 at 5:38 PM, John Tate j...@johntate.org wrote:
   This is what I am getting...
  
   in /var/log/daemon
   Nov 11 17:35:58 smass nfsd[30663]: can't bind udp addr
  
  
   On Wed, Nov 9, 2011 at 11:19 PM, Rares Aioanei bsdlis...@gmail.com 
   wrote:
  
  
   On Wed, 9 Nov 2011, John Tate wrote:
  
   Misc,
  
   I can't seem to mount NFS exports from my new OpenBSD 5.0 desktop 
   system.
  
   # cat
   /etc/exports
   #   $OpenBSD: exports,v 1.2 2002/05/31 08:15:44 pjanzen Exp $
   #
   # NFS exports Database
   # See exports(5) for more information.  Be very careful:
   misconfiguration
   # of this file can result in your filesystems being readable by the
  world.
  
   /home -alldirs -rw -network=10.0.0 -mask=255.0.0.0
  
   # ps ax | grep nfs
   10290 ??  I   0:00.00 nfsd: server (nfsd)
   24226 ??  I   0:00.00 nfsd: server (nfsd)
   5635 ??  I   0:00.00 nfsd: server (nfsd)
   15980 ??  I   0:00.00 nfsd: server (nfsd)
  
   # hostname
   smass.kab.loc
  
   Perhaps network should be 10 not 10.0.0 ? I doubt it because the server
   10.0.0.1 and the client 10.0.0.10, so even a faulty netmask will work.
  
   # mount -t nfs smass:/home /net/smass/home
   mount_nfs: can't access /home: Permission denied
   # hostname
   rothbard.kab.loc
  
   John Tate
  
  
   Check the permissions on the exported directory and make sure you've
   restarted the NFS server. These are the most common causes for
   permission denied errors with NFS that I encountered.
  
  
  
  
   --
   www.johntate.org
  
  
  
  
  --
  www.johntate.org



Re: similar lvm tool on openbsd??

2011-11-11 Thread carlopmart

On 11/11/2011 03:48 AM, Nick Holland wrote:

On 11/10/11 14:49, carlopmart wrote:

Hi all,

   is it possible to work under OpenBSD with disk volumes?? Like in linux
world does LVM... If not, how can I expand/resize a disk partition??


In the way LVM or Veritas products or some other systems do, no.

However, most use of resizing partitions is usually a way of saying, I
screwed up, maybe I can fix it.  May I instead suggest...not screwing
up in the first place, or designing the system knowing the unknowns you
will run into?

For enlarging a partition with space available after it, there is
growfs(8).  You can't change the beginning of a partition with growfs,
you can't shrink a partition with growfs, but you can enlarge it at the
end, if you have space available.

On a modern hard disk, it is easy to have ten or more times the space
you will ever need.  DON'T ALLOCATE IT!  Fill your /usr partition?  make
a new (bigger) one in the free space, copy over the old /usr to the new
one, change your /etc/fstab to point to the new one, reboot, done.  Be
careful with it, you don't even need console.

If you have an app where you know you will be filling disks, plan ahead
there, too.  A few years ago, I built an e-mail archive.  We didn't try
to pretend we would make one file system that would hold years of data,
we made lots of 500GB partitions, filled 'em, moved on to the next one,
filled it, so on.  Each partition filled after a few months.  When we
ran out of empty disk space, we took entire arrays off the machine and
put them on the shelf (alternates: new machine, additional external
arrays, etc).

Sometimes, you just don't know exactly how needs are going to break
down, but even then, you can do some guessing.  For example, I help run
an OpenBSD mirror.  We opted to cut the array (about 420G) that holds
the primary things it deals out (anoncvs  FTP) into two chunks, one for
each of its primary functions.  We opted to give about 20G to the
anoncvs repository and 350GB of OpenBSD FTP space.  We figured at some
point, we'd run out of one or the other, but we weren't sure which.  We
put the bigger, FTP slice at the beginning of the disk, and the anoncvs
chunk at the end, and 50GB of UNUSED SPACE in the middle.  The plan is
this: if we run out of FTP space, we put the 50GB on FTP space, and
growfs it.  If we run out of anoncvs space, we create another 20GB space
under the existing partition, fill it with data, delete the old one,
add the old one's space to the new anoncvs partition, growfs it,
ta-da, doubled space.

As it turned out, we are running tight on ftp space -- each OpenBSD
release has more than doubled in size since the mirror was installed,
and we'll probably need to add-in that 50GB before 5.1 comes out, but
that should hold us a while.

The biggest advantage I see to volume managers is the ability to grow a
mount point from one set of disks over to a new set of disks.  However,
I really think you are usually better off organizing your data into
multiple chunks than to add new failure points and complexity to a
system.  Plan on this from the beginning...WHEN I run out of space, I
will do ..., as opposed to, Oh, poo. I'm out of space...and my app
wasn't designed to be multiple storage space aware...

In short...I just haven't found need for most of the things people do
with volume managers.  But the lack is hardly a show stopper for
anything I have tried to do.  Plus...I've seen problems CAUSED by volume
managers: file systems made up of chunks here and there are more complex
and more likely to do something Really Unhappy than simple, single-chunk
file systems, and seen people try to reassembly very complex systems
from bits and pieces when a few cables got confused...

Nick.



Thanks Nick. growfs suites my needs. Is this the correct procedure??

http://wiki.arpnetworks.com/wiki/ResizeOpenBSDRootFilesystem

--
CL Martinez
carlopmart {at} gmail {d0t} com



Re: can't raise gnome screen resolution

2011-11-11 Thread Matthieu Herrb
On Fri, Nov 11, 2011 at 8:15 AM, Sha'ul sh...@lavabit.com wrote:
 I am using GNOME 2.32 can not chage the resolution to higher than 1024x768
 on Intel 945G. In Windows 7 it goes up to something like 2000x1300 or
15000.
 I edited xorg.conf to Depth 24 Modes 1280x1024 and it is still not going
 higher than 1024x768. Dmesg after xorg.conf

 Section ServerLayout
Identifier X.org Configured
Screen  0  Screen0 0 0
InputDeviceMouse0 CorePointer
InputDeviceKeyboard0 CoreKeyboard
 EndSection

 Section Files
ModulePath   /usr/X11R6/lib/modules
FontPath /usr/local/lib/X11/fonts/mscorefonts
FontPath /usr/X11R6/lib/X11/fonts/misc/
FontPath /usr/X11R6/lib/X11/fonts/TTF/
FontPath /usr/X11R6/lib/X11/fonts/OTF/
FontPath /usr/X11R6/lib/X11/fonts/Type1/
FontPath /usr/X11R6/lib/X11/fonts/100dpi/
FontPath /usr/X11R6/lib/X11/fonts/75dpi/
 EndSection

 Section Module
Load  dbe
Load  dri
Load  dri2
Load  extmod
Load  glx
Load  record
 EndSection

 Section InputDevice
Identifier  Keyboard0
Driver  kbd
 EndSection

 Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol wsmouse
Option  Device /dev/wsmouse
Option  ZAxisMapping 4 5 6 7
 EndSection

 Section Monitor
Identifier   Monitor0
VendorName   Monitor Vendor
ModelNameMonitor Model
 EndSection

 Section Device
### Available Driver options are:-
### Values: i: integer, f: float, bool: True/False,
### string: String, freq: f Hz/kHz/MHz,
### percent: f%
### [arg]: arg optional
#Option NoAccel   # [bool]
#Option SWcursor  # [bool]
#Option ColorKey  # i
#Option CacheLines# i
#Option Dac6Bit   # [bool]
#Option DRI   # [bool]
#Option NoDDC # [bool]
#Option ShowCache # [bool]
#Option XvMCSurfaces  # i
#Option PageFlip  # [bool]
Identifier  Card0
Driver  intel
BusID   PCI:0:2:0
 EndSection

 Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
DefaultDepth   24
SubSection Display
Viewport   0 0
Depth 1
EndSubSection
SubSection Display
Viewport   0 0
Depth 4
EndSubSection
SubSection Display
Viewport   0 0
Depth 8
EndSubSection
SubSection Display
Viewport   0 0
Depth 15
EndSubSection
SubSection Display
Viewport   0 0
Depth 16
EndSubSection
SubSection Display
Viewport   0 0
Depth 24
Modes   1280x1024
EndSubSection
 EndSection

Look in /var/log/Xorg.0.log for obvious error messages, or paste it
here so that people can try to help you.


 OpenBSD 5.0-stable (GENERIC.MP) #0: Tue Nov  1 02:46:09 PDT 2011
sh...@qrjhg.my.domain:/usr/src/sys/arch/amd64/compile/GENERIC.MP
 real mem = 3479896064 (3318MB)
 avail mem = 3373207552 (3216MB)
 mainbus0 at root
 bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xfcca0 (24 entries)
 bios0: vendor American Megatrends Inc. version P2.10 date 01/18/2008
 acpi0 at bios0: rev 0
 acpi0: sleep states S0 S1 S4 S5
 acpi0: tables DSDT FACP APIC MCFG OEMB SSDT
 acpi0: wakeup devices P0P2(S4) P0P1(S4) PS2K(S4) PS2M(S4) UAR1(S4) EUSB(S4)
 MC97(S4) HDAC(S4) P0P4(S4) P0P5(S4) P0P6(S4) P0P7(S4) P0P8(S4) P0P9(S4)
 USB0(S4) USB1(S4) USB2(S4) USB3(S4) SLPB(S4)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: Intel(R) Pentium(R) CPU E6800 @ 3.33GHz, 3324.53 MHz
 cpu0:

FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3
,CX16,xTPR,PDCM,XSAVE,LONG
 cpu0: 2MB 64b/line 8-way L2 cache
 cpu0: apic clock running at 265MHz
 cpu1 at mainbus0: apid 1 (application processor)
 cpu1: Intel(R) Pentium(R) CPU E6800 @ 3.33GHz, 3324.13 MHz
 cpu1:

FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3
,CX16,xTPR,PDCM,XSAVE,LONG
 cpu1: 2MB 64b/line 8-way L2 cache
 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
 acpimcfg0 at acpi0 addr 0xe000, bus 0-255
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus -1 (P0P2)
 acpiprt2 at acpi0: bus 3 (P0P1)
 acpiprt3 at 

Re: NFS not working

2011-11-11 Thread Benny Lofgren
On 2011-11-11 07.40, John Tate wrote:
 Fixed that now getting...
 # mount smass:/home /mhome/
 Cannot MNT PRC: RPC: Program not registered

Your mountd and/or portmap most likely isn't running.

Have you followed the instructions in the FAQ? If not, backtrack
all your efforts, read up on what to do and try again.

http://www.openbsd.org/faq/faq6.html#NFS
man portmap
man nfsd
man mountd
man exports


Regards,
/Benny


 On Fri, Nov 11, 2011 at 5:38 PM, John Tate j...@johntate.org wrote:
 This is what I am getting...

 in /var/log/daemon
 Nov 11 17:35:58 smass nfsd[30663]: can't bind udp addr


 On Wed, Nov 9, 2011 at 11:19 PM, Rares Aioanei bsdlis...@gmail.com wrote:


 On Wed, 9 Nov 2011, John Tate wrote:

 Misc,

 I can't seem to mount NFS exports from my new OpenBSD 5.0 desktop system.

 # cat
 /etc/exports
 #   $OpenBSD: exports,v 1.2 2002/05/31 08:15:44 pjanzen Exp $
 #
 # NFS exports Database
 # See exports(5) for more information.  Be very careful:
  misconfiguration
 # of this file can result in your filesystems being readable by the
 world.

 /home -alldirs -rw -network=10.0.0 -mask=255.0.0.0

 # ps ax | grep nfs
 10290 ??  I   0:00.00 nfsd: server (nfsd)
 24226 ??  I   0:00.00 nfsd: server (nfsd)
 5635 ??  I   0:00.00 nfsd: server (nfsd)
 15980 ??  I   0:00.00 nfsd: server (nfsd)

 # hostname
 smass.kab.loc

 Perhaps network should be 10 not 10.0.0 ? I doubt it because the server
 10.0.0.1 and the client 10.0.0.10, so even a faulty netmask will work.

 # mount -t nfs smass:/home /net/smass/home
 mount_nfs: can't access /home: Permission denied
 # hostname
 rothbard.kab.loc

 John Tate


 Check the permissions on the exported directory and make sure you've
 restarted the NFS server. These are the most common causes for
 permission denied errors with NFS that I encountered.




 --
 www.johntate.org

 
 
 
 --
 www.johntate.org
 

-- 
internetlabbet.se / work:   +46 8 551 124 80  / Words must
Benny Lofgren/  mobile: +46 70 718 11 90 /   be weighed,
/   fax:+46 8 551 124 89/not counted.
   /email:  benny -at- internetlabbet.se



Re: RfC-1323-Test for pf/NAT-Installation

2011-11-11 Thread Adriaan
On Thu, Nov 10, 2011 at 11:53 PM, Tobias Crefeld t...@cataneo.eu wrote:
 Running a pair of OpenBSD-4.8-boxes as NAT-Firewall between public
 Internet and some Linux-webservers in a DMZ basically works fine so far.

 But this week a client enabled RFC-1323 and his http/https-access to our
 webservers didn't work any more and all he got was an
 ICMP-unreachable with un-NATed source-address. As a workaround he
 provisionally disabled this option.

 There is of course the other workaround to switch off
 tcp-windowsscaling, etc. on every box but I hope to find a
 configuration that it works through the NAT-box.

 I read some papers on OpenBSD's website but I'm still a bit confused
 about all those scrub- and state-control-rules (with and without
 renumbering), so it seems to be the right time for another testbed.

 Problem: How can I simulate an http/https-access with enabled
 RFC-1323-options?

The issue of TCP window scaling for pf is well explained in  the
section Create TCP states on the initial SYN packet
http://undeadly.org/cgi?action=articlesid=20060928081238

From my OpenBSD desktop using firefox  :

$ sudo pfctl -vvss

all tcp 192.168.222.20:13929 - 74.125.79.19:443   ESTABLISHED:ESTABLISHED
  [2051800193 + 46464] wscale 0  [2773829936 + 16384] wscale 6

all tcp 192.168.222.20:28008 - 80.255.11.121:80   FIN_WAIT_2:FIN_WAIT_2
  [2631730358 + 7808] wscale 0  [3474674542 + 16384] wscale 7


Adriaan



bash script problem

2011-11-11 Thread John Tate
I put a comment in before the line with a problem, I don't understand
why it's not working.

bash# for x in 1 2 3 4; do time dd if=/dev/random of=/home/test$x
bs=1k count=64k  done \
while [ $V -eq 0 ]; \
do \
#why the hell is this such a problem!
V = 0 \
clear \
echo -n Jobs running...  \
if jobs 4; then; echo -n last job running!; else; echo -n last job stopped;
 env V=1; fi \
sleep 1 \
done
time cat secure1 secure2 secure3 secure4  secure_t.vnd \
time rm secure1 secure2 secure3 secure4

John Tate.

-- 
www.johntate.org



Boletin de Laser Ocular

2011-11-11 Thread Laser Ocular
Boletin de Laser Ocular de Octubre 2011





Si desea desuscribirse a este boletin responda a este email como CANCEL.

If you no longer wish to receive communication from us please reply with
CANCEL.


Si tiene dificultades para ver este email por favor haga click aqum.



Boletin electronico de noticias   Octubre de 2011






Estimado suscriptor.

Reciba un cordial saludo de LASER OCULAR.
 

   Temas cientificos
 



Requisitos para Cirugia Laser Ocular

Dra. Fabiola de Orta Arellano
Cirujana oftalmologa, especialista en Cirugia Laser Ocular y Trasplante de
Corneas

No todas las personas son buenas candidatas para la cirugia laser y su
especialista
debera determinar si el paciente es o no un buen candidato para la operacion
laser de los ojos.

A continuacion indicaremos los requisitos generales que debe cumplir una
persona
que desee operarse la vista.

ver mas..




Cirugia Facorrefractiva

Dr. Jose Luis Salinas Gallegos
Cirujano oftalmologo, especialista en Cirugia de Cataratas y Lentes
Intraoculares

La cirugia facorrefractiva se refiere a la extraccion del cristalino cuando
no hay catarata. Esto se realiza en algunos casos en los que el paciente tiene
demasiada graduacion como para realizar una cirugia laser excimer.

Basicamente se usa en alguno de estos casos o combinacion de ellos:

- Alta miopia,
 - Alta hipermetropia,
 - Presbicia (vista cansada).

ver mas..




Enfermedades

?Tienes miopia, astigmatismo, cataratas, etc.?

Consulta nuestra seccion de Padecimientos e informate sobre alguna enfermedad
ocular.

ver mas..




Cirugmas

?Tienes miopia, astigmatismo, cataratas, etc.?

Consulta nuestra seccion de Cirugias e informate sobre algun tipo de cirugia
oftalmologica en particular.

ver mas..



Libro electronico

E-book que aborda la Cirugia Laser Ocular, enfocado a aquellas personas que
les interesa someterse a este innovador procedimiento de correccion visual.

Noticias

Steve Jobs, el genio detras de Apple fallece tras batalla con el cancer de
pancreas que padecia.

Descanse en paz



   Si desea mas informacion visite nuestro
SITIO WEB




DOMICILIO

Av. Rafael Sanzio 330,
 Col. La Estancia,
 C.P. 45030, Zapopan,
 Jalisco, Mixico.
Tel. 01 (33) 36-73-98-21






La intencion de este boletin electronico es la difusion de una nueva cultura
de salud visual y se envia en acuerdo con la nueva legislacion sobre correo
electronico, seccion 301, parrafo (a) (2) (C) de S.1618. Bajo el decreto
S.1618
titulo 3ro. Aprobado por el 105: congreso base de las normativas
internacionales
sobre SPAM. Por lo tanto este correo electronico no podra ser considerado SPAM
mientras incluya una forma de ser removido. Ud. recibe este boletin
electronico
de noticias de http://www.laserocular.com.mx/ porque se suscribio a este
servicio
o bien algun conocido suyo lo inscribio y posteriormente se valido.

Se removieron los acentos para mejor visulizacion.
 



Re: NFS not working

2011-11-11 Thread John Tate
Sorry I should have posted. mountd, portmap, and also the appropriate
services are running on the server portmap and nfsd.

less related: mc and ssh with a fast network isn't my idea of fun.

John Tate

On Fri, Nov 11, 2011 at 7:57 PM, Jan Stary h...@stare.cz wrote:
 On Nov 11 17:40:01, John Tate wrote:
 Fixed that now getting...
 # mount smass:/home /mhome/
 Cannot MNT PRC: RPC: Program not registered

 is mountd even running?


 On Fri, Nov 11, 2011 at 5:38 PM, John Tate j...@johntate.org wrote:
  This is what I am getting...
 
  in /var/log/daemon
  Nov 11 17:35:58 smass nfsd[30663]: can't bind udp addr
 
 
  On Wed, Nov 9, 2011 at 11:19 PM, Rares Aioanei bsdlis...@gmail.com
wrote:
 
 
  On Wed, 9 Nov 2011, John Tate wrote:
 
  Misc,
 
  I can't seem to mount NFS exports from my new OpenBSD 5.0 desktop
system.
 
  # cat
  /etc/exports
  #   $OpenBSD: exports,v 1.2 2002/05/31 08:15:44 pjanzen Exp $
  #
  # NFS exports Database
  # See exports(5) for more information.  Be very careful:
  misconfiguration
  # of this file can result in your filesystems being readable by the
 world.
 
  /home -alldirs -rw -network=10.0.0 -mask=255.0.0.0
 
  # ps ax | grep nfs
  10290 ??  I   0:00.00 nfsd: server (nfsd)
  24226 ??  I   0:00.00 nfsd: server (nfsd)
  5635 ??  I   0:00.00 nfsd: server (nfsd)
  15980 ??  I   0:00.00 nfsd: server (nfsd)
 
  # hostname
  smass.kab.loc
 
  Perhaps network should be 10 not 10.0.0 ? I doubt it because the
server
  10.0.0.1 and the client 10.0.0.10, so even a faulty netmask will work.
 
  # mount -t nfs smass:/home /net/smass/home
  mount_nfs: can't access /home: Permission denied
  # hostname
  rothbard.kab.loc
 
  John Tate
 
 
  Check the permissions on the exported directory and make sure you've
  restarted the NFS server. These are the most common causes for
  permission denied errors with NFS that I encountered.
 
 
 
 
  --
  www.johntate.org
 



 --
 www.johntate.org


On Fri, Nov 11, 2011 at 8:10 PM, Otto Moerbeek o...@drijf.net wrote:
 On Fri, Nov 11, 2011 at 09:57:34AM +0100, Jan Stary wrote:

 On Nov 11 17:40:01, John Tate wrote:
  Fixed that now getting...
  # mount smass:/home /mhome/
  Cannot MNT PRC: RPC: Program not registered

 is mountd even running?

 and portmap for that matter?

-Otto



  On Fri, Nov 11, 2011 at 5:38 PM, John Tate j...@johntate.org wrote:
   This is what I am getting...
  
   in /var/log/daemon
   Nov 11 17:35:58 smass nfsd[30663]: can't bind udp addr
  
  
   On Wed, Nov 9, 2011 at 11:19 PM, Rares Aioanei bsdlis...@gmail.com
wrote:
  
  
   On Wed, 9 Nov 2011, John Tate wrote:
  
   Misc,
  
   I can't seem to mount NFS exports from my new OpenBSD 5.0 desktop
system.
  
   # cat
   /etc/exports
   #   $OpenBSD: exports,v 1.2 2002/05/31 08:15:44 pjanzen Exp $
   #
   # NFS exports Database
   # See exports(5) for more information.  Be very careful:
   misconfiguration
   # of this file can result in your filesystems being readable by the
  world.
  
   /home -alldirs -rw -network=10.0.0 -mask=255.0.0.0
  
   # ps ax | grep nfs
   10290 ??  I   0:00.00 nfsd: server (nfsd)
   24226 ??  I   0:00.00 nfsd: server (nfsd)
   5635 ??  I   0:00.00 nfsd: server (nfsd)
   15980 ??  I   0:00.00 nfsd: server (nfsd)
  
   # hostname
   smass.kab.loc
  
   Perhaps network should be 10 not 10.0.0 ? I doubt it because the
server
   10.0.0.1 and the client 10.0.0.10, so even a faulty netmask will
work.
  
   # mount -t nfs smass:/home /net/smass/home
   mount_nfs: can't access /home: Permission denied
   # hostname
   rothbard.kab.loc
  
   John Tate
  
  
   Check the permissions on the exported directory and make sure you've
   restarted the NFS server. These are the most common causes for
   permission denied errors with NFS that I encountered.
  
  
  
  
   --
   www.johntate.org
  
 
 
 
  --
  www.johntate.org


On Fri, Nov 11, 2011 at 10:35 PM, Benny Lofgren bl-li...@lofgren.biz wrote:
 On 2011-11-11 07.40, John Tate wrote:
 Fixed that now getting...
 # mount smass:/home /mhome/
 Cannot MNT PRC: RPC: Program not registered

 Your mountd and/or portmap most likely isn't running.

 Have you followed the instructions in the FAQ? If not, backtrack
 all your efforts, read up on what to do and try again.

 http://www.openbsd.org/faq/faq6.html#NFS
 man portmap
 man nfsd
 man mountd
 man exports


 Regards,
 /Benny


 On Fri, Nov 11, 2011 at 5:38 PM, John Tate j...@johntate.org wrote:
 This is what I am getting...

 in /var/log/daemon
 Nov 11 17:35:58 smass nfsd[30663]: can't bind udp addr


 On Wed, Nov 9, 2011 at 11:19 PM, Rares Aioanei bsdlis...@gmail.com
wrote:


 On Wed, 9 Nov 2011, John Tate wrote:

 Misc,

 I can't seem to mount NFS exports from my new OpenBSD 5.0 desktop
system.

 # cat
 /etc/exports
 #   $OpenBSD: exports,v 1.2 2002/05/31 08:15:44 pjanzen Exp $
 #
 # NFS exports Database
 # See exports(5) for more information.  Be very careful:
  misconfiguration
 # of this file can result in your 

Re: cdio burning images

2011-11-11 Thread Neal Hogan
On Fri, Nov 11, 2011 at 6:07 AM, John Tate j...@johntate.org wrote:
 # cdio -f cd0c tao /home/john/ubuntu-11.10-desktop-i386.iso
 cdio: The media can't be written in TAO mode

 What am I doing wrong?



I'm guessing the full device path is needed (i.e., /dev/cd0c).
However, consider the faq (
http://www.openbsd.org/faq/faq4.html#MkInsMedia ):

faq
4.3.1 - Making a CD-ROM

You can create a CD-ROM using the cd50.iso or install50.iso files. The
exact details here are left to the reader to determine with the tools
they have at their disposal.

In OpenBSD, you can create a CD from an ISO image using cdio(1):
  # cdio tao cd50.iso

Most CD recorders sold for Windows and Macintosh systems come with
software that can burn ISO images to blank media. If yours does not,
there are various no-cost applications that can do this for you.
/faq

-Neal



Re: similar lvm tool on openbsd??

2011-11-11 Thread Nick Holland
On 11/11/11 04:34, carlopmart wrote:
 On 11/11/2011 03:48 AM, Nick Holland wrote:
[bla bla bla]

 Thanks Nick. growfs suites my needs. Is this the correct procedure??
 
 http://wiki.arpnetworks.com/wiki/ResizeOpenBSDRootFilesystem

the correct procedure is a big phrase. :)
It's _A_ procedure, and for some people, it may be right.  I'd not bet
that the ramdisk file system on bsd.rd has the space available to pull
over growfs on all platforms.  And I don't like the step-by-step without
the discussion of why.  Your needs will probably be different from the
author's, or mine, so make sure you understand, and if it is important,
practice on a non-critical machine first.

growfs has to be used on an idle file system.
If your goal is to enlarge root (or /usr, or /var or ...), you need to
be running in a strange mode -- single user with / unmounted, bsd.rd,
booted from another file system, etc.

Personally, I'd boot off my live USB disk, but since growfs is a static
binary and based closely on newfs, it will probably run just fine from
bsd.rd, so one could potentially boot from bsd.rd, mount / somewhere,
mount /tmp (or whatever) elsewhere, save a copy of growfs to this other
file system, unmount /, then do your twiddling.  Exactly how you do this
will depend on your environment.

but again...when messing with your file systems, errors can be really
bad, so rather than asking my or google's advice...build up a test
machine, and practice on that before you do it on a production box.

Nick.



Re: bash script problem

2011-11-11 Thread Jeremie Courreges-Anglas
John Tate wrote:
 I put a comment in before the line with a problem, I don't understand
 why it's not working.
 
 bash# for x in 1 2 3 4; do time dd if=/dev/random of=/home/test$x
 bs=1k count=64k  done \
 while [ $V -eq 0 ]; \
 do \
 #why the hell is this such a problem!
 V = 0 \
 clear \
 echo -n Jobs running...  \
 if jobs 4; then; echo -n last job running!; else; echo -n last job 
 stopped;
  env V=1; fi \
 sleep 1 \
 done
 time cat secure1 secure2 secure3 secure4  secure_t.vnd \
 time rm secure1 secure2 secure3 secure4

-  ''V = 0'' runs the command named V with parameters = and 0. Use v=0.
   Using all uppercase variables names can clash with internal shell /
   environment variables you'll need later in your script. Think about
   PATH=/foo/bar; touch $PATH.
-  Why do you use ''clear'' when debugging a script?
-  Why do you add backslashes at the end of every line (every line but
   the first, where you'd actually have needed it)?
-  Why are you using ''env V=1''? The env utility (which is an external
   binary) cannot set the current shell's variables.
-  Why are you trying to launch those dd commands in parallel?
   This will probably not make your script faster, and is much more
   error-prone than a mere:
   for i in 1 2 3 4; do dd ... of=/home/test$i; done
-  You don't seem to need bash. Most of people I know don't know
   how to use the syntactic sugar that separates bash from pdksh.
   If you want to ask questions about bash there are appropriate
   mailing lists.
-  Please consider posting a properly indented, clean script next time.



Re: similar lvm tool on openbsd??

2011-11-11 Thread carlopmart

On 11/11/2011 03:40 PM, Nick Holland wrote:

On 11/11/11 04:34, carlopmart wrote:

On 11/11/2011 03:48 AM, Nick Holland wrote:

[bla bla bla]


Thanks Nick. growfs suites my needs. Is this the correct procedure??

http://wiki.arpnetworks.com/wiki/ResizeOpenBSDRootFilesystem


the correct procedure is a big phrase. :)
It's _A_ procedure, and for some people, it may be right.  I'd not bet
that the ramdisk file system on bsd.rd has the space available to pull
over growfs on all platforms.  And I don't like the step-by-step without
the discussion of why.  Your needs will probably be different from the
author's, or mine, so make sure you understand, and if it is important,
practice on a non-critical machine first.

growfs has to be used on an idle file system.
If your goal is to enlarge root (or /usr, or /var or ...), you need to
be running in a strange mode -- single user with / unmounted, bsd.rd,
booted from another file system, etc.

Personally, I'd boot off my live USB disk, but since growfs is a static
binary and based closely on newfs, it will probably run just fine from
bsd.rd, so one could potentially boot from bsd.rd, mount / somewhere,
mount /tmp (or whatever) elsewhere, save a copy of growfs to this other
file system, unmount /, then do your twiddling.  Exactly how you do this
will depend on your environment.

but again...when messing with your file systems, errors can be really
bad, so rather than asking my or google's advice...build up a test
machine, and practice on that before you do it on a production box.

Nick.



Thanks Nick. But my needs are only for filesystems with multiple data 
files or configuration files, never for the root partition.


--
CL Martinez
carlopmart {at} gmail {d0t} com



Re: NFS not working

2011-11-11 Thread Christopher Zimmermann
On 11/11/11 14:57, John Tate wrote:
 Sorry I should have posted. mountd, portmap, and also the appropriate
 services are running on the server portmap and nfsd.

what do
rpcinfo -p nfs-server on client and server and netstat -na say?



Re: cdio burning images

2011-11-11 Thread Norman Golisz
On Fri Nov 11 2011 23:07, John Tate wrote:
 # cdio -f cd0c tao /home/john/ubuntu-11.10-desktop-i386.iso
 cdio: The media can't be written in TAO mode
 
 What am I doing wrong?

You don't read manuals.

cdio(1):

 -f device
   Specifies the name of the CD device, such as /dev/rcd0c.  Both
   absolute and relative paths to /dev filenames are possible; the
   raw partition name is added if needed.

Meaning that when you specify -f cd0 it internally converts it to
-f /dev/rcd0c.

Also, you probably want to explore disklabel(8) and the difference
between raw-level and block-level access of block devices. Read a UNIX
book of your choice, or stick with Google hunting for an explanation.

Norman.



Re: bash script problem

2011-11-11 Thread Andres Perera
On Fri, Nov 11, 2011 at 9:10 AM, John Tate j...@johntate.org wrote:
 I put a comment in before the line with a problem, I don't understand
 why it's not working.

 bash# for x in 1 2 3 4; do time dd if=/dev/random of=/home/test$x
 bs=1k count=64k  done \
 while [ $V -eq 0 ]; \
 do \
 #why the hell is this such a problem!

because it breaks the line continuation (`\')

there's no need to use that here anyway, presuming this isn't part of a
makefile

 V = 0 \
 clear \
 echo -n Jobs running...  \
 if jobs 4; then; echo -n last job running!; else; echo -n last job
stopped;
 B env V=1; fi \
 sleep 1 \
 done
 time cat secure1 secure2 secure3 secure4  secure_t.vnd \
 time rm secure1 secure2 secure3 secure4

 John Tate.

 --
 www.johntate.org



Are some packages safer to compile from source?

2011-11-11 Thread James Hozier
I was just grabbing Tor from the amd64 packages on the ftp server
(ftp://ftp.OpenBSD.org/pub/OpenBSD/) and the version of Tor is 0.2.1.30.
The current version is 2.2.34, which recently had a very important
security update pertaining to anonymity.

In cases like these, would grabbing software by source from their main
website and compiling it manually be the safest way to obtain programs?



Re: Are some packages safer to compile from source?

2011-11-11 Thread Pascal Stumpf
On Fri, 11 Nov 2011 08:02:59 -0800 (PST), James Hozier wrote:
 I was just grabbing Tor from the amd64 packages on the ftp server
 (ftp://ftp.OpenBSD.org/pub/OpenBSD/) and the version of Tor is 0.2.1.30.
 The current version is 2.2.34, which recently had a very important
 security update pertaining to anonymity.
 
 In cases like these, would grabbing software by source from their main
 website and compiling it manually be the safest way to obtain programs?

No.  tor-2.2.34 has been MFCed to -stable, so it's easiest to compile
from a -stable ports tree.



Re: Are some packages safer to compile from source?

2011-11-11 Thread James Hozier
 From: Pascal Stumpf pascal.stu...@cubes.de
 Subject: Re: Are some packages safer to compile from source?
 To: James Hozier guitars...@yahoo.com
 Cc: misc@openbsd.org
 Date: Friday, November 11, 2011, 4:40 PM
 On Fri, 11 Nov 2011 08:02:59 -0800
 (PST), James Hozier wrote:
  I was just grabbing Tor from the amd64 packages on the
 ftp server
  (ftp://ftp.OpenBSD.org/pub/OpenBSD/) and
 the version of Tor is 0.2.1.30.
  The current version is 2.2.34, which recently had a
 very important
  security update pertaining to anonymity.
 
  In cases like these, would grabbing software by source
 from their main
  website and compiling it manually be the safest way to
 obtain programs?

 No.  tor-2.2.34 has been MFCed to -stable, so it's
 easiest to compile
 from a -stable ports tree.



Ah, I thought I read somewhere in the FAQ that it was suggested for all
users to use packages to save time+bandwidth so I have actually never
used Ports before.

Thank you



Re: NFS not working

2011-11-11 Thread Rares Aioanei
On Fri, 11 Nov 2011, John Tate wrote:

 Fixed that now getting...
 # mount smass:/home /mhome/
 Cannot MNT PRC: RPC: Program not registered
 
 
 On Fri, Nov 11, 2011 at 5:38 PM, John Tate j...@johntate.org wrote:
  This is what I am getting...
 
  in /var/log/daemon
  Nov 11 17:35:58 smass nfsd[30663]: can't bind udp addr
 
 
  On Wed, Nov 9, 2011 at 11:19 PM, Rares Aioanei bsdlis...@gmail.com wrote:
 
 
  On Wed, 9 Nov 2011, John Tate wrote:
 
  Misc,
 
  I can't seem to mount NFS exports from my new OpenBSD 5.0 desktop system.
 
  # cat
  /etc/exports
  #   $OpenBSD: exports,v 1.2 2002/05/31 08:15:44 pjanzen Exp $
  #
  # NFS exports Database
  # See exports(5) for more information.  Be very careful:
  misconfiguration
  # of this file can result in your filesystems being readable by the
 world.
 
  /home -alldirs -rw -network=10.0.0 -mask=255.0.0.0
 
  # ps ax | grep nfs
  10290 ??  I   0:00.00 nfsd: server (nfsd)
  24226 ??  I   0:00.00 nfsd: server (nfsd)
  5635 ??  I   0:00.00 nfsd: server (nfsd)
  15980 ??  I   0:00.00 nfsd: server (nfsd)
 
  # hostname
  smass.kab.loc
 
  Perhaps network should be 10 not 10.0.0 ? I doubt it because the server
  10.0.0.1 and the client 10.0.0.10, so even a faulty netmask will work.
 
  # mount -t nfs smass:/home /net/smass/home
  mount_nfs: can't access /home: Permission denied
  # hostname
  rothbard.kab.loc
 
  John Tate
 
 
  Check the permissions on the exported directory and make sure you've
  restarted the NFS server. These are the most common causes for
  permission denied errors with NFS that I encountered.
 
 
 
 
  --
  www.johntate.org
 
 
 
 
 --
 www.johntate.org
 
 
I suppose that's /PRC/RPC. Next, if everything that's supposed to be
running IS running, I would still suspect some kind of network problem.
Check the server's logs for messages and look at hosts.allow. A good 
Google search would have been useful, and please do not top-post.

Thank you.



Partition size

2011-11-11 Thread Leonardo M . Ramé
Hi, I have an 4.4OpenBSD server running on a VMWare ESXi server as a
virtual machine. On the server, I configured a 21GB disk for this
virtual machine, but it doesn't shows all that space, but this:

[root@openbsd44:~] # df -h
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/sd0a 1008M794M164M83%/
/dev/sd0d  5.9G5.2G380M93%/var


[root@openbsd44:~] # fdisk sd0
Disk: sd0   geometry: 1174/255/63 [18874368 Sectors]
Offset: 0   Signature: 0xAA55
Starting Ending LBA Info:
 #: id  C   H   S -  C   H   S [   start:size ]
---
 0: 00  0   0   0 -  0   0   0 [   0:   0 ] unused  
 1: 00  0   0   0 -  0   0   0 [   0:   0 ] unused  
 2: 00  0   0   0 -  0   0   0 [   0:   0 ] unused  
*3: A6  0   1   1 -   1043 254  63 [  63:16771797 ] OpenBSD

How can I let the operating system see the whole disk?.

Thanks in advance,
-- 
Leonardo M. Rami
Medical IT - Griensu S.A.
Av. Colsn 636 - Piso 8 Of. A
X5000EPT -- Csrdoba
Tel.: +54(351)4246924 +54(351)4247788 +54(351)4247979 int. 19
Cel.: +54(351)156629292



Re: intermittent 5.0/amd64 kernel/X hangs on Tinkpad T60

2011-11-11 Thread Jonathan Thornburg
In a message a few minutes ago, I wrote:
 I've just installed 5.0/amd64 (from the CD set) on a Lenovo
 Thinkpad T60 laptop (dmesg below).  I'm running GENERIC.mp.  I
 will probably move to -stable soon, but right now I'm running
 -release.  X autoconfigures and works nicely (1680x1050 pixels,
 /var/log/Xorg.0.log below), *but* occasionally it hangs. :( :(
[[...]]

A few other details:

I'm not running xdm.  I normally login at the console, then type
startx;logout to start X.  My .xinitrc is as follows (the ICON_X1
and ICON_X2 magic is to allow this same .xinitrc to work on two laptops
with different screen resolutions):

--- begin /home/jonathan/.xinitrc ---
#!/bin/sh

PATH=/usr/X11R6/bin:/usr/local/bin:$PATH
export PATH

xterm -C -g 80x28+0+0 -bw 4 -fn 7x14 -fg white -bg black -j -rw +s -sl 2000 +sb 
-si -sk +sf -wf -cm 

HOST=`hostname -s`
export HOST
DOMAIN=`domainname`
export DOMAIN

##xsetroot -solid grey15
xsetroot -solid black
xset m 2 10
##xset b 10
xset r on
xset r rate 250 40

# make Caps Lock key be another control key
# thanks to Philip Guenther for suggesting how to get this right!
xmodmap - 'EOF'
remove Lock = Caps_Lock
keysym Caps_Lock = Control_L
add control = Control_L
!! Swap Caps_Lock and Control_L (adapted from the xmodmap(1) man page)
!!remove Lock = Caps_Lock
!!remove Control = Control_L
!!keysym Control_L = Caps_Lock
!!keysym Caps_Lock = Control_L
!!add Lock = Caps_Lock
!!add Control = Control_L
EOF

# workaround for broken right-arrow on helium: map page-L/R to L/R arrow
# defaults on helium:
#   Page-left   = keycode 234 = no keysym
#   Page-right  = keycode 233 = no keysym
#   Left-arrow  = keycode 100 = keysym Left
#   Right-arrow = keycode 102 = keysym Right
xmodmap - 'EOF'
keycode 234 = Left
keycode 233 = Right
EOF

xclock -g 55x56-0+0 -update 60 -fg white -rv -pad 0 -bw 0 
xbatt -g 40x56-18+0 -bw 0  # logically this should be -g ...-56+0, but
# for some reason it comes out too far left
# that way
xmeter -g 50x56-96+0 -bw 0 -fn 6x10 -rv -sn -scpu 101 -update 1 -cpu $HOST 
##xcalc -g 200x300-192+0 -xrm '*iconGeometry:64x80-120+0' -iconic -rv 

sleep 1

xterm -g 80x68+0-0 -bw 4 -fn 7x14 -fg white -bg black -j -rw +s -sl 2000 +sb 
-si -sk +sf -wf -cm 
xterm -g 80x38-0+56 -bw 4 -fn 7x14 -fg white -bg black -j -rw +s -sl 2000 +sb 
-si -sk +sf -wf -cm 
xterm -g 80x28-0-0 -bw 4 -fn 7x14 -fg white -bg black -j -rw +s -sl 2000 +sb 
-si -sk +sf -wf -cm 

case `xdpyinfo | grep dimensions: | awk '{print $2}' -` in
1680x*) xterm -g 80x58+572-0 -bw 4 -fn 7x14 -fg white -bg black -j -rw +s -sl 
2000 +sb -si -sk +sf -wf -cm 
ICON_X1=-690
ICON_X2=-625
;;
*)  ICON_X1=+595
ICON_X2=+660
;;
esac

xterm -g 80x30+0+136 -iconic -xrm *iconGeometry:${ICON_X1}+0 -bw 4 -fn 7x14 
-fg white -bg black -j -rw +s -sl 2000 +sb -si -sk +sf -wf -cm 
xterm -g 80x30+0+190 -iconic -xrm *iconGeometry:${ICON_X1}+20 -bw 4 -fn 7x14 
-fg white -bg black -j -rw +s -sl 2000 +sb -si -sk +sf -wf -cm 
xterm -g 80x30+0+244 -iconic -xrm *iconGeometry:${ICON_X1}+40 -bw 4 -fn 7x14 
-fg white -bg black -j -rw +s -sl 2000 +sb -si -sk +sf -wf -cm 
xterm -g 80x30+0+298 -iconic -xrm *iconGeometry:${ICON_X1}+60 -bw 4 -fn 7x14 
-fg white -bg black -j -rw +s -sl 2000 +sb -si -sk +sf -wf -cm 
xterm -g 80x30+0+352 -iconic -xrm *iconGeometry:${ICON_X1}+80 -bw 4 -fn 7x14 
-fg white -bg black -j -rw +s -sl 2000 +sb -si -sk +sf -wf -cm 
xterm -g 80x30+0+406 -iconic -xrm *iconGeometry:${ICON_X1}+100 -bw 4 -fn 7x14 
-fg white -bg black -j -rw +s -sl 2000 +sb -si -sk +sf -wf -cm 

xterm -g 80x30-0+136 -iconic -xrm *iconGeometry:${ICON_X2}+00 -bw 4 -fn 7x14 
-fg white -bg black -j -rw +s -sl 2000 +sb -si -sk +sf -wf -cm 
xterm -g 80x30-0+190 -iconic -xrm *iconGeometry:${ICON_X2}+20 -bw 4 -fn 7x14 
-fg white -bg black -j -rw +s -sl 2000 +sb -si -sk +sf -wf -cm 
xterm -g 80x30-0+244 -iconic -xrm *iconGeometry:${ICON_X2}+40 -bw 4 -fn 7x14 
-fg white -bg black -j -rw +s -sl 2000 +sb -si -sk +sf -wf -cm 
xterm -g 80x30-0+298 -iconic -xrm *iconGeometry:${ICON_X2}+60 -bw 4 -fn 7x14 
-fg white -bg black -j -rw +s -sl 2000 +sb -si -sk +sf -wf -cm 
xterm -g 80x30-0+352 -iconic -xrm *iconGeometry:${ICON_X2}+80 -bw 4 -fn 7x14 
-fg white -bg black -j -rw +s -sl 2000 +sb -si -sk +sf -wf -cm 
xterm -g 80x30-0+406 -iconic -xrm *iconGeometry:${ICON_X2}+100 -bw 4 -fn 7x14 
-fg white -bg black -j -rw +s -sl 2000 +sb -si -sk +sf -wf -cm 

##ctwm -n
twm
--- end /home/jonathan/.xinitrc ---

-- 
-- Jonathan Thornburg [remove -animal to reply] 
jth...@astro.indiana-zebra.edu
   Dept of Astronomy  IUCSS, Indiana University, Bloomington, Indiana, USA
   Washing one's hands of the conflict between the powerful and the
powerless means to side with the powerful, not to be neutral.
  -- quote by Freire / poster by Oxfam



Re: RAL(4) together with RT28XX chipset - recurring problem

2011-11-11 Thread Ryan Corder
On Thu, Nov 10, 2011 at 09:43:46PM +, Stuart Henderson wrote:
| sys/net80211/ieee80211_node.c r1.63 (in 5.0 but not 4.9) probably helps.

Thanks for the pointer.


--
Ryan Corder  || () ASCII ribbon campaign
ryanc at greengrey.org || /\  against HTML email
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xBEE37813

[demime 1.01d removed an attachment of type application/pgp-signature]



sshd_config ignores MaxSessions?

2011-11-11 Thread Scott
Hello,

$ grep 'MaxSessions' /etc/ssh/sshd_config
MaxSessions 2

But I can log into a box with at least 5 sessions (I stopped trying at
that point).

Just above the entry for MaxSessions in the sshd_config manpage, I see:


 Match   Introduces a conditional block.  If all of the criteria on the
 Match line are satisfied, the keywords on the following lines
 override those set in the global section of the config file,
 until either another Match line or the end of the file.

 The arguments to Match are one or more criteria-pattern pairs.
 The available criteria are User, Group, Host, and Address.  The
 match patterns may consist of single entries or comma-separated
 lists and may use the wildcard and negation operators described
 in the PATTERNS section of ssh_config(5).

 The patterns in an Address criteria may additionally contain
 addresses to match in CIDR address/masklen format, e.g.
 ``192.0.2.0/24'' or ``3ffe:::/32''.  Note that the mask
 length provided must be consistent with the address - it is an
 error to specify a mask length that is too long for the address
 or one with bits set in this host portion of the address.  For
 example, ``192.0.2.0/33'' and ``192.0.2.0/8'' respectively.

 Only a subset of keywords may be used on the lines following a
 Match keyword.  Available keywords are AllowAgentForwarding,
 AllowTcpForwarding, AuthorizedKeysFile, AuthorizedPrincipalsFile,
 Banner, ChrootDirectory, ForceCommand, GatewayPorts,
 GSSAPIAuthentication, HostbasedAuthentication,
 HostbasedUsesNameFromPacketOnly, KbdInteractiveAuthentication,
 KerberosAuthentication, MaxAuthTries, MaxSessions,
 PasswordAuthentication, PermitEmptyPasswords, PermitOpen,
 PermitRootLogin, PermitTunnel, PubkeyAuthentication,
 RhostsRSAAuthentication, RSAAuthentication, X11DisplayOffset,
 X11Forwarding and X11UseLocalHost.


My question:
Is 'Match' used as a further refinement to any of the rules listed in
the keywords section (see last paragraph above), or is it required in
order to use one of those keywords? If the former is true, then I
don't understand why my setting doesn't seem to work. If it's the
latter, then I know I've omitted something.

Googling for 'MaxSessions' just yielded me a bunch of results that
looked like mine, as a single line entry without a Match construct.

Thank you!
-Scott



can't raise screen resolution xorg.log

2011-11-11 Thread Sha'ul
I'm trying to change the resolution in GNOME to higher than 1024x768. In 
Windows 7 it works at 2048x1536.


[2454002.502] (--) checkDevMem: using aperture driver /dev/xf86
[2454002.514] (--) Using wscons driver on /dev/ttyC4 in pcvt 
compatibility mode (version 3.32)

[2454002.533]
X.Org X Server 1.9.5
Release Date: 2011-03-17
[2454002.533] X Protocol Version 11, Revision 0
[2454002.533] Build Operating System: OpenBSD 5.0 amd64
[2454002.533] Current Operating System: OpenBSD qrjhg.my.domain 5.0 
GENERIC.MP#0 amd64

[2454002.533] Build Date: 01 November 2011  04:16:34AM
[2454002.533]
[2454002.533] Current version of pixman: 0.22.2
[2454002.533]   Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[2454002.533] Markers: (--) probed, (**) from config file, (==) default 
setting,

(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[2454002.533] (==) Log file: /var/log/Xorg.0.log, Time: Fri Nov 11 
02:56:02 2011

[2454002.543] (==) Using config file: /etc/X11/xorg.conf
[2454002.589] (==) ServerLayout X.org Configured
[2454002.589] (**) |--Screen Screen0 (0)
[2454002.589] (**) |   |--Monitor Monitor0
[2454002.591] (**) |   |--Device Card0
[2454002.591] (**) |--Input Device Mouse0
[2454002.591] (**) |--Input Device Keyboard0
[2454002.591] (==) Disabling SIGIO handlers for input devices
[2454002.591] (==) Automatically adding devices
[2454002.591] (==) Automatically enabling devices
[2454002.755] (**) FontPath set to:
/usr/local/lib/X11/fonts/mscorefonts,
/usr/X11R6/lib/X11/fonts/misc/,
/usr/X11R6/lib/X11/fonts/TTF/,
/usr/X11R6/lib/X11/fonts/OTF/,
/usr/X11R6/lib/X11/fonts/Type1/,
/usr/X11R6/lib/X11/fonts/100dpi/,
/usr/X11R6/lib/X11/fonts/75dpi/,
/usr/X11R6/lib/X11/fonts/misc/,
/usr/X11R6/lib/X11/fonts/TTF/,
/usr/X11R6/lib/X11/fonts/OTF/,
/usr/X11R6/lib/X11/fonts/Type1/,
/usr/X11R6/lib/X11/fonts/100dpi/,
/usr/X11R6/lib/X11/fonts/75dpi/
[2454002.755] (**) ModulePath set to /usr/X11R6/lib/modules
[2454002.755] (WW) AllowEmptyInput is on, devices using drivers 'kbd', 
'mouse' or 'vmmouse' will be disabled.

[2454002.755] (WW) Disabling Mouse0
[2454002.755] (WW) Disabling Keyboard0
[2454002.761] (II) Loader magic: 0x7a7aa0
[2454002.761] (II) Module ABI versions:
[2454002.761]   X.Org ANSI C Emulation: 0.4
[2454002.761]   X.Org Video Driver: 8.0
[2454002.761]   X.Org XInput driver : 11.0
[2454002.761]   X.Org Server Extension : 4.0
[2454002.765] (--) PCI:*(0:0:2:0) 8086:2772:1849:2772 rev 2, Mem @ 
0xfea8/524288, 0xd000/268435456, 0xfea4/262144, I/O @ 
0xdc00/8
[2454002.765] (II) extmod will be loaded. This was enabled by default 
and also specified in the config file.
[2454002.765] (II) dbe will be loaded. This was enabled by default and 
also specified in the config file.
[2454002.765] (II) glx will be loaded. This was enabled by default and 
also specified in the config file.
[2454002.765] (II) record will be loaded. This was enabled by default 
and also specified in the config file.
[2454002.765] (II) dri will be loaded. This was enabled by default and 
also specified in the config file.
[2454002.765] (II) dri2 will be loaded. This was enabled by default 
and also specified in the config file.

[2454002.765] (II) LoadModule: dbe
[2454002.806] (II) Loading /usr/X11R6/lib/modules/extensions/libdbe.so
[2454002.816] (II) Module dbe: vendor=X.Org Foundation
[2454002.816]   compiled for 1.9.5, module version = 1.0.0
[2454002.816]   Module class: X.Org Server Extension
[2454002.816]   ABI class: X.Org Server Extension, version 4.0
[2454002.816] (II) Loading extension DOUBLE-BUFFER
[2454002.816] (II) LoadModule: dri
[2454002.817] (II) Loading /usr/X11R6/lib/modules/extensions/libdri.so
[2454002.817] (II) Module dri: vendor=X.Org Foundation
[2454002.817]   compiled for 1.9.5, module version = 1.0.0
[2454002.817]   ABI class: X.Org Server Extension, version 4.0
[2454002.818] (II) Loading extension XFree86-DRI
[2454002.818] (II) LoadModule: dri2
[2454002.818] (II) Loading /usr/X11R6/lib/modules/extensions/libdri2.so
[2454002.819] (II) Module dri2: vendor=X.Org Foundation
[2454002.819]   compiled for 1.9.5, module version = 1.2.0
[2454002.819]   ABI class: X.Org Server Extension, version 4.0
[2454002.819] (II) Loading extension DRI2
[2454002.819] (II) LoadModule: extmod
[2454002.819] (II) Loading /usr/X11R6/lib/modules/extensions/libextmod.so
[2454002.820] (II) Module extmod: vendor=X.Org Foundation
[2454002.820]   compiled for 1.9.5, module version = 1.0.0
[2454002.820]   Module class: X.Org Server Extension
[2454002.820]   ABI class: X.Org Server Extension, version 4.0
[2454002.821] (II) Loading extension MIT-SCREEN-SAVER
[2454002.821] (II) Loading extension XFree86-VidModeExtension
[2454002.821] (II) Loading extension XFree86-DGA
[2454002.821] (II) Loading extension 

Re: Packages issues

2011-11-11 Thread Marc Espie
On Fri, Nov 11, 2011 at 09:36:01AM +0100, Antoine Jacoutot wrote:
 On Fri, Nov 11, 2011 at 09:06:35AM +0100, Marc Espie wrote:
  Well, if you feel like untangling the dependency nightmare that comes with
  modern desktop systems, good luck !
 
 Yes, the dependency chain for modern desktop is quite complex.
 In our packages (at least for GNOME related stuffs) we are trying to find the 
 good balance so that most expected functionnality works out of the box.
 The drawback of this is that we have to enforce some dependencies sometimes, 
 but it is either that or we end up like Debian and have 15 packages created 
 out of 1. This would end up in a complete nightmare wrt maintainability and 
 users would need to know exactly which -libs, -common... package they need to 
 install to make something work.
 But do note that unlike most Linux distributions, OpenBSD does _not_ start 
 any daemon installed from packages by default, the user/administrator has to 
 explicitely enable it. So on and on, when you end up with avahi in your 
 dependency chain it is not such a big deal as it will not be started anyway.

This is definitely not a criticism of your work. I've just spent a few hours
trying to figure out a better bootstrap order to try to avoid rebuilding
more stuff with absolutely no luck... well,  I think we're already better
off than most other *ixy distros anyways...



Re: sshd_config ignores MaxSessions?

2011-11-11 Thread Jeremie Courreges-Anglas
Scott wrote:
 Hello,
 
 $ grep 'MaxSessions' /etc/ssh/sshd_config
 MaxSessions 2
 
 But I can log into a box with at least 5 sessions (I stopped trying at
 that point).

You probably did launch 5 independant ssh connections, not 5 sessions
using the same connection.
MaxSessions is the maximum number of sessions a user can use in a single
connection, using multiplexing (see ControlMaster, ControlPath).
Look again at the definition of MaxSessions, it is talking about network
connections, not network address.

 My question:
 Is 'Match' used as a further refinement to any of the rules listed in
 the keywords section (see last paragraph above), or is it required in
 order to use one of those keywords? If the former is true, then I
 don't understand why my setting doesn't seem to work. If it's the
 latter, then I know I've omitted something.

No, you don't *need* Match to apply those keywords.
I think you want firewall level features (hint : max-src-conn).



Re: Packages issues

2011-11-11 Thread Amit Kulkarni
 Well, if you feel like untangling the dependency nightmare that comes with
 modern desktop systems, good luck !

 Yes, the dependency chain for modern desktop is quite complex.
 In our packages (at least for GNOME related stuffs) we are trying to find
the good balance so that most expected functionnality works out of the box.
 The drawback of this is that we have to enforce some dependencies sometimes,
but it is either that or we end up like Debian and have 15 packages created
out of 1. This would end up in a complete nightmare wrt maintainability and
users would need to know exactly which -libs, -common... package they need to
install to make something work.
 But do note that unlike most Linux distributions, OpenBSD does _not_ start
any daemon installed from packages by default, the user/administrator has to
explicitely enable it. So on and on, when you end up with avahi in your
dependency chain it is not such a big deal as it will not be started anyway.

IMHO, the situation in OpenBSD is far better than some other distros.
And we don't install as much package cruft as some Linuxes.

Antoine,
does this mean that we have to search for a way to disable automatic
indexing of files which KDE does? that's a daemon/service started by
KDE by default.

thanks



Re: sshd_config ignores MaxSessions?

2011-11-11 Thread Mattias Pehlke
* Scott amorphous.yet@gmail.com [11.11.2011 20:30]:
 Hello,

 $ grep 'MaxSessions' /etc/ssh/sshd_config
 MaxSessions 2

 But I can log into a box with at least 5 sessions (I stopped trying at
 that point).

This is not the focus of the MaxSessions directive

See http://openssh.org/txt/release-5.1:

[...]
 * Added a MaxSessions option to sshd_config(5) to allow control of the
   number of multiplexed sessions supported over a single TCP connection.
   This allows increasing the number of allowed sessions above the
   previous default of 10, disabling connection multiplexing
   (MaxSessions=1) or disallowing login/shell/subsystem sessions
   entirely (MaxSessions=0).



--
Mattias



Re: sshd_config ignores MaxSessions?

2011-11-11 Thread Scott
Got it. Thank you both for clearing up the definitions for me; and
thanks to Jeremie for pointing me to pf. I'll look at that tonight and
see if suits my intention.

-Scott


On Fri, Nov 11, 2011 at 1:16 PM, Mattias Pehlke matt...@mpehlke.de wrote:
 * Scott amorphous.yet@gmail.com [11.11.2011 20:30]:
 Hello,

 $ grep 'MaxSessions' /etc/ssh/sshd_config
 MaxSessions 2

 But I can log into a box with at least 5 sessions (I stopped trying at
 that point).

 This is not the focus of the MaxSessions directive

 See http://openssh.org/txt/release-5.1:

 [...]
  * Added a MaxSessions option to sshd_config(5) to allow control of the
   number of multiplexed sessions supported over a single TCP connection.
   This allows increasing the number of allowed sessions above the
   previous default of 10, disabling connection multiplexing
   (MaxSessions=1) or disallowing login/shell/subsystem sessions
   entirely (MaxSessions=0).



 --
 Mattias



Re: nginx

2011-11-11 Thread Henning Brauer
* Indunil Jayasooriya induni...@gmail.com [2011-11-10 07:34]:
 On Wed, Nov 9, 2011 at 10:33 PM, bigboy big...@tormail.net wrote:
  Has anyone got examples of the right way of configuring the nginx no in
  base?
 
  what about this?
 
https://calomel.org/nginx.html

about as much garbage as the rest of that site.

-- 
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, Root to Fully Managed
Henning Brauer Consulting, http://henningbrauer.com/



Re: systat colors?

2011-11-11 Thread Stuart Henderson
On 2011-11-10, STeve Andre' and...@msu.edu wrote:
 On 11/10/11 16:41, Ted Unangst wrote:
 On Thu, Nov 10, 2011, Joe wrote:
 Has anyone already modified systat to support colored text?
 No, nor will they.  colorized utilities are not particularly welcome.
 (i mean, you can do it, but don't expect such patches to be accepted.)


 But such a systat could live in ports, quite happily.  See
 colorls.

Not all that happily. It will keep getting out of sync with the OS.



Negociacion en la Cobranza para una Efectiva Recuperacion de la Cartera en GUADALAJARA - 01 de Diciembre

2011-11-11 Thread Negociador Profesional
CURSO TALLER

Negociacion en la Cobranza para una Efectiva Recuperacion de la Cartera

Duracion: (1 dia) 8 hrs.

 Inversion: $ 4,150 pesos mas IVA

INTRODUCCION: La tendencia actual en la cobranza es la negociacisn; por
ello se aumenta la complejidad del proceso, ya que debera asumir
distintos roles y existe el elemento incertidumbre (el deudor) que tanto
participa en este proceso, el conocer diferentes formas de abordarlo y el
manejo de diferentes escenarios es crucial para tener ixito; mediante
este curso afianzara el conocimiento para tener excelentes resultados y
manejarse como un negociador profesional.

OBJETIVO:
Con este curso los participantes:
Adquiriran una formacisn integral en los documentos que soportan nuestra
gestisn de cobranza. A la vez contempla el desarrollo de habilidades
personales tales como auto motivacisn, perder el miedo a cobrar,
tolerancia a la frustracisn y manejo de emociones que les permita
enfrentar adecuadamente al deudor y llevar a cabo un proceso exitoso de
negociacisn. Aplicando herramientas y ticnicas practicas que desarrollara
en este taller de cobranza.

DIRIGIDO A: Al personal encargado de recuperar la cartera, gerentes,
jefes de departamento, ejecutivos y todos aquellos que tienen trato
directo con los clientes.

GUADALAJARA

Sede: Hotel Mision Carlton Guadalajara
 - Av. Niqos Hiroes # 125 Zona Centro Guadalajara Jal.

01 de Diciembre
Solicite Temario de Click Aqui

 Credito y Cobranzas

[IMAGE]

Curso Taller
Negociacion en la Cobranza para una Efectiva Recuperacion de la Cartera
Mexico / Monterrey / Villahermosa

[IMAGE]

Curso Taller
Casos Practicos en el Otorgamiento del Credito y Recuperacion de la
Cartera
Mexico / Guadalajara / Monterrey

[IMAGE]

Curso Taller
Factores importantes en el Otorgamiento del Credito, mediante la
informacion del Buro
Mexico / Guadalajara

[IMAGE]

Curso Taller
Herramientas Especializadas para el Control y Recuperacion de la Cartera
Vencida
Mexico / Guadalajara / Monterrey

[IMAGE]

Curso Taller
Tecnicas especializadas en los procesos de credito y cobranza
Mexico

[IMAGE]

Curso Taller
Aprenda a otorgar creditos sanos, prevenga y recupere su cartera vencida
Mexico / Guadalajara / Monterrey

Consulte nuestro Catalogo de Cursos Privados - Incompany - In house de

Credito y Cobranzas AQUI

Diseqamos el curso a la medida de sus necesidades..!Impartimos CURSOS de
forma PRIVADA en su empresa, envienos un correo especificando el numero
de participantes, el lugar donde se impartira, su nombre, cargo, empresa
y telefono.SOLICITE COTIZACION de Click Aqui

[IMAGE]

[IMAGE]

 Consulte la Programacion por Area 

Credito y Cobranza

Recursos Humanos

Manufactura y Produccion

Adquisiciones y Obras Publicas

Seguridad e Higiene

Desarrollo Humano

Negociacion y Compras

Ventas

Finanzas

Alimentos y Bebidas

Asistentes y Secretarias

Nuevas Tecnologias

Si necesita mayor informacion,comuniquese un Asesor lo atendera de
inmediato.

SIMCA CAPACITACION
Entrenamiento Especializado
E-MAIL: simca_capacitac...@hotmail.com
Messenger: simca_capacitac...@hotmail.com
Lada sin costo: 01 800 543 32 30

 Comentanos ?Que curso necesitas?

Envianos un correo

Da Click Aqui

Solicitala a tu Asesor.

Si usted no desea que le enviemos mas invitaciones, de Click Aqui,
gracias.



Re: systat colors?

2011-11-11 Thread STeve Andre'

On 11/11/11 18:58, Stuart Henderson wrote:

On 2011-11-10, STeve Andre'and...@msu.edu  wrote:

On 11/10/11 16:41, Ted Unangst wrote:

On Thu, Nov 10, 2011, Joe wrote:

Has anyone already modified systat to support colored text?

No, nor will they.  colorized utilities are not particularly welcome.
(i mean, you can do it, but don't expect such patches to be accepted.)



But such a systat could live in ports, quite happily.  See
colorls.

Not all that happily. It will keep getting out of sync with the OS.



OK, point taken.  But if the 'color systat' was a post-processor
it could take the output and add color escape sequences.
That then leaves syncing problems for changes in systat's
output itself, which while happening, isn't that common.

--STeve Andre'



Re: Packages issues

2011-11-11 Thread John Tate
Sorry I was a bit drunk, and went mad with abstract criticisms after
being stuck on mathematical style simplification all day and using
timers and all as empirical proof. God help us.

John
 Nov 11, 2011 at 09:36:01AM +0100, Antoine Jacoutot wrote:
 On Fri, Nov 11, 2011 at 09:06:35AM +0100, Marc Espie wrote:
  Well, if you feel like untangling the dependency nightmare that comes
with
  modern desktop systems, good luck !

 Yes, the dependency chain for modern desktop is quite complex.
 In our packages (at least for GNOME related stuffs) we are trying to find
the good balance so that most expected functionnality works out of the box.
 The drawback of this is that we have to enforce some dependencies
sometimes, but it is either that or we end up like Debian and have 15 packages
created out of 1. This would end up in a complete nightmare wrt
maintainability and users would need to know exactly which -libs, -common...
package they need to install to make something work.
 But do note that unlike most Linux distributions, OpenBSD does _not_ start
any daemon installed from packages by default, the user/administrator has to
explicitely enable it. So on and on, when you end up with avahi in your
dependency chain it is not such a big deal as it will not be started anyway.

 This is definitely not a criticism of your work. I've just spent a few
hours
 trying to figure out a better bootstrap order to try to avoid rebuilding
 more stuff with absolutely no luck... well,  I think we're already better
 off than most other *ixy distros anyways...




--
www.johntate.org



Re: systat colors?

2011-11-11 Thread Andres Perera
readelf -d `which systat`
...
 0x0001 (NEEDED) Shared library: [libcurses.so.12.1]
...

On Fri, Nov 11, 2011 at 8:08 PM, STeve Andre' and...@msu.edu wrote:
 On 11/11/11 18:58, Stuart Henderson wrote:

 On 2011-11-10, STeve Andre'and...@msu.edu B wrote:

 On 11/10/11 16:41, Ted Unangst wrote:

 On Thu, Nov 10, 2011, Joe wrote:

 Has anyone already modified systat to support colored text?

 No, nor will they. B colorized utilities are not particularly welcome.
 (i mean, you can do it, but don't expect such patches to be accepted.)


 But such a systat could live in ports, quite happily. B See
 colorls.

 Not all that happily. It will keep getting out of sync with the OS.


 OK, point taken. B But if the 'color systat' was a post-processor
 it could take the output and add color escape sequences.
 That then leaves syncing problems for changes in systat's
 output itself, which while happening, isn't that common.

 --STeve Andre'



Re: systat colors?

2011-11-11 Thread STeve Andre'

If it were a post-processor that took the systats output and
colorified it, the only change that would render the two out
of sync would be changes to systat's output itself.

On 11/11/11 19:48, Andres Perera wrote:

readelf -d `which systat`
...
  0x0001 (NEEDED) Shared library: [libcurses.so.12.1]
...

On Fri, Nov 11, 2011 at 8:08 PM, STeve Andre'and...@msu.edu  wrote:

On 11/11/11 18:58, Stuart Henderson wrote:

On 2011-11-10, STeve Andre'and...@msu.eduwrote:

On 11/10/11 16:41, Ted Unangst wrote:

On Thu, Nov 10, 2011, Joe wrote:

Has anyone already modified systat to support colored text?

No, nor will they.  colorized utilities are not particularly welcome.
(i mean, you can do it, but don't expect such patches to be accepted.)



But such a systat could live in ports, quite happily.  See
colorls.

Not all that happily. It will keep getting out of sync with the OS.



OK, point taken.  But if the 'color systat' was a post-processor
it could take the output and add color escape sequences.
That then leaves syncing problems for changes in systat's
output itself, which while happening, isn't that common.

--STeve Andre'




Re: Packages issues

2011-11-11 Thread Antoine Jacoutot
On Fri, Nov 11, 2011 at 02:57:15PM -0600, Amit Kulkarni wrote:
 IMHO, the situation in OpenBSD is far better than some other distros.
 And we don't install as much package cruft as some Linuxes.
 
 Antoine,
 does this mean that we have to search for a way to disable automatic
 indexing of files which KDE does? that's a daemon/service started by
 KDE by default.

Well it's up to you really.
In GNOME I do _not_ enforce the installation of tracker because it's crap and 
takes lots of ressources.
If the KDE equivalent is better, then maybe enabling indexing by default could 
make sense; but I know next to nothing about KDE internals.

-- 
Antoine



Re: Packages issues

2011-11-11 Thread Lars Hansson
On Sat, Nov 12, 2011 at 4:57 AM, Amit Kulkarni amitk...@gmail.com wrote:
 Antoine,
 does this mean that we have to search for a way to disable automatic
 indexing of files which KDE does? that's a daemon/service started by
 KDE by default.

Nepomuk is started by KDE itself on log in and is not a system daemon.
By default it only indexes the user's $HOME.
At least I have not seen any system KDE indexing daemons on any Linux
distro I have used.

Cheers,
Lars



Re: can't raise screen resolution xorg.log

2011-11-11 Thread Adriaan
On Fri, Nov 11, 2011 at 8:20 PM, Sha'ul sh...@lavabit.com wrote:
 I'm trying to change the resolution in GNOME to higher than 1024x768. In
 Windows 7 it works at 2048x1536.

 [2454002.502] (--) checkDevMem: using aperture driver /dev/xf86
 [2454002.514] (--) Using wscons driver on /dev/ttyC4 in pcvt compatibility
 mode (version 3.32)
 [2454002.533]
 X.Org X Server 1.9.5
 Release Date: 2011-03-17
 [2454002.533] X Protocol Version 11, Revision 0
 [2454002.533] Build Operating System: OpenBSD 5.0 amd64
 [2454002.533] Current Operating System: OpenBSD qrjhg.my.domain 5.0
 GENERIC.MP#0 amd64
 [2454002.533] Build Date: 01 November 2011  04:16:34AM
 [2454002.533]
 [2454002.533] Current version of pixman: 0.22.2
 [2454002.533]   Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
 [2454002.533] Markers: (--) probed, (**) from config file, (==) default
 setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
 [2454002.533] (==) Log file: /var/log/Xorg.0.log, Time: Fri Nov 11
 02:56:02 2011
 [2454002.543] (==) Using config file: /etc/X11/xorg.conf
 [2454002.589] (==) ServerLayout X.org Configured
 [2454002.589] (**) |--Screen Screen0 (0)
 [2454002.589] (**) |   |--Monitor Monitor0
 [2454002.591] (**) |   |--Device Card0
 [2454002.591] (**) |--Input Device Mouse0
 [2454002.591] (**) |--Input Device Keyboard0
 [2454002.591] (==) Disabling SIGIO handlers for input devices
 [2454002.591] (==) Automatically adding devices
 [2454002.591] (==) Automatically enabling devices
 [2454002.755] (**) FontPath set to:
/usr/local/lib/X11/fonts/mscorefonts,
/usr/X11R6/lib/X11/fonts/misc/,
/usr/X11R6/lib/X11/fonts/TTF/,
/usr/X11R6/lib/X11/fonts/OTF/,
/usr/X11R6/lib/X11/fonts/Type1/,
/usr/X11R6/lib/X11/fonts/100dpi/,
/usr/X11R6/lib/X11/fonts/75dpi/,
/usr/X11R6/lib/X11/fonts/misc/,
/usr/X11R6/lib/X11/fonts/TTF/,
/usr/X11R6/lib/X11/fonts/OTF/,
/usr/X11R6/lib/X11/fonts/Type1/,
/usr/X11R6/lib/X11/fonts/100dpi/,
/usr/X11R6/lib/X11/fonts/75dpi/
 [2454002.755] (**) ModulePath set to /usr/X11R6/lib/modules
 [2454002.755] (WW) AllowEmptyInput is on, devices using drivers 'kbd',
 'mouse' or 'vmmouse' will be disabled.
 [2454002.755] (WW) Disabling Mouse0
 [2454002.755] (WW) Disabling Keyboard0
 [2454002.761] (II) Loader magic: 0x7a7aa0
 [2454002.761] (II) Module ABI versions:
 [2454002.761]   X.Org ANSI C Emulation: 0.4
 [2454002.761]   X.Org Video Driver: 8.0
 [2454002.761]   X.Org XInput driver : 11.0
 [2454002.761]   X.Org Server Extension : 4.0
 [2454002.765] (--) PCI:*(0:0:2:0) 8086:2772:1849:2772 rev 2, Mem @
 0xfea8/524288, 0xd000/268435456, 0xfea4/262144, I/O @
 0xdc00/8
 [2454002.765] (II) extmod will be loaded. This was enabled by default and
 also specified in the config file.
 [2454002.765] (II) dbe will be loaded. This was enabled by default and
 also specified in the config file.
 [2454002.765] (II) glx will be loaded. This was enabled by default and
 also specified in the config file.
 [2454002.765] (II) record will be loaded. This was enabled by default and
 also specified in the config file.
 [2454002.765] (II) dri will be loaded. This was enabled by default and
 also specified in the config file.
 [2454002.765] (II) dri2 will be loaded. This was enabled by default and
 also specified in the config file.
 [2454002.765] (II) LoadModule: dbe
 [2454002.806] (II) Loading /usr/X11R6/lib/modules/extensions/libdbe.so
 [2454002.816] (II) Module dbe: vendor=X.Org Foundation
 [2454002.816]   compiled for 1.9.5, module version = 1.0.0
 [2454002.816]   Module class: X.Org Server Extension
 [2454002.816]   ABI class: X.Org Server Extension, version 4.0
 [2454002.816] (II) Loading extension DOUBLE-BUFFER
 [2454002.816] (II) LoadModule: dri
 [2454002.817] (II) Loading /usr/X11R6/lib/modules/extensions/libdri.so
 [2454002.817] (II) Module dri: vendor=X.Org Foundation
 [2454002.817]   compiled for 1.9.5, module version = 1.0.0
 [2454002.817]   ABI class: X.Org Server Extension, version 4.0
 [2454002.818] (II) Loading extension XFree86-DRI
 [2454002.818] (II) LoadModule: dri2
 [2454002.818] (II) Loading /usr/X11R6/lib/modules/extensions/libdri2.so
 [2454002.819] (II) Module dri2: vendor=X.Org Foundation
 [2454002.819]   compiled for 1.9.5, module version = 1.2.0
 [2454002.819]   ABI class: X.Org Server Extension, version 4.0
 [2454002.819] (II) Loading extension DRI2
 [2454002.819] (II) LoadModule: extmod
 [2454002.819] (II) Loading /usr/X11R6/lib/modules/extensions/libextmod.so
 [2454002.820] (II) Module extmod: vendor=X.Org Foundation
 [2454002.820]   compiled for 1.9.5, module version = 1.0.0
 [2454002.820]   Module class: X.Org Server Extension
 [2454002.820]   ABI class: X.Org Server Extension, version 4.0
 [2454002.821] (II) Loading extension MIT-SCREEN-SAVER
 [2454002.821] (II) 

Re: Packages issues

2011-11-11 Thread Antoine Jacoutot
On Sat, Nov 12, 2011 at 09:48:52AM +0800, Lars Hansson wrote:
 On Sat, Nov 12, 2011 at 4:57 AM, Amit Kulkarni amitk...@gmail.com wrote:
  Antoine,
  does this mean that we have to search for a way to disable automatic
  indexing of files which KDE does? that's a daemon/service started by
  KDE by default.
 
 Nepomuk is started by KDE itself on log in and is not a system daemon.
 By default it only indexes the user's $HOME.
 At least I have not seen any system KDE indexing daemons on any Linux
 distro I have used.

That does not mean it cannot be deactivated by default and only enabled per the 
user.
It is up to the packager to decide, he usually knows better. Tracker works the 
same way, it also only index the content of the homedir by default and starts 
on user login.

-- 
Antoine



Re: cdio burning images

2011-11-11 Thread John Tate
Recap...

cdio...
# cdio tao /home/john/ubuntu-11.10-desktop-i386.iso
cdio: The media can't be written in TAO mode

I'm guessing I get that one because ISO distribution has deviated a
long way from formally defined standards towards spontaneously defined
ones.

cdrecord...# cdrecord -vv -dao dev=/dev/cd0c
/home/john/ubuntu-11.10-desktop-i386.iso
Cdrecord-Clone 2.01 (--) Copyright (C) 1995-2004 Jvrg Schilling
TOC Type: 1 = CD-ROM
scsidev: '/dev/cd0c'
devname: '/dev/cd0c'
scsibus: -2 target: -2 lun: -2
Using libscg version 'schily-0.8'.
Using libscg transport code version 'schily-scsi-bsd.c-1.42'
SCSI buffer size: 61440
atapi: 0
Device type: Removable CD-ROM
Version: 0
Response Format: 2
Capabilities   :
Vendor_info: 'ASUS'
Identifikation : 'DRW-20B1LT  '
Revision   : '1.00'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0011
Profile: 0x002B
Profile: 0x001B
Profile: 0x001A
Profile: 0x0016
Profile: 0x0015
Profile: 0x0014
Profile: 0x0013
Profile: 0x0012
Profile: 0x0011 (current)
Profile: 0x0010
Profile: 0x000A
Profile: 0x0009
Profile: 0x0008
Profile: 0x0002
cdrecord: Found DVD media but DVD-R/DVD-RW support code is missing.
cdrecord: If you need DVD-R/DVD-RW support, ask the Author for
cdrecord-ProDVD.
cdrecord: Free test versions and free keys for personal use are at
ftp://ftp.berlios.de/pub/cdrecord/ProDVD/
cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support
code.
cdrecord: If you need DVD-R/DVD-RW support, ask the Author for
cdrecord-ProDVD.
cdrecord: Free test versions and free keys for personal use are at
ftp://ftp.berlios.de/pub/cdrecord/ProDVD/
Drive current speed: 125
Drive default speed: 125
Drive max speed: 125
Selected speed : 125
Using generic SCSI-3/mmc   CD/DVD driver (checks media) (mmc_cd_dvd).
Driver flags   : MMC-3 SWABAUDIO BURNFREE FORCESPEED
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1310720 = 1280 KB
FIFO size  : 4194304 = 4096 KB
Track 01: data   695 MB
track: 1 start: 0 pregap: 150
Total size:  798 MB (79:06.53) = 355990 sectors
Lout start:  798 MB (79:08/40) = 355990 sectors
Track 1 start 0
Track 2 start 355990
 41 00 A0 00 00 00 00 01 00 00 00 00
 41 00 A1 00 00 00 00 01 00 00 00 00
 41 00 A2 00 00 00 00 79 08 40 00 00
 41 00 01 00 00 00 00 00 02 00 00 00
Current Secsize: 2048
cdrecord: Unspecified command not implemented for this drive.
cdrecord: WARNING: Data may not fit on standard 74min disk.
Forcespeed is OFF.
Starting to write CD/DVD at speed 125 in real SAO mode for single session.
Last chance to quit, starting real write0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Writing pregap for track 1 at -150
cdrecord: Input/output error. write_g1: scsi sendcmd: retryable error
CDB:  2A 00 FF FF FF 6A 00 00 1E 00
status: 0x0 (GOOD STATUS)
resid: 61440
cmd finished after 0.018s timeout 200s
write track pad data: error after 0 bytes
BFree: 0 K BSize: 1280 K
Starting new track at sector: 0
Track 01:0 of  695 MB written.cdrecord: Input/output error.
write_g1: scsi sendcmd: retryable error
CDB:  2A 00 00 00 00 00 00 00 1E 00
status: 0x0 (GOOD STATUS)
resid: 61440
cmd finished after 0.020s timeout 200s

write track data: error after 0 bytes
cdrecord: A write error occured.
cdrecord: Please properly read the error message above.
Writing  time:5.061s
Average write speed 938.1x.
Fixating...
Fixating time:0.000s
cdrecord: fifo had 68 puts and 1 gets.
cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.

John Tate


On Sat, Nov 12, 2011 at 1:14 AM, Neal Hogan nealho...@gmail.com wrote:
 On Fri, Nov 11, 2011 at 6:07 AM, John Tate j...@johntate.org wrote:
 # cdio -f cd0c tao /home/john/ubuntu-11.10-desktop-i386.iso
 cdio: The media can't be written in TAO mode

 What am I doing wrong?



 I'm guessing the full device path is needed (i.e., /dev/cd0c).
 However, consider the faq (
 http://www.openbsd.org/faq/faq4.html#MkInsMedia ):

 faq
 4.3.1 - Making a CD-ROM

 You can create a CD-ROM using the cd50.iso or install50.iso files. The
 exact details here are left to the reader to determine with the tools
 they have at their disposal.

 In OpenBSD, you can create a CD from an ISO image using cdio(1):
  # cdio tao cd50.iso

 Most CD recorders sold for Windows and Macintosh systems come with
 software that can burn ISO images to blank media. If yours does not,
 there are various no-cost applications that can do this for you.
 /faq

 -Neal




--
www.johntate.org