Annoying sounds with auvia and mpd

2008-12-14 Thread Martin Toft
Hi I'm using mpd and ncmpc to play music on my headless server equipped with a VIA EN12000EG motherboard (auvia soundcard). It's running -current built yesterday and the most recent mpd package from ftp://mirrors.nic.funet.fi/pub/OpenBSD/snapshots/packages/i386 (mpd-0.13.2p2). Sometimes when I pl

Re: Annoying sounds with auvia and mpd

2008-12-14 Thread Martin Toft
On Sun, Dec 14, 2008 at 10:41:51AM +, Jacob Meuser wrote: > try the cat > /dev/audio < /dev/zero test in faq13 # cat > /dev/audio < /dev/zero & [1] 21502 # audioctl play.{seek,samples,errors} play.seek=57600 play.samples=652800 play.errors=0 # audioctl play.{seek,samples,err

Re: Annoying sounds with auvia and mpd

2008-12-14 Thread Martin Toft
On Sun, Dec 14, 2008 at 04:58:34PM +0100, Martin Toft wrote: ... > shreiking sounds together with the music. When I quit, the music stops > but the shreiking sounds continue. This is with and without "-s 48000", > it makes no difference. -srate 48000, of course.

Re: Annoying sounds with auvia and mpd

2008-12-14 Thread Martin Toft
A small follow-up: The problem only occurs when opening the audio device. If I queue a number of tracks in mpd's playlist and let it play, then it does not suddenly start making noise from one track to the next. It only happens when I manually start a track (and only sometimes). I suspect that mpd

Re: Etherchannel & OpenBSD?

2008-12-23 Thread Martin Toft
On Mon, Dec 22, 2008 at 03:52:33PM +, Stuart Morgan wrote: > Hi all, > > Does anyone known if trunk(4) supports Cisco Etherchannel? > > I have a 3500XL with the following port configuration: > > interface FastEthernet0/22 > port group 1 > switchport trunk encapsulation dot1q > switchport mod

Re: Python in base?

2008-12-27 Thread Martin Toft
On Sat, Dec 27, 2008 at 04:04:01PM +0100, Jordi Espasa Clofent wrote: > Are there some plans to include python in base system (as Perl is at > present)? "... the people in charge don't like it ..." http://marc.info/?l=openbsd-misc&m=121171346816874&w=2

Re: Only one headphone jack working - good or bad?

2009-01-06 Thread Martin Toft
On Tue, Jan 06, 2009 at 09:29:37PM +, Jacob Meuser wrote: > so azalia users please let your voice be heard. would you find it > annoying when playing *only* mono or stereo to have all outputs play > the audio, or would you like that? Please excuse me if I have interpreted the question wrongly

Hard drive load cycle count

2009-01-18 Thread Martin Toft
Hi misc@ Inspired by http://it.slashdot.org/article.pl?sid=09/01/17/2127254 and https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/59695 I've looked into the hard drive load cycle count on my 5-6 months old Asus Eee PC1000H laptop. The launchpad link recommends that a disk has no more tha

Re: Hard drive load cycle count

2009-01-18 Thread Martin Toft
On Sun, Jan 18, 2009 at 11:47:30AM -0500, Ted Unangst wrote: > rodin:~> grep ata /etc/rc.local > atactl sd0 apmdisable Thanks. Don't know why I didn't think of that.

Re: Hard drive load cycle count

2009-01-18 Thread Martin Toft
Related to the topic: Owners of Western Digital Green Power drives might find this forum thread interesting: http://www.silentpcreview.com/forums/viewtopic.php?t=51401 "WARNING: WD Green Power drives may kill themselves" Martin

Re: Annoying sounds with auvia and mpd

