Re: svnd is incredible slow... somebody else notice that?

2009-04-25 Thread Jacob Yocom-Piatt

Marco Peereboom wrote:
You are right about how awful all this stuff is. Man it seems like you 
should use an os that suits your goals a little better. I have heard 
that Linux offers awesome performance.





based on the manner in which you routinely complain and provide zero 
deliverables, i must say that marco's suggestion is spot on. please join 
the ranks of all the rest of the feature-hungry talentless morons and 
just give up. if you have not figured out that you are a member of this 
group already you need to flash your brain bios so there is some hope of 
working around the parts that are obviously not working right.


if you send another whining email about things that have already been 
discussed on this list i worry that you will break the misc@openbsd.org 
mailserver. don't be that guy.




On Apr 24, 2009, at 17:12, sebastian.rot...@jpberlin.de wrote:

I notice it for a while now that SVND is incredible slow related to 
WRITE

SPEED. Also I do see a lot of biowait with top related to newfs for
example.


vnconfig -cK  -S saltfile /dev/sd0d /dev/svnd1c
disklabel -E svnd1
- a a
- r
- w
- q
newfs /dev/rsvnd1a

If you've serval houndret GBs that gonna take a lng time.
Also you can not restore a backup quickly because of the uberproor write
performance (it feels like being slower then PIO 3..).

On the other hand softraid can not handle partitions.
At least it wont do it...

bioctl -c C -l /dev/sd0d softraid0

Heyho invalid metadata format..

So what other choices does a OpenBSD user have to encrypt a HDD?
Also: Did nobody else notice that? Don't others use these functions? :-)

And as a side note to softraid:
Also it might be clever to add MORE then 1 softraid device.
Some people might have more then 1 HDD... :-)

Kind regards,
Sebastian




Re: E220 as 3G Internet Access

2009-04-25 Thread Olivier Cherrier
On Fri, Apr 24, 2009 at 11:08:54PM +0300, donc...@elmed.pub.ro wrote:
 Unfortunately you can't use OpenBSD yet to connect to Vodafone's 3G internet
 mobile even if there is already an Huawei E220 shiny new driver. That is
 because OBSD has an archaic pppd implementation (ver. 2.3.5) wich lacks some
 important parameters like usepeerdns, noipv6, etc. Ask the developers to
 update pppd at latest version 2.4.4 so we can all enjoy our favorite OS with
 Vodafone's 3G. Cheers !
 
Fortunately it works for me. Change your archaic mind.

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



Re: E220 as 3G Internet Access

2009-04-25 Thread Olivier Cherrier
On Sat, Apr 25, 2009 at 05:36:08PM +0300, donc...@elmed.pub.ro wrote:
 
 Wow ! It would be very nice if you could post your setup files for pppd to 
 m...@. There are many people interested. Thank you in advance !

Wow, it would be also nice if you could learn to search before asking.
http://marc.info/?l=openbsd-misc
http://marc.info/?l=openbsd-tech

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



Re: rt.fm ftp server dumps core

2009-04-25 Thread frantisek holop
hmm, on Fri, Apr 24, 2009 at 08:48:31AM -0600, Jeff Ross said that
 For a while now I've been getting segmentation faults when I try to  
 download snapshots from rt.fm

i had problems with rf.fm as well.  dropping ftp connections
in the middle of transfer and making cvs go wild.

i was not sure if this was my fault or not so i just switched
away from it.

-f
-- 
i'll mention you on my organ donor card.



Re: ftp-proxy IPSEC clients?

2009-04-25 Thread Cameron Schaus

I have been doing more reading, and I notice that man enc states:

Packets destined to be IPsec processed are seen by the 
filer/translation engine twice, both before and after being IPsec 
processed.  If a packet's translated address on the way back fails to 
match an existing IPsec flow, from the translated address to the 
original source address, it will be discarded by the filter.  It is best 
to avoid this situation where possible, though a flow may be explicitly 
created to work around it.


It sounds like I can setup another flow to allow my rdr rule to work 
with the enc0 traffic, but I'm not sure what this flow would look like.  
Can anyone provide an example of the flow, or explain what the 
redirected traffic looks like on the enc0 interface?


I worry that I will need a flow with 127.0.0.1 specified, and that may 
not be possible on the remote end.


Thanks,
Cam

Cameron Schaus wrote:

Hello Misc,

I have an OpenBSD 4.4 firewall with some clients connecting via 
IPSEC.  Some clients have flows established to servers not on the 
local LAN, and these clients are natted through the internet interface 
to access these servers.  It's a bit convoluted, but things work, 
except of course for ftp.


I configured the ftp-proxy for clients on the local lan and openvpn 
clients (tun0), but I cannot appear to use ftp-proxy with IPSEC 
clients (enc0).


I want to use a line such as:
rdr on enc0 proto tcp from any to any port 21 - 127.0.0.1 port 8021

When this is in place, IPSEC clients cannot even connect to the ftp 
server.  I suspect there are some problems with this approach, since 
the man pages show matching with ipencap, but you can't do tcp port 
redirects with only ip encapsulated matching.


I am at a bit of a loss here, and I'm wondering if there's anything I 
can do to proxy the IPSEC ftp traffic, or if there are any other 
options I have at this point.


Thanks,
Cam




Re: Transparent firewall (bridge) with DMZ + LAN

2009-04-25 Thread Henning Brauer
* openbsder openbs...@gmail.com [2009-04-24 12:19]:
 Recently, it has been suggested that a transparent firewall implementation
 is ideal where possible. But as far as I understand, transparency is only
 available when the firewall acts as a bridge between TWO networks. How would
 I keep my DMZ and LAN both while using a bridging firewall. Is it even
 possible?

yes. lots of idiots do it.

bridging is stupid. don't. there are cases where you can't avoid it,
but deliberately? about as clever as knowingly drinking methanol.

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



Re: RadiusClient

2009-04-25 Thread Bruno Galindro da Costa
Guys,

   I have downloaded and compiled radiusclient on OpenBSD:
ftp://ftp.freeradius.org/pub/freeradius/freeradius-client-1.1.6.tar.bz2

But, on OpenBSD, the ppp package is installed by default, and does not have
these following libraries needed for poptop radius authentication:

radius.so
radattr.so

These libraries comes on package ppp for Ubuntu / Debian. Anyone knows how
can I get the source code of them?

My pptpd.conf.options file:

auth
name pptpd
refuse-pap
refuse-chap
refuse-mschap
require-mschap-v2
require-mppe-128
proxyarp
debug
lock
nobsdcomp
*plugin radius.so
plugin radattr.so*
radius-config-file /etc/radiusclient/radiusclient.conf



2009/4/24 Stuart Henderson s...@spacehopper.org

 On 2009-04-24, Bruno Galindro da Costa bruno.galin...@gmail.com wrote:
  # pkg_info -Q radius
  freeradius-2.0.5
  freeradius-iodbc-2.0.5
  freeradius-ldap-2.0.5
  freeradius-mysql-2.0.5
  freeradius-pgsql-2.0.5
  mod_auth_radius-1.5.7p4
  p5-Authen-Radius-0.05p1
  p5-Net-Radius-1.56
  radiusd-cistron-1.6.7p1
  radiusd-lucent-2.1p8
  radiusniff-0.2
  radiusreport-0.3b6p0
 
  Can I use freeradius-2.0.5 to do wath I want? This package contains the
  radius client?

 no, that's a server. I've got a work-in-progress port of freeradius-client,
 but it's not ready for public consumption yet.




--
Att.
Bruno Galindro da Costa
bruno.galin...@gmail.com
Florianspolis - SC



Re: European orders(Sweden) - nohup.se

2009-04-25 Thread Alexander Hall
Maxim Bourmistrov wrote:
 Hello misc@,
 it has been almost a week since I sent an invoice for OpenBSD 4.5
 CD/t-shirt to nohup.se.

Did you really mean you sent an _invoice_ to them?

 Well, there is no answer so far and the webpage is outdated and
 promoting old releases.

 Any one from Sweden has ever successfully ordered anything from this
 site lately?
 Any other (successful) paths available?

No idea about that though, sorry. My 4.5 was ordered via kd85.

 //maxim



isdn/dsl pci cards? (I4b)

