Re: Music + NFS == skipping?
On Sat, Jul 03, 2010 at 02:53:01AM -0400, Corey J. Bukolt wrote: Hi list, So far I have been able to get OpenBSD running nicely as my primary desktop with the only hitch being my NFS mounted music skips occasionally. I'm pretty sure it's not the NFS server since my Linux laptop has the same setup and doesn't skip. I'm using mpd to play the music, with a gigbit connection leading to a dedicated file server which has practically no load. Already gone over mount_nfs(8) and tried a whole bunch of different options with no luck. One point of interest is that it seems the longer I keep the share mounted, the worse it gets starting with mildy iritating (0-1 skips per song) to very annoying (4 or more skips per song) and after remounting it resets for about an hour. The obvious solution would be to just copy my music locally, but I would very much rather not. I use NFS for music since years it always worked, but the server is running OpenBSD in my case. I guess your NFS server makes short pauses that cause the player to not produce audio samples fast enough. could you try using mpg321 and/or ogg123 on NFS mounted files to see if skips occur? If so, does using aucat in server mode help ? -- Alexandre
PF rtable on 1st July i386 -current not working
Hi Misc@, Recently I've updated my routers kernel to 1t July i386 current. Rulesets like: pass in quick log on $int_if inet from pool_internal to !internal rtable 2 keep state (sloppy source-track global) tag INTERNAL_OUT queue (internal int_ack) pass in quick log on $int_if inet proto {tcp udp} from internal to $dns_servers port {domain} keep state (sloppy source-track global) tag INTERNAL_OUT queue (internal int_ack) Anything I should do? Thanks, DMESG: OpenBSD 4.7-current (GENERIC.MP) #18: Thu Jul 1 01:16:34 WIT 2010 r...@greenrouter-jkt01.mygreenlinks.net:/usr/src/sys/arch/i386/compile/GENERIC.MP RTC BIOS diagnostic error ffixed_disk,invalid_time cpu0: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz (GenuineIntel 686-class) 2.41 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,S SE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM real mem = 2142744576 (2043MB) avail mem = 2098540544 (2001MB) RTC BIOS diagnostic error ffixed_disk,invalid_time mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 03/26/07, SMBIOS rev. 2.4 @ 0x7fbe4000 (43 entries) bios0: vendor Intel Corporation version S3000.86B.02.00.0054.061120091710 date 06/11/2009 bios0: Intel S3000AH acpi0 at bios0: rev 2 acpi0: tables DSDT SLIC FACP APIC WDDT HPET MCFG ASF! SSDT SSDT SSDT SSDT SSDT HEST BERT ERST EINJ acpi0: wakeup devices SLPB(S4) P32_(S4) UAR1(S1) PEX4(S4) PEX5(S4) UHC1(S1) UHC2(S1) UHC3(S1) UHC4(S1) EHCI(S1) AC9M(S4) AZAL(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 266MHz cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz (GenuineIntel 686-class) 2.41 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,S SE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM cpu2 at mainbus0: apid 1 (application processor) cpu2: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz (GenuineIntel 686-class) 2.41 GHz cpu2: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,S SE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz (GenuineIntel 686-class) 2.41 GHz cpu3: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,S SE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM ioapic0 at mainbus0: apid 5 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 5 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 4 (P32_) acpiprt2 at acpi0: bus 1 (PEX0) acpiprt3 at acpi0: bus -1 (PEX1) acpiprt4 at acpi0: bus -1 (PEX2) acpiprt5 at acpi0: bus -1 (PEX3) acpiprt6 at acpi0: bus 2 (PEX4) acpiprt7 at acpi0: bus 3 (PEX5) acpicpu0 at acpi0: PSS acpicpu1 at acpi0: PSS acpicpu2 at acpi0: PSS acpicpu3 at acpi0: PSS acpibtn0 at acpi0: SLPB bios0: ROM list: 0xc/0x9000 cpu0: Enhanced SpeedStep 2401 MHz: speeds: 2394, 1596 MHz pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel E7230 Host rev 0x00 ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x01: apic 5 int 17 (irq 255) pci1 at ppb0 bus 1 ppb1 at pci0 dev 28 function 4 Intel 82801G PCIE rev 0x01: apic 5 int 17 (irq 255) pci2 at ppb1 bus 2 em0 at pci2 dev 0 function 0 Intel PRO/1000 PT (82571EB) rev 0x06: apic 5 int 16 (irq 9), address 00:15:17:86:51:72 em1 at pci2 dev 0 function 1 Intel PRO/1000 PT (82571EB) rev 0x06: apic 5 int 17 (irq 10), address 00:15:17:86:51:73 ppb2 at pci0 dev 28 function 5 Intel 82801G PCIE rev 0x01: apic 5 int 16 (irq 255) pci3 at ppb2 bus 3 em2 at pci3 dev 0 function 0 Intel PRO/1000MT (82573E) rev 0x03: apic 5 int 17 (irq 10), address 00:15:17:49:03:b3 Intel 82573E Serial rev 0x03 at pci3 dev 0 function 3 not configured Intel 82573E KCS rev 0x03 at pci3 dev 0 function 4 not configured uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x01: apic 5 int 23 (irq 11) uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x01: apic 5 int 19 (irq 11) uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x01: apic 5 int 18 (irq 11) uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x01: apic 5 int 16 (irq 9) ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x01: apic 5 int 23 (irq 11) ehci0: timed out waiting for BIOS usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb3 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0xe1 pci4 at ppb3 bus 4 skc0 at pci4 dev 0 function 0 D-Link DGE-530T B1 rev 0x11, Yukon Lite (0x9): apic 5 int 21 (irq 11) sk0 at skc0 port A: address 00:1e:58:9a:99:65 eephy0 at sk0 phy 0: 88E1011 Gigabit PHY, rev. 5 skc1 at
IronPort Spam Quarantine Notification
IronPort Spam Quarantine Notification = The message(s) below have been blocked by your administrator as suspected spam. There are 1 new messages in your Email Quarantine since you received your last IronPort Quarantine Notification. If the messages below are spam, you do not need to take any action. Messages will be automatically removed from the quarantine after 14 day(s). If any of the messages below are not spam, click the Release link to have them sent to your Inbox. To see all quarantined messages view your email quarantine. Quarantined Email From Subject Date Release Emilly Olivier Jackman sevdo...@ua... Greetings from Mother Emilly Olivier 30 Jun 2010 View All Quarantined Messages(1) Note: This message has been sent by a notification only system. Please do not reply If the above links do not work, please copy and paste the following URL into a Web browser: http://aspam.uaa.alaska.edu/Search?h=58896dbd5b7febb3c45c352bcf17cdf7email=misc%40openbsd.org
Filter on a CARP (active/passive) firewall
Hi guys, I read on the OpenBSD PF's FAQ this statement: Ruleset Tips Filter the physical interface. As far as PF is concerned, network traffic comes from the physical interface, not the CARP virtual interface (i.e., carp0). So, write your rule sets accordingly. Don't forget that an interface name in a PF rule can be either the name of a physical interface or an address associated with that interface. For example, this rule could be correct: pass in on fxp0 inet proto tcp from any to carp0 port 22 but replacing the fxp0 with carp0 would not work as you desire. I would ask if using the group names instead of the physical interface has some draw backs, cause i find it easier to understand. I'm also giving the same group name to the carp interface so i can see all my IPs with ifconfig group_name. Am I missing something abvious? Thanks -- Massimo
matching escape string , doesn't work ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, echo %A3 | sed 's/(%[0-9A-Z]{2})//g' I'd like %A3 like string to be removed , what's wrong with my script ? Thanks. - -- Best Regards, Aaron Lewis - PGP: 0x4A6D32A0 FingerPrint EA63 26B2 6C52 72EA A4A5 EB6B BDFE 35B0 4A6D 32A0 irc: A4r0n on freenode Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwxtVUACgkQvf41sEptMqBg9ACgmtDhFkoY14LS+oyRhDmdAcaw 6yAAoJvE0PW+UyayxG6+ZQtPABULpKkn =L8MU -END PGP SIGNATURE-
Re: Adding custom XKB layout
czark...@gmail.com wrote: I need to add a custom XKB layout to use (it actually is commited to xkb-config now, but not released yet). With the xkb-config 1.8 I had to patch xkb/rules/base.xml and symbols/?? files. As I can't find neither base.xml nor xkb-config version used in 4.7, I am confused. I've already patched my xkb configs, but what should I edit to make X see my new layouts in symbols/?? files? I actually found out on the internet that I should edit /etc/X11/xkb/rules/xorg.lst and /etc/X11/xkb/rules/xorg.xml. After editing both of them I've got: % setxkbmap -rules xorg -layout us,ru -variant serbian,serbian -v 10 Setting verbose level to 10 locale is C Warning! Multiple definitions of rules file Using command line, ignoring X server Warning! Multiple definitions of keyboard layout Using command line, ignoring X server Warning! Multiple definitions of layout variant Using command line, ignoring X server Applied rules from xorg: model: pc105 layout: us,ru variant:serbian,serbian options:grp:caps_toggle Trying to build keymap using the following components: keycodes: xfree86+aliases(qwerty) types: complete compat: complete+ledcaps(group_lock) symbols: pc/pc(pc105)+pc/us(serbian)+pc/ru(serbian):2+group(caps_toggle)+group(caps_toggle) geometry: pc(pc105) Error loading new keyboard description The us and ru files in /etc/X11/xkb/symbols/ are patched, the same setup works as of xorg 1.7. Both layouts included to /etc/X11/xkb/rules/xorg.lst and /etc/X11/xkb/rules/xorg.xml. Does anyone know where should I read about that or what sould I do elsewise? -- Dmitrij D. Czarkoff
Re: matching escape string , doesn't work ?
On Mon, Jul 05, 2010 at 06:35:01PM +0800, Aaron Lewis wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, echo %A3 | sed 's/(%[0-9A-Z]{2})//g' I'd like %A3 like string to be removed , what's wrong with my script ? According to the sed manpage, it doesn't use {} in this way; you seem to be using the wrong syntax (although sed veterans can likely give a more thorough answer). try sed 's/%[0-9A-Z][0-9A-Z]//g'(minus any typos/thinkos on my part) Thanks. - -- Best Regards, Aaron Lewis - PGP: 0x4A6D32A0 FingerPrint EA63 26B2 6C52 72EA A4A5 EB6B BDFE 35B0 4A6D 32A0 irc: A4r0n on freenode Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwxtVUACgkQvf41sEptMqBg9ACgmtDhFkoY14LS+oyRhDmdAcaw 6yAAoJvE0PW+UyayxG6+ZQtPABULpKkn =L8MU -END PGP SIGNATURE-
[SOLVED] Re: matching escape string , doesn't work ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/05/2010 06:42 PM, Bret S. Lambert wrote: sed 's/%[0-9A-Z][0-9A-Z]//g' Thanks , and same for VIM. - -- Best Regards, Aaron Lewis - PGP: 0x4A6D32A0 FingerPrint EA63 26B2 6C52 72EA A4A5 EB6B BDFE 35B0 4A6D 32A0 irc: A4r0n on freenode Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwxu2cACgkQvf41sEptMqBcKQCeORAzcjXuLpHtgZNvBXLzDVvA nFkAn3Dw3r7YUocmDiax4Z5AIQm/hQQu =4fFn -END PGP SIGNATURE-
Re: matching escape string , doesn't work ?
On Mon, Jul 05, 2010 at 06:35:01PM +0800, Aaron Lewis wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, echo %A3 | sed 's/(%[0-9A-Z]{2})//g' I'd like %A3 like string to be removed , what's wrong with my script ? sed uses basic re's by default. Gnu sed implements { } by default as an extensiomn to Posix, we do not. use -E. -Otto
Re: matching escape string , doesn't work ?
On Mon, Jul 05, 2010 at 12:42:51PM +0200, Bret S. Lambert wrote: On Mon, Jul 05, 2010 at 06:35:01PM +0800, Aaron Lewis wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, echo %A3 | sed 's/(%[0-9A-Z]{2})//g' I'd like %A3 like string to be removed , what's wrong with my script ? According to the sed manpage, it doesn't use {} in this way; you seem to be using the wrong syntax (although sed veterans can likely give a more thorough answer). try sed 's/%[0-9A-Z][0-9A-Z]//g'(minus any typos/thinkos on my part) sed(1) uses basic regular expressions (see re_format(7) for details). In particular, you should prepend with a backslash the parentheses and braces in the original example, although the parentheses are superfluous for the stated purpose. If you want to use bounds, then echo %A3 | sed 's/%[0-9A-Z]\{2\}//g' will do.
Re: PF rtable on 1st July i386 -current not working
On Mon, Jul 05, 2010 at 02:39:11PM +0700, Insan Praja SW wrote: Hi Misc@, Recently I've updated my routers kernel to 1t July i386 current. Rulesets like: pass in quick log on $int_if inet from pool_internal to !internal rtable 2 keep state (sloppy source-track global) tag INTERNAL_OUT queue (internal int_ack) pass in quick log on $int_if inet proto {tcp udp} from internal to $dns_servers port {domain} keep state (sloppy source-track global) tag INTERNAL_OUT queue (internal int_ack) Anything I should do? Please be more precise. What does not work. Do the rules not match, does it not log, does it not move the traffic to rtable 2 or is there a problem with altq? With this little information I guess nobody is willing to try to figure out what may go wrong. -- :wq Claudio
Re: Donation issues with OpenBSD…
One interesting thing I have noticed about some Americans is the need to expose their opinions, no matter how right or wrong, *or unnecessary* They honestly believe their opinions are of value and everyone should listen to them, without any qualifications. Thanks for sharing your opinion on the matter with the list! I blame the education system that places a priority on self esteem (at least one state has an actual law where the school *must* promote a student up to the next grade after a kid has been in a grade for 3 years, even if the kid refuses to learn and constantly fails - reason - it could hurt their self esteem if you hold them back too much) Apparently I'm full of shit. You don't say...
[SOLVED] Re: matching escape string , doesn't work ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/05/2010 07:18 PM, Otto Moerbeek wrote: On Mon, Jul 05, 2010 at 06:35:01PM +0800, Aaron Lewis wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, echo %A3 | sed 's/(%[0-9A-Z]{2})//g' I'd like %A3 like string to be removed , what's wrong with my script ? sed uses basic re's by default. Gnu sed implements { } by default as an extensiomn to Posix, we do not. use -E. -Otto Understand , i'd notice it. - -- Best Regards, Aaron Lewis - PGP: 0x4A6D32A0 FingerPrint EA63 26B2 6C52 72EA A4A5 EB6B BDFE 35B0 4A6D 32A0 irc: A4r0n on freenode Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwx5OcACgkQvf41sEptMqCsZACfdlULMONFiPuzAWcM9EiPYNtd lXEAoLKCQ65ZjAaSXoqXjnAMiWPmOwyG =4pJ4 -END PGP SIGNATURE-
[SOLVED] Re: matching escape string , doesn't work ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/05/2010 07:18 PM, William Boshuck wrote: On Mon, Jul 05, 2010 at 12:42:51PM +0200, Bret S. Lambert wrote: On Mon, Jul 05, 2010 at 06:35:01PM +0800, Aaron Lewis wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, echo %A3 | sed 's/(%[0-9A-Z]{2})//g' I'd like %A3 like string to be removed , what's wrong with my script ? According to the sed manpage, it doesn't use {} in this way; you seem to be using the wrong syntax (although sed veterans can likely give a more thorough answer). try sed 's/%[0-9A-Z][0-9A-Z]//g'(minus any typos/thinkos on my part) sed(1) uses basic regular expressions (see re_format(7) for details). In particular, you should prepend with a backslash the parentheses and braces in the original example, although the parentheses are superfluous for the stated purpose. If you want to use bounds, then echo %A3 | sed 's/%[0-9A-Z]\{2\}//g' will do. Yep , should escape it , that's the problem - -- Best Regards, Aaron Lewis - PGP: 0x4A6D32A0 FingerPrint EA63 26B2 6C52 72EA A4A5 EB6B BDFE 35B0 4A6D 32A0 irc: A4r0n on freenode Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwx5K8ACgkQvf41sEptMqDTkgCgmg76T5ahKdsuA6WGCfulXoT1 s+sAoJ2ByK3CpUMkv8N1sHbrKIoddxpA =bmJF -END PGP SIGNATURE-
Re: PF rtable on 1st July i386 -current not working
Hi All, On Mon, 05 Jul 2010 18:56:44 +0700, Claudio Jeker cje...@diehard.n-r-g.com wrote: On Mon, Jul 05, 2010 at 02:39:11PM +0700, Insan Praja SW wrote: Hi Misc@, Recently I've updated my routers kernel to 1t July i386 current. Rulesets like: pass in quick log on $int_if inet from pool_internal to !internal rtable 2 keep state (sloppy source-track global) tag INTERNAL_OUT queue (internal int_ack) pass in quick log on $int_if inet proto {tcp udp} from internal to $dns_servers port {domain} keep state (sloppy source-track global) tag INTERNAL_OUT queue (internal int_ack) Anything I should do? Please be more precise. What does not work. Do the rules not match, does it not log, does it not move the traffic to rtable 2 or is there a problem with altq? Obviously not with altq, I resolve the problem by changing the syntax from using rtable to using route-to. into something from; pass in quick log on $int_if inet from pool_internal to !internal rtable 2 keep state (sloppy source-track global) tag INTERNAL_OUT queue (internal int_ack) to; pass in quick log on $int_if inet from pool_internal to !internal keep state (sloppy source-track global) route-to ($rtable_ext rtable_def_gtw) tag INTERNAL_OUT queue (internal int_ack) and it works. With this little information I guess nobody is willing to try to figure out what may go wrong. Thanks, -- insandotpraja(at)gmaildotcom
Cuenta temporalmente bloqueada !
Notificamos que su Servicio en linea se ha suspendido temporalmente debido a intentos fallidos de accesos a su cuenta en linea. Como medida de seguridad hemos decidido desactivar su cuenta temporalmente , este incidente puede deberse a que realizo intentos de acceso a su cuenta desde otra direccion IP debido a el sistema dinamico que utilizan los proveedores de Internet. Para asegurarnos de su autenticidad rogamos reactivar su cuenta desde el siguiente enlace el cual presentamos seleccionando el tipo de cuenta manejado : Aviso Importante : Le aconsejamos terminantemente realizar el servicio de activacion haciendo clic en el enlace correspondiente en un plazo no mayor a 24 horas para no ser suspendido su servicio de banca en linea. Caja de Ahorros y Monte de Piedad de Madrid, CAJA MADRID, C.I.F. G-28029007, Plaza de Celenque, 2. 28013 Madrid. Registered on the Madrid Mercantile Register on page 20; volume 3067 General; sheet 52454; and with the Special Savings Bank Register under number 99. CC3digo B.E.: 2038. BIC Code: CAHMESMMXXX. Credit entity subject to supervision by the Bank of Spain B) Caja Madrid. 2001 - 2010. Spain. All rights reserved.
Trifonction.com: Offres Juillet 2010
Trifonction.com: Spicialiste Trail, Raid et Running. Nos offres iti 2010 ( juillet) NATHAN : Ceinture porte gourde,Speed 4r, ergonomie et conception idiale pour les logues distances ZOOT : ULTRA RACE 2.0, la rifirence en chaussures pour les triathlhtes. ZOOT: Compression active, manchon pour le mollet. PROFILE DESIGN : Grande nouveauti en cintre congu pour le drafting, le ZBS DL Les packs Electrolyte et Trail www.trifonction.com
Individuals/Organisation Required for Business Partnership
Techen Ind. Co. Ltd.and is a New and Smale Scale Company With Intent in Business Partnership for our North American office We Seek Individuals/Organisation to Offer Offshore Logistics/Financial Accounting North American Agent will Receive and Process funds on our Behalf Through T/T Wire,Swift Bank Transfers,International Bankers Checks from Our Clients Please do forward To my Email Contacts Names and Phone No. for a Quicker response and More discussions. Techen Ind Co, China, 3 Sec.2 Chung-Cheng E. Rd. R.O.C
Update on altq and interface groups
Hi list, I know this question has been asked before, but I'm after an up-to-date answer, or at least a confirmation. Has support for interface groups been implemented for altq? By that, I mean the possibility to use an interface group name with baltq on GROUPb to set up similar queues for each of the interfaces of the group. This could be used to not have to explicitly name the interfaces but rather refer to their current role. The outgoing traffic for all the interfaces could also be classified with only one ruleset of bpass out on GROUPbs. Unfortunately, the changelogs and my small experiments (see below) seem to hint that it's not supported. But maybe I'm (doing it) wrong? opera...@mudrublic:~$ /sbin/ifconfig lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33200 (...) ath0: flags=8963UP,BROADCAST,NOTRAILERS,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500 (...) groups: wlan internal (...) sis0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 (...) groups: egress (...) Relevant beginning of pfctl.conf: UPLINK_BANDWIDTH = 90Mb set skip on lo set loginterface public altq on egress priq bandwidth $UPLINK_BANDWIDTH queue {std_out, interactive_out, dns_out, tcp_ack_out} queue std_out priq(default) queue interactive_out priority 4 prirq(red) queue dns_out priority 5 queue tcp_ack_out priority 6 (...) pass out on egress proto tcp to any flags S/SA keep state queue(std_out, tcp_ack_out) pass out on egress proto { tcp udp } to any port domain keep state queue dns_out pass out on egress proto tcp to any port ssh flags S/SA keep state queue(std_out, interactive_out) $ sudo pfctl -vf /etc/pf.conf set skip on { lo } set loginterface public UPLINK_BANDWIDTH = 90Mb pfctl: SIOCGIFMTU: Device not configured This error doesn't happen if I replace egress with sis0 in the baltq onb line (pretty bad omen, I guess...). $ uname -a OpenBSD mudrublic.narf.ssji.net 4.6 GENERIC#58 i386 Thanks. -- Olivier Mehani sht...@ssji.net PGP fingerprint: 4435 CF6A 7C8D DD9B E2DE F5F9 F012 A6E2 98C6 6655 [demime 1.01d removed an attachment of type application/pgp-signature]
shape bandwidth per user for all users
Hi again, I have a router with two wireless cards. As I always enjoy the odd open AP to check my emails on the go, I decided I'd reciprocate. I thus have configured one of the Wi-Fi interface as open. However, I wouldn't want people to abuse this bservice.b I put it there for them to check their emails, not download big amounts of data (which is also capped to a given monthly volume by my ISP). My goal is then to shape the bandwidth on this network (by not putting packets on the wireless network as fast as they could, thus forcing the tranport to adapt) using AltQ. However, rather than setting a global limit, I'd rather set a limit per user (I assume one user equals one IP here, all limitations and flaws considered). I've been reading docs and tutorial (and still am), but I can't figure a way to limit each user to, say, 500Kb/s* without explicitly creating as many queues as possible IP addresses in the network, disregarding that 500Kb for 253** users would just saturate the network. Of course, I don't want them to be able to borrow any of the remaining bandwidth either. In summary, in a network with 11Mbps with, say three visitors, each of them can get 500Kb/s download, and nothing more. If all of them use it, the network will see 1.5Mb/s of its bandwidth occupied (and so will my uplink), while the other 8.5 (out of the 90% of 11Mb/s) will remain blissfully unused, waiting for another user (or the same user with yet another device). Is there a concise and elegant way to define such a ruleset? Thanks again! * Actually, maybe I should reconsider this value. ** I don't want to think about IPv6 if I have to write this ruleset manually (; -- Olivier Mehani sht...@ssji.net PGP fingerprint: 4435 CF6A 7C8D DD9B E2DE F5F9 F012 A6E2 98C6 6655 [demime 1.01d removed an attachment of type application/pgp-signature]
Fw: TantraMag.com
--- On Mon, 5/7/10, Chris J Brady chrisjbr...@yahoo.com wrote: From: Chris J Brady chrisjbr...@yahoo.com Subject: TantraMag.com To: misstr...@tantramag.com, cont...@sivasakti.com Date: Monday, 5 July, 2010, 17:00 As you might know the Romanian web sites TantraMag.com and SivaSakti.com have recently expired. However the web pages are still on www.archive.org and it would be possible to 'WebWhack' (download) them - and they are complete enough for the web sites to be reconstructed and hosted with another ISP. The MP3 files however have gone forever - except that I downloaded all 128 (bar one) a few weeks ago and now have them on my laptop. They amount to about 2.5Gb worth. I am missing 53.mp3 - I wonder if you know of anyone that has it? Chris B.
Re: Update on altq and interface groups
On Mon, Jul 5, 2010 at 8:50 AM, Olivier Mehani sht...@ssji.net wrote: I know this question has been asked before, but I'm after an up-to-date answer, or at least a confirmation. Has support for interface groups been implemented for altq? No. http://marc.info/?l=openbsd-miscm=127453585925685w=2
Re: Adding custom XKB layout
czark...@gmail.com wrote: czark...@gmail.com wrote: I need to add a custom XKB layout to use (it actually is commited to xkb-config now, but not released yet). With the xkb-config 1.8 I had to patch xkb/rules/base.xml and symbols/?? files. As I can't find neither base.xml nor xkb-config version used in 4.7, I am confused. I've already patched my xkb configs, but what should I edit to make X see my new layouts in symbols/?? files? I actually found out on the internet that I should edit /etc/X11/xkb/rules/xorg.lst and /etc/X11/xkb/rules/xorg.xml. After editing both of them I've got: % setxkbmap -rules xorg -layout us,ru -variant serbian,serbian -v 10 Setting verbose level to 10 locale is C Warning! Multiple definitions of rules file Using command line, ignoring X server Warning! Multiple definitions of keyboard layout Using command line, ignoring X server Warning! Multiple definitions of layout variant Using command line, ignoring X server Applied rules from xorg: model: pc105 layout: us,ru variant:serbian,serbian options:grp:caps_toggle Trying to build keymap using the following components: keycodes: xfree86+aliases(qwerty) types: complete compat: complete+ledcaps(group_lock) symbols: pc/pc(pc105)+pc/us(serbian)+pc/ru(serbian):2+group(caps_toggle)+group(caps_toggle) geometry: pc(pc105) Error loading new keyboard description The us and ru files in /etc/X11/xkb/symbols/ are patched, the same setup works as of xorg 1.7. Both layouts included to /etc/X11/xkb/rules/xorg.lst and /etc/X11/xkb/rules/xorg.xml. Does anyone know where should I read about that or what sould I do elsewise? It gets even more interesting: I can't set us_intl layout: d...@ao531h:/home/ddc % setxkbmap -layout us_intl -v 10 Setting verbose level to 10 locale is C Warning! Multiple definitions of keyboard layout Using command line, ignoring X server Applied rules from xorg: model: pc105 layout: us_intl options:grp:caps_toggle Trying to build keymap using the following components: keycodes: xfree86+aliases(qwerty) types: complete compat: complete+ledcaps(group_lock) symbols:pc/pc(pc105)+pc/us_intl+group(caps_toggle)+group(caps_toggle) geometry: pc(pc105) Error loading new keyboard description Maybe anyone knows what to do with that or where can I get some info... -- Dmitrij D. Czarkoff
Encuentro Nacional Asistentes Administrativas y SecretarĂas Ejecutivas
Congreso de Habilidades y Actualizacisn Total para Asistentes Administrativas y Secretarmas Ejecutivas 8 y 9 de Julio Fiesta Americana Gran Chapultepec/ Mexico DF Una excelente combinacisn de conferencias y talleres, 6 expositores de prestigio Internacional y mas de 2500 Asistentes recomiendan este evento No falte - Csmo sistematizar todo su proceso de trabajo para hacerlo en menos de la mitad del tiempo y sin dolores de cabeza. - Conviirtase en una valiosa socia de trabajo para su jefe y obtenga mas respeto al ser un miembro clave dentro de la organizacisn. - Csmo planear con ixito los eventos de la compaqma, las reuniones, las fiestas y mas. - La clave para ganarse la credibilidad y lograr que le asignen el manejo de proyectos importantes. - Csmo manejar facilmente a la gente difmcil. - Descubra de nuevo la pasisn por su trabajo y llinese de energma. - Talleres para manejar efectivamente dos de los mas importantes softwares usados por las Asistentes de hoy. Reciba un folleto con toda la informacisn Opcisn 1.- llamando al Tel: 01800-250-2030 Lada Sin Costo Opcisn 2. - respondiendo los siguientes datos: -Empresa: -Nombre: -Puesto: -Tel: ( ) Para dejar de recibir estas invitaciones, responda con asunto m76S56a-32
smp
what is the state of the smp support in openbsd ? we'll degust improvements after the hackathon ?
Re: Connecting to one of available networks on boot
I tried it using the ifstated approach, but it didn't work as I hoped it would. So I just wrote a small sh script and put it in /etc/wlan and sourced that from /etc/rc right after /etc/netstart is run. The only thing I find funny is that the network link only comes up after I have run the 'ifconfig iwi0 scan' a second time. See below. Christopher #!/bin/sh echo -n 'setting up wlan: ' for nwid in $(ifconfig iwi0 scan |awk '{if($1==nwid) print $2}') 'FAIL' do case $nwid in wurmlingen) echo $nwid. ifconfig iwi0 192.168.23.2 netmask 255.255.255.0 \ media autoselect \ -bssid \ -chan \ nwid wurmlingen \ -nwkey \ wpa \ wpapsk 0x \ up route add default -ifp iwi0 192.168.23.1 break ;; BELWUE) echo $nwid. route delete default ifconfig iwi0 inet \ media autoselect \ -bssid \ -chan \ nwid BELWUE \ -nwkey \ -wpa \ -wpapsk \ down dhclient iwi0 break ;; FAIL) echo no known network found. ;; esac done sleep 2; ifconfig iwi0 scan /dev/null
Re: Dynamic Tracing
On Sat, Jul 3, 2010 at 3:26 AM, Luis Useche use...@gmail.com wrote: I googled this a bit but I couldn't find anything. I just want to check if there is a dynamic tracing tool for OpenBSD. Similar tools are kprobes for Linux or DTrace for Solaris. No, nothing quite like that.
Bluetooth mouse keeps losing pairing
Hello, I have a Lenovo T500 running OpenBSD 4.7 with a Lenovo ThinkPad bluetooth mouse. I have these commands in rc.local to connect the mouse on boot: /usr/local/sbin/sdpd /usr/local/sbin/bthcid /usr/local/sbin/btconfig ubt0 up /usr/local/bin/btpin -d ubt0 -a mouse -p /usr/local/sbin/btdevctl -d ubt0 -a mouse -s HID -A For these commands to work, I first have to push the pairing button on the bottom. The mouse works fine as long as I keep using it. However, once I stop, it loses the pairing after a few minutes (not sure exactly how many). That is, neither moving the mouse or clicking the buttons is noticed on the computer. I can pair it again by pushing the pairing button on the mouse again and then issuing these commands: btdevctl -d ubt0 -a mouse -s HID -D btdevctl -d ubt0 -a mouse -s HID -A I'm not sure about the placement or need of the spdp in rc.local. It doesn't seem to change anything whether I leave it out or change the order of the command. I'm unclear if it's even necessary. I've searched but can't find a clue about how to fix this. Setting this up was a bit confusing, and I don't know if I did it right. I'd greatly appreciate any ideas. Here's more information in case it's helpful: $ pkg_info |grep blue bluetooth-libs-20081122 bluetooth network libraries bluetooth-tools-20081122 bluetooth network tools $ cat /etc/bluetooth/hosts 00:02:76:20:fd:b0mouse $ btconfig ubt0: bdaddr 00:26:5e:95:50:52 flags=3UP,RUNNING $ btdevctl -a mouse -d ubt0 -s HID local bdaddr: 00:26:5e:95:50:52 remote bdaddr: 00:02:76:20:fd:b0 link mode: auth device type: HID control psm: 0x0011 interrupt psm: 0x0013 Collection page=Generic_Desktop usage=Mouse Collection page=Generic_Desktop usage=Pointer Input id=2 size=1 count=1 page=Button usage=Button_1 Variable, logical range 0..1 Input id=2 size=1 count=1 page=Button usage=Button_2 Variable, logical range 0..1 Input id=2 size=1 count=1 page=Button usage=Button_3 Variable, logical range 0..1 Input id=2 size=1 count=1 page=Button usage=Button_4 Variable, logical range 0..1 Input id=2 size=1 count=1 page=Button usage=Button_5 Variable, logical range 0..1 Input id=2 size=3 count=1 page=0x usage=0x Const, logical range 0..1 Input id=2 size=12 count=1 page=Generic_Desktop usage=X Variable Relative, logical range -2047..2047 Input id=2 size=12 count=1 page=Generic_Desktop usage=Y Variable Relative, logical range -2047..2047 Input id=2 size=8 count=1 page=Generic_Desktop usage=Wheel Variable Relative, logical range -127..127 End collection End collection Collection page=Consumer usage=Consumer_Control Input id=3 size=8 count=1 page=Device_Controls usage=Battery_Strength Variable, logical range 0..255 End collection $ sdpquery -l browse Record Handle: Service Class ID List: Service Discovery Server (0x1000) Protocol Descriptor List: L2CAP (0x0100) Protocol specific parameter #1: u/int/uuid16 1 Protocol specific parameter #2: u/int/uuid16 1 Record Handle: 0x0001 Service Class ID List: Browse Group Descriptor (0x1001) OpenBSD 4.7 (GENERIC.MP) #130: Wed Mar 17 20:48:50 MDT 2010 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 3177910272 (3030MB) avail mem = 3085787136 (2942MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (80 entries) bios0: vendor LENOVO version 6FET76WW (3.06 ) date 08/27/2009 bios0: LENOVO 2081CTO acpi0 at bios0: rev 2 acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET SLIC BOOT ASF! SSDT TCPA SSDT SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) UART(S3) IGBE(S4) EXP0(S4) EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) PCI1(S4) USB0(S3) USB3(S3) USB5(S3) EHC0(S3) EHC1(S3) HDEF(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 Duo CPU T9600 @ 2.80GHz, 2793.41 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR,NXE,LONG cpu0: 6MB 64b/line 16-way L2 cache cpu0: apic clock running at 266MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU T9600 @ 2.80GHz, 2793.00 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR,NXE,LONG cpu1: 6MB 64b/line 16-way L2 cache ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 2, remapped to apid 1 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (AGP_) acpiprt2 at acpi0: bus 2 (EXP0) acpiprt3 at acpi0: bus 3 (EXP1) acpiprt4 at acpi0: bus -1 (EXP2) acpiprt5 at acpi0: bus 5 (EXP3) acpiprt6 at acpi0: bus 13 (EXP4) acpiprt7 at acpi0: bus 21 (PCI1) acpiec0 at acpi0 acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at
Silent boot?
Just ran across this post about NetBSD:http://www.feyrer.de/NetBSD/bx/blosxom.cgi/nb_20100430_2300.html Turns out, they have a special boottime option that lets the OS boot (almost) without any messages. Which I found even more appealing that some graphical bootsplash images. Does OpenBSD have anything like that? Google left me with nothing. What if I am running the same stable release of OpenBSD on my box for a month and don't need any verbosity, since I don't change anything (so the system is unlikely to fail)? Also, what can be done for redirecting the dmesg output to a local file? OK, I can get all the dmesg cat'ed at some point of the boot process. But what if my system couldn't actually boot? For that kind of occasion, I need my whole dmesg to be stored at any given point, so I could access it. How do I do that?
Re: Silent boot?
On Tue, Jul 6, 2010 at 12:43 AM, Ilya Ilembitov ilembi...@gmail.com wrote: Also, what can be done for redirecting the dmesg output to a local file? See /var/run/dmesg.boot Floor -- Floor Terra flo...@gmail.com www: http://brobding.mine.nu/
Re: Scanning without SANE
On 07/02/2010 11:15 PM, Predrag Punosevac wrote: Dear All, This is not really a question but rather an observation which I made today and which could be very useful for desktop users. It concerns use of scanners (even Windows only printers). As we know the standard way to access scanners on OpenBSD is using sane-backends drivers. They support a fair number of scanners in particular better flat bad USB scanners. Some all-in-one devices produced by Epson are also supported. Sane-backends are supposedly supporting large number of HP made all-in-one devices via proprietary hpaio library which is a part of HPLIP. Unfortunately HPLIP is written with Linux only in mind and it works rather well on OpenBSD only due to heroic effort of our developer Antoine Jacoutot. Luckily it turns out that you do not need any software or drivers to scan with most HP all-in-one device! My wife has a HP Photosmart C5250 all-in-one. C5250 comes with several readers for various types of flash memory cards commonly used by digital cameras. If you press scan button the small menu pups up on the C5250 display with gives you option of scanning directly onto the flash memory card. At the same time a generic kernel of OpenBSD to which my HP all-in-one is connected via USB sees the same flash memory card as a standard SCSI HDD. I just mounted the flash memory as mount -t msdos /dev/sd0i /mnt and I could see a directory on /mnt with scan images. I would guess that the above trick works for any all-in-one or scanner device which has flash memory cards readers including the one produced by Canon and Brother which are not supported by sane-backends. I could even see that you could print on these all-in-one devices without any drivers as long as the kernel sees card readers as SCSI HDD when the all-in-once are connected via USB (or network). You just send your files to flash cards and once there you print directly to printer. Enjoy, Predrag Punosevac P.S. I hope you will find above hardware solution for printing and scanning as interesting as OpenBSD way of VoIP (ssh+aucat). My Brother AIO color laser does the same thing, to USB stick. It's an option in the menu that pops up when one presses the Scan button. It's not a problem except when I'm scanning a month's worth of paperwork. But then again I haven't found a good overall workflow solution to that process anyway, even on Windows where the device has drivers. It can also scan to a host over a network connection; may be time for some tcpdump hacking.
Re: smp
On Mon, Jul 5, 2010 at 12:57 PM, Robert Yuri robert.yu...@gmail.com wrote: what is the state of the smp support in openbsd ? Better than yesterday, not as good as tomorrow we'll degust improvements after the hackathon ? If you want to know what happened during the hackathon, you should 1) read the diffs and commit messages, 2) read articles on undeadly when they appear, or 3) start contributing code to the project to the point that you are invited to be a committer. Everyone (or close to everyone) at the hackathon was interviewed for a future article, so if your question is general, then just be patient instead of trying to repeat the process here without an editing pass. Philip Guenther
Re: Silent boot?
On Mon, Jul 5, 2010 at 3:43 PM, Ilya Ilembitov ilembi...@gmail.com wrote: Just ran across this post about NetBSD:http://www.feyrer.de/NetBSD/bx/blosxom.cgi/nb_20100430_2300.html Turns out, they have a special boottime option that lets the OS boot (almost) without any messages. Which I found even more appealing that some graphical bootsplash images. Does OpenBSD have anything like that? Nope. Google left me with nothing. What if I am running the same stable release of OpenBSD on my box for a month and don't need any verbosity, since I don't change anything (so the system is unlikely to fail)? Gotcha: you don't need any verbosity, except when you do. I suggest you report when something is excessively verbose, but otherwise ignore the output. Since you don't actually state what your problem is, I declare that this solves your problem. ... But what if my system couldn't actually boot? Sounds like something you'll need to think about if you decide to develop this silent boot feature for yourself. What sort of support/usability tradeoffs will you be willing to make when you write it? Philip Guenther
Re: Connecting to one of available networks on boot
On Mon, Jul 5, 2010 at 4:37 PM, Christopher Zimmermann madro...@zakweb.de wrote: The only thing I find funny is that the network link only comes up after I have run the 'ifconfig iwi0 scan' a second time. See below. Yeah, this is a quirk with my iwi device[1] also. A scan needs to be run after you change nwid or the network will not come up as active. It does work without a scan the first time you connect to a network after the machine has been booted, though. [1]: iwi0 at pci2 dev 2 function 0 Intel PRO/Wireless 2915ABG rev 0x05
Re: Silent boot?
--On Tuesday, July 06, 2010 02:43:42 +0400 Ilya Ilembitov ilembi...@gmail.com wrote: Just ran across this post about NetBSD:http://www.feyrer.de/NetBSD/bx/blosxom.cgi/nb_20100430_2300.html Turns out, they have a special boottime option that lets the OS boot (almost) without any messages. Which I found even more appealing that some graphical bootsplash images. Does OpenBSD have anything like that? Google left me with nothing. What if I am running the same stable release of OpenBSD on my box for a month and don't need any verbosity, since I don't change anything (so the system is unlikely to fail)? Also, what can be done for redirecting the dmesg output to a local file? OK, I can get all the dmesg cat'ed at some point of the boot process. But what if my system couldn't actually boot? For that kind of occasion, I need my whole dmesg to be stored at any given point, so I could access it. How do I do that? Just make your console com0 then you wont see anything between BIOS and the login. If you have a problem booting hook up a serial console and see what's up. Having said that I think it is dumb to *not* want to see the boot messages and I hate systems that hide that information from me, but that's just me.
Re: Silent boot?
Eric S Pulley wrote: ... and I hate systems that hide that information from me, but that's just me. Nope. Not just you. A system that hides stuff has to be an order of magnitude more correct just to break even.