Re: Execute startup script as

2010-04-10 Thread Christian Weisgerber
Mats-Gxran Karlsen wrote: > I'm trying to create a startup script that executes the transmission-daemon as > a regular user. > /usr/bin/sudo -u $USERNAME -p $PASSWD $DAEMON -g $CONFIGDIR You are going about this the wrong way. sudo(8) is primarily designed to give additional priviledges to an

Re: -current amd64 (#178): "NO PROPOSAL CHOSEN"

2010-04-09 Thread Christian Weisgerber
Toni Mueller wrote: > while playing around with the latest code as of today, off of CVS's > HEAD, I find that it sometimes takes considerable time to establish a > connection to a static peer, and while negotiating, the two isakmpds > sometimes send "NO_PROPOSAL_CHOSEN" to each other. After a whi

Re: customize CFLAG with /etc/mk.conf

2010-03-27 Thread Christian Weisgerber
Aaron Lewis wrote: > I read `man mk.conf' found there's no CFLAGS or CXXFLAG entries , > even though i tried to > put `CFLAG += -O3 -march=i686' into that file , but ports doesn't > recognize it. No such variable is used by the ports infrastructure. Note the name, CFLAG is not the sam

Re: HIFN 7955 Support in OpenBSD 4.6 on AMD Geode LX800 System

2010-02-19 Thread Christian Weisgerber
Liam Farr wrote: > The 'numbers' are in 1000s of bytes per second processed. > type 16 bytes 64 bytes256 bytes 1024 bytes 8192 bytes > aes-128-cbc193.60k 681.73k 2049.24k 6516.71k12357.51k > aes-256-cbc188.07k 656.00k 2048.68k

Re: IPSEC: "bad checksum"

2010-01-21 Thread Christian Weisgerber
Toni Mueller wrote: > today I see tons of these on a 4.6-stable/amd64 machine (sample): > > 17:21:00.848135 esp 1.1.1.1 > 2.2.2.2 spi 0x54d46678 seq 132642 len 84 > (DF) (ttl 64, id 49897, len 104, bad cksum 0! differs by 8b3c) This looks like outgoing packets on an interface that does IPv4 hea

Re: What does your environment look like?

2010-01-04 Thread Christian Weisgerber
Daniel Andersen wrote: > > unclutter > I'm idle enough to google for "unclutter". I hereby thank you for directing > me to yet another great utility. If you just want xterm to be uncluttered, you can simply set XTerm*pointerMode: 1 in your X11 resources. -- Christian "naddy" Weisgerber

Re: ldconfig: default path?

2009-12-30 Thread Christian Weisgerber
Marc Espie wrote: > > > I also don't see how these directories got in the search path in > > > the first place. > > > > Something has called "ldconfig -m" during the build. > And you can use ldconfig -U to remove them. > > I don't know about a "long list of directories". These days, there are a

Re: ldconfig: default path?

2009-12-30 Thread Christian Weisgerber
Toni Mueller wrote: > I have now discovered that I overlooked the setting of /usr/local/lib > in /etc/rc. But it seems to mean that I have to re-run ldconfig > every time I install a new shared library, or programs depending on it > won't find it. Yes. Note that if you install a port/package, th

Re: Has anyone a dual head monitor Matrox G450 G550 or G650 graphics card working with OpenBSD 4.6?

2009-12-23 Thread Christian Weisgerber
chefren wrote: > Has anyone a dual head monitor Matrox G450 G550 or G650 graphics card > working with OpenBSD 4.6? Probably not. From mga(4): Support for the second head on G400 cards requires a binary-only "mga_hal" module [...] That module also provides various other enhancements,

Re: Azalia and ac3

2009-12-20 Thread Christian Weisgerber
Chris Bennett wrote: > I've just gotten a new setup with azalia > > Can I output ac3 with something like mplayer to spdif and then decode it > externally? In principle, yes. In practice our mplayer port lacks a small patch to make this possible. > Or even better, decode it internally and out

Re: New Western Digital disks will have 4KB block size - issue?

2009-12-17 Thread Christian Weisgerber
Kenneth Westerback wrote: > 4K sectors themselves should work ok as we already do that for ffs on > CD media. Which works the last I checked. ... and is irrelevant. The drives under discussion use 4 kB sectors internally but present the usual 512-byte blocks to the outside. -- Christian "nadd

Re: A question about puting OpenBSD on a Soekris

2009-12-15 Thread Christian Weisgerber
stan wrote: > OK with one resevation you have convinced me. Let's eliminate teh > reservation. One of the features of the system I chose was that it mounts > the flas RO, and uses memory filesystems for volatile stuff. Is this no > longer important? The only point of mounting filesystems read-on

Re: A question about puting OpenBSD on a Soekris

2009-12-15 Thread Christian Weisgerber
Jonathan Thornburg wrote: > For example, 2 years ago I set up a home firewall using a 1GB > Kingston CF card. For precisely the reasons Nick Holland outlined, > I used a standard OpenBSD install (done by plugging the CF card into > a USB-to-CF adaptor and then connecting the USB to my laptop).

Re: building sbin/route on -current?

2009-12-07 Thread Christian Weisgerber
James Hartley wrote: > I updated my local source tree Tuesday. Rebuilding the kernel went fine, > but building userland failed at sbin/route with the following messages: > > ===> sbin/route > cc -02 -pipe -nostdinc -idirafter /usr/dest/usr/include -c > /usr/src/sbin/route/route.c > cc -02 -pipe

uthum1

2009-12-04 Thread Christian Weisgerber
Why does a uthum(4) unit show up as two devices? The sensors are only attached to the second one. uhidev2 at uhub2 port 2 configuration 1 interface 0 "Ten X Technology, Inc. TEMPer sensor" rev 1.10/1.50 addr 4 uhidev2: iclass 3/1 uthum0 at uhidev2 uhidev3 at uhub2 port 2 configuration 1 interfac

Re: Security via the NSA?

2009-11-26 Thread Christian Weisgerber
Marco Peereboom wrote: > Never mind no one verifying any of the keys or anything else that SSL > spits out. I am talking to you firefox! That's pretty strange coming from the guy who complained the loudest about recent Firefox releases that actually try to enforce the chain of trust for certifi

Re: Security via the NSA?

2009-11-23 Thread Christian Weisgerber
Nick Guenther wrote: > Like, obviously the NSA's mandate is spying Actually, that's only half the NSA's mandate. The other half is protecting the US government from spying. -- Christian "naddy" Weisgerber na...@mips.inka.de

Re: cvsup on 4.6 amd64

2009-11-07 Thread Christian Weisgerber
Andres Genovez wrote: > I tried to search this package for amd64 but I can4t find it, myabe some > advice? cvsup is written in Modula-3 and we only have a Modula-3 compiler for i386. If you are just looking for a CVSup client, use csup. It's mostly drop-in compatible with cvsup and available o

Re: powering off with shutdown -hp?

2009-10-28 Thread Christian Weisgerber
Remco wrote: > If I remember correctly, the following hack in /etc/sysctl.conf worked for > me on a Pentium II machine: > machdep.apmhalt=1# 1=powerdown hack, try if halt -p doesn't work It does work for my Pentium III-based Thinkpad A20m. -- Christian "naddy" Weisgerber

Re: OpenBSD -current Xterm cyrillic problem

2009-10-17 Thread Christian Weisgerber
Christian Weisgerber wrote: > > "Warning: could not change ownership of tty -- pty is insecure!" > > Yes, luit(1) needs to be fixed to use openpty(3). have fixed this during p2k9. -- Christian "naddy" Weisgerber na...@mips.inka.de

Re: script

2009-10-15 Thread Christian Weisgerber
igor denisov wrote: > I cannot figure out what is wrong with the following code > > #! /bin/ksh > for (( i=9; i>0; i-- )) OpenBSD's ksh is based on pdksh, which in turn is patterned on ksh88. The "for ((... ; ... ; ...))" construction was only introduced with ksh93, so our ksh doesn't have it.

Re: Linker errors I don't understand

2009-10-14 Thread Christian Weisgerber
> cc -std=gnu99 -O2 -pipe -Wall -W -o .libs/tiffmedian tiffmedian.o > -L/usr/local/lib -L../libtiff/.libs -ltiff ../port/.libs/libport.a -ljpeg -lz > -lm -Wl,-rpath,/usr/local/lib > /usr/bin/ld: ../libtiff/.libs/libtiff.so.38.2: invalid string offset > 3503345872 >= 4739 for section `.dynstr' T

Re: Linker errors I don't understand

2009-10-14 Thread Christian Weisgerber
Philip Guenther: > > This happens at least on amd64 and sparc64, but not on i386: > > ---> > > cc -std=gnu99 -O2 -pipe -Wall -W -o .libs/tiffmedian tiffmedian.o > > -L/usr/local/lib -L../libtiff/.libs -ltiff ../port/.libs/libport.a -ljpeg > > -lz -lm -Wl,-rpath,/usr/local/lib > > /usr/bin/ld

Linker errors I don't understand

2009-10-13 Thread Christian Weisgerber
I'm currently stuck on two (unrelated) linker errors that I don't fully understand and where I have no idea at all how to proceed. This happens at least on amd64 and sparc64, but not on i386: ---> cc -std=gnu99 -O2 -pipe -Wall -W -o .libs/tiffmedian tiffmedian.o -L/usr/local/lib -L../libtiff/

Re: OpenBSD -current Xterm cyrillic problem

2009-10-05 Thread Christian Weisgerber
wrote: > I am running openbsd -current (the new installer is great :) ). > X11 worked out of the box, i added only Cyrillic fonts and > Xkb keyboard layout switching. > > Locale is set with "LC_CTYPE=ru_RU.KOI8-R" in /etc/profile. Given OpenBSD's close-to-nonexistent locale support, you may be

Re: OT: Laptop advice. SSD costs.

2009-09-23 Thread Christian Weisgerber
Christian Weisgerber wrote: > Lenovo also has an SSD for the X40/X41 as replacement part FRU41W0736. > Well, I just ordered one of the Lenovo drives. I'll see how that > works out. Got it yesterday and put it in my X40. wd0 at pciide0 channel 0 drive 0: wd0: 16-sector PIO

Re: xterm: cannot type some iso8859-2 characters [semisolved]

2009-09-15 Thread Christian Weisgerber
Jan Stary wrote: > Indeed, specyfying -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso8859-2 > confuses xterm - the checked characters don't appear at all. -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1 -- Christian "naddy" Weisgerber na...@mips.inka.de

Re: OT: Laptop advice. SSD costs.

2009-09-14 Thread Christian Weisgerber
Oliver Peter wrote: > > I don't think there is any SSD available that (1) can be fitted > > into an X40/X41, (2) is available in 64 GB or more, and (3) has > > reasonable performance for small random writes. > > KingSpec-1-8-IDE-SSD-MLC-64GB Indeed. Lenovo also has an SSD for the X40/X41 as re

Re: OT: Laptop advice. SSD costs.

2009-09-14 Thread Christian Weisgerber
Edd Barrett wrote: > I have located someone willing to sell me an X41 tablet at a very > affordable price, however this is the model with the sucky hitachi > disk. I have seen that you can get SSD adaptors for X41's and slap an > SSD in there, Careful, even with an adapter you can only fit a dri

Has IPsec slowed down?

2009-09-02 Thread Christian Weisgerber
I seem to remember that I could push some bulk data (scp) to my laptop at .11g speed and the net5501 doing the IPsec encryption for the wireless link had under 50% CPU usage. Now it's more like 80%. Standard AES(-128-CBC), which is accelerated by glxsb(4), and HMAC-SHA1. Am I simply misrememberi

Re: xterm: cannot type some iso8859-2 characters

2009-08-15 Thread Christian Weisgerber
Jan Stary wrote: > 4.6-current on a HP EliteBook 8530w. I cannot get xterm > to let me type some iso8859-2 (Czech) characters. xterm will only accept characters valid for the encoding it uses. By default, that encoding is ISO8859-1. > some letters show up correct and some don't. Namely, the acu

Re: tmux vs screen questions

2009-07-13 Thread Christian Weisgerber
Nicholas Marriott wrote: > > use a terminal description that does have it such as xterm-color or > > xterm-xfree86. > > This causes problems fora lot of people, I don't think there are any b&w > xterms > out there Any xterm from a codebase older than 1996 or so. and recent ncurses

Re: scrub -> match scrub

2009-06-21 Thread Christian Weisgerber
Christian Weisgerber wrote: > Or is scrub max-mss really broken? This has been resolved. It has been pointed out to me that tcpdump sees the packets before pf, so the inbound mss fixup hasn't been applied yet. Looking at packets routed to another host shows that max-mss scrubbing for

scrub -> match scrub

2009-06-21 Thread Christian Weisgerber
I updated my home gateway from 4.5-stable to -current and consequently had to update the scrub part of my pf.conf. Old: scrub on enc0 inet6 all max-mss 1362 scrub on enc0 inet all max-mss 1398 scrub in all scrub out on $ext4 all max-mss 1440 New: match on enc0 inet6 all scrub (max-mss 1

Re: 'xterm -e mutt' doesn't show colors

2009-06-17 Thread Christian Weisgerber
Todd T. Fries wrote: > Try TERM=xterm-color That's not the issue. TERM=xterm-xfree86 does include color support and is generally the best description of our xterm's capabilities. -- Christian "naddy" Weisgerber na...@mips.inka.de

Re: 'xterm -e mutt' doesn't show colors

2009-06-17 Thread Christian Weisgerber
Pieter Verberne wrote: > When I run mutt (or tmux/colorls -G/etc) from xterm, I have fancy > colors=] But when I run: > > $ xterm -e mutt > > I don't have colors =[ > $ echo $TERM > xterm-xfree86 Where is TERM set? I suspect "xterm -e ..." simply doesn't pick up this setting. When you run "

Re: List of old forked or frozen code like apache that needs cleanup?

2009-06-04 Thread Christian Weisgerber
Mic J wrote: > Also i would like wireshark ;) but thats a contreversial subject. There's nothing controversial about it. You just need to privilege-separate it. -- Christian "naddy" Weisgerber na...@mips.inka.de

Re: UTF-8 on the file system?

2009-05-13 Thread Christian Weisgerber
Toni Mueller wrote: > > OpenBSD does not restrict or interpret filenames in any way, apart > > from the obvious: / and NUL are not allowed in filenames. > > I guess, but don't know, that NUL is not part of any UTF-8 character... Being able to use it with a Unix-style filesystem is one of UTF-8'

Re: OT: 10GbE Physical Network Taps

2009-05-06 Thread Christian Weisgerber
openbsd misc wrote: >NSA,MI(x)/GCHQ,ASIO and their vendor friends would beg to differ. That would be DSD rather than ASIO, I think. (Since we are already wildly off-topic.) -- Christian "naddy" Weisgerber na...@mips.inka.de

Re: azalia - I don't get SPDIF working

2009-04-07 Thread Christian Weisgerber
Dirk Mast wrote: > perhaps this is just some stupid "where is the unmute button thing", but I > don't get it working (no sound with aucat started or the other way). > > azalia0 at pci0 dev 27 function 0 "Intel 82801I HD Audio" rev 0x02: apic 2 > int 22 (irq 14) > azalia0: codecs: Realtek ALC885

Re: Where did the donation money go, Wim?

2009-04-02 Thread Christian Weisgerber
Theo de Raadt wrote: > I have been in commuinication with a few people who have told me > stories that Wim received donations, obviously meant for the OpenBSD > project, collected at European conference tables -- and that this > money has not made it to the OpenBSD project. At all the European c

Re: shell history and page-up

2009-04-02 Thread Christian Weisgerber
Chris wrote: > I am trying to get the shell history with page-up but looks like it's > not working. Do you really mean page-up, not cursor-up? -- Christian "naddy" Weisgerber na...@mips.inka.de

Re: European orders

2009-03-31 Thread Christian Weisgerber
Daniel Seuffert wrote: > Isn't there any OpenBSD guy defending Mr. Wim Vandeputte, a man > having promoted OpenBSD year in and year out and having supported the > project in Europe like nobody else probably? As you probably know, I've been behind the counter at Wim's booth many times. All this

Re: Parallel build in ports - make -j4

2009-03-26 Thread Christian Weisgerber
Marc Espie wrote: > > > export PARALLEL_BUILD=Yes > > > export MAKE_JOBS=4 > > > > N.B. this does not work with all ports. > > Yep, does not work with all ports. And I still have stuff I need to fix > in make itself before we even think of fixing the ports that don't work I'm not happy with th

Re: nroff -mandoc alternative

2009-03-01 Thread Christian Weisgerber
Kristaps DE>onsons wrote: > Hello, if anybody's interested in an alternative to groff for viewing > BSD "mdoc" manual pages, I'm actively looking for patches and problem > reports for mdocml. From the site : Does this also handle man(7) or only mdoc(7)? -- Christian "na

Re: VLAN Priority/802.1p

2009-02-26 Thread Christian Weisgerber
Insan Praja SW wrote: > I understand that we can have vlan priority on vlan interfaces. Yes. It should work, but it has seen little testing. > My question is, can OpenBSD process these 802.1p tags for CoS/QoS purposes? > In PF we can mark/tag/process traffic by its DSCP code. Can we do >

Re: Vlan Tag on Vlan Tag (l2tunneling)

2009-02-18 Thread Christian Weisgerber
Sam Fourman Jr. wrote: > > here is another approach defining QinQ-compliant interfaces as a new > > cloner type; so you can stack 0x88a8 devices as you wish and it > > doesn't need a new button in ifconfig. > > I have looked in the cvs commit logs, and I am unable to determine if > this patch wa

Re: ntp strangeness

2009-01-30 Thread Christian Weisgerber
Alexander Yurchenko: > > > I ran tcpdump on the server listening for packets from 224.0.1.1 to know > > > when it's transmitting, > > > > OpenBSD's ntpd doesn't use multicast. What the heck are you talking > > about? > > may be PTP. No, 224.0.1.1 is NTP, alright. PTP defaults to 224.0.1.129.

Re: ntp strangeness

2009-01-30 Thread Christian Weisgerber
Steve Laurie wrote: > I have one machine setup as a NTP server and another setup as couple of > others setup as NTP clients. > > I ran tcpdump on the server listening for packets from 224.0.1.1 to know > when it's transmitting, on the default router machine that's running pf as > well > as on t

Re: packer for C++ Executbales

2009-01-28 Thread Christian Weisgerber
new_guy wrote: > I searched the packages list, but did not see any. Does anyone use a packer > such as UPX on OpenBSD? 1. No. 2. There is gzexe(1). -- Christian "naddy" Weisgerber na...@mips.inka.de

Re: isakmpd does not initiate quick mode after main mode is established

2009-01-25 Thread Christian Weisgerber
Christoph Leser wrote: > I'm still struggling to keep my ipsec vpns running smoothly. FWIW, I mostly use IPsec on my home WLAN and I observe a similar lack of reliability. My laptop sets up two IPsec associations, one IPv4 and one IPv6, and from time to time one of these or both fail inexplicab

SSH cipher preference change (was: Re: CVS: cvs.openbsd.org: src)

2009-01-23 Thread Christian Weisgerber
Damien Miller wrote: > Modified files: > usr.bin/ssh: myproposal.h > > Log message: > prefer CTR modes and revised arcfour (i.e w/ discard) modes to CBC > modes; ok markus@ This means that ssh's default cipher will no longer profit from hifn(4) or glxsb(4) acceleration. People relyi

Re: uxterm and backspace

2008-12-29 Thread Christian Weisgerber
Jan Johansson wrote: > start an "uxterm" > > I then run cat and type four swedish characters and then try to > backspace two of them. The display is updated correctly but > hitting enter shows that only one of the characters was erased. Yes. Those "Swedish characters" are encoded as two-byte s

Re: Transport Mode ipsec(4) and inet6(4) gre(4)

2008-12-25 Thread Christian Weisgerber
Brian A. Seklecki wrote: > I haven't looked if we have support, but gre(4) w/ ipv6 address and stf(4) > seem to be best options out there for secure v6 tunnels. That sounds... bizarre. > I'm wondering if a tranditional ipv6 isakmp(8) ipsec tunnel (using IPv4 > enpoints?!) is a safe alternativ

Re: pppoe not reconnecting

2008-12-23 Thread Christian Weisgerber
Toni Mueller wrote: > I have installed cron jobs, though, which detect the situation and > try to speed up recovery by killing the (probably) wegded pppoe and ppp > programs, and run this every one or two minutes. I guess I should have been clearer, but I've been talking about pppoe(4), i.e., ke

pppoe not reconnecting

2008-12-20 Thread Christian Weisgerber
Every few weeks...months, the PPPoE session for my ADSL line goes away (some time during the night) and is not reestablished. The corresponding pppoe interface is down, state "initial", a number of PADIs have been sent, but no further retries seem to be happening. When I become aware of the proble

Re: package integrity, security and checks. .... where are they ?

2008-12-17 Thread Christian Weisgerber
Jacob Yocom-Piatt wrote: > the next best option i can think of is to have the hashes (sha256 and/or > others) fetched via ssh from a trusted site, e.g. your nearest anoncvs > server. it avoids the gnupg requirement but is still susceptible to mitm > on key fingerprints, etc. if you can't trust

azalia: >16-bit audio?

2008-12-14 Thread Christian Weisgerber
Something of an idle question: According to audioctl, my azalia device only supports 16-bit audio, but according to the data sheet the codec also offers 20- and 24-bit audio. Are there any plans to add support for this? No, I have no idea what you would actually use this for. In particular, I do

Re: slow read/write performance with compact flash at PCMCIA

2008-12-11 Thread Christian Weisgerber
Michael wrote: > I've got me a PCMICA adapter for compact flash cards. It is recognized > and basically works, but the read/write performance is really bad. Yes. These purely mechanical adapters don't support DMA and all data must be transferred by the CPU with very, very slow accesses (8 MHz I

Re: pf drops fragged IPv6 unconditionally

2008-12-05 Thread Christian Weisgerber
Todd T. Fries <[EMAIL PROTECTED]> wrote: > but .. the bottom line is, 'pf' only has support for reassembling > IPv4 fragments, not IPv6. And yes, this renderes a stateful filtering > firewall mostly moot until this is fixed for IPv6, to be clear. If you can get by with TCP... > Theory suggests

Re: CARP with a single public IP address

2008-12-05 Thread Christian Weisgerber
Paul de Weerd <[EMAIL PROTECTED]> wrote: > | In a world where PPP-over-Ethernet-over-ATM is the norm, adding an > | "IPv6 transport protocol" layer isn't all that absurd. > > Please tell ISP's ;) I meant "IPv6 transport protocol" == IPv4. -- Christian "naddy" Weisgerber

Re: ahci questions

2008-12-05 Thread Christian Weisgerber
frantisek holop <[EMAIL PROTECTED]> wrote: > "Implementation of the Advanced Host Controller Interface > Specification requires a license from Intel." If you build a chipset with an AHCI interface, you need a license. Chip design is outside the purview of OpenBSD, I think. > my last

Re: CARP with a single public IP address

2008-12-05 Thread Christian Weisgerber
Paul de Weerd <[EMAIL PROTECTED]> wrote: > So I'd disagree with your 'by definition' (given the counterexample), > but sadly there is not enough native v6 around and we have to resort > to nasty hacks (tunneling). As much as I appreciate the likes of > SixXS, I really wish they were not required a

Re: libiconv problem

2008-11-29 Thread Christian Weisgerber
farhan ahmed <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] ssh 10.108.128.1 > [EMAIL PROTECTED]'s password: > -bash: can't load library 'libiconv.so.5.0' > connection to 10.108.128.1 closed > > I have libiconv.so.5.0 in /usr/local/lib. Either you don't or you screwed up your shared library cach

Re: libiconv problem

2008-11-29 Thread Christian Weisgerber
Stijn <[EMAIL PROTECTED]> wrote: > 1. don't log in remotely as root. There is no good reason not to. In fact, if you don't work on a machine and just have it sitting in a corner moving packets, there is no point in even creating a user account. > 2. don't use bash as shell for root. Or at leas

Re: Dump on soekris slow?

2008-11-14 Thread Christian Weisgerber
Tom Van Looy <[EMAIL PROTECTED]> wrote: > I use the dump script of openbsdsupport.org to backup the internal SATA > disk of my soekris to an external USB disk. > > > DUMP: 197357941 tape blocks > DUMP: Date of this level 0 dump: Thu Nov 13 23:03:31 2008 > DUMP: Volume 1 completed at: Fri N

Re: cvs, cvsup and xenocara advice

2008-11-13 Thread Christian Weisgerber
Girish Venkatachalam <[EMAIL PROTECTED]> wrote: > cvs is the revision control technology. You can use cvs to check out the > main OpenBSD repository to your local machine by which you only get the > files pertaining to the revision you ask. > > Whereas cvsup and cvsync are tools that fetch the en

Re: trunk(4), VLANs and MTU problems

2008-11-07 Thread Christian Weisgerber
Johan Strvm <[EMAIL PROTECTED]> wrote: > Back to the vlan/em thingy, if I use a vlan direct on top of the em > interface (without trunk) I actually get a 1500b MTU (thanks Johan > Fredin!).. > This would indicate that the em interface actually supports oversized > MTU frames, Of course it d

Re: fatal in rtadvd: getpwnam

2008-11-02 Thread Christian Weisgerber
Felipe Alfaro Solana <[EMAIL PROTECTED]> wrote: > After upgrading to OpenBSD 4.4, rtadvd now fails to come up: > > # rtadvd -d -s carp0 > RA timer on carp0 is set to 16:0 > fatal in rtadvd: getpwnam You failed to create the _rtadvd user and group. -- Christian "naddy" Weisgerber

Rare ntpd listen * failure

2008-10-28 Thread Christian Weisgerber
Very rarely, ntpd with a "listen *" configuration fails to start up for me, saying it can't bind to an address. As far as I can remember, that always happened to the very last address, a global IPv6 one. The condition is so rare, I'm not sure how I recovered from it on past occurrences. The last

Re: what exactly is enc0?

2008-10-15 Thread Christian Weisgerber
Vivek Ayer <[EMAIL PROTECTED]> wrote: > Can you put the "regular" smaller PCI cards (The majority of PCI > cards) in Suns? The Sun PCI port is bigger, but can smaller PCI cards > fit into these bigger ports? Those are just 64-bit PCI slots. Again, there is nothing Sun-specific about it. And yes

Re: what exactly is enc0?

2008-10-15 Thread Christian Weisgerber
Vivek Ayer <[EMAIL PROTECTED]> wrote: > On a related note, if enc0 is actually for something else, I have a > bunch of gigabit PCI ethernet cards, but these aren't Sun PCI. Is > there a workaround for this? You can put non-Sun PCI components into a Blade without problems. The firmware will not su

Re: Pentium III speed?

2008-09-16 Thread Christian Weisgerber
Christian Weisgerber <[EMAIL PROTECTED]> wrote: > Could people with a non-laptop Pentium III machine please send me > the results of Thank you, I have enough numbers. > I have an old Thinkpad A20m here and I accidentally discovered that > it has a rudimentary form of SpeedSte

Pentium III speed?

2008-09-16 Thread Christian Weisgerber
Could people with a non-laptop Pentium III machine please send me the results of $ md5 -ttt (on an idle machine) and their dmesg? I have an old Thinkpad A20m here and I accidentally discovered that it has a rudimentary form of SpeedStep and additionally changes speed between battery and mains po

Re: NTP offline local server question

2008-09-09 Thread Christian Weisgerber
G 0kita <[EMAIL PROTECTED]> wrote: > Hi all, I'm running a network simulation offline and wanted to have all the > computers synchronized to a single time source. It's easy to set up the > machines to query a central OpenNTP server but without an accurate time > source that central OpenNTP server

Re: [semi-OT] using IPv4 addresses in alternative formats (i.e. not dotted decimal notation)

2008-08-23 Thread Christian Weisgerber
ropers <[EMAIL PROTECTED]> wrote: > I only recently learned that when addressing an Internet server/host > by IPv4 address, it is possible to not use the standard dotted decimal > notation (abc.def.uvw.xyz) but instead use any of a number of > alternative formats; for example it is possible to spe

Re: console xterm

2008-08-13 Thread Christian Weisgerber
Etienne Robillard <[EMAIL PROTECTED]> wrote: > export TERM=cons25 Bad. > alias ls='colorls -FG' > > Sorry i confused freebsd console (cons25) with obsd console (vt220), but > with cons25 and colorls the console looks pretty.. ;) The proper terminal type would be TERM=wsvt25. The colorls pack

Re: tab gets lost on display

2008-08-07 Thread Christian Weisgerber
Ingo Schwarze <[EMAIL PROTECTED]> wrote: > In other words, a tab never makes xterm wrap to the next line. This matches VT220 behavior. > What i do not yet understand is why xterm has -oxtabs > by default but the terminfo(5) database has no OTpt for it. > Isn't that inconsistent? I don't follow.

Re: tab gets lost on display

2008-08-06 Thread Christian Weisgerber
Stuart Henderson <[EMAIL PROTECTED]> wrote: > Looks like an xterm bug. This works ok in a normal console, > and works ok in screen in a normal console, but fails in an > xterm or screen in an xterm. > > Let's make it easier for people to test; > > $ printf "1\t\t\t\t\t\t\t\t\t1234567\t123" I ha

Re: missing clue regarding IPv6, vlans & bridging

2008-07-29 Thread Christian Weisgerber
Paul de Weerd <[EMAIL PROTECTED]> wrote: > | Link-local v6 addresses also work fine because they don't involve > | neighbor discovery. > > Uhm, why ? > > 23:37:41.664994 00:0c:29:e5:f9:24 33:33:ff:ff:4d:0d 86dd 86: > fe80::20c:29ff:fee5:f924 > ff02::1::4d0d: icmp6: neighbor sol: who > has fe

Re: missing clue regarding IPv6, vlans & bridging

2008-07-29 Thread Christian Weisgerber
dermiste <[EMAIL PROTECTED]> wrote: > 1) from curry, I try to ping6 debruijn, but it says host unreachable > 2) from debruijn, I try to ping6 curry, and it works. > 3) from curry, I try to ping6 debruijn, and it works. This is very typical of multicast reception failing on one box (debruijn in yo

Re: keyboard encoding

2008-07-29 Thread Christian Weisgerber
Hannah Schroeter <[EMAIL PROTECTED]> wrote: > >> This is a box that has *no* PS/2 connectors any more. > > >But it still has a PS/2 keyboard controller. > > You're right: [...] > That's quite unfortunate though if you can't affect the non-X11 keyboard > mapping of secondary keyboards at all. If

Re: keyboard encoding

2008-07-28 Thread Christian Weisgerber
Hannah Schroeter <[EMAIL PROTECTED]> wrote: > Is your keyboard an USB one? I observe the same with an USB keyboard. > > - keyboard.encoding=us.swapctrlcaps has no effect (in > /etc/wsconsctl.conf) These settings only affect the _first_ keyboard in the system (wskbd0). Unfortunately, for a PC

Re: Dumb Alpha question?

2008-07-28 Thread Christian Weisgerber
Tor Houghton <[EMAIL PROTECTED]> wrote: > The supported hardware page for Alpha says that "most devices" for pci(4) > are supported. > > Does this mean that it will support a PCI SATA card with, e.g. a SiL3512 > chipset? I would expect it. However, SRM won't recognize the card so you can't boo

Re: Iwi, wireless bad behavior

2008-07-03 Thread Christian Weisgerber
Edd Barrett <[EMAIL PROTECTED]> wrote: > If you get the wep key (or network name) wrong when configuring iwi > network drivers the card becomes useless until you reboot. > > Is there a way of resetting the card altogether? I don't use WEP, so this may not be applicable, but when the card become

Re: Seamonkey Niggles (Date/Spelling)

2008-06-18 Thread Christian Weisgerber
Edd Barrett <[EMAIL PROTECTED]> wrote: > Does anyone know how to get the date formats in british in seamonkey > mail. The instructions here: http://kb.mozillazine.org/Date_display_format > do not seem to apply to OpenBSD. > > I have tried all sorts of combinations of the following variables: > L

Re: Are there any Open Source / Free Software vt220 / vt320 / vt400 terminal emulators out there?

2008-06-09 Thread Christian Weisgerber
Jon <[EMAIL PROTECTED]> wrote: > I am referring to the old hardware "dumb terminals", which had the vt320 > "standards" etc. A client of mine uses a legacy database application > that absolutely requires such an emulator (and is using Accuterm right The best VT220 emulator is the underappreciated

Re: Editing C with...

2008-05-04 Thread Christian Weisgerber
Marco Peereboom <[EMAIL PROTECTED]> wrote: > I am an old vi rat that finally caved to vim for several reasons. > [...] > * tab complete commands and filenames in command mode FWIW, nvi supports file name completion on the colon command line, you just have to enable it with the filec variable.

Re: What crypto card to buy?

2008-04-01 Thread Christian Weisgerber
Khalid Schofield <[EMAIL PROTECTED]> wrote: > I'm wondering what is the best crypto card to buy to use with openbsd to > do AES and blowfish and the SSL encryption. > > Is this the best buy? http://www.soekris.com/vpn1401.htm It's the only one readily available in the retail market. (If I'm mis

Re: xenocara CVS out of memory

2008-03-25 Thread Christian Weisgerber
James Hartley <[EMAIL PROTECTED]> wrote: > I experienced this problem last week, & searching through the archives > shows this had been chronicled some time back: > > http://marc.info/?l=openbsd-misc&m=119470113431785&w=2 > > CVSync servers running on AMD64 are problematic. No, they are not. (A

Re: ipsec help needed

2008-03-15 Thread Christian Weisgerber
Barry Commander <[EMAIL PROTECTED]> wrote: > I'm trying to secure my wireless network using ipsec. I have the client and > the router (both running a recent snapshot) communicating using esp > fine as indicated by tcpdump when I ping the router from the client. > However the problem I'd like to so

Re: Monitoring Battery...

2008-02-25 Thread Christian Weisgerber
Peter N. M. Hansteen <[EMAIL PROTECTED]> wrote: > notice the hw.sensors.acpibat0.* values. I haven't really looked for > anything that shows those values live or in a graphical form, but that > doesn't mean it doesn't exist or could not be easily ported from $elsewhere. ports/sysutils/xbatt: `xb

Re: rtorrent + OpenBSD = freeze

2008-02-19 Thread Christian Weisgerber
Paul Irofti <[EMAIL PROTECTED]> wrote: > Speaking of transmission, there's a grammar error/typo in DESCR-main: > > ``This is the command line and daemon clients.'' > > I think it should be: > > ``These are the command line and daemon clients.'' I intended "this" to refer to _this package_, but

Re: KSH and Bash problem with long commands

2008-02-12 Thread Christian Weisgerber
OBSD <[EMAIL PROTECTED]> wrote: > I have a small problem with the KSH and Bash on a OpenBSD 4.2. with very > long commands. > > and in my ~/.inputrc is > set horizontal-scroll-mode Off > > I found this setting in the man readline > http://www.openbsd.org/cgi-bin/man.cgi?query=readline&apropos=0&

Re: sh/ksh replacement for the following bash command

2008-02-08 Thread Christian Weisgerber
Michael <[EMAIL PROTECTED]> wrote: > I am looking for sh/ksh replacement for the following bash command: > > $ X="abcdefghi" > $ echo ${X:0:2} > ab echo ab Yes, I'm being facetious, but without context it's not clear what an appropriate "replacement" would be. Traditionally, the regular expres

Re: How to specify 256bit AES keys in Automatic Keying mode for ipsecctl

2008-02-07 Thread Christian Weisgerber
Jason Crawford <[EMAIL PROTECTED]> wrote: > While I was reading through the man pages for ipsec.conf and > ipsecctl, I noticed that for automatic keying there is no way to > specify any type of key size. I was wondering if anyone know of a way > to do that, because I am very interested in sett

Re: setting up a noiseless workstation

2008-02-02 Thread Christian Weisgerber
Martin Schrvder <[EMAIL PROTECTED]> wrote: > And where do you get a PCI graphics card with DVI capable of doing 1920x1200? Matrox Millennium P690 PCI. X.org doesn't have a driver for it, though. -- Christian "naddy" Weisgerber [EMAIL PROTECTED]

Re: rlpr for OpenBSD?

2008-01-29 Thread Christian Weisgerber
Pau Amaro-Seoane <[EMAIL PROTECTED]> wrote: > Does any of you have a workaround to print ps w/o resorting to cups? 1. Enable the two-line "rp" example entry in /etc/printcap and replace "printhost" with the hostname of your printer. 2. Start lpd: "sudo lpd" 3. Add "lpd_flags=" to /etc/rc.conf

Re: OpenBSD and ISDN TA

2008-01-09 Thread Christian Weisgerber
Diana Eichert <[EMAIL PROTECTED]> wrote: > > Simply question: does OpenBSD support ISDN? > > Simple answer: no Well, you can hook up ISDN TAs with a serial port that look like a dial-up modem (AT command set etc.). However, I think these have long since disappeared from the market. -- Christi

Re: Using Mail(1)

2007-12-24 Thread Christian Weisgerber
Pieter Verberne <[EMAIL PROTECTED]> wrote: > For example: I remove the word "almost". Now the line is just 64 > characters long so the paragraph from the word "lines" could just shove > up. Does VI has a function for this or can do it automaticly? Or are the > VI fans using FMT(1) for this? I hav

<    2   3   4   5   6   7   8   9   >