2009-01-20 Thread Martin Toft
On Tue, Jan 20, 2009 at 11:08:30AM +, Jacob Meuser wrote: > sorry for the delay. can you see if this fixes the problem? > > something of a guess, but the addition of S/PDIF support is the only > change that fits the timeline of when it was working and when > the problem started. (and if you

Re: Router ping one way only

2009-01-20 Thread Martin Toft
What happens when you ping from the OpenBSD router? Does any of the other equipment reply? The Ubuntu machine's firewall settings can be seen by running 'sudo iptables -L -v -n'. Are you sure it doesn't block incoming ICMP requests? Martin

Re: Router ping one way only

2009-01-20 Thread Martin Toft
On Tue, Jan 20, 2009 at 02:25:33PM -0800, duxbuz wrote: > Thanks for reply. Both of you. No problem. I think it will be easy to point out the problem, if you post more details: - ifconfig, 'route -n show -inet', 'pfctl -sr' and 'pfctl -sn' on the router. - ifconfig and 'route -n' on the Ubuntu

Re: Router ping one way only

2009-01-20 Thread Martin Toft
It just looks like your Vista laptop does not reply to ICMP requests for some reason. As this is a Windows specific problem, I will not try to solve it. Your tcpdump shows that the laptop uses the router perfectly fine as a gateway to reach the world, i.e. if the laptop responded with an ICMP reply

Re: installation

2009-03-28 Thread Martin Toft
On Sat, Mar 28, 2009 at 06:46:54PM +0530, Sameer Desai wrote: > The partitions are definitely there. they show in linux. I can't mount > them on it. > The partition is flagged active too. > And it is the only OS on the disk Remove GRUB from the MBR of the external disk using 'fdisk -u ' as Stefan

Re: vi line wrap.

2009-04-16 Thread Martin Toft
On Thu, Apr 16, 2009 at 09:59:29AM -0400, Stuart VanZee wrote: > How does one turn off the line wrap in OpenBSD's version of vi? My > linux friends say ":set nowrap" but nowrap doesn't seem to exist in > the version of vi that ships with OpenBSD The vi on your Friends' Linux-boxes is probably jus

Re: slow httpd on 4.4

2009-04-18 Thread Martin Toft
On Sun, Apr 19, 2009 at 02:43:02AM +0300, Angelin Lalev wrote: > OpenBSD + httpd (the included apache 1.3) on the same machine (P4 2,4) > gives me only 20Kbit/sec traffic on 100Mbit Ethernet which is rather > weird and actually had me checking cables, switches and duplex modes. > It seems that ever

Re: ping asking for root privilege.

2009-05-23 Thread Martin Toft
On Sat, May 23, 2009 at 05:36:30PM -0300, Christiano Farina Haesbaert wrote: > I've update my base system and now everytime I ping something it gives > me a permission denied, if I run as root, averything is fine. You have done something wrong during your update. ping must be setuid: -r-sr-xr-x

Re: ping asking for root privilege.

2009-05-23 Thread Martin Toft
On Sat, May 23, 2009 at 10:54:41PM +0200, Martin Toft wrote: > ping must be setuid: ...and owned by root. Mike is probably onto something ;-)

Re: slow network thread

2009-06-06 Thread Martin Toft
On Sat, Jun 06, 2009 at 04:05:49PM +0200, Jan Klemkow wrote: > I've a problem with the network speed. > If I download the a file with openbsd, > it has only a speed round about 250 kBit/s > > I could start several downloads with the same speed. > So that a program like aget has a speed from 600 ti

Re: Received 5.1 CD in Northern California

2012-05-01 Thread Martin Toft
I've just received the 5.1 CD set in Denmark :-) Ordered from OpenBSD Europe. Thanks for yet another release of my favorite OS. Martin

Re: OpenBSD isakmpd and pf vs Cisco PIX or ASA

2007-11-04 Thread Martin Toft
On Mon, Nov 05, 2007 at 01:29:05AM +0100, Cabillot Julien wrote: > Have you try openbsd 4.2 ? PF have been really improved in this > release. > > On Nov 5, 2007 1:09 AM, Chris Bullock <[EMAIL PROTECTED]> wrote: > > > We have been using OpenBSD my entire IT career, 5 1/2 years, I like > > the way it

Mysterious transfer speed differences

2007-11-07 Thread Martin Toft
Hi, I'm experiencing some mysterious transfer speed differences. I have a virtual Linux-server at HostEurope, Germany, and it appears that machines running OpenBSD can only download from the Linux-server with approx 300 kB/s, whereas machines running Linux can download with approx 1.5 MB/s from th

Re: Mysterious transfer speed differences

2007-11-07 Thread Martin Toft
On Wed, Nov 07, 2007 at 09:18:21PM +, Tony Sarendal wrote: [snip] > What is the tcp windowsize of your machine ? > OpenBSD in default install runs with window size of 16k, which in the > aprox 40ms > RTT seen in the trace about gives a theoretical max of ~400kByte/sec. > > If you increase that

cwm: root window unavailable

2008-01-12 Thread Martin Toft
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, when starting X (and thereby cwm due to my .xinitrc), I get the following error: cwm: root window unavailable - perhaps another wm is running? It happens right after boot up, where I'm sure no other wm is running. My computer boots up withou

Re: cwm: root window unavailable

2008-01-13 Thread Martin Toft
On Sat, Jan 12, 2008 at 08:32:50PM +0100, Martin Toft wrote: > Hi, > > when starting X (and thereby cwm due to my .xinitrc), I get the > following error: > > cwm: root window unavailable - perhaps another wm is running? > > It happens right after boot up, where

Re: cwm: root window unavailable

2008-01-14 Thread Martin Toft
On Sat, Jan 12, 2008 at 08:32:50PM +0100, Martin Toft wrote: > Hi, > > when starting X (and thereby cwm due to my .xinitrc), I get the > following error: > > cwm: root window unavailable - perhaps another wm is running? > > It happens right after boot up, where

