svnserve and SASL
Hi, I'm having trouble to get svnserve + SASL to work under OpenBSD 4.7 stable. When I try to checkout I always get: svn: Authentication error from server: SASL(-13): user not found: no secret in database Here is my config: # cat /var/svn/myrepo/conf/svnserve.conf [general] # anon-access = read # auth-access = write # password-db = passwd # authz-db = authz realm = myrepo [sasl] use-sasl = true # min-encryption = 0 # max-encryption = 256 # cat /usr/local/lib/sasl2/subversion.conf pwcheck_method: auxprop auxprop_plugin: sasldb sasldb_path: /etc/svn-sasldb2 mech_list: ANONYMOUS DIGEST-MD5 This is how I create the user: # saslpasswd2 -c -f /etc/svn-sasldb2 -u myrepo username Some questions which might help me to debug/solve the problem: - can I get SASL to log somewhere on the server (I tried log_level: 7 in subversion.conf without success already)? - what is the correct name for SASL app config file: /usr/local/lib/sasl2/svn.conf or /usr/local/lib/sasl2/subversion.conf or what? - what is the correct sasldb_path in this file: with or without .db extension (saslpasswd2 seems to append .db automatically)? - do I need to add some special flags or something to use saslpasswd2 with DIGEST-MD5 or should I create the svn-sasldb2 in a different way? Any hints are welcome. Thanks in advance, Regards, JC6rg
Re: pf and ftp-proxy active/passive problems
On Thu, 3 Jun 2010 23:43:29 +0300 Teemu Rinta-aho wrote: > On Jun 3, 2010, at 11:26 PM, Teemu Rinta-aho wrote: > > I call it a day. > > Or maybe not. > > Case closed. I found out that even though I followed > the instructions and inserted the required lines > to my pf.conf as per ftp-proxy man page, they were in > a wrong place. Now when _both_ the anchor and the ftp > port redirection rule are the first rules in the ruleset, > everything works as expected. The error came when I > upgraded from 4.6 and the nat-anchor and rdr-anchor > were removed but I didn't move the ftp-proxy anchor > before other nat rules. > > I think the ftp-proxy man page could hint something > like "insert these lines into pf.conf before any other > translation rules". It could help people like me. > Or hopefully they just find this thread with Google. > > Thanks for your patience and thanks for the pf. > > Teemu > Thank you very much for this hint, I had exactly the same problem. Regards, JC6rg
Re: Hosting at Strato.de: anybody using PowerServer L with Opteron 1212 HE?
Hi, On Thu, 10 Jun 2010 20:27:22 +0200 Markus Hennecke wrote: > >> A guy > >> working at Strato told me that it was left out for marketing reasons > >> to make the virtual servers look better. > > > > He seems to be wrong. > > I think I did not formulate the sentence right, he said that they left > it out of the description because of marketing reasons. His server got a > serial console too, but it is not on the page with the server features > from where you can order a server. Oh I checked it and they seem to changed it. Some weeks ago as I ordered the server it was definetly listed. > > > >> Ok, marketing and reason in > >> one sentence does not make any sense. I still got the old "M" server > >> with the athlon and I have to disable ACPI to make it run correctly. > > > > I did not need to disable ACPI. > > Which mainboard and CPU does your server got? As promised in the offer: 1210 Opteron. > Mine is still an Athlon > 3200+ with a mainboard that uses nvidia crap. Yes, I have been using > this server a for some releases of OpenBSD :) I have no idea about the mainboard, dmesg says something about FUJITSU SIEMENS D2461-C1 According to dmesg at least memory seems to be nvidia too. Regards, JC6rg
Re: Hosting at Strato.de: anybody using PowerServer L with Opteron 1212 HE?
Hi, On Wed, 9 Jun 2010 18:00:24 +0200 Alexander Farber wrote: > Now after few years I'd like to upgrade to their > "PowerServer L" with Opteron 1212 HE CPU > http://www.strato.de/server/dedicated/power/linux/ > > Is anybody already using such a server, > does it work with the latest OpenBSD? I have a "PowerServer M" with Opteron 1210 which runs fine with 4.7-stable and native(!) IPv6. I used a slightly modified version of this: http://wiki.bsdforen.de/howto/strato_mr2_openbsd for initial installation procedure since dettus.net was not really working for me cause of MBR boot issues (probably my fault). > (Also I guess I should take amd64 there?) Yes. Regards, Joerg
ral(4) questions
Hi, I have a ral(4) working fine in Host AP mode on a 4.6-stable box: # dmesg | grep ral ral0 at pci1 dev 6 function 0 "Ralink RT2561" rev 0x00: irq 11, address 00:19:db:96:93:95 ral0: MAC/BBP RT2561C, RF RT2527 If I understand the manpage correctly this chip should support 802.11a. But when I try to set the mode to 11a it just stays in 802.11g: # ifconfig ral0 | grep media media: IEEE802.11 autoselect mode 11g hostap # ifconfig ral0 mode 11a # ifconfig ral0 | grep media media: IEEE802.11 autoselect mode 11g hostap Some questions on this: 1. Any hints on how to enable 11a? I guess I do something wrong here? 2. Since I only get ~1-2MByte/s in a very short range I bought a "bigger" antenna and tried to increase the txpower, but it looks like the "default" value of 100dbm is already the maximum possible value - is that correct? 3. Is 802.11e implemented and enabled with this device? 4. Is it possible to do WDS with this devive (together with another WDS supporting device, like Airport)? I only found references which suggest that WDS is not available with OpenBSD at all - is that true? If not true how can I use WDS on OpenBSD? Thanks in advance, Regards, JC6rg
Re: svnd vs softraid for encrypting /home et al
Hi, On Mon, 2 Nov 2009 21:35:45 -0400 Ted Unangst wrote: > softraid offers a few advantages. > > 1. Better crypto. The crypto algorithm currently used by softraid is > designed a little better. It could, in theory, also use hardware, > except the choice of algorithm actually prevents that. doh. At the > very least, if you decided you needed hardware acceleration, a small > change to the code would enable it, whereas with svnd it's a pretty > major change. > > 2. Efficiency. The filesystem in a filesystem incurs more overhead. > There's also the fact that svnd goes through the crazy parts of the > buffer layer more than you probably want to. Not a big deal, you > probably don't notice it much. > > 3. Administration. softraid is still under development, and the > tools and support for it will continue to improve. In particular, > without making promises, softraid autodiscovery is a possibility and > will likely work better than anything you cook up with vnconfig. > > The only advantage I can think of for svnd is that it's stabler code > and won't be changing in the future, but that's exactly what makes > softraid better. Today, they are about equal, but softraid support is > going to get better, svnd will not. I have one advantage to mention: I have done some comparison measurements (with bonnie benchmark) and some self-written dd scripts under 4.5 - result: in my setup svnd seems to be much faster. I think this is maybe related to the 1. point because (better) crypto is slow(er). Regards, Joerg
Re: weird diffs in cvsweb
Hi, On Wed, 8 Oct 2008 17:01:03 -0400 "Ted Unangst" <[EMAIL PROTECTED]> wrote: > On Wed, Oct 8, 2008 at 4:32 PM, Matthias Kilian > <[EMAIL PROTECTED]> wrote: > > On Wed, Oct 08, 2008 at 10:08:03PM +0200, Otto Moerbeek wrote: > >> > > Is CVSWEB broken? > >> > > >> > No, that's just the way CVS keywords work: the expansion is done > >> > at *checkout* and not at commit. This can be seen using the -ko > >> > option to "cvs up" or "cvs co" to disable the expansion done at > >> > checkout time. Just trust what you see on the revision listing > >> > and ignore the keywords in the diff output. > >> > > >> > (Beware: the -k option is normally 'sticky', so if you use -ko > >> > you should either combine it with -p to just send the output to > >> > stdout (in which case the -ko isn't sticky) or do a fresh update > >> > with -A to 'unstick' it. Of course, the -A will also clear any > >> > -r option you had...) > > [...] > >> but when I do a > >> > >> cvs diff -r 1.94 -r 1.95 if_tun.c > >> > >> on my local mirror i'm seeing the right $OpenBSD$ markers. > > > > What's right and what's wrong? Try > > > > $ cvs -q di -ko -r1.9{4,5} if_tun.c > > > > I guess cvsweb is using -ko for diffs, to show the diffs in the > > *repository*, not what you would see in a working directory. > > I think it used to show diffs that looked more like the command line > versions, because I've never noticed they were wrong before, and I've > certainly looked at them in the past. Sorry for hijacking this thread, but I stumbled today over this error in cvsweb if downloading any file: "Error: Unexpected output from cvs co cvs checkout aborted Absolute module reference invalid /ports/devel/geany/MakefilepbCheck whether the directory /cvs/CVSROOT exists and the script has write-access to the CVSROOT/history file if it exists.brThe script needs to place lock files in the directory the file is in as well./b" http://www.openbsd.org/cgi-bin/cvsweb/~checkout~/ports/devel/geany/Makefile?rev=1.17&content-type=text/plain Maybe (unlikely) this has something todo with the issues mentioned above. If this error is already known or wanted, then sorry for the noise. Regards, Joerg
Re: pppoe problems
oh this is exactly the same behavior as mine... which architecture did you use? i use amd64. On Fre Aug 10 10:40 , Gregory Edigarov sent: Hi! Umaxx wrote: > > > i hope this stupid webmailer does not send this as html mail > > can you please give more details? is your userland ppp connecting? did > you use snapshot or recent current? > Yes, with most recent sources from cvs my userland ppp is connecting... But hangs shortly. First I thought it is the problem in the nfe driver, but after switching to rl it hangs too. So, it definitely not a problem with underlaying device. If I ping the other site (no matter which), I could see that it hangs after some 25 - 30 (depending on the situation) pings. > > > is your kernel pppoe connecting or what happens exactly? > My kernel mode pppoe even does not connect, though I've tried any option for many times. After looking at sources, it seems like something, in case of userland ppp, is screwed up with locks, possibly in if_tun.c, but I am not sure yet. In case of kernelmode pppoe - I can never use it . It never connect to any of my providers. > > maybe as cc to the list. > > regards, > > > > joerg > > > *On Don Aug 9 15:18 , Gregory Edigarov sent: > > * > > Just want to make a confirmation with two other providers. Also I > observe this behavior with both pppoe(4) and pppoe(8). > > Umaxx wrote: > > resend, since stupid webmailer killed linebreaks: > > > > > > > > hi, > > > > after upgrading my router to -current the dsl pppoe connection > does not work > > anymore. > > userland ppp connects fine but freezes after K30 seconds. > freeze means the > > connection is still there no errors shown in logs and ifconfig > state is normal > > but there is no more incoming traffic. the provider and modem > hardware is ok > > since i'm connected now through a netscreen to write this mail. > i changed > > nothing > > in ppp configuration since years and disabled pf for testing... > same problem. > > as i can see in source changes: not much has changed in userland > ppp and nfe > > code > > since 4.1. > > > > i read in some forums that it would be better to user kernel > pppoe... > > so i tried to use kernel pppoe as workaround, but its does not > connect. i used > > following configuration in /etc/hostname.pppoe0: > > > > inet 0.0.0.0 255.255.255.255 0.0.0.1 pppoedev nfe1 \ > > authproto pap authname authkey up > > !/sbin/route add default 0.0.0.1 > > > > and of course: "up" in /etc/hostname.nfe1 > > > > if i enable debug i see a lot of outgoing packages... and then a > timeout after > > a > > while. reconnect and again the same... > > it stays in the sppp phase of "establish connection using pap > authname " > > > > I'm located in germany using arcor as provider. > > anyone else using dsl pppoe (kernel/userland) in current or > latest snapshots - > > maybe in germany with arcor? > > > > any hints are really welcome. > > dmesg follows > > > > regards, > > > > joerg > > > > OpenBSD 4.2 (GENERIC.MP) #0: Wed Aug 8 17:31:49 CEST 2007 > > [EMAIL PROTECTED] .local > [EMAIL PROTECTED] .local','','','')>:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > real mem = 2145972224 (2046MB) > > avail mem = 2072682496 (1976MB) > > mainbus0 at root > > bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xf (78 entries) > > bios0: vendor Phoenix Technologies, LTD version "ASUS M2N32-SLI > DELUXE ACPI > > BIOS > > Revision 0603" date 06/27/2006 > > bios0: ASUSTeK Computer INC. M2N32-SLI DELUXE > > acpi0 at mainbus0: rev 0 > > acpi0: tables DSDT FACP SSDT MCFG APIC > > acpitimer at acpi0 not configured > > acpimadt0 at acpi0 addr 0xfee0: PC-AT compat > > cpu0 at mainbus0: apid 0 (boot processor) > > cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 4600+, 2411.34 MHz > > cpu0: > > > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS > > H,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW > > cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, > 512KB 64b/line > > 16-way L2 cache > > cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully > associat
Re: pppoe problems
hi, i can show my ppp.conf, because i have the same errors. this config was working since years, i tried to comment lqr lines today... but changed nothing in behavior. default: set log Phase Chat IPCP CCP tun command set redial 15 0 set reconnect 15 1 pppoe: set device "!/usr/sbin/pppoe -i nfe1" set server /var/run/pppoe "" 0177 disable acfcomp protocomp deny acfcomp set mtu max 1454 set mru max 1454 set crtscts off set speed sync enable lqr set lqrperiod 5 set cd 5 set dial set login set timeout 0 set authname ** set authkey ** add! default HISADDR enable dns resolv readonly enable mssfixup On Fre Aug 10 16:54 , Gregory Edigarov sent: Oops, I am sorry, I cannot show you my ppp.conf. It's at home, and the pc is now turned off. James Lepthien wrote: > Hi, > > Am 10.08.2007 um 09:40 schrieb Gregory Edigarov: >> Yes, with most recent sources from cvs my userland ppp is >> connecting... But hangs shortly. >> First I thought it is the problem in the nfe driver, but after >> switching to rl it hangs too. So, it definitely not a problem with >> underlaying device. If I ping the other site (no matter which), I >> could see that it hangs after some 25 - 30 (depending on the >> situation) pings. > > I did not see your ppp.conf but I had a similar problem and my > connection dropped every now and then. I had to disable the lqr > setting in my ppp.conf. Since then I never had any problems with my > connection. > > Cheers, > James > > -- With best regards, Gregory Edigarov _ versendet mit www.Oleco.de Mail - Anmeldung und Nutzung kostenlos! Oleco www.netlcr.de jetzt auch mit SPAMSCHUTZ.
Re: pppoe problems
Hi, On Don Aug 9 10:55 , Can Erkin Acar sent: Umaxx wrote: > hi, > > after upgrading my router to -current the dsl pppoe connection does not work > anymore. > userland ppp connects fine but freezes after K30 seconds. freeze means the > connection is still there no errors shown in logs and ifconfig state is normal > but there is no more incoming traffic. the provider and modem hardware is ok > since i'm connected now through a netscreen to write this mail. i changed > nothing > in ppp configuration since years and disabled pf for testing... same problem. > as i can see in source changes: not much has changed in userland ppp and nfe > code > since 4.1. I would suggest you try with a different ethernet card if possible just to rule out that possibility. Have you checked your cables? You can also try to experiment with media settings (speed/duplex) of your card. I tried with different settings for example 10 baseT on nfe1, no difference. I have no other ethernet card around here, but Gregory Edigarov tried that already, no difference too. > i read in some forums that it would be better to user kernel pppoe... > so i tried to use kernel pppoe as workaround, but its does not connect. i used > following configuration in /etc/hostname.pppoe0: > > inet 0.0.0.0 255.255.255.255 0.0.0.1 pppoedev nfe1 \ > authproto pap authname authkey up > !/sbin/route add default 0.0.0.1 Please read pppoe(4) for -current, you need to add "-ifp pppoe0" in -current to your route command. Yes I know the manpage, I tried that already before. I copy and pasted the lines from manpage, was not working too. The above example was the fifth attempt :) First test using a kernel from the latest snapshot. With and without MP. This will make sure we are testing/debugging the same thing. I tried with and without MP and with enabled and disabled ACPI, everytime the same results. I downgraded (yes, I know its not suggested) to latest snapshots, same results, not working. Now I'm back on -current. If your problem persists, please send me the debug outputs from /var/log/messages after "ifconfig pppoe0 debug" and the binary tcpdump of a session: tcpdump -w pppoe.dump -i nfe1 not ip I send you the debug output in an extra mail not on the list. Thanks for your help, Cheers, Joerg _ versendet mit www.Oleco.de Mail - Anmeldung und Nutzung kostenlos! Oleco www.netlcr.de jetzt auch mit SPAMSCHUTZ.
Re: pppoe problems
resend, since stupid webmailer killed linebreaks: hi, after upgrading my router to -current the dsl pppoe connection does not work anymore. userland ppp connects fine but freezes after K30 seconds. freeze means the connection is still there no errors shown in logs and ifconfig state is normal but there is no more incoming traffic. the provider and modem hardware is ok since i'm connected now through a netscreen to write this mail. i changed nothing in ppp configuration since years and disabled pf for testing... same problem. as i can see in source changes: not much has changed in userland ppp and nfe code since 4.1. i read in some forums that it would be better to user kernel pppoe... so i tried to use kernel pppoe as workaround, but its does not connect. i used following configuration in /etc/hostname.pppoe0: inet 0.0.0.0 255.255.255.255 0.0.0.1 pppoedev nfe1 \ authproto pap authname authkey up !/sbin/route add default 0.0.0.1 and of course: "up" in /etc/hostname.nfe1 if i enable debug i see a lot of outgoing packages... and then a timeout after a while. reconnect and again the same... it stays in the sppp phase of "establish connection using pap authname " I'm located in germany using arcor as provider. anyone else using dsl pppoe (kernel/userland) in current or latest snapshots - maybe in germany with arcor? any hints are really welcome. dmesg follows regards, joerg OpenBSD 4.2 (GENERIC.MP) #0: Wed Aug 8 17:31:49 CEST 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 2145972224 (2046MB) avail mem = 2072682496 (1976MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xf (78 entries) bios0: vendor Phoenix Technologies, LTD version "ASUS M2N32-SLI DELUXE ACPI BIOS Revision 0603" date 06/27/2006 bios0: ASUSTeK Computer INC. M2N32-SLI DELUXE acpi0 at mainbus0: rev 0 acpi0: tables DSDT FACP SSDT MCFG APIC acpitimer at acpi0 not configured acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 4600+, 2411.34 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu0: apic clock running at 200MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD Athlon(tm) 64 X2 Dual Core Processor 4600+, 2410.98 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative ioapic0 at mainbus0 apid 2 pa 0xfec0, version 11, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 2 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 5 (HUB0) acpicpu at acpi0 not configured acpicpu at acpi0 not configured acpitz at acpi0 not configured acpibtn at acpi0 not configured cpu0: PowerNow! K8 2410 MHz: speeds: 2400 2200 2000 1800 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 "NVIDIA C51 Host" rev 0xa2 at pci0 dev 0 function 0 not configured "NVIDIA C51 Memory" rev 0xa2 at pci0 dev 0 function 1 not configured "NVIDIA C51 Memory" rev 0xa2 at pci0 dev 0 function 2 not configured "NVIDIA C51 Memory" rev 0xa2 at pci0 dev 0 function 3 not configured "NVIDIA C51 Memory" rev 0xa2 at pci0 dev 0 function 4 not configured "NVIDIA C51 Memory" rev 0xa2 at pci0 dev 0 function 5 not configured "NVIDIA C51 Memory" rev 0xa2 at pci0 dev 0 function 6 not configured "NVIDIA C51 Memory" rev 0xa2 at pci0 dev 0 function 7 not configured ppb0 at pci0 dev 3 function 0 "NVIDIA C51 PCIE" rev 0xa1 pci1 at ppb0 bus 1 ppb1 at pci0 dev 4 function 0 "NVIDIA C51 PCIE" rev 0xa1 pci2 at ppb1 bus 2 ppb2 at pci2 dev 0 function 0 "Intel IOP332 PCIE-PCIX" rev 0x07 pci3 at ppb2 bus 3 arc0 at pci3 dev 14 function 0 "Areca ARC-1210" rev 0x00: apic 2 int 11 (irq 11) arc0: 4 SATA Ports, 256MB SDRAM, FW Version: V1.42 2006-10-13 scsibus0 at arc0: 16 targets sd0 at scsibus0 targ 0 lun 0: SCSI3 0/direct fixed sd0: 476837MB, 56514 cyl, 36 head, 480 sec, 512 bytes/sec, 976562176 sec total ppb3 at pci2 dev 0 function 2 "Intel IOP332 PCIE-PCIX" rev 0x07 pci4 at ppb3 bus 4 "NVIDIA MCP55 Memory" rev 0xa1 at pci0 dev 8 function 0 not configured pcib0 at pci0 dev 9 function 0 "NVIDIA MCP55 ISA" rev 0xa2 nviic0 at pci0 dev 9 function 1 "NVIDIA MCP55 SMBus" rev 0xa2 iic0 at nviic0 adt0 at iic0 addr 0x2e: adt7475 rev 0x69 iic1 at nviic0 iic1: addr 0x18 00=f0 01=00 02=00 03=f0 04=00 05=00 06=00 07=00 08=00 09=10 10=08 11=00 12=
pppoe problems
hi, after upgrading my router to -current the dsl pppoe connection does not work anymore. userland ppp connects fine but freezes after K30 seconds. freeze means the connection is still there no errors shown in logs and ifconfig state is normal but there is no more incoming traffic. the provider and modem hardware is ok since i'm connected now through a netscreen to write this mail. i changed nothing in ppp configuration since years and disabled pf for testing... same problem. as i can see in source changes: not much has changed in userland ppp and nfe code since 4.1. i read in some forums that it would be better to user kernel pppoe... so i tried to use kernel pppoe as workaround, but its does not connect. i used following configuration in /etc/hostname.pppoe0: inet 0.0.0.0 255.255.255.255 0.0.0.1 pppoedev nfe1 \ authproto pap authname authkey up !/sbin/route add default 0.0.0.1 and of course: "up" in /etc/hostname.nfe1 if i enable debug i see a lot of outgoing packages... and then a timeout after a while. reconnect and again the same... it stays in the sppp phase of "establish connection using pap authname " I'm located in germany using arcor as provider. anyone else using dsl pppoe (kernel/userland) in current or latest snapshots - maybe in germany with arcor? any hints are really welcome. dmesg follows regards, joerg OpenBSD 4.2 (GENERIC.MP) #0: Wed Aug 8 17:31:49 CEST 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 2145972224 (2046MB) avail mem = 2072682496 (1976MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xf (78 entries) bios0: vendor Phoenix Technologies, LTD version "ASUS M2N32-SLI DELUXE ACPI BIOS Revision 0603" date 06/27/2006 bios0: ASUSTeK Computer INC. M2N32-SLI DELUXE acpi0 at mainbus0: rev 0 acpi0: tables DSDT FACP SSDT MCFG APIC acpitimer at acpi0 not configured acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 4600+, 2411.34 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu0: apic clock running at 200MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD Athlon(tm) 64 X2 Dual Core Processor 4600+, 2410.98 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative ioapic0 at mainbus0 apid 2 pa 0xfec0, version 11, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 2 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 5 (HUB0) acpicpu at acpi0 not configured acpicpu at acpi0 not configured acpitz at acpi0 not configured acpibtn at acpi0 not configured cpu0: PowerNow! K8 2410 MHz: speeds: 2400 2200 2000 1800 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 "NVIDIA C51 Host" rev 0xa2 at pci0 dev 0 function 0 not configured "NVIDIA C51 Memory" rev 0xa2 at pci0 dev 0 function 1 not configured "NVIDIA C51 Memory" rev 0xa2 at pci0 dev 0 function 2 not configured "NVIDIA C51 Memory" rev 0xa2 at pci0 dev 0 function 3 not configured "NVIDIA C51 Memory" rev 0xa2 at pci0 dev 0 function 4 not configured "NVIDIA C51 Memory" rev 0xa2 at pci0 dev 0 function 5 not configured "NVIDIA C51 Memory" rev 0xa2 at pci0 dev 0 function 6 not configured "NVIDIA C51 Memory" rev 0xa2 at pci0 dev 0 function 7 not configured ppb0 at pci0 dev 3 function 0 "NVIDIA C51 PCIE" rev 0xa1 pci1 at ppb0 bus 1 ppb1 at pci0 dev 4 function 0 "NVIDIA C51 PCIE" rev 0xa1 pci2 at ppb1 bus 2 ppb2 at pci2 dev 0 function 0 "Intel IOP332 PCIE-PCIX" rev 0x07 pci3 at ppb2 bus 3 arc0 at pci3 dev 14 function 0 "Areca ARC-1210" rev 0x00: apic 2 int 11 (irq 11) arc0: 4 SATA Ports, 256MB SDRAM, FW Version: V1.42 2006-10-13 scsibus0 at arc0: 16 targets sd0 at scsibus0 targ 0 lun 0: SCSI3 0/direct fixed sd0: 476837MB, 56514 cyl, 36 head, 480 sec, 512 bytes/sec, 976562176 sec total ppb3 at pci2 dev 0 function 2 "Intel IOP332 PCIE-PCIX" rev 0x07 pci4 at ppb3 bus 4 "NVIDIA MCP55 Memory" rev 0xa1 at pci0 dev 8 function 0 not configured pcib0 at pci0 dev 9 function 0 "NVIDIA MCP55 ISA" rev 0xa2 nviic0 at pci0 dev 9 function 1 "NVIDIA MCP55 SMBus" rev 0xa2 iic0 at nviic0 adt0 at iic0 addr 0x2e: adt7475 rev 0x69 iic1 at nviic0 iic1: addr 0x18 00=f0 01=00 02=00 03=f0 04=00 05=00 06=00 07=00 08=00 09=10 10=08 11=00 12=00 13=0a 14=00 15=00 16=00 17=34 20=95 21=92 22=00 32=00 "NVIDIA MCP55 Memor
Re: qemu and tun device
On Wed, 3 Aug 2005 12:12:31 +0200 Markus Friedl <[EMAIL PROTECTED]> wrote: > On Tue, Aug 02, 2005 at 05:02:05PM +0200, umaxx wrote: > > # ifconfig tun0 create > > # ifconfig tun0 10.0.0.1 10.0.0.2 up > > try > ifconfig tun0 10.0.0.1 netmask 255.255.255.0 link0 > > thanks a lot, works fine now... for the archives - here is what i did: $ cat /etc/qemu-ifup #!/bin/sh ifconfig tun0 10.0.0.1 netmask 255.255.255.0 link0 ifconfig tun1 192.168.0.1 netmask 255.255.255.0 link0 # qemu -nics 2 virtual.hd greets umaxx
qemu and tun device
hi, can somebody tell me how i get qemu with tun-device working under openbsd? qemu -user-net is working fine - but i want multiple interfaces with different subnets... i'm not very familiar with tun/tap devices. here is what i've tried (both - installed qemu system and host are openbsd 3.7-stable): host (pf is not enabled): # ifconfig tun0 create # ifconfig tun0 10.0.0.1 10.0.0.2 up # ifconfig tun1 create # ifconfig tun1 10.0.1.1 10.0.1.2 up # qemu -nics 2 -tun-fd 0 virtual.hd inside qemu (pf is not enabled): # ifconfig ne3 10.0.0.2 # ifconfig ne3 10.0.1.2 # ping 10.0.0.1 not working :( where is my mistake? what did i need to change? greets umaxx
routing problems with pptp over wi0
hi, i have some routing problems after starting a pptp connection via wlan, here is what i did: # pfctl -d pf disabled # dhclient wi0 DHCPDISCOVER on wi0 to 255.255.255.255 port 67 interval 7 DHCPDISCOVER on wi0 to 255.255.255.255 port 67 interval 18 DHCPOFFER from 172.16.3.254 DHCPREQUEST on wi0 to 255.255.255.255 port 67 DHCPACK from 172.16.3.254 bound to 172.16.3.89 -- renewal in 300 seconds. # ifconfig ppp0 up # pptp vpn.wlan.rz.xxx.de name [EMAIL PROTECTED] with the following options: # cat /etc/ppp/options: lock noauth mru 1500 mtu 1500 noccp noipx nomagic novj nobsdcomp nodeflate debug local passive nodetach noipdefault the connection seems to be established - from log: Jun 8 17:10:02 karbon pptp[28513]: log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:580]: Client connection established. Jun 8 17:10:03 karbon pptp[28513]: log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:708]: Outgoing call established (call ID 0, peer's call ID 1528). Jun 8 17:10:03 karbon pppd[26609]: pppd 2.3.5 started by yogi, uid 0 Jun 8 17:10:03 karbon pppd[26609]: Connect: ppp0 <--> /dev/ttyp3 Jun 8 17:10:09 karbon pppd[26609]: Unsupported protocol (0x80fd) received Jun 8 17:10:12 karbon pppd[26609]: Couldn't set interface address: Address xxx.xxx.xxx.xxx already exists Jun 8 17:10:12 karbon pppd[26609]: local IP address xxx.xxx.xxx.xxx Jun 8 17:10:12 karbon pppd[26609]: remote IP address 172.16.3.253 # ifconfig -a lo0: flags=8049 mtu 33224 inet 127.0.0.1 netmask 0xff00 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 sis0: flags=8802 mtu 1500 address: 00:fe:e1:ba:d0:a7 media: Ethernet autoselect (none) status: no carrier pflog0: flags=141 mtu 33224 pfsync0: flags=0<> mtu 2020 enc0: flags=0<> mtu 1536 wi0: flags=8843 mtu 1500 address: 00:20:e0:d0:43:61 ieee80211: nwid "XXX" media: IEEE802.11 autoselect status: active inet6 fe80::220:e0ff:fed0:4361%wi0 prefixlen 64 scopeid 0x6 inet 172.16.3.89 netmask 0xfe00 broadcast 172.16.3.255 ppp0: flags=8051 mtu 1500 i think this means, point to point connections is established but route is not set correctly: # route show Routing tables Internet: DestinationGatewayFlagsRefs UseMtu Interface defaultgw.wlan.rz.uni-pot UGS 02 - wi0 loopback localhost UGRS00 33224 lo0 localhost localhost UH 02 33224 lo0 172.16.2/23link#6 UC 00 - wi0 172.16.3.89localhost UGHS00 33224 lo0 vpn.wlan.rz.xx 00:03:a0:88:47:d0 UHLc0 43 - wi0 gw.wlan.rz.xxx 00:03:fd:fa:10:38 UHLc00 - wi0 BASE-ADDRESS.MCAST localhost URS 00 33224 lo0 ... # ping google.com PING google.com (216.239.57.99): 56 data bytes --- google.com ping statistics --- 4 packets transmitted, 0 packets received, 100.0% packet loss defaultroute goes via wi0 not via the created tunnel at ppp0. there was an error in log above on setting ppp0 interface address, so i try to set ppp0 by hand: # ifconfig ppp0 xxx.xxx.xxx.xxx 172.16.3.253 ifconfig: SIOCAIFADDR: File exists :( why is the tunnel not set correctly? under linux i would say: route add default ppp0 under openbsd i tried: # route add 0/0 -interface ppp0 route: ppp0: bad address :( any ideas? i run obsd 3.7 stable. i think ppp has a problem on binding to my internal prism usb-wlan - right? greets umaxx dmesg output: OpenBSD 3.7 (GENERIC) #2: Wed May 11 20:05:35 CEST 2005 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Mobile Intel(R) Pentium(R) III CPU - M 933MHz ("GenuineIntel" 686-class) 930 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real mem = 335106048 (327252K) avail mem = 298508288 (291512K) using 4116 buffers containing 16859136 bytes (16464K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(a3) BIOS, date 01/30/03, BIOS32 rev. 0 @ 0xf1090 apm0 at bios0: Power Management spec V1.2 apm0: battery life expectancy 0% apm0: AC off, battery charge unknown, estimated 0:00 hours pcibios0 at bios0: rev 2.1 @ 0xf/0x16f2 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf1680/112 (5 entries) pcibios0: PCI Interrupt Router at 000:01:0 ("SIS 85C503 System" rev 0x00) pcibios0: PCI bus #3 is the last bus bios0: ROM list: 0xc/0xc000 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "SIS 630 PCI" rev 0x31 pciide0 at pci0 dev 0 function 1 "SIS 5513 EIDE" rev 0xd0: 630S: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: wd0: 16-sector PIO, LBA, 38154MB, 78140160 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1