xkbcomp warning in current with pl layout

2006-02-28 Thread Przemyslaw Nowaczyk
hello misc@
since recent changes in X that were made in current, I get a warning from
xkbcomp when doing startx (I use a 'Option XkbLayout pl' in my xorg.conf):

The XKEYBOARD keymap compiler (xkbcomp) reports:
 Warning:  Type ONE_LEVEL has 1 levels, but RALT has 2 symbols
   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server

I read in 'Following -current' than there ware changes in XKB, but haven't
found any info about polish keymap..

Is it becouse I'm doing something wrong, or is it somthing with X..?

my xorg.conf and dmesg below:
---
# xorg.conf for my R50e

Section Module
  Loaddbe
  Loadextmod
  Loadglx
  Loadrecord
  Loadxtrap
#  Loadspeedo
  Loadtype1
  Loadfreetype
EndSection

Section Files
  RgbPath   /usr/X11R6/lib/X11/rgb
  ModulePath  /usr/X11R6/lib/modules
#  FontPath  /usr/X11R6/lib/X11/fonts/local/
  FontPath  /usr/X11R6/lib/X11/fonts/misc/
  FontPath  /usr/X11R6/lib/X11/fonts/75dpi/:unscaled
  FontPath  /usr/X11R6/lib/X11/fonts/100dpi/:unscaled
  FontPath  /usr/local/lib/X11/fonts/ghostscript/
  FontPath  /usr/local/lib/X11/fonts/mscorefonts/
  FontPath  /usr/X11R6/lib/X11/fonts/Speedo/
  FontPath  /usr/X11R6/lib/X11/fonts/Type1/
  FontPath  /usr/X11R6/lib/X11/fonts/TrueType/
  FontPath  /usr/X11R6/lib/X11/fonts/freefont/
  FontPath  /usr/X11R6/lib/X11/fonts/75dpi/
  FontPath  /usr/X11R6/lib/X11/fonts/100dpi/
EndSection

Section InputDevice
  Identifier  myKeyboard
  Driver  keyboard
  Option  CoreKeyboard

  Option XkbRules xorg
  Option XkbModel pc104
  Option XkbLayoutpl
EndSection

Section InputDevice
  Identifier  myMouse
  Driver  mouse
  Option  CorePointer
  Option  Protocol wsmouse
  Option  Device /dev/wsmouse
  Option  ZAxisMapping 4 5
EndSection

Section Device
  Identifier  myCard0
  Driver  i810
  Option  MonitorLayout CRT,LFP
  Option  SWCursor True
  BusID   PCI:0:2:0
  Screen  0
EndSection

Section Device
  Identifier  myCard1
  Driver  i810
  Option  MonitorLayout CRT,LFP
  BusID   PCI:0:2:0
  Screen  1
EndSection

Section Monitor
  Identifier  myLCD
EndSection

Section Screen
  IdentifierINT
  DevicemyCard0
  Monitor   myLCD
  DefaultDepth  24
  SubSection Display
Depth 16
Modes 1024x768 800x600
  EndSubSection
  SubSection Display
Depth 24
Modes 1024x768 800x600
  EndSubSection
EndSection

Section ServerLayout
  Identifier  int
  Screen  0 INT
  InputDevice myMouse
  InputDevice myKeyboard
EndSection
---
OpenBSD 3.9-beta (GENERIC) #610: Sun Feb 26 15:48:26 MST 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Celeron(R) M processor 1.40GHz (GenuineIntel 686-class) 1.40 
GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF
real mem  = 526884864 (514536K)
avail mem = 473735168 (462632K)
using 4278 buffers containing 26447872 bytes (25828K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(df) BIOS, date 11/15/05, BIOS32 rev. 0 @ 0xfd740
pcibios0 at bios0: rev 2.1 @ 0xfd6d0/0x930
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdeb0/256 (14 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc/0xd000! 0xcd000/0x1000 0xce000/0x1000 0xdc000/0x4000! 
0xe/0x1
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82852GM Hub-PCI rev 0x02
Intel 82852GM Memory rev 0x02 at pci0 dev 0 function 1 not configured
Intel 82852GM Configuration rev 0x02 at pci0 dev 0 function 3 not configured
vga1 at pci0 dev 2 function 0 Intel 82852GM AGP rev 0x02: aperture at 
0xe000, size 0x800
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
Intel 82852GM AGP rev 0x02 at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x01: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x01: irq 11
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x01: irq 11
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x01: irq 11
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
ppb0 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x81
pci1 at ppb0 bus 1
cbb0 at pci1 dev 0 function 0 Texas Instruments PCI1510 CardBus rev 0x00: irq 
11
iwi0 at pci1 

Re: Ethernet via USB cable

2006-02-28 Thread David Gwynne

From: Lars Weste [EMAIL PROTECTED]


Hi list,

I am trying to setup a network between two OpenBSD 3.8 hosts via a USB
interface. I wanted to use the Interface as a pfsync device.
I thought it have read somewhere it is possible but cannot remember where,
so when I issue a: apropos usb | grep -i ether
I feel I will need a USB Ethernet interface, just coupling two hosts via a
USB cable doesn't work. The most promising manual page revealed that way
is the cdce(4), but there is a Prolific and Zaurus mentioned and I belive
this is only working with these devices.

So do I need special USB Ethernet hardware to configure a network between
two OpenBSD hosts connected together via USB, if not, which manpage did I
missed?


If you're asking if you can plug a dumb usb cable between two computers, the 
answer is no. You can only have one host on the bus at one time. To get 
ethernet via usb between the hosts you will need two usb to ethernet nics 
and a crossover cable, or a cdce device such as the one made by prolific. 
cdce is plugged straight into the usb ports of both machines, but they both 
see it as a network device (ie, it appears as a device to both hosts). If 
you find one let me know, I've been interested in getting one for a while.


dlg 



Re: /etc and partitions

2006-02-28 Thread Nickolay A Burkov
On Mon, 27 Feb 2006 19:37:12 +0100
Michael Schmidt [EMAIL PROTECTED] wrote:

 Hello,
 
 version: 3.8
 architecture: i386
 
 I have seen that /etc cannot be located on a separated partition.
 Why can it be not on an extra partition?
 
 Have a nice day
 Michael
 
 -- 
 Michael Schmidt MIRRORS:
 DJGPP   ftp://ftp.fh-koblenz.de/pub/DJGPP/
 Ghostscript ftp://ftp.fh-koblenz.de/pub/Ghostscript/
 

/usr/src/sbin/init/pathnames.h:

#define _PATH_RUNCOM/etc/rc

I think it may be changed to something else accessibly,
but on line 201 in /etc/rc there is /sbin/mount executions, 
so /etc/fstab should be accessed before this line.

-- 
God is real, unless declared integer.



Spanish speakers, [es] translation needs you

2006-02-28 Thread Saad Kadhi

Hi,

The [es] translation is way out of date and it has been the case for  
a long time (164 files out of which 153 are outdated). Since Gerardo  
Santana Gsmez Garrido stopped maintaining it, no one serious stepped  
in to take over (some talkers showed up but we didn't see a single  
diff from them).


If you want to help the OpenBSD project by maintaining [es] (or at  
least the most important files), please read http://www.openbsd.org/ 
translation-explained.html then contact me as soon as possible.  
Otherwise, I will remove [es] files from the tree.


Be warned though, translation is not exactly a highly interesting  
job. It can be boring and time-consuming but it is necessary in my  
humble opinion.


Regards,
--
Saad Kadhi - http://saad.docisland.org/
He who relieves the poor makes Ahura king



Re: Spanish speakers, [es] translation needs you

2006-02-28 Thread Wu
Hi, i've been talking about that topic with some people in #BSDes 
(irc.freenode.net) for a long time, now it seems the time to take
action.

I'll set up an anonymous cvs server and begin to work on it by myself 
this week. I hope i'll get some help from the folks on #BSDes (of course
everyone else is invited, just contact me via email or joining the channel
in freenode).

It is posible to have some visible results in two-three weeks (at least
the main pages of openbsd.org).

Here you have my proposal, perhaps anyone else have a better one (which 
i'll be glad to join), but if no other appears, give me a chance (wait a
bit to remove [es] from the tree).

On Tue, 28 Feb 2006 10:48:22 +0100
Saad Kadhi [EMAIL PROTECTED] wrote:

 Hi,
 
 The [es] translation is way out of date and it has been the case for  
 a long time (164 files out of which 153 are outdated). Since Gerardo  
 Santana Gsmez Garrido stopped maintaining it, no one serious stepped  
 in to take over (some talkers showed up but we didn't see a single  
 diff from them).
 
 If you want to help the OpenBSD project by maintaining [es] (or at  
 least the most important files), please read http://www.openbsd.org/ 
 translation-explained.html then contact me as soon as possible.  
 Otherwise, I will remove [es] files from the tree.
 
 Be warned though, translation is not exactly a highly interesting  
 job. It can be boring and time-consuming but it is necessary in my  
 humble opinion.
 
 Regards,
 --
 Saad Kadhi - http://saad.docisland.org/
 He who relieves the poor makes Ahura king
 


-- 

Perceive that which cannot be seen with the eye. - Miyamoto Musashi
-
Francisco de Borja Lspez Rmo ([EMAIL PROTECTED])
Csdigo23 - Secure Network Solutions
http://www.codigo23.net / http://www.e-shell.org



Re: /etc and partitions

2006-02-28 Thread Michael Schmidt

Tobias Weingartner wrote:


On Monday, February 27, Michael Schmidt wrote:
 


I have seen that /etc cannot be located on a separated partition.
Why can it be not on an extra partition?
   



Where is the information located that tells it how/where to mount
the /etc partition from?
 



Okay, okay, I have learned the lesson.  ;)
Thanks to all.