Re: cwm: root window unavailable

2008-01-14 Thread Martin Toft
On Mon, Jan 14, 2008 at 03:54:33PM +0100, Jan Stary wrote: > On Jan 14 14:55:32, Martin Toft wrote: > > cwm echoes the error message above and terminates if xbindkeys is > > running. My solution at the moment is to not use xbindkeys... > > This is strange. I am running x

Re: arp: attempt to overwrite entry for 10.0.0.2 on sis0 by 00:30:cd:00:00:78 on sis2

2008-01-16 Thread Martin Toft
On Wed, Jan 16, 2008 at 12:28:53PM +0200, Jussi Peltola wrote: > On Wed, Jan 16, 2008 at 10:27:10PM +1300, [EMAIL PROTECTED] wrote: > > I seem to be getting a fair few of these on my firewall recently, > > looking like arp cache poisoning. it may be related to me losing > > service occasionally. >

Re: em(4) diff that needs testing.

2008-02-19 Thread Martin Toft
On Mon, Feb 18, 2008 at 04:43:59PM -0500, Brad wrote: > On Thursday 14 February 2008 00:34:54 Brad wrote: > > The following diffs adds support for the Intel ICH9 Ethernet chipsets. > > There is also a small change in here that affects the ICH8 chipsets. > > Please test this with any em(4) adapters

Re: Proxy between pop3s and pop3-only speaking blob?

2008-02-19 Thread Martin Toft
On Tue, Feb 19, 2008 at 07:46:01AM -0800, Jon wrote: > Here at work we're using an old version of Gordano Messaging Suite which > only supports POP3, running on Redhat. The only way to get POP3s (if we > can) is to upgrade to a newer version but we want to migrate to OpenBSD > eventually. What t

Re: PCI Gigabit card suggestion?

2008-02-25 Thread Martin Toft
On Mon, Feb 25, 2008 at 11:48:27AM +1100, Sunnz wrote: > Thanks for the suggestions guys, I'll be getting a DLink DGE-530T > sk(4) tomorrow, will be how it goes! FWIW, I'm very satisfied with my two DGE-530Ts on OpenBSD (as reported at least once on this list earlier): skc1 at pci2 dev 9 functi

Re: RAID 1 in production environment

2008-03-28 Thread Martin Toft
On Fri, Mar 28, 2008 at 11:49:01AM +0100, Jordi Espasa Clofent wrote: > Hi all, > > I need a RAID-1 (mirroring) for production environment. > > ?Should I use RAIDFrame or softraid? > > The reliability is the main request feature. AFAIK, not all features of softraid are finished yet. However, it

Merchandise idea: OpenBSD mug

2007-01-12 Thread Martin Toft
Hi, I think it would be awesome, if it was possible to buy an OpenBSD mug from the online ordering system at www.openbsd.org. I would definitely buy one together with the 4.1 cd-set. I imagine the mug with Cartoon Puffy on the one side and the OpenBSD logo on the other side (see http://www.openbs

Re: Merchandise idea: OpenBSD mug

2007-01-14 Thread Martin Toft
On Sat, Jan 13, 2007 at 10:23:11PM -0600, Samurai Chef wrote: > There has been quite a bit of response so far, that's very > encouraging. Thank you to all who have responded so far. > > Here is what I am planning on ordering: white coffee cups with puffy > and OpenBSD logo wraped around the cup.

Re: Merchandise idea: OpenBSD mug

2007-01-14 Thread Martin Toft
On Mon, Jan 15, 2007 at 01:11:24AM +0100, Marc Balmer wrote: > How about thinking if he is allowed to use the (copyrighted) artwork > for commercial use? > > Did he get the permissions? Does he have an OK from the copyright > owner to market these mugs using a copyrighted artwork? All those questi

Re: pf examples needed

2007-01-16 Thread Martin Toft
On Tue, Jan 16, 2007 at 09:32:02AM -0500, Charles Farinella wrote: > I have an OpenBSD 3.9 machine with a public IP providing NAT and > firewalling for our internal network. It has 3 interfaces: > > dc0: public ip from internet X.X.X.25 > dc1: 192.168.100.x to internal network. This works well.

Re: pf examples needed

2007-01-16 Thread Martin Toft
On Tue, Jan 16, 2007 at 04:44:03PM +0100, Martin Toft wrote: > On Tue, Jan 16, 2007 at 09:32:02AM -0500, Charles Farinella wrote: > > I have an OpenBSD 3.9 machine with a public IP providing NAT and > > firewalling for our internal network. It has 3 interfaces: > > &g

Re: pf examples needed

2007-01-16 Thread Martin Toft
On Tue, Jan 16, 2007 at 12:23:45PM -0500, Charles Farinella wrote: > Thanks to all for the help. > > Martin Toft wrote: > >On Tue, Jan 16, 2007 at 09:32:02AM -0500, Charles Farinella wrote: > >>I have an OpenBSD 3.9 machine with a public IP providing NAT and > >

Re: Router performance on OpenBSD and OpenBGPD

2007-02-24 Thread Martin Toft
On Thu, Feb 22, 2007 at 01:03:30PM -0800, Karsten McMinn wrote: > On 2/21/07, Alex Thurlow <[EMAIL PROTECTED]> wrote: > > Oops, forgot that part. At 325Mbps, we do about 60,000pps, so that > > puts us at about 360,000pps needed for 2Gbps. > > You'll have a hard time finding benches for that. To d

Re: manual install mrtg

2007-04-02 Thread Martin Toft
On Tue, Apr 03, 2007 at 12:01:06AM +0800, [EMAIL PROTECTED] wrote: > guys you have some idea where could i get on how to manully install > mrtg? except from google ;) coz i've been searching that already for > several days but i have no luck. i found that tutorial once at > bsdvault but that site