2009-04-25 Thread Christopher Intemann
Hi,
I just got myself a Sun Netra X1 Sparc64 1U server.
I wonder if I could use it to either connect to my DSL provider directly
(using a DSL-PCI-card, such as this one: http://tinyurl.com/cqddxj).
However, I did not find much information about which cards are actually
supported by OpenBSD?
Furthermore, I want to log isdn traffic. Therefore I was thinking to either
use the Fritz DSL hybrid DSL/isdn card mentioned above, or, if that wouldn't
work, to plug in a dedicated FritzPCI ISDN card into the box. Are those
cards supported by either OpenBSD and/or I4b?
Thanks for any hints,
   Chris



Fragoria: Deine Anmeldung

2009-04-25 Thread Fragoria
Hallo Grimbo,

herzlich willkommen bei Fragoria - Deinem kostenlosen 
Echtzeit-Online-Rollenspiel! Das bisher vollkommenste Multiplayer-Action-RPG im 
Browser! Geboren unter mC$chtigen GC6ttern steigst Du hinab auf die Erde: 
stC$rke Deine FC$higkeiten in einer mittelalterlichen Welt der Ritter, Hexen 
und Zauberer. Entdecke das magische Universum von Fragoria!

Dunkle Magie, phantastische Kreaturen und mutige Krieger erwarten Dich!


Deine Zugangsdaten lauten: 

---
Username: Grimbo
Passwort: gaxla
http://de.fragoria.bigpoint.com
---

Hast Du Fragen, Anregungen, Lob oder Kritik? Im Forum unter 
http://de.board.bigpoint.com/fragoria/ oder per E-Mail unter 
supp...@fragoria.de sind  wir jederzeit gerne fCr Dich da b damit wir das 
Spiel fCr Dich weiterentwickeln und verbessern kC6nnen. 

Wir freuen uns auf Dich! 


Dein Fragoria-Team 
http://de.fragoria.bigpoint.com



Sie haben sich nicht bei uns registriert, sondern diese E-Mail irrtCmlich 
erhalten? Dann hat einer unserer Spieler (wohl versehentlich) Ihre 
E-Mail-Adresse angegeben; dafCr mC6chten wir uns in aller Form entschuldigen. 
Um zukCnftig keine weiteren E-Mails von uns zu empfangen, klicken Sie bitte: 
http://bigpoint.de/index.es?action=signoffNewsletterm=m...@openbsd.orgn=all



Re: Transparent firewall (bridge) with DMZ + LAN

2009-04-25 Thread FRLinux
On Sat, Apr 25, 2009 at 2:57 PM, Henning Brauer lists-open...@bsws.de wrote:
 bridging is stupid. don't. there are cases where you can't avoid it,
 but deliberately? about as clever as knowingly drinking methanol.

Hello Henning,

Sorry for asking, but just to make sure I understand your statement,
do you mean, bridging straight and simple between your internal
network and the big bad internet, of bridging on 2 lans or more to the
outside?

Cheers,
Steph



Re: E220 as 3G Internet Access

2009-04-25 Thread don cipo
Wow ! It would be very nice if you could post your setup files for pppd to 
m...@. There are many people interested. Thank you in advance !


- Original Message - 
From: Olivier Cherrier o...@symacx.com

To: don cipo donc...@elmed.pub.ro
Cc: misc@openbsd.org
Sent: Saturday, April 25, 2009 10:56 AM
Subject: Re: E220 as 3G Internet Access



On Fri, Apr 24, 2009 at 11:08:54PM +0300, donc...@elmed.pub.ro wrote:
Unfortunately you can't use OpenBSD yet to connect to Vodafone's 3G 
internet

mobile even if there is already an Huawei E220 shiny new driver. That is
because OBSD has an archaic pppd implementation (ver. 2.3.5) wich lacks 
some

important parameters like usepeerdns, noipv6, etc. Ask the developers to
update pppd at latest version 2.4.4 so we can all enjoy our favorite OS 
with

Vodafone's 3G. Cheers !


Fortunately it works for me. Change your archaic mind.

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




Re: svnd is incredible slow... somebody else notice that?

2009-04-25 Thread sebastian . rother
 On Fri, Apr 24, 2009 at 6:12 PM,  sebastian.rot...@jpberlin.de wrote:
 If you've serval houndret GBs that gonna take a lng time.
 Also you can not restore a backup quickly because of the uberproor write
 performance (it feels like being slower then PIO 3..).

 crypto is slow.  what else is new?

I do not talk about a P2 266Mhz System here nor do I think that a loss of
even 20% write performence is slow anyway but a write speed of like
1-3MB/s on a modern SATA HDD on a IBM Thinkpad x61s can't be it.
The bug was introduced somehow between 4.1 and 4.2 (my guess).
svnd worked normaly before.

 So what if they do?

Then you might like to add: softraid{1,2,3}
I did not understand yet why softraid is listed in
/usr/src/sys/conf/GENERIC but the raidframe devices are listed in
/usr/src/sys/arch/$ARCH/conf/GENERIC ?
Maybe softraid is that generell avaiable that it belongs to the other
configuration file but the default value for the raidframe pseudo devices
is 4.

Also there's no possibility yet to use striping and crypto dicipline with
softraid. I once asked Marco if he every tried ccd+softraid (crypto) but
that was related to my svnd mail as well and I received never a answer if
he tested it or is interested into testing results.

Kind regards,
Sebastian



Re: E220 as 3G Internet Access

2009-04-25 Thread don cipo

Yup... you're right. Thanks for your reply ! These are my setup files:

r...@gate:~# cat /etc/ppp/peers/vodafone
hide-password
noauth
connect /usr/sbin/chat -v -f /etc/ppp/peers/vodafone.chat
debug
noccp
nobsdcomp
novj
/dev/ttyUSB0
460800
lock
crtscts
modem
holdoff 5
persist
usepeerdns
defaultroute
user internet.vodafone.ro
password vodafone
ipcp-accept-local
ipcp-accept-remote
noipdefault
noipv6

r...@gate:~# cat /etc/ppp/peers/vodafone.chat
ABORT BUSY
ABORT 'NO CARRIER'
ABORT VOICE
ABORT 'NO DIALTONE'
ABORT 'NO DIAL TONE'
ABORT 'NO ANSWER'
ABORT DELAYED
'' ATZ
OK 'ATFE0V1X1D2C1 s0=0'
#scoatere pin din minicom
#AT+CPIN=
#AT+CLCK=SC,0,
#ptr. pin
#OK 'AT+CPIN=1234'
OK 'ATE1'
OK 'AT+cgdcont=1,IP,internet.vodafone.ro'
OK-AT-OK ATDT*99***1#
CONNECT \d\c

They work with Slackware 12.2 (pppd ver. 2.4.4) very well. It would be nice 
if someone get this working on OpenBSD.


- Original Message - 
From: Fred Crowson fred.crow...@googlemail.com

To: don cipo donc...@elmed.pub.ro
Cc: misc@openbsd.org
Sent: Saturday, April 25, 2009 2:10 AM
Subject: Re: E220 as 3G Internet Access



On 4/24/09, don cipo donc...@elmed.pub.ro wrote:
Unfortunately you can't use OpenBSD yet to connect to Vodafone's 3G 
internet

mobile even if there is already an Huawei E220 shiny new driver. That is
because OBSD has an archaic pppd implementation (ver. 2.3.5) wich lacks 
some

important parameters like usepeerdns, noipv6, etc. Ask the developers to
update pppd at latest version 2.4.4 so we can all enjoy our favorite OS 
with

Vodafone's 3G. Cheers !



Where's your evidence? I'm not convinced your right [1] error messages
and configuration files that caused the failure might help get the
issue fixed - if there is one.

Fred

[1] http://marc.info/?l=openbsd-miscw=2r=1s=E220q=b
--
http://www.crowsons.com/puters/E169.htm 




Re: aucat's volume-sharing algorithm

2009-04-25 Thread Alexandre Ratchov
On Fri, Apr 24, 2009 at 11:29:02AM -0400, Nick Guenther wrote:
 I'm playing with the new aucat. Or rather, running it, since unlike
 every other soundserver it doesn't require endless tweaking to just
 work. There is one issue I'm having, and I'm not sure if it's on
 purpose or not. Whenever (say) pidgin (or anything else) plays sound
 my music dims in volume. It makes sense the clients have to be turned
 down so two playing at 100% don't blow the speakers, but the trouble
 is the dip in sound is -really obvious-.
 
 I found
  -v volume
  Software volume attenuation of the playback stream.  The value
  must be between 1 and 127, corresponding to -42dB and -0dB atten-
  uation.  In server mode, clients inherit this parameter.  Reduc-
  ing the volume in advance reduces a client's dynamic range, but
  allows client volume to stay independent from the number of
  clients as long as their number is small enough.  A good compro-
  mise is to use -4dB attenuation (12 volume units) for each addi-
  tional client expected (115 if 2 clients are expected, 103 for 3
  clients, and so on).
 which I interpret as saying that if I run aucat as aucat -l -v 50 it
 should predim the volume of any client that connects so that the dip
 doesn't happen. If I'm right about that (which I'm not at all sure
 that I am) then aucat is behaving badly because I even tried giving
 -v 1 and heard no change at all.
 

currently the -v options applies to audio streams, ie to
files or sockets, example:

aucat -l -v 91 -s default

if no -s options are used, a default socket is created with
the default parameters (max volume and so on), that should
be change imo.

 
 -Nick
 
 p.s. I know the manpage suggests sharing the sound device is a bad
 plan but I just have a simple home system and I'd like to know if
 aucat gives me the freedom to run multiple users against it (I could
 come up with lots of justifications, like letting the daemons we
 summon speak, but really it's just curiousity). It seems like all it
 would take is redirecting libsndio to point at the right socket, but
 because the socket is in /tmp/aucat-$USER_ID/ I don't see how this is
 possible. Can libsndio be told what socket to use?

i've the same problem here, but there's no way to have
shared sockets yet. Mainly because this causes integration
issues. Hopefully that will be fixed one day.

-- Alexandre



Re: svnd is incredible slow... somebody else notice that?

2009-04-25 Thread sebastian . rother
 Marco Peereboom wrote:
 You are right about how awful all this stuff is. Man it seems like you
 should use an os that suits your goals a little better. I have heard
 that Linux offers awesome performance.



 based on the manner in which you routinely complain and provide zero
 deliverables, i must say that marco's suggestion is spot on. please join
 the ranks of all the rest of the feature-hungry talentless morons and
 just give up. if you have not figured out that you are a member of this
 group already you need to flash your brain bios so there is some hope of
 working around the parts that are obviously not working right.

 if you send another whining email about things that have already been
 discussed on this list i worry that you will break the misc@openbsd.org
 mailserver. don't be that guy.

That is total crap.
I wrote Marco personaly, provided all informations and asked if he needs
further benchmarks or what-so-ever.
Please do not line up to the lines of people critic me without knowing
what I did off-list.

It's like the PF bug you know? You write a developer.. you receive no
answer and the patch which gets released does not even fix the affected
codebase but add's a workaround.

But related to the svnd it should be something YOU should be able to
confirm too. Also others confirmed the existence of the issue as well
(+me).

http://groups.google.com.ua/group/mailing.openbsd.bugs/browse_thread/thread/0348c42850b1732e

http://archives.neohapsis.com/archives/openbsd/2008-06/1740.html

And so on...
I even wrote Marco personaly so stop the rant. :-)

I gonna do again a bonnie++ benchmark and again I will post my DMESG and
again that will solve nothing. But the benchmark will take some hours
anyway.

Everybody should be able to confirm that the write speed is not slower.
It seriously feels like PIO MODE 3-4 and fsck brings you a lot biowait
complains. And that is HW indipendent here so the svnd-Code suffers from
some kind of a bug.

How do I come to that awesome analyse? I browsed the mailinglist archives
and found complains by svnd users just after 4.2

Example:
http://kerneltrap.org/mailarchive/openbsd-misc/2007/11/14/412688/thread#mid-412688

And IF crypto IS slower and IF i just have to life with it: How come
softraid0 using a more complex and slower algorithm is faster then the
svnd
and svnd gets slower and slower each release...

But as I said: Gonna benchmark (again..) but that takes time...


Kind regards,
Sebastian



soekris 5501, ral(4) and 4.5-current

2009-04-25 Thread Tom
Hi,

   I have a ral(4) acting as a hostap. The problems began since
ugrading from Feb 28th snapshot to April 10th (and higher). I have a
Soekris 5501. I bought 2 different ral(4) PCI cards, one is a RT2661
and the other is a RT2860 (Planex GW-DS3300N). The RT2661 actually
lasts longer than the RT2860. When I have the RT2860 in the box, it
doesn't matter whether I use no encryption, WEP, WPA1 or WPA2. The box
locks up without any kind of drop into ddb. When the RT2661 is in the
machine, it will stay up a day, maybe two tops before it locks solid.

   I have done quite a few updates since April 10th but I'm seriously
considering just wiping and going to 4.5-release when it comes out in
a few days in hopes that it will be more reliable. I originally went
to -current for the ral(4) and vr(4) fixes.

Obligatory dmesg with the RT2661 in follows. Any help would be appreciated!

Regards,
 Tom

OpenBSD 4.5-current (GENERIC) #102: Sat Apr 25 01:26:24 MDT 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Geode(TM) Integrated Processor by AMD PCS (AuthenticAMD
586-class) 500 MHz
cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX
real mem  = 536440832 (511MB)
avail mem = 510394368 (486MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 20/80/26, BIOS32 rev. 0 @ 0xfac40
pcibios0 at bios0: rev 2.0 @ 0xf/0x1
pcibios0: pcibios_get_intr_routing - function not supported
pcibios0: PCI IRQ Routing information unavailable.
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc8000/0xa800
cpu0 at mainbus0: (uniprocessor)
amdmsr0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
io address conflict 0x6100/0x100
io address conflict 0x6200/0x200
extent `pciio' (0x0 - 0x), flags=0
 0x6000 - 0x7fff
 0xe000 - 0xe00f
 0xe100 - 0xe4ff
extent `pcimem' (0x0 - 0x), flags=0
 0x0 - 0x9
 0xf - 0x1fff
 0xa000 - 0xa00043ff
 0xa0008000 - 0xa0011fff
 0xfff0 - 0x
pchb0 at pci0 dev 1 function 0 AMD Geode LX rev 0x33
glxsb0 at pci0 dev 1 function 2 AMD Geode LX Crypto rev 0x00: RNG AES
vr0 at pci0 dev 6 function 0 VIA VT6105M RhineIII rev 0x96: irq 11, address 00
:00:24:cb:a6:64
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063,
model 0x0034
vr1 at pci0 dev 7 function 0 VIA VT6105M RhineIII rev 0x96: irq 5, address 00:
00:24:cb:a6:65
ukphy1 at vr1 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063,
model 0x0034
vr2 at pci0 dev 8 function 0 VIA VT6105M RhineIII rev 0x96: irq 9, address 00:
00:24:cb:a6:66
ukphy2 at vr2 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063,
model 0x0034
vr3 at pci0 dev 9 function 0 VIA VT6105M RhineIII rev 0x96: irq 12, address 00
:00:24:cb:a6:67
ukphy3 at vr3 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063,
model 0x0034
ral0 at pci0 dev 14 function 0 Ralink RT2661 rev 0x00: irq 10, address 00:14:8
5:d5:39:bb
ral0: MAC/BBP RT2661D, RF RT2529 (MIMO XR)
glxpcib0 at pci0 dev 20 function 0 AMD CS5536 ISA rev 0x03: rev 0, 32-bit 3579
545Hz timer, watchdog, gpio
gpio0 at glxpcib0: 32 pins
pciide0 at pci0 dev 20 function 2 AMD CS5536 IDE rev 0x01: DMA, channel 0 wire
d to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 1: WDC WD1200BEVS-00VAT0
wd0: 16-sector PIO, LBA48, 114473MB, 234441648 sectors
wd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
ohci0 at pci0 dev 21 function 0 AMD CS5536 USB rev 0x02: irq 15, version 1.0,
legacy support
ehci0 at pci0 dev 21 function 1 AMD CS5536 USB rev 0x02: irq 15
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 AMD EHCI root hub rev 2.00/1.00 addr 1
isa0 at glxpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
nsclpcsio0 at isa0 port 0x2e/2: NSC PC87366 rev 9: GPIO VLM TMS
gpio1 at nsclpcsio0: 29 pins
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 AMD OHCI root hub rev 1.00/1.00 addr 1
biomask e1c5 netmask ffe5 ttymask 
mtrr: K6-family MTRR support (2 registers)
softraid0 at root
root on wd0a swap on wd0b dump on wd0b



internal vs. external microphone: very different signal levels

2009-04-25 Thread Jan Stary
Hi all,

I am doing some trivial sound-recording on my Compaq Armada 110 laptop
(dmesg and mixerctl below). The sound device is

auvia0 at pci0 dev 7 function 5 VIA VT82C686 AC97 rev 0x20: irq 9
audio0 at auvia0

and it works without problems.

Now, the laptop has an internal microphone - that tiny little hole
you have seen on some laptops. It records fine, set up as

inputs.mic=255
inputs.mic.mute=off
inputs.mic.preamp=on
inputs.mic.source=mic0
record.source=mic

The laptop also has an input for an external mike (the usual small jack,
just next to the headphones output). When you plug in an external mike,
the audio chip is smart enough to record from that one, and no longer
record from the internal mike. (I use Shure SM57 as the external mike,
which I believe is irrelevant.) Recording with the external mike plugged
in works fine too, EXCEPT the signal level from the external mike is
much weaker, and I wonder why.

Can it be that the (one) audio input the laptop has is meant as an
universal audio input for both mic and line-in, expecting a much
stronger signal?

For the internal mike, having

inputs.mic.preamp=off/on

makes a difference of recording just fine vs. recording a dog barking
two blocks away. With the external mike, it makes a difference of
barely audible recording vs. fine recording. With headphones on,
you can hear the signal strength drop when you plug in the external
mike.

Thanks

Jan


OpenBSD 4.4-stable (GENERIC) #0: Sun Mar  8 18:49:45 CET 2009
r...@armada.stare.cz:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III (GenuineIntel 686-class, 128KB L2 cache) 847 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem  = 259551232 (247MB)
avail mem = 242520064 (231MB)
User Kernel Config
UKC disable acpi
429 acpi0 disabled
UKC enable apm
330 apm0 enabled
UKC quit
Continuing...
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 08/20/01, BIOS32 rev. 0 @ 0xfd720, SMBIOS 
rev. 2.3 @ 0xe9f90 (17 entries)
bios0: vendor Phoenix Technologies LTD version 0F08 date 08/20/2001
bios0: Compaq 110 series
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xfd720/0x8e0
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf70/112 (5 entries)
pcibios0: PCI Interrupt Router at 000:07:0 (VIA VT82C596A ISA rev 0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc/0xc000 0xcc000/0x1800
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 VIA VT8601 PCI rev 0x05
ppb0 at pci0 dev 1 function 0 VIA VT82C601 AGP rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 Trident CyberBlade i1 AGP rev 0x6a
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
agp0 at vga1: v2, aperture at 0xf800, size 0x1000
drm at vga1 unsupported
pcib0 at pci0 dev 7 function 0 VIA VT82C686 ISA rev 0x22
pciide0 at pci0 dev 7 function 1 VIA VT82C571 IDE rev 0x10: ATA66, channel 0 
configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: IC25N015ATDA04-0
wd0: 16-sector PIO, LBA, 14403MB, 29498112 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets, initiator 7
cd0 at scsibus0 targ 0 lun 0: QSI, CD-ROM SCR-242, CCA1 ATAPI 5/cdrom 
removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
uhci0 at pci0 dev 7 function 2 VIA VT83C572 USB rev 0x10: irq 11
viaenv0 at pci0 dev 7 function 4 VIA VT82C686 SMBus rev 0x30: HWM disabled: 
24-bit timer at 3579545Hz
auvia0 at pci0 dev 7 function 5 VIA VT82C686 AC97 rev 0x20: irq 9
ac97: codec id 0x41445348 (Analog Devices AD1881A)
ac97: codec features headphone, Analog Devices Phat Stereo
audio0 at auvia0
fxp0 at pci0 dev 9 function 0 Intel 8255x rev 0x09, i82559S: irq 11, address 
00:d0:59:80:c6:e5
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
ATT/Lucent LTMODEM rev 0x00 at pci0 dev 9 function 1 not configured
cbb0 at pci0 dev 10 function 0 TI PCI1410 CardBus rev 0x01: irq 11
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 VIA UHCI root hub rev 1.00/1.00 addr 1
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x0, lattimer 

Re: E220 as 3G Internet Access

2009-04-25 Thread FRLinux
On Sat, Apr 25, 2009 at 3:49 PM, don cipo donc...@elmed.pub.ro wrote:
 Yup... you're right. Thanks for your reply ! These are my setup files:

You were pointed to search the archives of the list, i suggest you do so.

Cheers,
Steph



Re: soekris 5501, ral(4) and 4.5-current

2009-04-25 Thread Jochem Kossen
On Sat, Apr 25, 2009 at 10:02:06PM +0100, Tom wrote:
 Hi,
 
I have a ral(4) acting as a hostap. The problems began since
 ugrading from Feb 28th snapshot to April 10th (and higher). I have a
 Soekris 5501. I bought 2 different ral(4) PCI cards, one is a RT2661
 and the other is a RT2860 (Planex GW-DS3300N). The RT2661 actually
 lasts longer than the RT2860. When I have the RT2860 in the box, it
 doesn't matter whether I use no encryption, WEP, WPA1 or WPA2. The box
 locks up without any kind of drop into ddb. When the RT2661 is in the
 machine, it will stay up a day, maybe two tops before it locks solid.

Interesting, I've got exactly the same problem with an rt2860. I
thought it was just bad hardware (suspecting the rt2860), or
temperature issues, and pulled out the card. The machine's been
rock-solid since (d'oh).



Re: internal vs. external microphone: very different signal levels

2009-04-25 Thread Jacob Meuser
On Sat, Apr 25, 2009 at 01:15:33PM +0200, Jan Stary wrote:
 Hi all,
 
 I am doing some trivial sound-recording on my Compaq Armada 110 laptop
 (dmesg and mixerctl below). The sound device is
 
 auvia0 at pci0 dev 7 function 5 VIA VT82C686 AC97 rev 0x20: irq 9
 audio0 at auvia0

for ac97 devices, the codec is also very important.  although the
AD1881A looks pretty standard.  no jack sense or anything.

 and it works without problems.
 
 Now, the laptop has an internal microphone - that tiny little hole
 you have seen on some laptops. It records fine, set up as
 
 inputs.mic=255
 inputs.mic.mute=off
 inputs.mic.preamp=on
 inputs.mic.source=mic0
 record.source=mic
 
 The laptop also has an input for an external mike (the usual small jack,
 just next to the headphones output). When you plug in an external mike,
 the audio chip is smart enough to record from that one, and no longer
 record from the internal mike. (I use Shure SM57 as the external mike,
 which I believe is irrelevant.) Recording with the external mike plugged
 in works fine too, EXCEPT the signal level from the external mike is
 much weaker, and I wonder why.

maybe there is a separate preamp on the internal mic pin?

 Can it be that the (one) audio input the laptop has is meant as an
 universal audio input for both mic and line-in, expecting a much
 stronger signal?

maybe ... what does inputs.line* affect?  or record.source=line?

 For the internal mike, having
 
   inputs.mic.preamp=off/on
 
 makes a difference of recording just fine vs. recording a dog barking
 two blocks away. With the external mike, it makes a difference of
 barely audible recording vs. fine recording. With headphones on,
 you can hear the signal strength drop when you plug in the external
 mike.

does changing inputs.mic.source have any effect?

   Thanks
 
   Jan
 
 
 OpenBSD 4.4-stable (GENERIC) #0: Sun Mar  8 18:49:45 CET 2009
 r...@armada.stare.cz:/usr/src/sys/arch/i386/compile/GENERIC
 cpu0: Intel Pentium III (GenuineIntel 686-class, 128KB L2 cache) 847 MHz
 cpu0: 
 FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
 real mem  = 259551232 (247MB)
 avail mem = 242520064 (231MB)
 User Kernel Config
 UKC disable acpi
 429 acpi0 disabled
 UKC enable apm
 330 apm0 enabled
 UKC quit
 Continuing...
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 08/20/01, BIOS32 rev. 0 @ 0xfd720, 
 SMBIOS rev. 2.3 @ 0xe9f90 (17 entries)
 bios0: vendor Phoenix Technologies LTD version 0F08 date 08/20/2001
 bios0: Compaq 110 series
 apm0 at bios0: Power Management spec V1.2
 apm0: AC on, battery charge unknown
 acpi at bios0 function 0x0 not configured
 pcibios0 at bios0: rev 2.1 @ 0xfd720/0x8e0
 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf70/112 (5 entries)
 pcibios0: PCI Interrupt Router at 000:07:0 (VIA VT82C596A ISA rev 0x00)
 pcibios0: PCI bus #2 is the last bus
 bios0: ROM list: 0xc/0xc000 0xcc000/0x1800
 cpu0 at mainbus0
 pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
 pchb0 at pci0 dev 0 function 0 VIA VT8601 PCI rev 0x05
 ppb0 at pci0 dev 1 function 0 VIA VT82C601 AGP rev 0x00
 pci1 at ppb0 bus 1
 vga1 at pci1 dev 0 function 0 Trident CyberBlade i1 AGP rev 0x6a
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 agp0 at vga1: v2, aperture at 0xf800, size 0x1000
 drm at vga1 unsupported
 pcib0 at pci0 dev 7 function 0 VIA VT82C686 ISA rev 0x22
 pciide0 at pci0 dev 7 function 1 VIA VT82C571 IDE rev 0x10: ATA66, channel 
 0 configured to compatibility, channel 1 configured to compatibility
 wd0 at pciide0 channel 0 drive 0: IC25N015ATDA04-0
 wd0: 16-sector PIO, LBA, 14403MB, 29498112 sectors
 wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
 atapiscsi0 at pciide0 channel 1 drive 0
 scsibus0 at atapiscsi0: 2 targets, initiator 7
 cd0 at scsibus0 targ 0 lun 0: QSI, CD-ROM SCR-242, CCA1 ATAPI 5/cdrom 
 removable
 cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
 uhci0 at pci0 dev 7 function 2 VIA VT83C572 USB rev 0x10: irq 11
 viaenv0 at pci0 dev 7 function 4 VIA VT82C686 SMBus rev 0x30: HWM disabled: 
 24-bit timer at 3579545Hz
 auvia0 at pci0 dev 7 function 5 VIA VT82C686 AC97 rev 0x20: irq 9
 ac97: codec id 0x41445348 (Analog Devices AD1881A)
 ac97: codec features headphone, Analog Devices Phat Stereo
 audio0 at auvia0
 fxp0 at pci0 dev 9 function 0 Intel 8255x rev 0x09, i82559S: irq 11, 
 address 00:d0:59:80:c6:e5
 inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
 ATT/Lucent LTMODEM rev 0x00 at pci0 dev 9 function 1 not configured
 cbb0 at pci0 dev 10 function 0 TI PCI1410 CardBus rev 0x01: irq 11
 isa0 at pcib0
 isadma0 at isa0
 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
 com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
 pckbc0 at isa0 port 0x60/5
 pckbd0 at pckbc0 (kbd slot)
 pckbc0: using irq 1 for kbd slot
 wskbd0 at pckbd0: console keyboard, using wsdisplay0
 pms0 at pckbc0 (aux slot)
 pckbc0: using irq 12 for 

Re: isdn/dsl pci cards? (I4b)

2009-04-25 Thread Stuart Henderson
On 2009-04-25, Christopher Intemann intem...@gmail.com wrote:
 Hi,
 I just got myself a Sun Netra X1 Sparc64 1U server.
 I wonder if I could use it to either connect to my DSL provider directly
 (using a DSL-PCI-card, such as this one: http://tinyurl.com/cqddxj).

In a word: No.

 However, I did not find much information about which cards are actually
 supported by OpenBSD?
 Furthermore, I want to log isdn traffic. Therefore I was thinking to either
 use the Fritz DSL hybrid DSL/isdn card mentioned above, or, if that wouldn't
 work, to plug in a dedicated FritzPCI ISDN card into the box. Are those
 cards supported by either OpenBSD and/or I4b?

i4b was dropped from OpenBSD quite some time ago.



Re: RadiusClient

2009-04-25 Thread Claudio Jeker
On Sat, Apr 25, 2009 at 01:21:31PM -0300, Bruno Galindro da Costa wrote:
 Guys,
 
I have downloaded and compiled radiusclient on OpenBSD:
 ftp://ftp.freeradius.org/pub/freeradius/freeradius-client-1.1.6.tar.bz2
 
 But, on OpenBSD, the ppp package is installed by default, and does not have
 these following libraries needed for poptop radius authentication:
 
 radius.so
 radattr.so
 
 These libraries comes on package ppp for Ubuntu / Debian. Anyone knows how
 can I get the source code of them?
 

The userland ppp implementation in OpenBSD has nothing todo with what you
see on Linux. It comes with radius support builtin but as I have never
ever used it don't ask me how to set it up. Read the manpage it is
documented there.

 My pptpd.conf.options file:
 
 auth
 name pptpd
 refuse-pap
 refuse-chap
 refuse-mschap
 require-mschap-v2
 require-mppe-128
 proxyarp
 debug
 lock
 nobsdcomp
 *plugin radius.so
 plugin radattr.so*
 radius-config-file /etc/radiusclient/radiusclient.conf
 

Not sure if ppp(8) is able to do pptp maybe somebody else knows.

-- 
:wq Claudio



Re: European orders(Sweden) - nohup.se

2009-04-25 Thread Robert McGillshaw
On Fri, Apr 24, 2009 at 4:34 PM, Maxim Bourmistrov
maxim.bourmist...@unixconn.com wrote:
 Hello misc@,

hi!

 it has been almost a week since I sent an invoice for OpenBSD 4.5 CD/t-shirt
 to nohup.se.
 Well, there is no answer so far and the webpage is outdated and promoting
 old releases.

their webpage doesn't even load for me. have you paid them already?


 Any one from Sweden has ever successfully ordered anything from this site
 lately?
 Any other (successful) paths available?

i received my obsd 4.5 set from http://www.openbsdeurope.com

got good service from them.


 //maxim



thanks

--robert



alternate shell not running

2009-04-25 Thread Aaron Martinez
I'm running OpenBSD 4.4 Stable and have created a little shell script menu
program that I want certain users to have as their only interaction with
the system.  I created users using the script as their shell and also put
it in /etc/shells but when the user logs in they get a standard shell.  I
was testing it through ssh so I thought maybe it had something to do with
the environment but the same thing happens when I log in locally.  If log
in as root and then su - username the script runs as expected.

Is this the wrong way to do this?  Would it be better putting something in
the .profile?

Can anyone shed any light as to why this is happening?

Thanks,

Aaron Martinez



Re: RadiusClient

2009-04-25 Thread Stuart Henderson
On 2009-04-25, Bruno Galindro da Costa bruno.galin...@gmail.com wrote:
I have downloaded and compiled radiusclient on OpenBSD:
 ftp://ftp.freeradius.org/pub/freeradius/freeradius-client-1.1.6.tar.bz2

its local-ip-address detection is somewhat broken on OpenBSD, btw.
my WIP port sort-of works, but you have to specify the address manually.

 But, on OpenBSD, the ppp package is installed by default, and does not have
 these following libraries needed for poptop radius authentication:

oh, poptop uses an external ppp daemon? if it can use ppp(8) (user-ppp),
your battle is won, as it already supports radius...

 These libraries comes on package ppp for Ubuntu / Debian. Anyone knows how
 can I get the source code of them?

www.samba.org/ppp; we are somewhat behind the cutting edge.



Re: soekris 5501, ral(4) and 4.5-current

2009-04-25 Thread FRLinux
On Sat, Apr 25, 2009 at 11:17 PM, Jochem Kossen jochem.kos...@gmail.com wrote:
 Interesting, I've got exactly the same problem with an rt2860. I
 thought it was just bad hardware (suspecting the rt2860), or
 temperature issues, and pulled out the card. The machine's been
 rock-solid since (d'oh).

For me eworks, snapshot from 28/02/2009, rock stable (ral card running
as AP with WPA-PSK):

ral0 at pci0 dev 14 function 0 Ralink RT2561S rev 0x00: irq 11,
address 00:12:0e:61:4a:70
ral0: MAC/BBP RT2561C, RF RT5225

Cheers,
Steph



Re: soekris 5501, ral(4) and 4.5-current

2009-04-25 Thread Lars Kotthoff
Same problem here with an RT2860.

Lars



isdn/dsl pci cards? (I4b)

2009-04-25 Thread Christopher Intemann
On Sun, Apr 26, 2009 at 12:28 AM, Stuart Henderson s...@spacehopper.orgwrote:


  However, I did not find much information about which cards are actually
  supported by OpenBSD?
  Furthermore, I want to log isdn traffic. Therefore I was thinking to
 either
  use the Fritz DSL hybrid DSL/isdn card mentioned above, or, if that
 wouldn't
  work, to plug in a dedicated FritzPCI ISDN card into the box. Are those
  cards supported by either OpenBSD and/or I4b?

 i4b was dropped from OpenBSD quite some time ago.


Oh. That's too bad. Why is that? I mean why drop something that is working
and might be of need for at least some people?
Anyway. As it doesn't matter why - is there any documentation about how to
compile a kernel module for PCI ISDN-cards?
Which is the latest kernel with *official* ISDN-support, and which ISDN card
would be recommended for *BSD?
If ISDN/i4b is still maintained on FreeBSD, it should not be to much of an
effort to get it running on OpenBSD as well, right?
Thanks,
Chris



Re: svnd is incredible slow... somebody else notice that?

2009-04-25 Thread Daniel Ouellet

sebastian.rot...@jpberlin.de wrote:

On Fri, Apr 24, 2009 at 6:12 PM,  sebastian.rot...@jpberlin.de wrote:

If you've serval houndret GBs that gonna take a lng time.
Also you can not restore a backup quickly because of the uberproor write
performance (it feels like being slower then PIO 3..).

crypto is slow.  what else is new?


I do not talk about a P2 266Mhz System here nor do I think that a loss of
even 20% write performence is slow anyway but a write speed of like
1-3MB/s on a modern SATA HDD on a IBM Thinkpad x61s can't be it.
The bug was introduced somehow between 4.1 and 4.2 (my guess).
svnd worked normaly before.


One suggestion that would may be taken more seriously if what you say is 
true would be to actually go back in time and do binary search of VCS 
changes to show, Here diff 1.xxx on what ever date was fas, then with 
that diff, new results and that will give you something to work with 
and that may be then someone might look into it.


That's hard evidence and that actually would/could be useful.

That approached takes times, your time and would actually be much more 
productive if you actually believe it's a bug and if you actually would 
like it to be solved, again assuming there is a new bug.


I do this time to time when I try to track something that changed and 
that affected, or could have affected something else and when you 
provide the results like that, you have much more change to be taken 
seriously oppose to be ignore as you provide nothing here more then 
compare OpenBSD with some other OS and you will only get a legit reply 
as to go use that other OS then if that's what you are after.


Now you th9nk this bug (if any here) was introduce between 4.1 and 4.2.

Well, all the changes are in CVS and if you can pin point it and show it 
to be real, then you will have the attention of someone that will look 
into it IF you can prove your point and show the diff that introduce 
what you think is a bug.


Just my $0.02 worth if you actually want to be productive at it and best 
yet, be consider as a bug and get fix, if that's the case obviously.


Without hard proof, you will not get or convince anyone to even look 
into it.


Hope this help you some.

Best,

Daniel



Re: isdn/dsl pci cards? (I4b)

2009-04-25 Thread Theo de Raadt
 Oh. That's too bad. Why is that? I mean why drop something that is working
 and might be of need for at least some people?

Wow, you sure like to make presumptions.

It was dropped because it was unmaintained and unmaintainable.  It did
not fit into the system, and it did not work.

 Anyway. As it doesn't matter why - is there any documentation about how to
 compile a kernel module for PCI ISDN-cards?

We would not know.  We don't use it.

 Which is the latest kernel with *official* ISDN-support, and which ISDN card
 would be recommended for *BSD?

I dunno, ten years ago?  If it worked at all, that is.

 If ISDN/i4b is still maintained on FreeBSD, it should not be to much of an
 effort to get it running on OpenBSD as well, right?

You'd be surprised.  Thing is, you won't get help here.



RIT's mirror

2009-04-25 Thread eagirard
This may not be technically the right place to discuss a mirror, but the mirror 
list has no traffic since 2004.

The RIT mirror is providing 4.2 sets from it's snapshots directory.  Should 
they still be listed?
--
Ed Ahlsen-Girard
Ft. Walton Beach FL



OpenBSD on Sun Netra X1

2009-04-25 Thread Christopher Intemann
Hi,
does anyone here have experience with OpenBSD on a Sun Netra X1 server?
I read somewhere that it does only support hard drives up to 137GB of size.
Is there any way to avoid this restriction?
I read somewhere (else) that using a PCI-IDE controller could do the trick.
However could not find any information if I could boot from discs connected
via a PCI-IDE controller.
Any hints?
Thanks,
 Chris



Re: alternate shell not running

2009-04-25 Thread Fred Crowson
On 4/25/09, Aaron Martinez m...@proficuous.com wrote:
 I'm running OpenBSD 4.4 Stable and have created a little shell script menu
 program that I want certain users to have as their only interaction with
 the system.  I created users using the script as their shell and also put
 it in /etc/shells but when the user logs in they get a standard shell.  I
 was testing it through ssh so I thought maybe it had something to do with
 the environment but the same thing happens when I log in locally.  If log
 in as root and then su - username the script runs as expected.

 Is this the wrong way to do this?  Would it be better putting something in
 the .profile?

 Can anyone shed any light as to why this is happening?

 Thanks,

 Aaron Martinez

As a mind reader I'm guessing permissions...
some more info might make it less of a guess



Re: alternate shell not running

2009-04-25 Thread Aaron Martinez
 On 4/25/09, Aaron Martinez m...@proficuous.com wrote:
 I'm running OpenBSD 4.4 Stable and have created a little shell script
 menu
 program that I want certain users to have as their only interaction with
 the system.  I created users using the script as their shell and also
 put
 it in /etc/shells but when the user logs in they get a standard shell.
 I
 was testing it through ssh so I thought maybe it had something to do
 with
 the environment but the same thing happens when I log in locally.  If
 log
 in as root and then su - username the script runs as expected.

 Is this the wrong way to do this?  Would it be better putting something
 in
 the .profile?

 Can anyone shed any light as to why this is happening?

 Thanks,

 Aaron Martinez

 As a mind reader I'm guessing permissions...
 some more info might make it less of a guess


I suppose it could be permissions, but the file/script is located in
/usr/local/bin with permissions set to 755.  Additionally, when i log in
as one of the restricted users that are supposed to have the script as
their shell, i have no problem running the script if i call it manually.

What additional information would be helpful? I'd be glad to provide it.

Aaron



Re: CVS: cvs.openbsd.org: src

2009-04-25 Thread James Wright

CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2009/04/25 11:36:48

Modified files:
	etc: Makefile 
Added files:
	etc/root   : dot.Xdefaults 
	etc/skel   : dot.Xdefaults 


Log message:
Provide users by default with XTerm*loginShell:true.  This situation just is
ridiculous; xdm is totally broken since it never starts anything which resembles
a login shell.  As a result, no configuration is brought into a process
context to give to future xterms or *sh shells and thus cause them to run their
.profile or .kshrc or such a thing, to get futher configuration.  Therefore
people are left with a totally bland unconfigured Unix environment in their
xterms, and don't know how to change this since .profile is ignored.  This
problem shows hundreds of thousands of google hits.  xdm is fundamentally
broken, but we must solve this also for the startx methods, too, and for people
running csh.  It is clear that .xsession is not a solution to this problem at
all (that is, assuming the people who suggest such a thing really mean a
.xsession file with the execute bit set).  This now becomes the recommended
way for new users to get out of this stupid situation; if someone does not
like it they can change it or delete it.  Few will.  Just watch.
ok kettenis guenther millert


Wouldn't replacing '#!/bin/sh' with '#!/bin/sh -l' in /etc/X11/xdm/Xsession and 
/etc/X11/xinit/xinitrc work too?

I'm using the former, I haven't used startx for years, so the latter I haven't tried.  

Wouldn't setting xterm to a login shell only solve one problem, the other would be the environment for the window manager 
(and for ~/.xsession and ~/.xinitrc), e.g. requiring full paths for binaries outside of the default (not the user) PATH amongst other things?




Re: CVS: cvs.openbsd.org: src

2009-04-25 Thread Theo de Raadt
  CVSROOT:/cvs
  Module name:src
  Changes by: dera...@cvs.openbsd.org 2009/04/25 11:36:48
 
  Modified files:
  etc: Makefile 
  Added files:
  etc/root   : dot.Xdefaults 
  etc/skel   : dot.Xdefaults 
 
  Log message:
  Provide users by default with XTerm*loginShell:true.  This situation just is
  ridiculous; xdm is totally broken since it never starts anything which 
  resembles
  a login shell.  As a result, no configuration is brought into a process
  context to give to future xterms or *sh shells and thus cause them to run 
  their
  .profile or .kshrc or such a thing, to get futher configuration.  Therefore
  people are left with a totally bland unconfigured Unix environment in their
  xterms, and don't know how to change this since .profile is ignored.  This
  problem shows hundreds of thousands of google hits.  xdm is fundamentally
  broken, but we must solve this also for the startx methods, too, and for 
  people
  running csh.  It is clear that .xsession is not a solution to this problem 
  at
  all (that is, assuming the people who suggest such a thing really mean a
  .xsession file with the execute bit set).  This now becomes the recommended
  way for new users to get out of this stupid situation; if someone does not
  like it they can change it or delete it.  Few will.  Just watch.
  ok kettenis guenther millert
 
 Wouldn't replacing '#!/bin/sh' with '#!/bin/sh -l' in
/etc/X11/xdm/Xsession and /etc/X11/xinit/xinitrc work too?

What would that solve?

That isn't the users shell.

 I'm using the former, I haven't used startx for years, so the latter I
 haven't tried.  

I don't understand where people like you come from.   If you want to
spew advice, why don't you TRY IT FIRST YOURSELF?

 Wouldn't setting xterm to a login shell only solve one problem, the
 other would be the environment for the window manager (and for
 ~/.xsession and ~/.xinitrc), e.g. requiring full paths for binaries
 outside of the default (not the user) PATH amongst other things?

You didn't even read.



Re: alternate shell not running

2009-04-25 Thread Philip Guenther
On Sat, Apr 25, 2009 at 3:39 PM, Aaron Martinez m...@proficuous.com wrote:
 I'm running OpenBSD 4.4 Stable and have created a little shell script menu
 program that I want certain users to have as their only interaction with
 the system.  I created users using the script as their shell and also put
 it in /etc/shells but when the user logs in they get a standard shell.  I
 was testing it through ssh so I thought maybe it had something to do with
 the environment but the same thing happens when I log in locally.  If log
 in as root and then su - username the script runs as expected.

 Is this the wrong way to do this?  Would it be better putting something in
 the .profile?

 Can anyone shed any light as to why this is happening?

Works for me:

$ ls -l /usr/local/bin/foo
-rwxr-xr-x  1 root  wheel  55 Apr 25 17:25 /usr/local/bin/foo
$ cat /usr/local/bin/foo
#!/bin/sh
echo hello!
read help
echo $help
exit 0
$ grep testing /etc/passwd
testing:*:1009:1009:Test User,,,:/home/users/testing:/usr/local/bin/foo
$

...and when I log in on a terminal as 'testing', I get the expected
hello! and it echos my first line on input and then exits.

So:
1) what does the /etc/passwd entry for one of these users look like?
2) when you say they get a standard shell, what *EXACTLY* do you mean?
   (If you mean they get a /bin/sh prompt and it runs their
.profile, then please say that)
3) what does the top of the shell script look like?


Philip Guenther



Re: Transparent firewall (bridge) with DMZ + LAN

2009-04-25 Thread Daniel Ouellet

FRLinux wrote:

On Sat, Apr 25, 2009 at 2:57 PM, Henning Brauer lists-open...@bsws.de wrote:

bridging is stupid. don't. there are cases where you can't avoid it,
but deliberately? about as clever as knowingly drinking methanol.


Hello Henning,

Sorry for asking, but just to make sure I understand your statement,
do you mean, bridging straight and simple between your internal
network and the big bad internet, of bridging on 2 lans or more to the
outside?


No, what Henning is telling you is that you shouldn't do bridging unless 
you have no choice. But if you start from scratch, meaning you can do as 
you want, then do not set it up in a bridging mode as it's not the best 
way to do so.


Sometime you do bridging when you are changing a setup and you use it as 
an interim set to clean up your setup, etc. Or if there isn't any other 
way to go at it.


But he is suggesting to avoid it at any cost when possible.

Best,

Daniel



Re: alternate shell not running

2009-04-25 Thread Aaron Martinez
 On Sat, Apr 25, 2009 at 3:39 PM, Aaron Martinez m...@proficuous.com wrote:
 I'm running OpenBSD 4.4 Stable and have created a little shell script
 menu
 program that I want certain users to have as their only interaction with
 the system.  I created users using the script as their shell and also
 put
 it in /etc/shells but when the user logs in they get a standard shell.
  I
 was testing it through ssh so I thought maybe it had something to do
 with
 the environment but the same thing happens when I log in locally.  If
 log
 in as root and then su - username the script runs as expected.

 Is this the wrong way to do this?  Would it be better putting something
 in
 the .profile?

 Can anyone shed any light as to why this is happening?

 Works for me:

 $ ls -l /usr/local/bin/foo
 -rwxr-xr-x  1 root  wheel  55 Apr 25 17:25 /usr/local/bin/foo
 $ cat /usr/local/bin/foo
 #!/bin/sh
 echo hello!
 read help
 echo $help
 exit 0
 $ grep testing /etc/passwd
 testing:*:1009:1009:Test User,,,:/home/users/testing:/usr/local/bin/foo
 $

 ...and when I log in on a terminal as 'testing', I get the expected
 hello! and it echos my first line on input and then exits.

 So:
 1) what does the /etc/passwd entry for one of these users look like?

lgf:*:1010:1::/home/ght:/usr/local/bbox/bin/login_script

 2) when you say they get a standard shell, what *EXACTLY* do you mean?