--
Michael Schmidt MIRRORS:
DJGPP   ftp://ftp.fh-koblenz.de/pub/DJGPP/
Ghostscript ftp://ftp.fh-koblenz.de/pub/Ghostscript/



automatically shape dhcp client

2006-02-28 Thread ejun
guys do you have any idea if what is the syntax on how to automatically
shape a dhcp client using altq? for example i would like to set 128Kb for
every client assigned by my dhcp server.



Re: automatically shape dhcp client

2006-02-28 Thread Lars Hansson
On Tuesday 28 February 2006 19:11, [EMAIL PROTECTED] wrote:
 guys do you have any idea if what is the syntax on how to automatically
 shape a dhcp client using altq? for example i would like to set 128Kb for
 every client assigned by my dhcp server.

IIRC, pf does not yet have the ability to do this automatically.
You'd have to set up one queue for each IP address in use or use authpf to 
assign bandwidth to specific users.

---
Lars Hansson



ssh2 clients

2006-02-28 Thread Michael Schmidt

Hello,

well, this is no ssh mailing list, but as OpenSSH is integrated into 
OpenBSD and as *.openbsd.org webpages show ssh clients for Windows I 
would like to know:


I have seen these ssh2 clients (for Windows) UTF-8 TeraTerm Pro and/or 
ttssh2.
They have ssh2 support included and as far as I have seen sources are 
available.

I have installed UTF-8 TT Pro and do not see problems.
Its website at sourceforge is:

http://sourceforge.jp/projects/ttssh2/

What is the reason that the ssh2-clients (for Windows) UTF-8 TeraTerm 
Pro and/or ttssh2 are not mentioned on *.openbsd.org webpages?


Have a nice day
Michael

--
Michael Schmidt MIRRORS:
DJGPP   ftp://ftp.fh-koblenz.de/pub/DJGPP/
Ghostscript ftp://ftp.fh-koblenz.de/pub/Ghostscript/



console mouse hard to control