www.openbsd.org (and vs openbsd.org)

2007-05-09 Thread Martin Toft
Two small things: 1. www.openbsd.org replies with "Forbidden" at the moment -- but I guess most people already know. 2. Long time ago I was told that I shouldn't use openbsd.org, as it wasn't/isn't the official site. I was told to always use the www subdomain. Maybe this was just some people pull

Re: www.openbsd.org (and vs openbsd.org)

2007-05-10 Thread Martin Toft
On Wed, May 09, 2007 at 06:33:19PM -0600, Theo de Raadt wrote: > > 1. www.openbsd.org replies with "Forbidden" at the moment -- but I > > guess most people already know. > > www.openbsd.org is a mirror on a good network connection. > > at the moment it is recovering from having eaten itself. Thank

Re: www.openbsd.org (and vs openbsd.org)

2007-05-10 Thread Martin Toft
Thanks for all your answers. Sorry for creating all that fuss -- I should have interpreted Theo's answer correctly. Martin [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc]

Re: setting up ssh tunnel/vpn

2007-05-20 Thread Martin Toft
On Sun, May 20, 2007 at 07:19:50PM +0200, Steffen Sch|tz wrote: > You can try "man ssh" and then search > for the section "SSH-BASED VIRTUAL PRIVATE NETWORKS" > > Steffen Nice section actually -- I just used the trial and error way of getting it right, as I hadn't discovered that section of the ma

Re: ssh tunnel device forwarding dies occasionally

2007-05-20 Thread Martin Toft
On Sun, May 20, 2007 at 12:02:11PM -0700, Myk Taylor wrote: > I used to have this problem as well. It went away when I upgraded the > remote endpoint (your AP, in this model) to OpenSSH_4.5p1. Okay. Thanks for the advice :) I'll try to test it during the next couple of days or so and report back

Re: ssh tunnel device forwarding dies occasionally

2007-05-22 Thread Martin Toft
On Mon, May 21, 2007 at 12:50:05AM +0200, Martin Toft wrote: > On Sun, May 20, 2007 at 12:02:11PM -0700, Myk Taylor wrote: > > I used to have this problem as well. It went away when I upgraded > > the remote endpoint (your AP, in this model) to OpenSSH_4.5p1. > > Okay.

No i partition when connecting camera to USB

2007-05-30 Thread Martin Toft
When connecting a Nikon Coolpix L10 camera to my laptop via USB, no i partition shows up: $ sudo disklabel sd0 disklabel: warning, DOS partition table with no valid OpenBSD partition # /dev/rsd0c: type: SCSI disk: SCSI disk label: DSC COOLPIX L10 flags: bytes/sector: 512 sectors

Re: No i partition when connecting camera to USB

2007-05-30 Thread Martin Toft
On Wed, May 30, 2007 at 05:09:55PM +0200, Martin Toft wrote: [snip] > umass0 detached Ups... my cutting in the dmesg has been revealed. The above line is a leftover from connecting/disconnecting the camera several times. NB: It didn't help. > umass0 at uhub2 port 1 configuration 1

Re: No i partition when connecting camera to USB

2007-05-30 Thread Martin Toft
On Wed, May 30, 2007 at 05:09:55PM +0200, Martin Toft wrote: > When connecting a Nikon Coolpix L10 camera to my laptop via USB, no i > partition shows up: [snip] Thanks to krw@, the cause of the problem has been found! Yay! :) The msdos partition on my camera's flash memory extends p

Re: No i partition when connecting camera to USB

2007-05-30 Thread Martin Toft
On Wed, May 30, 2007 at 09:28:27PM +0200, Martin Toft wrote: > I know it's not an optimal situation, but this is the way the > in-camera software formatted the flash memory. Discard that. The camera formats the flash memory just fine, and after several attempts I still cannot re