(If you mean they get a /bin/sh prompt and it runs their
 .profile, then please say that)

when logging in as user ght
$ env
_=/usr/bin/env
SSH_CONNECTION=192.168.7.128 39782 192.168.7.254 22
PATH=/home/lgf/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/games:.
SHELL=/usr/local/bin/login_script
USER=lgf
MAIL=/var/mail/ght
HOME=/home/ght
SSH_CLIENT=192.168.7.128 39782 22
TERM=xterm
SSH_TTY=/dev/ttyp0
LOGNAME=ght


$ lss
ksh: lss: not found

(looks like i'm getting ksh as my shell)


 3) what does the top of the shell script look like?

#!/bin/ksh

tput clear

goodchoice=
until [ -n $goodchoice ]
do

echo 'Please choose one of the following:




 Philip Guenther



Re: OpenBSD on Sun Netra X1

2009-04-25 Thread Daniel Ouellet

Christopher Intemann wrote:

Hi,
does anyone here have experience with OpenBSD on a Sun Netra X1 server?
I read somewhere that it does only support hard drives up to 137GB of size.


Yes the limit is 137 GB and I said that and it's tested as well. I 
posted that long ago, but again I guess two or three weeks ago on a 
bridge question. No there isn't.


 Is there any way to avoid this restriction?