2006-02-28 Thread Harry Putnam
This must have come up a few times but searching this group at
search.gmane.org with strings like `console mouse speed' `wsmoused'
`mouse speed' turned up lots of stuff, including one direct hit but it
had no reply.

There is nothing mentioned in section of faq about keyboard and mouse
either.

Is it possible on i386 architecture to control the console mouse
speed or acceleration?



80x50 console res but .. clean font

2006-02-28 Thread Harry Putnam
Using the example from FAQ about how to get 80x50 console resolution I
find the font I get is pretty blotchy compared to the default.

In default console res, the font is crisp and clear but using the
example:
  wsfontload -h 8 -e ibm /usr/share/misc/pcvtfonts/vt220l.808

It seems blotchy and hard to read.  Also not really small enough
either.  

Maybe just the larger size makes it appear cleaner.

So, are there better ways to do this? And can I get 75 lines or some
other higher number in console mode?



The HP nc7170 dual port

2006-02-28 Thread Pierre-Yves Ritschard

Hi,

I've been desperately looking for syskonnect 9822 dual port cards but it 
seems its sold-out everywhere and syskonnect just told me on the phone 
that they won't produce anymore.


I'm left with Intel based dual port cards and since I have access to 
cheap nc7170 (Intel 82546EB chipset) I was wondering if anybody knew if 
this was supposed to work (i.e: is it just a rebranding of the intel 
equivalent), if anybody has one on a box somewhere i'd be interested to 
know if it is detected and works.


Thanks,
Pierre-Yves



Re: Spanish speakers, [es] translation needs you

2006-02-28 Thread ober

I would like to help.
I bwill take a look, and see about a new diff.


-Ober

Richard Chesler: [Reading a piece of paper] The first rule of Fight Club is you 
don't talk about Fight Club?
Narrator: [Voice-over] I'm half asleep again; I must've left the original in 
the copy machine.
Richard Chesler: The second rule of Fight Club - is this yours?
Narrator: Huh?
Richard Chesler: Pretend you're me, make a managerial decision: you find this, 
what would you do?

On Tue, 28 Feb 2006, Saad Kadhi wrote:


Date: Tue, 28 Feb 2006 10:48:22 +0100
From: Saad Kadhi [EMAIL PROTECTED]
To: misc@openbsd.org
Subject: Spanish speakers, [es] translation needs you

Hi,

The [es] translation is way out of date and it has been the case for a long 
time (164 files out of which 153 are outdated). Since Gerardo Santana Gsmez 
Garrido stopped maintaining it, no one serious stepped in to take over (some 
talkers showed up but we didn't see a single diff from them).


If you want to help the OpenBSD project by maintaining [es] (or at least the 
most important files), please read http://www.openbsd.org/ 
translation-explained.html then contact me as soon as possible. Otherwise, I 
will remove [es] files from the tree.


Be warned though, translation is not exactly a highly interesting job. It can 
be boring and time-consuming but it is necessary in my humble opinion.


Regards,
--
Saad Kadhi - http://saad.docisland.org/
He who relieves the poor makes Ahura king




Re: 80x50 console res but .. clean font

2006-02-28 Thread Darrin Chandler

Harry Putnam wrote:


Using the example from FAQ about how to get 80x50 console resolution I
find the font I get is pretty blotchy compared to the default.

In default console res, the font is crisp and clear but using the
example:
 wsfontload -h 8 -e ibm /usr/share/misc/pcvtfonts/vt220l.808

It seems blotchy and hard to read.  Also not really small enough
either.  


Maybe just the larger size makes it appear cleaner.

So, are there better ways to do this? And can I get 75 lines or some
other higher number in console mode?

 


Try installing the package for terminus fonts and use the appropriate
one with wsfontload. Terminus is very crisp and clean and may make you
happier.

--
Darrin Chandler|  Phoenix BSD Users Group
[EMAIL PROTECTED]   |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/  |



WebDAV locking trouble (yes, DavLockDB is chroot relative)

2006-02-28 Thread Nick Forrette

From: [EMAIL PROTECTED]
	Subject: 	httpd / mod_dav locking troubles (DavLockDB is chrooted  
relative)

Date:   February 28, 2006 7:21:59 AM PST
To:   [EMAIL PROTECTED]


I'm running OpenBSD 3.8 stable with mod_dav 1.0.3p0 installed from  
ports (sparc64 architecture).


My goal is to get mod_dav working over https. While https is working  
ok, and my DAV client (Mac OS X 10.4.5) can connect and authenticate,  
any time the client attempts to create a file it will hang. Examining  
the error_log shows the following message repeated many thousands of  
time (before I killed httpd and waited for the Mac to timeout):


[Sun Feb 26 22:42:47 2006] [error] [client 10.0.254.2] Could not save  
lock information.  [500, #405]
[Sun Feb 26 22:42:47 2006] [error] [client 10.0.254.2] (22)Invalid  
argument: No error.  [500, #0]


I have not found anyone posting a solution to this issue. The best I  
could find was one other person having the same issue, but didn't get  
a response. The URL for the other post is:


http://mailman.lyra.org/pipermail/dav-dev/2005-November/006209.html

We're both running OpenBSD on sparc64 (though he was running 3.7).  
I've tried running apache both chrooted (httpd_flags=-DSSL) and  
unchrooted (http_flags=-u -DSSL). The change had no effect on this  
issue. SSL and authentication have not been a problem. Here's the DAV  
relevant portion of my httpd.conf:



Alias /dav/ /var/www/dav/files/

DavLockDB /dav/lockdb

Directory /var/www/dav/files/
Dav on

AuthType Digest
AuthName DAV
AuthDigestDomain /
AuthDigestFile /var/www/dav/dav_users
AuthGroupFile /var/www/dav/dav_groups

Options none
AllowOverride none

LimitExcept GET HEAD OPTIONS
require valid-user
/LimitExcept

Order allow,deny
Allow from All
/Directory

The owner and permissions on the /var/www/dav/ directory look fine:

drwxrwxr-x  3 www  www  512 Feb 27 21:52 dav/

The lock database is created in /var/www/dav, but I noticed the files  
have a zero size:


-rw-r-  1 www  www0 Feb 27 21:52 lockdb.dir
-rw-r-  1 www  www0 Feb 27 21:52 lockdb.pag

I haven't done anything special with my var partition (on a side  
note, I spaced it install time but /var/www/ will wind up on its own  
partition):


/dev/wd0g on /var type ffs (local, nodev, nosuid)

/var/log/messages doesn't have anything post relevant, just boot  
stuff and a couple syslog restarts.


I re-worked my httpd.conf to only run a single httpd instance  
(StartServers, MinSpare, and MaxSpare all set to 1), restarted httpd,  
and ktraced the httpd child process. Here's the portion of the output  
that deals with the lock db:


29913 httpdCALL  open(0x42d887f0,0x202,0x1b0)
29913 httpdNAMI  /dav/lockdb.pag
29913 httpdRET   open 7
29913 httpdCALL  flock(0x7,0x2)
29913 httpdRET   flock 0
29913 httpdCALL  open(0x42d887e0,0x202,0x1b0)
29913 httpdNAMI  /dav/lockdb.dir
29913 httpdRET   open 8
29913 httpdCALL  fstat(0x8,0xfffbe0a0)
29913 httpdRET   fstat 0
29913 httpdCALL  gettimeofday(0xfffbe960,0)
29913 httpdRET   gettimeofday 0
29913 httpdCALL  stat(0x4f2df090,0xfffbe660)
29913 httpdNAMI  /dav/files/._index copy.html
29913 httpdRET   stat 0
29913 httpdCALL  close(0x8)
29913 httpdRET   close 0
29913 httpdCALL  flock(0x7,0x8)
29913 httpdRET   flock 0
29913 httpdCALL  close(0x7)
29913 httpdRET   close 0

The lockdb.pag file is opened successfully (file descriptor 7) and  
flock reports the exclusive lock was obtained alright (the open and  
flock man pages helped here). However, httpd still seems to be having  
some sort of issue related to locking. I haven't touched systrace  
since I did a fresh install of 3.8 (all I see in /etc/systrace are  
usr_sbin_lpd and usr_sbin_named).


I did some digging in the mod_dav source and found that the Could  
not save lock information is only issued in one place, and that is  
if a call to sdbm_store (via a function pointer) is failing with  
EINVAL (errno value 22 in the above error_log snippet). It's returned  
from sdbm_store because either the database is NULL, or the key data  
pointer is NULL or has a zero size. Searching for various  
combinations of sdbm, DAV, sparc, and OpenBSD didn't find anything  
that looked relevant. If someone has already seen / patched / worked  
around this, I'd rather not waste time creating a debug build of  
httpd / mod_dav (my only sparc box is on the slow side).


Any help or insights appreciated.

Nick



Re: thinkpad r51e not bootable

2006-02-28 Thread markus ploner
now with a 3.9 (27/02/06) it's stopping earlier and some hardware is
accessed differently

'boot -c' with 'disable pcibios0'

Copyright...
OpenBSD 3.9 (RAMDISK_CD) #1022: Mon Feb 27 19:21:09 MST 2006
deraadt...
cpu0: Intel(R) Celeron(R) M processor 1.50GHz (GenuineIntel 686-class) 1.50 
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
real mem = 937902080 ...
avail mem = 849911808 ...
using 4278 buffers containing 46997504 bytes ... of memory 
mainbus0 (root)
bios0 at mainbus0 AT/286+(2f) BIOS, date 09/30/05, BIOS32 rev. 0 @ 0xfd550
pcibios at bios0 function 0x1a not configured
bios0: ROM list: 0xc/0xc000 0xcc000/0x1000 0xcd000/0x1600 0xe/0x1
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 vendor ATI, unknown product 0x5a31 rev 0x01
ppb0 at pci0 dev 1 function 0 ATI RS480 PCIE rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 5 function 0 ATI Radeon XPRESS 200M rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
ATI RS480 PCIE rev 0x00 at pci0 dev 4 function 0 not configured


now as requested a verbose output:
[is there any way to change the screensize while booting?]

 cac probe returned 0
 probing for ciss*
 ciss probe returned 0
 probing for isp*
 isp probe returned 0
 probing for mpt*
 mpt probe returned 0
 probing for de*
 de probe returned 0
 probing for ep0
 ep probe returned 0
 probing for ep*
 ep probe returned 0
 probing for fpa*
 fpa probe returned 0
 probing for le*
 le probe returned 0
 probing for pcn*
 pcn probe returned 0
 probing for siop*
 siop probe returned 0
 probing for pciide*
 pciide probe returned 0
 probing for ppb*

After i saw this i tried a 'boot -c' with 'disable pcibios0' and
'disable ppb' and the booting was finally working; expect the
networkcards. i think i can't get them to work with ppb disabled...
any suggestions how to get them working after a harddisk install?


thanks for the help



sendmail DSN reports

2006-02-28 Thread Joel Gudknecht
I have a mail filter gateway setup running sendmail, smtp-vilter and
spamassassin. All incoming mail gets delivered to this machine before
being passed onto an exchange server. My issue is whenever a spammer
sends mail to a bogus user at my real domain, I get a DSN from the
sendmail box because exchange is configured to only accept email for
accounts that actually exist. I'm considering the -N never option of
sendmail but I wanted to run it by the list first because I know not
sending notifications isn't the best idea. Any other things I can do
to resolve this problem? Thanks.

-jg



Re: 80x50 console res but .. clean font

2006-02-28 Thread Antonios Anastasiadis
I think netbsd just got preliminary framebuffer support.
Perhaps in the future a developer might have interest in porting it.



Re: sendmail DSN reports

2006-02-28 Thread Claus Assmann
On Tue, Feb 28, 2006, Joel Gudknecht wrote:
 I have a mail filter gateway setup running sendmail, smtp-vilter and
 spamassassin. All incoming mail gets delivered to this machine before
 being passed onto an exchange server. My issue is whenever a spammer
 sends mail to a bogus user at my real domain, I get a DSN from the
 sendmail box because exchange is configured to only accept email for
 accounts that actually exist. I'm considering the -N never option of

Hence you should do the same on the sendmail machine: don't accept
mail for unknown recipients.  You can search the news:comp.mail.sendmail
archives for various suggestions how to do that (virtusertable,
access_db, LDAP, milter, ...)

 sendmail but I wanted to run it by the list first because I know not
 sending notifications isn't the best idea. Any other things I can do
 to resolve this problem? Thanks.

-N doesn't work in server mode.



Re: 80x50 console res but .. clean font

2006-02-28 Thread Julian Fondren
On 2/28/06, Antonios Anastasiadis [EMAIL PROTECTED] wrote:
 I think netbsd just got preliminary framebuffer support.
 Perhaps in the future a developer might have interest in porting it.

I feel a bit odd for asking this, because I used to live on the
console, but I must ask: why?  Why do any of you care about better
fonts or resolutions or assorted prettiness on the console?

Just go into X.  OpenBSD has the full range of window managers in
ports, from ratpoison and amiga-lookalikes to treewm to Enlightenment
to GNOME/KDE.  Can't you at least use ratpoison?  A computer incapable
of even that should probably not be taking up a monitor or keyboard.



mp3 via printer port

2006-02-28 Thread artjom
Once I was watching photos from OpenBSD hackaton and saw there that people
listened mp3's by sending them to the lpt port. How is it possible to do?
Can somebody describe it in details.
Thanks!

Artyom



Re: mp3 via printer port

2006-02-28 Thread David Terrell
On Tue, Feb 28, 2006 at 08:19:34PM +0200, [EMAIL PROTECTED] wrote:
 Once I was watching photos from OpenBSD hackaton and saw there that people
 listened mp3's by sending them to the lpt port. How is it possible to do?
 Can somebody describe it in details.

Not via the printer port, but via lpd:
http://patrick.wagstrom.net/old/weblog/archives/000128.html



Re: mp3 via printer port

2006-02-28 Thread Michael Wilsker

http://www.google.com/search?hl=enq=openbsd+playing+mp3s+through+printerbtnG=Google+Search

  -- Mikey

At 10:19 AM 2/28/2006, [EMAIL PROTECTED] wrote:

Once I was watching photos from OpenBSD hackaton and saw there that people
listened mp3's by sending them to the lpt port. How is it possible to do?
Can somebody describe it in details.
Thanks!




Re: mp3 via printer port

2006-02-28 Thread Jon Simola
On 2/28/06, David Terrell [EMAIL PROTECTED] wrote:

  Once I was watching photos from OpenBSD hackaton and saw there that people
  listened mp3's by sending them to the lpt port. How is it possible to do?
  Can somebody describe it in details.

 Not via the printer port, but via lpd:
 http://patrick.wagstrom.net/old/weblog/archives/000128.html

Heh, I was trying to remember how to wire up the resistor ladder and
op-amp for nostalgia's sake.

--
Jon Simola
Systems Administrator
ABC Communications



error mounting cd0c on -current

2006-02-28 Thread Bryan Brake
Using the snapshot from 27 Feb, I was able to 
initially use the DVD+-RW to install the snapshot. 
 Everything has been fine, but today, I thought I 
would attempt to play an Audio CD in the drive.  I 
downloaded xmms (which looks like the old winamp), 
put the cd in and issued the following command:


#mkdir /cdrom
#mount -t cd9660 -r /dev/cd0c /cdrom

This is the error that pops up in the console:

--
cd0(atapiscsi0:0:0): Check Condition (error 0x70) 
on opcode 0x28


SENSE KEY: Illegal Request

Incorrect Length Indicator Set

INFO: 0x10 (VALID flag on)

ASC/ASCQ: Illegal Mode For This Track
--

So I added the following to /etc/fstab:

/dev/cd0c /cdrom cd9660 ro,noauto 0 0

and I issued the following command:

#mount /cdrom

but I still get the same error.  So I rebooted the 
machine to see if I'd receive any errors 
concerning the drive, but I saw no errors out of 
the ordinary.



I did google the error messages, as well as looked 
at the FAQ, but was unable to understand why it 
didn't work.  The mount man page has what I 
first put in to get this error.  This is why I am 
sending out for a little assistance.


Any help is appreciated. Dmesg is below...

Bryan Brake





OpenBSD 3.9-beta (GENERIC) #610: Sun Feb 26 
15:48:26 MST 2006


[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) M processor 1.86GHz 
(GenuineIntel 686-class) 1.87 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,EST,TM2
cpu0: Enhanced SpeedStep 1400 MHz (1356 mV): 
unknown EST cpu, no changes possible

real mem  = 1073168384 (1048016K)
avail mem = 972533760 (949740K)
using 4278 buffers containing 5376 bytes 
(52500K) of memory

mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 
09/19/05, BIOS32 rev. 0 @ 0xffe90

pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 
0xfb7d0/160 (8 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 
82371 ISA and IDE rev 0x00)

pcibios0: PCI bus #3 is the last bus
bios0: ROM list: 0xc/0x1!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 
82915GM/PM/GMS Host rev 0x03
ppb0 at pci0 dev 1 function 0 Intel 82915PM/GM 
PCIE rev 0x03

pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 NVIDIA GeForce Go 
6800 rev 0xa2
wsdisplay0 at vga1 mux 1: console (80x25, vt100 
emulation)

wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
uhci0 at pci0 dev 29 function 0 Intel 82801FB 
USB rev 0x03: irq 11

usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 Intel 82801FB 
USB rev 0x03: irq 10

usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 Intel 82801FB 
USB rev 0x03: irq 9

usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 29 function 3 Intel 82801FB 
USB rev 0x03: irq 7

usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 Intel 82801FB 
USB rev 0x03: irq 11

usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
ppb1 at pci0 dev 30 function 0 Intel 82801BAM 
Hub-to-PCI rev 0xd3

pci2 at ppb1 bus 2
bce0 at pci2 dev 0 function 0 Broadcom BCM4401B0 
rev 0x02: irq 9, address 00:14:22:e6:62:79
bmtphy0 at bce0 phy 1: BCM4401 10/100baseTX PHY, 
rev. 0
cbb0 at pci2 dev 1 function 0 Ricoh 5C476 
CardBus rev 0xb3: irq 7
Ricoh 5C552 Firewire rev 0x08 at pci2 dev 1 
function 1 not configured
vendor Ricoh, unknown product 0x0822 (class 
system unknown subclass 0x05, rev 0x17) at pci2 
dev 1 function 2 not configured
iwi0 at pci2 dev 3 function 0 Intel PRO/Wireless 
2915ABG rev 0x05: irq 10, address 00:13:ce:be:2d:fb

cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3 device 0 cacheline 
0x0, lattimer 0x20

pcmcia0 at cardslot0
auich0 at pci0 dev 30 function 2 Intel 82801FB 
AC97 rev 0x03: irq 11, ICH6 AC97

ac97: codec id 0x83847650 (SigmaTel STAC9750/51)
ac97: codec features headphone, 20 bit DAC, 20 bit 
ADC, SigmaTel 3D

audio0 at auich0
Intel 82801FB Modem rev 0x03 at pci0 dev 30 
function 3 not configured
ichpcib0 at pci0 dev 31 function 0 Intel 82801FBM 
LPC rev 0x03: PM disabled
pciide0 at pci0 dev 31 function 2 Intel 82801FBM 
SATA rev 0x03: DMA, channel 0 wired to 
compatibility, channel 1 wired to compatibility

wd0 at pciide0 channel 0 drive 0: TOSHIBA 

Terminus font on console

2006-02-28 Thread Darrin Chandler

Darrin Chandler wrote:


Try installing the package for terminus fonts and use the appropriate
one with wsfontload. Terminus is very crisp and clean and may make you
happier.



I hadn't tried this, though I've been happily using Terminus under X.
Ray Lai called me on it, so I gave it a shot. I haven't succeeded. From
the home page, ..., BSD console (not tested) and ...

When I want a higher resolution console I've been using ratpoison.

Has anyone made terminus fonts work at console?

--
Darrin Chandler|  Phoenix BSD Users Group
[EMAIL PROTECTED]   |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/  |



Re: error mounting cd0c on -current

2006-02-28 Thread Jasper Lievisse Adriaanse
On Tue, 28 Feb 2006 11:27:21 -0800
Bryan Brake [EMAIL PROTECTED] wrote:

 Using the snapshot from 27 Feb, I was able to
 initially use the DVD+-RW to install the snapshot.
   Everything has been fine, but today, I thought I
 would attempt to play an Audio CD in the drive.  I
 downloaded xmms (which looks like the old winamp),
 put the cd in and issued the following command:

 #mkdir /cdrom
 #mount -t cd9660 -r /dev/cd0c /cdrom

Why are you trying to mount an audio cd?

[...]

Cheers,
Jasper

--
Humppa is a serious thing!

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



serial console

2006-02-28 Thread Gustavo Rios
Hey folks,

i am trying to set my desktop serial console in order to be able to
have serial access to my soekris box.

I wonder how should i configure my local (desktop box) serial to do
it? I known, the FAQ does not explain what i need:

Here is what i am trying :

# stty -f /dev/tty00 rows 24
# stty -a -f /dev/tty00
speed 9600 baud; 0 rows; 0 columns;
lflags: icanon isig iexten echo echoe -echok echoke -echonl echoctl
-echoprt -altwerase -noflsh -tostop -flusho -pendin -nokerninfo
-extproc -xcase
iflags: -istrip icrnl -inlcr -igncr -iuclc ixon -ixoff ixany imaxbel
-ignbrk brkint -inpck -ignpar -parmrk
oflags: opost onlcr -ocrnl -onocr -onlret -olcuc oxtabs -onoeot
cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb -crtscts -mdmbuf
cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = undef;
eol2 = undef; erase = ^?; intr = ^C; kill = ^U; lnext = ^V;
min = 1; quit = ^\; reprint = ^R; start = ^Q; status = undef;
stop = ^S; susp = ^Z; time = 0; werase = ^W;
#

As you can see, the number of rows did not changed.

Another questions: do i need to have the same speed on both sides? Thanks.

My dmesg is attached.

[demime 1.01d removed an attachment of type application/octet-stream which had 
a name of dmesg]



Re: 80x50 console res but .. clean font

2006-02-28 Thread scorch

Darrin Chandler said the following on 2006-02-28 16:24:


In default console res, the font is crisp and clear but using the
example:
 wsfontload -h 8 -e ibm /usr/share/misc/pcvtfonts/vt220l.808


Try installing the package for terminus fonts and use the appropriate
one with wsfontload. Terminus is very crisp and clean and may make you
happier.


thanks for the suggestion. however these fonts seem all to be X11. are there 
any ways to convert there to 80x50 resolution, and also identify which ones 
are vt220 compatible etc?


cheers, scorch
--
out of the frying pan and into the fire



Re: 80x50 console res but .. clean font

2006-02-28 Thread Darrin Chandler

scorch wrote:

thanks for the suggestion. however these fonts seem all to be X11. are 
there any ways to convert there to 80x50 resolution, and also identify 
which ones are vt220 compatible etc?


cheers, scorch
--
out of the frying pan and into the fire



The console fonts aren't installed in the package. In the original 
sources they can be built, but I haven't got those to work either (which 
is probably why they're not in the package.)


If it's practical for you, you might try using ratpoison under X. It's a 
lightweight window manager inspired by screen, with the added benefit of 
doing side-by-side split screen.


I'm not done trying to get terminus console fonts going, and I'll post 
something if I get somewhere. But don't hold your breath...


--
Darrin Chandler|  Phoenix BSD Users Group
[EMAIL PROTECTED]   |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/  |



Re: serial console

2006-02-28 Thread Diana Eichert
On Tue, 28 Feb 2006, Gustavo Rios wrote:

 Hey folks,

 i am trying to set my desktop serial console in order to be able to
 have serial access to my soekris box.

 I wonder how should i configure my local (desktop box) serial to do
 it? I known, the FAQ does not explain what i need:

If all your doing is connecting FROM your desktop TO your Soekris you
don't have to change anything on the desktop.  Just run 'cu' TIP(1) to
connect.

Example to connect using the 1st com port connect speed 19.2k baud

cu -l /dev/cua00 -s 19200

'cua' TTY(4) is the callout device on serial ports

diana



Re: serial console

2006-02-28 Thread Stuart Henderson
On 2006/02/28 16:36, Gustavo Rios wrote:
 i am trying to set my desktop serial console in order to be able to
 have serial access to my soekris box.

Soekris BIOS default is 19200 baud. Try cu -l cua00 -s 19200.
If you see nothing at all, make sure you've got the correct cables
and/or adapters - you want a null modem adapter or cable, not a gender
changer.  If you see garbled characters (possibly corrupting your
terminal display afterwards) the speed's probably wrong. You'll probably
save time and trouble to set your serial devices to 9600baud. It's fast
enough for consoles, serial ports are mostly fast enough to keep up with
it without handshaking (my old laptop excepted), and is the closest
thing to a standard speed. Why Soekris chose 19200 I'll never know.

 # stty -f /dev/tty00 rows 24

OpenBSD follows the SunOS convention:
- tty is for terminals
- cua is the callout device for outgoing connections

The difference is explained in tty(4) [not tty(1)].

 As you can see, the number of rows did not changed.

Don't worry about the number of rows - I imagine you'll be using ssh
for most work, won't you?

 Another questions: do i need to have the same speed on both sides?

Yes (unless you have the misfortune to deal with an unbuffered v23
modem which is fairly unlikely this side of the 1990's). If you haven't
used much serial before there may be a bit of learning involved but
it's fairly straightforward..



Re: error mounting cd0c on -current

2006-02-28 Thread Bryan Brake

Why are you trying to mount an audio cd?

Okay, your question leads me to believe that I've 
done something stupid.  I need to research how I 
can play audio CD's


**UPDATE:  I tried using a CD with some .mp3's on 
them, and it mounts like a charm.**


Many thanks...  I now just have an issue with 
esound.  Being that no sound comes out.  I will do 
some more research before I ask this question...


Thanks again...

Bryan



Re: error mounting cd0c on -current

2006-02-28 Thread Matthias Kilian
On Tue, Feb 28, 2006 at 12:23:00PM -0800, Bryan Brake wrote:
 Okay, your question leads me to believe that I've 
 done something stupid.  I need to research how I 
 can play audio CD's

cdio(1)

Ciao,
Kili



Re: 80x50 console res but .. clean font

2006-02-28 Thread Gustavo Rios
Just my opnion, only that:

When used linux slackware, it was very beautifull to boot in 1280x1024
on console and have a nice bitmamp linux logo printed on the left
upper side of the screen.

The utility of such? In fact it is useless from a funcionality
perspective. But it was very  charmy. I would love to show every body
around here what my box runs.

Just my two cents

2006/2/28, Julian Fondren [EMAIL PROTECTED]:
 On 2/28/06, Antonios Anastasiadis [EMAIL PROTECTED] wrote:
  I think netbsd just got preliminary framebuffer support.
  Perhaps in the future a developer might have interest in porting it.

 I feel a bit odd for asking this, because I used to live on the
 console, but I must ask: why?  Why do any of you care about better
 fonts or resolutions or assorted prettiness on the console?

 Just go into X.  OpenBSD has the full range of window managers in
 ports, from ratpoison and amiga-lookalikes to treewm to Enlightenment
 to GNOME/KDE.  Can't you at least use ratpoison?  A computer incapable
 of even that should probably not be taking up a monitor or keyboard.



Re: 80x50 console res but .. clean font

2006-02-28 Thread Harry Putnam
Darrin Chandler [EMAIL PROTECTED] writes:

So, are there better ways to do this? And can I get 75 lines or some
other higher number in console mode?

  

 Try installing the package for terminus fonts and use the appropriate
 one with wsfontload. Terminus is very crisp and clean and may make you
 happier.

Don't those fonts expect X11 to be present?  I'm running console only
no X.



Re: 80x50 console res but .. clean font

2006-02-28 Thread Harry Putnam
Darrin Chandler [EMAIL PROTECTED] writes:

 If it's practical for you, you might try using ratpoison under X. It's
 a lightweight window manager inspired by screen, with the added
 benefit of doing side-by-side split screen.

I've seen several mentions of ratpoison and X.  I'm not running X and
didn't plan to.  How much X is required to run `Ratpoison'.  I do want
a screen with much finer resolution that the stock console setup.  It
is absolutely huge and I want more on the screen.