Bad performance on ThinkPad T41 (-current checked out on July 1)

2007-07-02 Thread Martin Toft
I have run -current on my ThinkPad T41 laptop for nearly a year, and until now it has worked really well. Recently I bought a new disk for the machine and in connection with this I reinstalled OpenBSD using the most recent snapshot and then updated the system to -current. Unlike before, I now exp

Re: Bad performance on ThinkPad T41 (-current checked out on July 1)

2007-07-03 Thread Martin Toft
On Tue, Jul 03, 2007 at 04:32:13PM +1000, Jonathan Gray wrote: > Include the output of 'atactl wd0' perhaps you have something like > caching turned off. Also you can't hope for similiar results if you > use different programs on both systems. Disk I/O is the only test where I use different progr

Re: Bad performance on ThinkPad T41 (-current checked out on July 1)

2007-07-03 Thread Martin Toft
On Tue, Jul 03, 2007 at 10:20:18PM +1000, Jonathan Gray wrote: > On Tue, Jul 03, 2007 at 01:49:09PM +0200, Martin Toft wrote: > > Disk I/O is the only test where I use different programs (hdparm and > > dd), as I couldn't find a port/package of hdparm for OpenBSD. > >

Re: Very low sound

2007-07-09 Thread Martin Toft
FWIW, I used another computer, audacity and a piece of male-male mini-jack cable to "optimize" the volumes on my ThinkPad T41 :-) It sounds silly, but it worked quite well. It may not help you much, though, if you can't turn up your volumes any further. My audio card: auich0 at pci0 dev 31 func

Re: Very low sound

2007-07-09 Thread Martin Toft
On Mon, Jul 09, 2007 at 09:26:08PM +, Jacob Meuser wrote: > On Mon, Jul 09, 2007 at 08:10:51PM +0200, Martin Toft wrote: > > FWIW, I used another computer, audacity and a piece of male-male > > mini-jack cable to "optimize" the volumes on my ThinkPad T41 :-) It > &

Re: extracting iso

2007-07-19 Thread Martin Toft
On Thu, Jul 19, 2007 at 10:36:24AM +0200, Paul de Weerd wrote: > On Thu, Jul 19, 2007 at 04:45:31PM +0800, Jay Jesus Amorin wrote: > > is there a tool/way to extract an iso file to a directory? > > vnconfig -c /dev/svnd0 YOUR.ISO > mount /dev/svnd0c /mnt > > Read the manpage for vnco

Re: mc doesn't work on console

2007-07-26 Thread Martin Toft
On Thu, Jul 26, 2007 at 10:19:10AM +0200, Karel Kulhavy wrote: > If I try to start mc (midnight commander) on a text console I get a > black screen with one horizontal blue strip 1 char thick 2 chars from > the bottom of the screen. It doesn't seem to work and behaves > unpredictably. For example i

Re: Show your appreciation and get your 4.2 DVD

2007-09-06 Thread Martin Toft
On Thu, Sep 06, 2007 at 07:03:48PM -0400, Daniel Ouellet wrote: > So, what are you waiting for... > > Go do it! Done! :-) Thanks for the reminder and thanks to all the hardworking developers. Best regards, Martin

OpenBSD current: XF4 or xenocara?

2007-10-14 Thread Martin Toft
I would like to upgrade from a snapshot to current. I know my way around kernel, userland and ports, but I'm a bit confused with regard to XF4 versus xenocara. I would like to try out xenocara -- should I follow section 5.3 in the FAQ (http://www.openbsd.org/faq/faq5.html#Bld) and checkout (using c

Re: OpenBSD current: XF4 or xenocara?

2007-10-14 Thread Martin Toft
On Sun, Oct 14, 2007 at 11:16:18PM +0200, Martin Toft wrote: > I would like to upgrade from a snapshot to current. I know my way > around kernel, userland and ports, but I'm a bit confused with regard > to XF4 versus xenocara. I would like to try out xenocara -- should I > foll

Re: OpenBSD current: XF4 or xenocara?

2007-10-14 Thread Martin Toft
On Mon, Oct 15, 2007 at 12:28:36AM +0300, Antti Harri wrote: > On Sun, 14 Oct 2007, Martin Toft wrote: > > > I would like to upgrade from a snapshot to current. > > Any particular reason? Why not just use the snapshots? Even though I haven't created any patches for OpenBSD

Re: OpenBSD current: XF4 or xenocara?

2007-10-16 Thread Martin Toft
On Sun, Oct 14, 2007 at 11:16:18PM +0200, Martin Toft wrote: > I would like to upgrade from a snapshot to current. I know my way > around kernel, userland and ports, but I'm a bit confused with regard > to XF4 versus xenocara. I would like to try out xenocara -- should I > foll