Don't even try it, or your box WILL not boot.


I read somewhere (else) that using a PCI-IDE controller could do the trick.


Well, not sure about that. Why you say it would do the trick?  Unless 
that PCI have it's own logic and all, witch I would not think it would 
anyway. That box only support IDE, so you have no choice here.


But even a nice new IDE works very well there.

I used: ST3160815A from Seagate, a very nice drive, pretty darn fast and 
nice cache as well on the drive. Or an 80GB ST380215A.


It does give a second life to these boxes.


However could not find any information if I could boot from discs connected
via a PCI-IDE controller.


Yes you can, but obviously use an external one. Pretty easy to do, then 
you removed it after that.



Any hints?


If you have any issue, I would be more then happy to help you get it 
going, but do your homework firs,t it couldn't be simpler to do really.


Best,

Daniel



Re: alternate shell not running

2009-04-25 Thread Philip Guenther
On Sat, Apr 25, 2009 at 5:48 PM, Aaron Martinez m...@proficuous.com wrote:
 So:
 1) what does the /etc/passwd entry for one of these users look like?

 lgf:*:1010:1::/home/ght:/usr/local/bbox/bin/login_script

Are there any other passwd entries with that uid?
What's the output of
   ls -l /usr/local/bbox/bin/login_script


 2) when you say they get a standard shell, what *EXACTLY* do you mean?