How do I get a dependancy list of ratpoison?



Re: automatically shape dhcp client

2006-02-28 Thread Bob Beck
ask [EMAIL PROTECTED] for code. he's doing something for us
here that may help you..

if he does it right it may end up in a future release, help
him test it.

-Bob 


* Lars Hansson [EMAIL PROTECTED] [2006-02-28 04:27]:
 On Tuesday 28 February 2006 19:11, [EMAIL PROTECTED] wrote:
  guys do you have any idea if what is the syntax on how to automatically
  shape a dhcp client using altq? for example i would like to set 128Kb for
  every client assigned by my dhcp server.
 
 IIRC, pf does not yet have the ability to do this automatically.
 You'd have to set up one queue for each IP address in use or use authpf to 
 assign bandwidth to specific users.
 
 ---
 Lars Hansson
 

-- 
| | | The ASCII Fork Campaign
 \|/   against gratuitous use of threads.
  |



Dependancies with make search key=

2006-02-28 Thread Harry Putnam
Maybe I don't understand what the dependancy lines are supposed to
do.  I thought they would list any dependancies.

I have no part of X installed so should I see some dependancies listed
here?
   # make search key=ratpoison
  Port:   ratpoison-1.3.0p1
  Path:   x11/ratpoison
  Info:   minimal wm based on GNU screen
  Maint:  William Yodlowsky [EMAIL PROTECTED]
  Index:  x11
  L-deps: 
  B-deps: 
  R-deps: 
  Archs:  any