Re: Great 4.2 song!

2007-10-17 Thread Martin Toft
On Wed, Oct 17, 2007 at 11:17:13AM -0700, Florin Andrei wrote: > Anybody can put a .flac or even .wav.gz copy for me on a server > somewhere? My CD is scratched about 2/3 into the song. :-( Maybe that would violate the copyright on the song... but I don't know... The public mp3 and ogg versions

Re: Curious on NAT traversal possibility on PF

2006-06-12 Thread Martin Toft
Daniel Ouellet wrote: Looking in the archive, looks like PF is view as feature complete and really I can't think of anything I can't do with it except nat traversal in VoIP setup. Maybe a bit off topic, but it immediately popped up in my head... Until recently I also pictured pf as feature co

Re: Curious on NAT traversal possibility on PF

2006-06-13 Thread Martin Toft
Spruell, Darren-Perot wrote: Maybe a better-designed application wouldn't have to make use of such a clusterbag of ports in the first place? The ports do not belong to a single application. I operate a gateway and want to give high priority to legitimate protocols and low priority to everythi

Re: Curious on NAT traversal possibility on PF

2006-06-15 Thread Martin Toft
Late reply due to mail server problems at my ISP... Stuart Henderson wrote: Depends what you're trying to do, but if it's e.g. throttling p2p users, that's only going to be of limited help. I haven't tried the approach yet and, as you, I'm in doubt about its abitily to throttle p2p. However, t

ftp-proxy suddenly exits (3.9-GENERIC, release)

2006-07-04 Thread Martin Toft
Hi all, I have a problem with ftp-proxy on a OpenBSD 3.9-GENERIC (release) gateway - sometimes it suddenly dies for no apparent reason. I have enabled the highest debug level but the log tells me nothing. Any help is appreciated. ftp-proxy is started through rc.conf: ftpproxy_flags="-a ext

Re: ftp-proxy suddenly exits (3.9-GENERIC, release)

2006-07-04 Thread Martin Toft
Martin Toft wrote: #!/bin/ksh PS_OUTPUT=`ps ax | grep '/usr/sbin/ftp-proxy' | grep -v grep` if [ "$PS_OUTPUT" = "" ]; then echo -e 'This is the /root/ftp-proxy-fix script at gw.obeln

Re: ksh vs bash

2006-08-27 Thread Martin Toft
Sam Chill wrote: ksh does most everything bash does too, so it doesn't seem like a loss. FWIW, I miss a couple of features in ksh and consider to switch (back) to bash: - When using tab completion, and you press tab two times to get a list of possibilities, ksh doesn't use less/more to pres

Re: ksh vs bash

2006-08-27 Thread Martin Toft
Martin Toft wrote: FWIW, I miss a couple of features in ksh and consider to switch (back) to bash: I forgot one: - I miss the "for (( expr1 ; expr2 ; expr3 )) ; do list ; done" construct. Of course, using e.g. jot, it is possible to do semantically equivalent stuff. /Martin

Re: Exceptions at transparent proxy.

2006-09-13 Thread Martin Toft
Joco Salvatti wrote: Hi all, I use transparent proxy, but I have some machines that should access some subnets without proxy, in order to gain access to some applications. When I allow the straight connection to these subnets only the first subnet in the list has effect. The connection to other

Re: cwm default window placement

2008-08-16 Thread Martin Toft
On Sat, Aug 16, 2008 at 07:24:24PM +0200, Earin Gregor wrote: > My question now is about default placement of windows. > I do start a few applications via my .xsession file. Most notably an xterm > and xclock. > Is it now possible to place those applications per default at a specific > location? >

Re: cwm default window placement

2008-08-16 Thread Martin Toft
On Sat, Aug 16, 2008 at 07:34:18PM +0200, Martin Toft wrote: > Both xterm and xlock accepts the standard X Toolkit options. Do'h... s/xlock/xclock/ and s/accepts/accept/

Re: cwm default window placement

2008-08-16 Thread Martin Toft
On Sat, Aug 16, 2008 at 08:04:51PM +0200, Earin Gregor wrote: > Only question still remains: Is there a way to keep one > window/application always raised above others? Would be nice in my > case for xclock :-) Try this: In ~/.cwmrc: gap 0 34 0 0 ignore xclock In ~/.xinitrc or ~/.xs

Re: Ethernet (and sound?) doesn't work on my new notebook

2008-08-23 Thread Martin Toft
On Sat, Aug 23, 2008 at 07:01:21PM +0200, thacrazze wrote: > No idea for my problem? A quick glance at sis(4) (man sis) and http://www.openbsd.org/i386.html (the section "Gigabit Ethernet Adapters") indicates that your SiS 191 network card just isn't supported.