(If you mean they get a /bin/sh prompt and it runs their
 .profile, then please say that)

 when logging in as user ght
 $ env
 _=/usr/bin/env
 SSH_CONNECTION=192.168.7.128 39782 192.168.7.254 22

PATH=/home/lgf/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bi
n:/usr/local/sbin:/usr/games:.
 SHELL=/usr/local/bin/login_script
 USER=lgf
 MAIL=/var/mail/ght
 HOME=/home/ght
 SSH_CLIENT=192.168.7.128 39782 22
 TERM=xterm
 SSH_TTY=/dev/ttyp0
 LOGNAME=ght

 $ lss
 ksh: lss: not found

 (looks like i'm getting ksh as my shell)

It's interesting how it mixes USER=lgf with LOGNAME=ght.  sshd (and
login) set those to the same value, so it would seem user lgf's
.profile or similar is being parsed along the way.  I wonder what the
'id' command would show at that point: ght, lgf, or something
completely different?

I guess my next step would be to use ktrace -i on a virtual console
'getty' process, log in and out on that console to reproduce it, then
stop the ktrace and examine the output of kdump to see what's actually
being invoked, when, and by what.  Follow the fork() and execve()
calls.

Good luck!


Philip Guenther



Re: alternate shell not running

2009-04-25 Thread Frank Bax