Re: error mounting cd0c on -current

2006-02-28 Thread Bryan Brake

Matthias Kilian wrote:

On Tue, Feb 28, 2006 at 12:23:00PM -0800, Bryan Brake wrote:
Okay, your question leads me to believe that I've 
done something stupid.  I need to research how I 
can play audio CD's


cdio(1)

Ciao,
Kili


yes, I found cdio and attempted to use it to play 
audio CD's, but upon typing cdio play, nothing 
happens.  The CD spins up, but no audio comes out. 
 I did follow the FAQ on the OpenBSD website, and 
configured mixerctl.conf and still nothing comes 
out.  I am still doing research, but either I'm 
searching for the wrong thing, or my sound card 
isn't supported.


Bryan



Re: 80x50 console res but .. clean font

2006-02-28 Thread Darrin Chandler

Harry Putnam wrote:


Darrin Chandler [EMAIL PROTECTED] writes:

 


If it's practical for you, you might try using ratpoison under X. It's
a lightweight window manager inspired by screen, with the added
benefit of doing side-by-side split screen.
   



I've seen several mentions of ratpoison and X.  I'm not running X and
didn't plan to.  How much X is required to run `Ratpoison'.  I do want
a screen with much finer resolution that the stock console setup.  It
is absolutely huge and I want more on the screen.