Re: dmesg ASUS EEEPC 1000H

2008-09-15 Thread Martin Toft
0: irq 11ral0: timeout waiting for NIC to initialize If you wonder how to unmute the sound card, try this: mixerctl outputs.speaker2.eapd=on (see also mixerctl.conf(5)) I have attached the mail that I sent to [EMAIL PROTECTED] a while ago. Martin ----- Forwarded message from Martin Toft &l

Re: dmesg ASUS EEEPC 1000H

2008-09-15 Thread Martin Toft
On Mon, Sep 15, 2008 at 11:58:59PM +0200, Martin Toft wrote: > Don't you experience problems with the wireless Ralink RT2790 network > device? I've had it working in 2-3 boots right after I got the laptop > and never since. From dmesg: > > ral0 at pci3 dev 0 function 0

Re: pre-orders

2008-10-08 Thread Martin Toft
On Tue, Oct 07, 2008 at 11:25:27PM -0600, Theo de Raadt wrote: > Anyone got one of the posters yet? > > I've gotten one of the first ones (of course). > > Shiny, shiny, shiny. I saw it at Wim's booth at Open Source Days in the past weekend. Indeed shiny :-) Wim even promised that I could have i

Re: Wondering about openbsd way to update for patches.

2008-11-22 Thread Martin Toft
On Sat, Nov 22, 2008 at 06:52:14AM -0600, Javier Vasquez wrote: > I read in the documentation that if there are fixes, they come through > patches, and then to keep things simple, the easiest "fastest" way is > to keep the whole stable source tree up to date with patches, which > imply initial comp

Re: sendmail and PF

2008-12-02 Thread Martin Toft
On Mon, Dec 01, 2008 at 11:40:17AM -0700, Jay Torrini wrote: > Just need to know what to let in. > > ext_if="dc0" > trusted = "REMOVED" > webports = "{ http }" > table persist file "/etc/pf.blockedip.conf" > > set block-policy return > set optimization aggressive > scrub in all > > antispoof fo

Re: 32G SSD - Poor Performance on 4.3

2008-04-29 Thread Martin Toft
Highlights from a recent comparison: http://hardware.slashdot.org/hardware/08/04/29/1528205.shtml "Save your money" seems to be the answer at the moment.

Re: My ntpd isn't starting on OBSD 4.3?

2008-05-01 Thread Martin Toft
On Thu, May 01, 2008 at 01:06:41PM -0700, Ed Flecko wrote: > Hi folks, > O.K., I'm stumped. > > I've just installed 4.3, and I have the typical: > > ntpd_flags="-s" entry in /etc/rc.conf.local > > and > > # sync to a single server > 128.9.176.30 AFAIK, you need "server" before the address, i.e

Re: Kernel developers guide/tutorial