Aaron Martinez wrote:

On Sat, Apr 25, 2009 at 3:39 PM, Aaron Martinez m...@proficuous.com wrote:
1) what does the /etc/passwd entry for one of these users look like?


lgf:*:1010:1::/home/ght:/usr/local/bbox/bin/login_script


2) when you say they get a standard shell, what *EXACTLY* do you mean?
   (If you mean they get a /bin/sh prompt and it runs their
.profile, then please say that)


when logging in as user ght




You changed shell for user lgf; then login as ght?



Re: alternate shell not running

2009-04-25 Thread Aaron Martinez
 Aaron Martinez wrote:
 On Sat, Apr 25, 2009 at 3:39 PM, Aaron Martinez m...@proficuous.com
 wrote:
 1) what does the /etc/passwd entry for one of these users look like?

 lgf:*:1010:1::/home/ght:/usr/local/bbox/bin/login_script

 2) when you say they get a standard shell, what *EXACTLY* do you
 mean?
(If you mean they get a /bin/sh prompt and it runs their
 .profile, then please say that)

 when logging in as user ght



 You changed shell for user lgf; then login as ght?


sorry.. i was just preserving identities.. and missed one lgf entry..  
the actual user is lgf.  i just was changing it to ght.  So everything is
in fact lgf there is no mixing of id's.