How do I get a dependancy list of ratpoison?

 

Ratpoison just needs an X server. Easiest thing would be to use the 
install set for X to get that going.


Ratpoison itself is quite lightweight. If I remember right, there are 
*no* dependencies (beyond X). If you're a screen(1) user then you'll 
feel right at home.


--
Darrin Chandler|  Phoenix BSD Users Group
[EMAIL PROTECTED]   |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/  |



Re: Dependancies with make search key=

2006-02-28 Thread Ray Lai
On Tue, Feb 28, 2006 at 04:04:46PM -0600, Harry Putnam wrote:
 Maybe I don't understand what the dependancy lines are supposed to
 do.  I thought they would list any dependancies.
 
 I have no part of X installed so should I see some dependancies listed
 here?
# make search key=ratpoison
   Port:   ratpoison-1.3.0p1
   Path:   x11/ratpoison
   Info:   minimal wm based on GNU screen
   Maint:  William Yodlowsky [EMAIL PROTECTED]
   Index:  x11
   L-deps: 
   B-deps: 
   R-deps: 
   Archs:  any

I guess this means ratpoison is unbelievably lightweight, having
no dependencies (other than X, of course).

-Ray-



Re: serial console

2006-02-28 Thread scorch

Gustavo Rios said the following on 2006-02-28 20:36:

Hey folks,

i am trying to set my desktop serial console in order to be able to
have serial access to my soekris box.

hola gustavo,

i've just done this. perhaps you are over-complicating things.

#1 you do need the same speed at both ends
#2 you may find it easier the first few times round using minicom (packages)

# set up serial parameters
# minicom -s
# minicom
 you should be away.

NB i used 19200, 8n1 instead of 9600. this seems to be a bit less unreliable 
during boot phase, but faster during normal usage. YMMV.


9600 is the standard for everything else so perhaps its better to set your 
soekris to 9600 to match the rest.


cheers, scorch
--
out of the frying pan and into the fire



Re: error mounting cd0c on -current

2006-02-28 Thread Darrin Chandler

Bryan Brake wrote:

yes, I found cdio and attempted to use it to play audio CD's, but upon 
typing cdio play, nothing happens.  The CD spins up, but no audio 
comes out.  I did follow the FAQ on the OpenBSD website, and 
configured mixerctl.conf and still nothing comes out.  I am still 
doing research, but either I'm searching for the wrong thing, or my 
sound card isn't supported.



Have a good look at your dmesg. It'll tell you of it's supported. Also, 
look at the FAQ about sound, as there are some good things to try if it 
*is* supported.


Quick answer: $ cat some-file  /dev/audio

If you hear something then you have sound. If you get device not 
configured then you don't.


--
Darrin Chandler|  Phoenix BSD Users Group
[EMAIL PROTECTED]   |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/  |



Re: 80x50 console res but .. clean font

2006-02-28 Thread Matthias Kilian
On Tue, Feb 28, 2006 at 03:59:04PM -0600, Harry Putnam wrote:
 How do I get a dependancy list of ratpoison?

Just X11, IIRC. See /usr/ports/x11/ratpoison/Makefile. Overhead
compared to a plain text console, but beautyful if you need an X11
display for some programs but don't want to use a mouse.



Re: error mounting cd0c on -current

2006-02-28 Thread Bryan Brake

Darrin Chandler wrote:
Have a good look at your dmesg. It'll tell you of it's supported. Also, 
look at the FAQ about sound, as there are some good things to try if it 
*is* supported.


Quick answer: $ cat some-file  /dev/audio

If you hear something then you have sound. If you get device not 
configured then you don't.




Well, cat dmesg.boot  /dev/audio did indeed 
cause sound to come out, both from my laptop's 
speakers, and from the headphone jack.  Very 
interesting...


Okay...  well, the sound card works.  Now, it must 
be something I am doing wrong.



back to the FAQ...

Bryan



Re: 80x50 console res but .. clean font

2006-02-28 Thread Andrew Dalgleish
On Tue, Feb 28, 2006 at 03:59:04PM -0600, Harry Putnam wrote:
 Darrin Chandler [EMAIL PROTECTED] writes:
 
  If it's practical for you, you might try using ratpoison under X. It's
  a lightweight window manager inspired by screen, with the added
  benefit of doing side-by-side split screen.
 
 I've seen several mentions of ratpoison and X.  I'm not running X and
 didn't plan to.  How much X is required to run `Ratpoison'.  I do want
 a screen with much finer resolution that the stock console setup.  It
 is absolutely huge and I want more on the screen.

The ports tree has several light-weight window managers, try them all.
If memory is tight, rxvt uses a tad less than xterm.
On my laptop I use evilwm with rxvt, and get text windows of 58x167


Regards,
Andrew Dalgleish



Re: Dependancies with make search key=