2008-06-11 Thread Martin Toft
On Wed, Jun 11, 2008 at 02:09:46PM -0700, Don Hiatt wrote: > [ Pardon if this email was repeated. > Sadly, I'm using Outlook and you know the rest :-) ] > > Can anyone point me to a kernel developers guide or tutorial? > Something that explains how to write a "hello world" type device driver > a

Re: Here's a trivial question. . .

2008-06-12 Thread Martin Toft
On Thu, Jun 12, 2008 at 02:29:41AM -0700, Sean Kamath wrote: > Why is sendmail in /usr/src/gnu/usr.sbin? > > sendmail is patently not a GNU application, and has a modified > Berkeley license? > > Just askin'. > > Sean http://marc.info/?l=openbsd-misc&m=101014364523299&w=2 Martin

anoncvs.se.openbsd.org: No space left on device

2008-06-16 Thread Martin Toft
t the following mail to [EMAIL PROTECTED] (the maintainers of anoncvs.se.openbsd.org) five days ago, but I haven't heard from them: --- start of mail quote --- Date: Wed, 11 Jun 2008 10:38:48 +0200 From: Martin Toft <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Problem with anoncv

Re: OT: Dissertation ideas for my degree

2008-06-20 Thread Martin Toft
On Thu, Jun 19, 2008 at 06:01:24PM +0100, Edd Barrett wrote: > TeX isnt as dead as you think. After studying two years at a Department of Mathematical Sciences and helping a lot of the staff with LaTeX-related stuff while there, I can certainly second that. Due to the myriad of packages people us

Re: simple PF question

2008-06-20 Thread Martin Toft
On Fri, Jun 20, 2008 at 02:10:52PM -0700, Robert Gilaard wrote: > Hi folks, > > All the time I had the following entries in my pf.conf for my Desktop > system. > However, as I've bought this pf book that was lately released, I begin > to suspect that these rules are way to liberal. > > If I only

Re: X font sizes

2008-07-14 Thread Martin Toft
On Mon, Jul 14, 2008 at 06:49:43PM +0200, Michael wrote: > sometime between the June 25 snapshot and today something in X changed. > Font sizes of some programms (like Konsole, Psi, xclock when using > -render) are much larger then before. http://marc.info/?l=openbsd-misc&m=121372109126372&w=2

Re: pf - antispoof and alias ip addresses

2008-07-15 Thread Martin Toft
On Tue, Jul 15, 2008 at 10:17:47PM +0200, [EMAIL PROTECTED] wrote: > Hi, > Want to know if antispoof also include the alias ip address(es) off > the given interface? It does: $ sudo ifconfig lo0 alias 1.2.3.4 netmask 255.255.255.255 $ ifconfig lo0 lo0: flags=8049 mtu 3320

Trying to compile cwm on Linux

2008-07-23 Thread Martin Toft
I'm trying to compile cwm (/usr/xenocara/app/cwm) on Linux, as I would like to use this very supreme window manager on all my non-OpenBSD systems as well. The version of cwm that I'm working with is from yesterday's -current (23rd of July, 2008). The Linux distribution is Ubuntu Feisty. I have ins

Re: Trying to compile cwm on Linux

2008-07-24 Thread Martin Toft
On Wed, Jul 23, 2008 at 10:55:01PM +0200, Martin Toft wrote: > I'm trying to compile cwm (/usr/xenocara/app/cwm) on Linux, as I would > like to use this very supreme window manager on all my non-OpenBSD > systems as well. The version of cwm that I'm working with is from >

Re: Trying to compile cwm on Linux

2008-07-24 Thread Martin Toft
On Thu, Jul 24, 2008 at 02:20:22PM -0600, Theo de Raadt wrote: > +#define strlcpy(dst, src, size) (strncpy((dst), (src), (size) - 1)) > +#define strlcat(dst, src, size) (strncat((dst), (src), (size) - 1)) > > That is utterly and completely wrong. Yep, I'm a noob when it comes to these kinds of

Re: make ls not show "dot-files" as root

2008-07-28 Thread Martin Toft
On Mon, Jul 28, 2008 at 07:07:55PM -0400, Ted Unangst wrote: > On 7/28/08, Jesus Sanchez <[EMAIL PROTECTED]> wrote: > > Can I make "ls" to NOT show > > the hidden files (.xinitrc , .vimrc, etc) when > > using as Root?? > > ls * > ls | grep -v ^. You need to escape the dot... e.g. grep -v ^\\\.

Re: make ls not show "dot-files" as root

2008-07-28 Thread Martin Toft
On Tue, Jul 29, 2008 at 01:16:22AM +0200, Martin Toft wrote: > You need to escape the dot... e.g. grep -v ^\\\. Two backslashes is enough. My attempt at being a smart ass failed :-)

Re: Trying to compile cwm on Linux

2008-08-01 Thread Martin Toft
On Thu, Jul 24, 2008 at 10:35:36PM +0200, Martin Toft wrote: > On Thu, Jul 24, 2008 at 02:20:22PM -0600, Theo de Raadt wrote: > > +#define strlcpy(dst, src, size) (strncpy((dst), (src), (size) - 1)) > > +#define strlcat(dst, src, size) (strncat((dst), (src), (size) - 1)) > >

Re: rthreads

2006-09-22 Thread Martin Toft
Sam Chill wrote: On 9/22/06, Anton Maksimenkov <[EMAIL PROTECTED]> wrote: May I ask about what is the current state of rthreads library? It was cool to hear about this excellent project, but I found nothing in tech@ and misc@ since old time... My $0.02. I don't know the offical status of the p

Re: openssh errata

2006-10-01 Thread Martin Toft
nikns wrote: http://www.openssh.com/report.html *patches and notes regarding OpenSSH* points to http://www.openbsd.org/errata.html Shouldn't there be seperate errata for openssh? If not, I should see there recent DoS security vulns that has been fixed in 4.4, but I don't see them there. Is the

Re: openssh errata

2006-10-01 Thread Martin Toft
Daniel E. Hassler wrote: Humm I just upgraded to 3.9-STABLE on 9/29/06 and ssh/sshd still show OpenSSH_4.3 I updated my 3.9 box from anoncvs.se.openbsd.org using 'cvs -q -d$CVSROOT up -rOPENBSD_3_9 -Pd' the 30th of September at approx 19:00 CEST (one day after you) and built kernel and userl

Re: Oldest Server you run

2006-10-12 Thread Martin Toft
Falk Husemann wrote: We're trying to put an old server to good use again and would like to know what's exactly the oldest machine running OpenBSD? We use an old Pentium 200 MHz, 32 MB RAM, two NICs, to seal of an old unpatched Windows 98 "server" from the rest of our network... (I can't do an

  1   2   >