$ ls -l /usr/local/login_script
-rwxr-xr-x  1 root  wheel  2132 Apr 23 00:22 /usr/local/login_script

thanks again for the ideas.

Aaron



Re: alternate shell not running

2009-04-25 Thread Frank Bax

Aaron Martinez wrote:

Aaron Martinez wrote:

On Sat, Apr 25, 2009 at 3:39 PM, Aaron Martinez m...@proficuous.com
wrote:
1) what does the /etc/passwd entry for one of these users look like?

lgf:*:1010:1::/home/ght:/usr/local/bbox/bin/login_script


2) when you say they get a standard shell, what *EXACTLY* do you
mean?
   (If you mean they get a /bin/sh prompt and it runs their
.profile, then please say that)

when logging in as user ght



You changed shell for user lgf; then login as ght?


sorry.. i was just preserving identities.. and missed one lgf entry..  
the actual user is lgf.  i just was changing it to ght.  So everything is

in fact lgf there is no mixing of id's.

$ ls -l /usr/local/login_script
-rwxr-xr-x  1 root  wheel  2132 Apr 23 00:22 /usr/local/login_script



You issued ls command for a different script than the user's shell.



Re: CVS: cvs.openbsd.org: src

2009-04-25 Thread Theo de Raadt
 I concede, this mail and my solution was not completely thought out.  
 While making Xsession/xinitrc (tried startx since my first e-mail) run 
 under sh -l would source .profile