2006-02-28 Thread Harry Putnam
Ray Lai [EMAIL PROTECTED] writes:

 I have no part of X installed so should I see some dependancies listed
 here?
# make search key=ratpoison
   Port:   ratpoison-1.3.0p1
   Path:   x11/ratpoison
   Info:   minimal wm based on GNU screen
   Maint:  William Yodlowsky [EMAIL PROTECTED]
   Index:  x11
   L-deps: 
   B-deps: 
   R-deps: 
   Archs:  any

 I guess this means ratpoison is unbelievably lightweight, having
 no dependencies (other than X, of course).

So shouldn't `X' appear as a dependancy?  Or whatever package supplies
X?

Assuming I need to backup and get the installation package *x*.tgz.  I'm not
sure how to proceed.

I've installed from a recent snapshot and then built from src to
follow current.  So what is the normal way to backup and get something
basic like X?



Re: error mounting cd0c on -current

2006-02-28 Thread Hannah Schroeter
Hi!

On Tue, Feb 28, 2006 at 02:52:10PM -0800, Bryan Brake wrote:
Well, cat dmesg.boot  /dev/audio did indeed 
cause sound to come out, both from my laptop's 
speakers, and from the headphone jack.  Very 
interesting...

Okay...  well, the sound card works.  Now, it must 
be something I am doing wrong.

back to the FAQ...

Is there a connection from the audio output of the CD/ROM drive
to an input of the sound device?

Bryan

Kind regards,

Hannah.



Re: automatically shape dhcp client

2006-02-28 Thread Chris Kuethe
I wasn't going to say anything until I actually had working code of
sufficient quality that Bob wouldn't be inspired to rip me a new one.
As this is now a day job task rather than hacking for fun, it'll get
done sooner rather than later.

I'm working on something that will:
* cause dhcpd to put abandoned addresses (like campers) into a
table (so you can block them)
* cause dhcpd to remove leased addresses from the campers table and
* cause dhcpd to remove a leased address from a table when the
address changes (think clearing out a pf overload table on a gateway
in front of a dhcp net)

CK

On 2/28/06, Bob Beck [EMAIL PROTECTED] wrote:
 ask [EMAIL PROTECTED] for code. he's doing something for us
 here that may help you..

 if he does it right it may end up in a future release, help
 him test it.

 -Bob


 * Lars Hansson [EMAIL PROTECTED] [2006-02-28 04:27]:
  On Tuesday 28 February 2006 19:11, [EMAIL PROTECTED] wrote:
   guys do you have any idea if what is the syntax on how to automatically
   shape a dhcp client using altq? for example i would like to set 128Kb for
   every client assigned by my dhcp server.
 
  IIRC, pf does not yet have the ability to do this automatically.
  You'd have to set up one queue for each IP address in use or use authpf to
  assign bandwidth to specific users.
 
  ---
  Lars Hansson
 

 --
 | | | The ASCII Fork Campaign
  \|/   against gratuitous use of threads.
   |




--
GDB has a 'break' feature; why doesn't it have 'fix' too?



Re: Dependancies with make search key=

2006-02-28 Thread Hannah Schroeter
Hi!

On Tue, Feb 28, 2006 at 05:00:53PM -0600, Harry Putnam wrote:
[...]

So shouldn't `X' appear as a dependancy?  Or whatever package supplies
X?

Assuming I need to backup and get the installation package *x*.tgz.  I'm not
sure how to proceed.

I've installed from a recent snapshot and then built from src to
follow current.  So what is the normal way to backup and get something
basic like X?

X isn't in packages, but in simple tarballs.

cd / ; for i in some/path/x*.tgz; do tar xvvzpf $i; done

Configure if needed, run X.

Kind regards,

Hannah.



Re: Dependancies with make search key=

2006-02-28 Thread Nick Holland

Harry Putnam wrote:
...

So shouldn't `X' appear as a dependancy?  Or whatever package supplies
X?


No.
X is not a package.  It is a file set, not part of the ports tree.


Assuming I need to backup and get the installation package *x*.tgz.  I'm not
sure how to proceed.


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


I've installed from a recent snapshot and then built from src to
follow current.  So what is the normal way to backup and get something
basic like X?


Get the X files from a snapshot, install those as above.
Or, boot an install media, install all file sets.

Nick.



Re: serial console

2006-02-28 Thread Diana Eichert
On Tue, 28 Feb 2006, scorch wrote:
SNIP
 i've just done this. perhaps you are over-complicating things.

 #1 you do need the same speed at both ends
 #2 you may find it easier the first few times round using minicom (packages)

 # set up serial parameters
 # minicom -s
 # minicom
  you should be away.

Ahh, you're making this complicated.  No reason to use an external
package, minicom, when tip/cu comes with the O/S.

diana



Re: 80x50 console res but .. clean font

2006-02-28 Thread Harry Putnam
Matthias Kilian [EMAIL PROTECTED] writes:

 On Tue, Feb 28, 2006 at 03:59:04PM -0600, Harry Putnam wrote:
 How do I get a dependancy list of ratpoison?

 Just X11, IIRC. See /usr/ports/x11/ratpoison/Makefile. Overhead
 compared to a plain text console, but beautyful if you need an X11
 display for some programs but don't want to use a mouse.

I'm not understanding what you mean about the mouse part.  It lacks
mouse support?



Re: 80x50 console res but .. clean font

2006-02-28 Thread Darrin Chandler

Harry Putnam wrote:


Matthias Kilian [EMAIL PROTECTED] writes:
 


Just X11, IIRC. See /usr/ports/x11/ratpoison/Makefile. Overhead
compared to a plain text console, but beautyful if you need an X11
display for some programs but don't want to use a mouse.
   



I'm not understanding what you mean about the mouse part.  It lacks
mouse support?
 