And what if a person's shell is actually csh, or some other shell?

Then it does not work.



Re: CVS: cvs.openbsd.org: src

2009-04-25 Thread James Wright
I concede, this mail and my solution was not completely thought out.  
While making Xsession/xinitrc (tried startx since my first e-mail) run 
under sh -l would source .profile and allow it to set any environment 
variables, only that environment would persist, not any aliases or set 
commands which might be in ~/.profile.  Since the former was all I 
usually modified in ~/.profile, I had a lower bar for 'working' than I 
should have had.  That said, having .xsession/window managers inherit 
the user's environment as set by .profile does seem like a useful 
default thing, though perhaps sourcing it in the user's X startup 
scripts would be better.  Anyway, the change made to .Xdefaults,  I'm 
glad is in since it the less than default xterm they get on starting X 
has always been a stumbling block for people I introduced to OpenBSD (of 
course, I always helpfully, but incorrectly 'fixed' it with sh -l until 
now).


Anyway, apologies to all for the badly thought out mailing list noise.

Theo de Raadt wrote:

CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2009/04/25 11:36:48

Modified files:
etc: Makefile 
Added files:
etc/root   : dot.Xdefaults 
etc/skel   : dot.Xdefaults 


Log message:
Provide users by default with XTerm*loginShell:true.  This situation just is
ridiculous; xdm is totally broken since it never starts anything which resembles
a login shell.  As a result, no configuration is brought into a process
context to give to future xterms or *sh shells and thus cause them to run their
.profile or .kshrc or such a thing, to get futher configuration.  Therefore
people are left with a totally bland unconfigured Unix environment in their
xterms, and don't know how to change this since .profile is ignored.  This
problem shows hundreds of thousands of google hits.  xdm is fundamentally
broken, but we must solve this also for the startx methods, too, and for people
running csh.  It is clear that .xsession is not a solution to this problem at
all (that is, assuming the people who suggest such a thing really mean a
.xsession file with the execute bit set).  This now becomes the recommended
way for new users to get out of this stupid situation; if someone does not
like it they can change it or delete it.  Few will.  Just watch.
ok kettenis guenther millert
  

Wouldn't replacing '#!/bin/sh' with '#!/bin/sh -l' in


/etc/X11/xdm/Xsession and /etc/X11/xinit/xinitrc work too?

What would that solve?

That isn't the users shell.
  
  

I'm using the former, I haven't used startx for years, so the latter I
haven't tried.  



I don't understand where people like you come from.   If you want to
spew advice, why don't you TRY IT FIRST YOURSELF?
  

Wouldn't setting xterm to a login shell only solve one problem, the
other would be the environment for the window manager (and for
~/.xsession and ~/.xinitrc), e.g. requiring full paths for binaries
outside of the default (not the user) PATH amongst other things?



You didn't even read.




4.5 soon, but ...

2009-04-25 Thread Theo de Raadt
So OpenBSD 4.5 will be available soon, next weekend.

I feel that I should urge people to avoid the new snapshots until
after they give 4.5 a try, because a few of us have been improving the
system installer a little bit.  It is night and day.

Therefore; don't try to install a -current snapshot or you'll really
hate installing 4.5...



Re: 4.5 soon, but ...

2009-04-25 Thread J.C. Roberts
On Sat, 25 Apr 2009 21:34:55 -0600 Theo de Raadt
dera...@cvs.openbsd.org wrote:

 So OpenBSD 4.5 will be available soon, next weekend.
 
 I feel that I should urge people to avoid the new snapshots until
 after they give 4.5 a try, because a few of us have been improving the
 system installer a little bit.  It is night and day.
 
 Therefore; don't try to install a -current snapshot or you'll really
 hate installing 4.5...


I've already been spoilt by the new installer in -current (for 4.6).
It's sweet! And from the commit logs, it's only gotten better in the
last handful of days since I used it.

The auto-partitioning will be real helpful for new folks.

-- 
J.C. Roberts



entre rios

2009-04-25 Thread Jorge
450 has en venta frente a pavimento  Provincia de Entre Rios ( riego)


0341-156-911241


   Su Consulta no nos molesta


   www.rajovitzky.com.ar