Is supports the mouse, but unlike most window managers all navigation 
can be done with the keyboard. It's a *lot* like screen, but extended to 
X. If you like being at console and like screen but want more control 
over resolution, fonts, etc., then ratpoison will be nice for you. I 
don't need much fancy X stuff, but I really like using ratpoison for my 
1920x1200 widescreen (better resolution and crisper fonts than anything 
you'd get at console.)


--
Darrin Chandler|  Phoenix BSD Users Group
[EMAIL PROTECTED]   |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/  |



Re: Dependancies with make search key=

2006-02-28 Thread Harry Putnam
Hannah Schroeter [EMAIL PROTECTED] writes:

 X isn't in packages, but in simple tarballs.

 cd / ; for i in some/path/x*.tgz; do tar xvvzpf $i; done

 Configure if needed, run X.


Nick Holland [EMAIL PROTECTED] writes:


 No.
 X is not a package.  It is a file set, not part of the ports tree.

Not to be argumentative but ratpoison is still dependant on it [them].
Seems that should be made apparent in the ports search output somehow eh?

 Get the X files from a snapshot, install those as above.
 Or, boot an install media, install all file sets.

Thanks for the tips.



Re: 80x50 console res but .. clean font

2006-02-28 Thread Harry Putnam
Darrin Chandler [EMAIL PROTECTED] writes:

 Is supports the mouse, but unlike most window managers all navigation
 can be done with the keyboard. It's a *lot* like screen, but extended
 to X. If you like being at console and like screen but want more
 control over resolution, fonts, etc., then ratpoison will be nice for
 you. I don't need much fancy X stuff, but I really like using
 ratpoison for my 1920x1200 widescreen (better resolution and crisper
 fonts than anything you'd get at console.)

Ahh thanks for the clear up.  And yes I do like console and screen so
this sounds just about right for me.



Re: Nothing in FAQ about X ?

2006-02-28 Thread Jim Razmus
* Harry Putnam [EMAIL PROTECTED] [060228 20:34]:
 I haven't seen any section of FAQ devoted to setting up X.  Is it
 supposed to just work after installing the base tgz files?
 
 Or maybe I'm just blindly overlooking the section?
 
 The part about building X doesn't have anything to say about setting
 it up.  Is it covered somewhere else?
 
 I'm guessing its just supposed to work.  I didn't install the
 Xpackages at first bu have now gone back and go them from latest
 snapshots. 
 
 xbase39.tgz  xetc39.tgz   xfont39.tgz  xserv39.tgz  xshare39.tgz
 
 Untarred them in root as directed.
 
 Probably some config is required but I see no help about that.
 
 Running `startx' gets a number of library errors.
   xauth: can't load library 'libXau.so.9.0'
   /usr/X11R6/bin/xauth: can't load library 'libXext.so.9.0'
   /usr/X11R6/bin/xauth: can't load library 'libXmuu.so.4.0'
   /usr/X11R6/bin/xinit: can't load library 'libX11.so.9.0'
   /usr/X11R6/bin/xauth: can't load library 'libXext.so.9.0'
 

man ldconfig

I suspect your library cache is not up to date.  Try using ldconfig -r
and seeing if they are listed.  If not, you likely have to get them in
there.

Jim



Re: Nothing in FAQ about X ?

2006-02-28 Thread Nick Holland

Harry Putnam wrote:

I haven't seen any section of FAQ devoted to setting up X.  Is it
supposed to just work after installing the base tgz files?


it would be nice.  But they have not reached that goal yet, at least on 
some very popular platforms.



Or maybe I'm just blindly overlooking the section?

The part about building X doesn't have anything to say about setting
it up.  Is it covered somewhere else?


see
   /usr/X11R6/README
on your installed system for some tips on getting X up and running.

Yes, the FAQ is sadly deficient on setting up and using X at the moment. 
 Hopefully, that will be changing in the future.


Nick.



Re: error mounting cd0c on -current

2006-02-28 Thread Dorothy Crees

From a command line just issue

cdio play

You'll need to add yourself to the operator group. This also assumes  
that you have a hardware audio cable attached from the cdrom drive to  
your soundcard


Best

Dorothy



Re: Nothing in FAQ about X ?

2006-02-28 Thread Lars Hansson
On Wednesday 01 March 2006 09:22, Harry Putnam wrote:
 I haven't seen any section of FAQ devoted to setting up X.  Is it
 supposed to just work after installing the base tgz files?

That's the idea and it works fairly well for me. The only manual X 
configuration I've had to do is make it use my 3button mouse, other than that 
it usually just works. At least that's my experience.

 Running `startx' gets a number of library errors.
   xauth: can't load library 'libXau.so.9.0'
   /usr/X11R6/bin/xauth: can't load library 'libXext.so.9.0'
   /usr/X11R6/bin/xauth: can't load library 'libXmuu.so.4.0'
   /usr/X11R6/bin/xinit: can't load library 'libX11.so.9.0'
   /usr/X11R6/bin/xauth: can't load library 'libXext.so.9.0'

This is not related to configuring X. Something's screwy with your X 
installation but I wouldnt know exactly what. I'd try to upgrade to a later 
snapshot.

---
Lars Hansson



Squid not starting on boot with ADSL

2006-02-28 Thread Luke Fogarty
Hi

Since moving from Cable to DSL, squid no longer starts on boot. I have
the following entry in /etc/rc.local

#start squid
if [ -f /usr/local/squid/sbin/squid ]; then
echo -n ' Squid'
/usr/local/sbin/squid

I've also tried just having /usr/local/sbin/squid in there

For DSL I'm using a modem, and the OpenBSD box is creating a virtual
tun0 interface and is making the PPPOE connection, I'm assuming it has
something to do with this? I have the squid startup line AFTER the PPPOE
connection line in rc.local? Squid starts fine once the machine has
completely booted.

I've checked /var/log/messages and /var/log/daemon but nothing of use in
there as far as I can tell

Any guidance is appreciated!

Regards

Luke



Re: Squid not starting on boot with ADSL

2006-02-28 Thread Graeme Lee

Luke Fogarty wrote:


Hi

Since moving from Cable to DSL, squid no longer starts on boot. I have
the following entry in /etc/rc.local

#start squid
if [ -f /usr/local/squid/sbin/squid ]; then
   echo -n ' Squid'
   /usr/local/sbin/squid

I've also tried just having /usr/local/sbin/squid in there

For DSL I'm using a modem, and the OpenBSD box is creating a virtual
tun0 interface and is making the PPPOE connection, I'm assuming it has
something to do with this? I have the squid startup line AFTER the PPPOE
connection line in rc.local? Squid starts fine once the machine has
completely booted.

I've checked /var/log/messages and /var/log/daemon but nothing of use in
there as far as I can tell

Any guidance is appreciated!

Regards

Luke
 

Check the squid cache.log (/var/squid/cache.log for ports, 
/usr/local/squid/var/log for default prefix install)  You may find 
out that it's not finding the dns when it starts up.  If so, have a look 
at starting it with the -D switch.



g



Re: Nothing in FAQ about X ?

2006-02-28 Thread Ingo Schwarze
Hi Harry,

 I haven't seen any section of FAQ devoted to setting up X.

Whatever Nick may say about deficiencies...
In fact, http://www.openbsd.org/faq/faq8.html#X
at least references /usr/X11R6/README.

 Is it supposed to just work after installing the base tgz files?

Sort of.  But you know, producing a working X configuration file
tends to be a hassle, no matter what OS you use.  It has become
easier during the last few years, but still, it's not fun.

 Or maybe I'm just blindly overlooking the section?

Well, you appear to be blindly overlooking lots of things.
Try looking a bit harder by yourself before asking zillions
of simple questions here, or people will soon start flaming
you for lazyness.  ;-)

[...]
 xbase39.tgz  xetc39.tgz   xfont39.tgz  xserv39.tgz  xshare39.tgz
 Untarred them in root as directed.
 Probably some config is required but I see no help about that.
 Running `startx' gets a number of library errors.
   xauth: can't load library 'libXau.so.9.0'
   /usr/X11R6/bin/xauth: can't load library 'libXext.so.9.0'
[...]

Oh well.  Here we go again.  Try

 $ ldconfig -r | head -n2

Nothing about /usr/X11R6/lib round there, right?

So read

 $ man ldconfig

next, then scan

 $ less /etc/rc

looking out for ldconfig.  There's something about
configuring /usr/X11R6/lib into ld.so.hints at bootup.

Of course, when you install X after bootup, and do not reboot,
this code never gets executed.  When you know what you are doing,
you hardly ever need to reboot OpenBSD unless you want to use
a different kernel, but when you reconfigure stuff without
rebooting, you need to run the required configuration commands
manually, of course.

Once you understand what i said so far, try (as root)

 # ldconfig -m /usr/X11R6/lib

Use

 $ ldconfig -r | head -n2

once more to see what you just changed by doing so.

After that, ld.so ought to be able to find your X libraries.

That's all rather basic stuff, though.

Yours,
  Ingo

-- 
Ingo Schwarze [EMAIL PROTECTED]
http://www.usta.de/



Re: 80x50 console res but .. clean font

2006-02-28 Thread Matthias Kilian
On Tue, Feb 28, 2006 at 06:42:14PM -0600, Harry Putnam wrote:
[...]
  compared to a plain text console, but beautyful if you need an X11
  display for some programs but don't want to use a mouse.
 
 I'm not understanding what you mean about the mouse part.  It lacks
 mouse support?

You don't control ratpoison  with a mouse.  That's the whole point
of it (see http://www.nongnu.org/ratpoison/).

But of course you can run X11 programs under ratpoison that are
controlled with the mouse.

I'm even running things like konqueror and eclipse under ratpoison
if I need to.

Ciao,
Kili



Re: serial console

2006-02-28 Thread Markus Schatzl
On Tue, Feb 28, 2006 at 04:36:12PM -0300, Gustavo Rios wrote:
 Hey folks,
 
 i am trying to set my desktop serial console in order to be able to
 have serial access to my soekris box.
 
 I wonder how should i configure my local (desktop box) serial to do
 it? I known, the FAQ does not explain what i need:

The easiest way to connect to your SOEKRIS is a

tip -19200 tty00

You've probably already seen
http://www.openbsd.org/faq/faq7.html#SerCon

/Markus