Re: Trouble with Huawei e3276

2014-01-23 Thread Кирилл Каплин
umass1 at uhub1 port 6 configuration 1 interface 0 Technology Mobilerev 2.00/1.02 addr 3umass1: using SCSI over Bulk-Onlyscsibus2 at umass1: 2 targets, initiator 0cd1 at scsibus2 targ 1 lun 0: , Mass Storage, 2.31 SCSI2 5/cdrom removable$ sudo mount /dev/cd1a /mnt$ ls /mntAUTORUN.INF

Re: Trouble with Huawei e3276

2014-01-23 Thread David Coppa
On Thu, Jan 23, 2014 at 9:06 AM, Кирилл Каплин night...@gmail.com wrote: umass1 at uhub1 port 6 configuration 1 interface 0 Technology Mobilerev 2.00/1.02 addr 3umass1: using SCSI over Bulk-Onlyscsibus2 at umass1: 2 targets, initiator 0cd1 at scsibus2 targ 1 lun 0: , Mass Storage, 2.31 SCSI2

pflow and NAT

2014-01-23 Thread Tor Houghton
Hello, I've been using pflow in a non-NAT environment (btw, thanks for both the pf support and the other OS softflowd), but now I'd like to use it in a NAT configuration. Is there a particular way pflow needs to be configured to see which of the NAT'ed hosts are talking to which external

Re: Trouble with Huawei e3276

2014-01-23 Thread Кирилл Каплин
no, it doesn't re-attach as umsm. just nothing happens On Thu, Jan 23, 2014 at 12:29 PM, David Coppa dco...@gmail.com wrote: On Thu, Jan 23, 2014 at 9:06 AM, Кирилл Каплин night...@gmail.com wrote: umass1 at uhub1 port 6 configuration 1 interface 0 Technology Mobilerev

Re: Trouble with Huawei e3276

2014-01-23 Thread David Coppa
On Thu, Jan 23, 2014 at 9:44 AM, Кирилл Каплин night...@gmail.com wrote: no, it doesn't re-attach as umsm. just nothing happens Please send the output of: usbdevs -dv

Re: Trouble with Huawei e3276

2014-01-23 Thread Кирилл Каплин
Controller /dev/usb0: addr 1: high speed, self powered, config 1, EHCI root hub(0x), Intel(0x8086), rev 1.00 uhub0 port 1 powered port 2 powered port 3 powered port 4 addr 2: high speed, power 300 mA, config 1, Wireless-G Business USB Adapter(0x0028), Linksys(0x13b1), rev 0.01 rum0

Re: Poor CARP Interface Performance with NAT

2014-01-23 Thread Andy
Can't see anything immediatly wrong with this but their are a few things you could change/improve; # Why are you setting the tcpflags. The defaults are fine and usualy better.. And keep state is the default tcpflags = S/SA # macros ext_if = em0 carp_ip = removed int_nets = { removed } router

Re: pflow and NAT

2014-01-23 Thread Andy
You need to place the pflow directive on rules on the inside interface not on the outside interface to see RFC1918 addresses. Rules on the outside interface are processed 'post' nat.. NB; 'keep state' is the default, so you don't need to define this unless you are explicitly setting something

Re: Trouble with Huawei e3276

2014-01-23 Thread Jan Stary
On Jan 23 01:51:20, skqu...@rushpost.com wrote: On Thu, Jan 23, 2014, at 01:34 AM, wrote: Hello. This is my trouble: huawei e3276 recognized as cdrom on OpenBSD 5.4. After I try to add entry with id to usbdevs and recompile the kernel, it start to recognize as

Re: media coverage [Was: Re: OPENBSD FUNDING SOLUTION -- COME AND PARTICIPATE]

2014-01-23 Thread Marcus MERIGHI
c...@innolan.dk (Carsten Larsen), 2014.01.22 (Wed) 17:53 (CET): David Coppa wrote: On Mon, Jan 20, 2014 at 12:51 PM, Tony Sidaway tonysida...@gmail.com wrote: On 20 Jan 2014 06:16, noah pugsley noah.pugs...@gmail.com wrote: Just saw this on slashdot:

Re: pflow and NAT

2014-01-23 Thread Florian Obser
You want revision 1.30 of if_pflow.c export the original aka untranslated address in pflow ok florian@ henning@ ~ http://www.openbsd.org/cgi-bin/cvsweb/src/sys/net/if_pflow.c#rev1.30 (and by that I don't mean you should backport it to 5.2, upgrading to 5.4 will be much easier - alot has

Re: Trouble with Huawei e3276

2014-01-23 Thread David Coppa
From: night...@gmail.com Date: Thu, Jan 23, 2014 at 10:01 AM Subject: Re: Trouble with Huawei e3276 To: misc misc@openbsd.org ... port 6 addr 3: high speed, power 500 mA, config 1, Mobile(0x155b), Technology(0x12d1), rev 1.02 umass1 ... Please try the attached diff: $ cd

Re: pflow and NAT

2014-01-23 Thread Andy
Awesome, didn't know this had been done :) On Thu 23 Jan 2014 09:29:38 GMT, Florian Obser wrote: You want revision 1.30 of if_pflow.c export the original aka untranslated address in pflow ok florian@ henning@ ~ http://www.openbsd.org/cgi-bin/cvsweb/src/sys/net/if_pflow.c#rev1.30 (and

Re: pflow and NAT

2014-01-23 Thread Tor Houghton
On Thu, Jan 23, 2014 at 09:29:38AM +, Florian Obser wrote: You want revision 1.30 of if_pflow.c export the original aka untranslated address in pflow ok florian@ henning@ ~ http://www.openbsd.org/cgi-bin/cvsweb/src/sys/net/if_pflow.c#rev1.30 (and by that I don't mean you should

Serial terminal (not console)

2014-01-23 Thread Zé Loff
Sorry if it's a dumb question, but I'm stuck... I have two machines (yesterday's current, one i386, one amd64) and I can properly setup a serial console on the i386 and access it on the amd64 (i.e. changes in boot.conf and /etc/ttys as per the FAQ). This tells me that the cable is OK, that there

Re: Power consumption of various architectures

2014-01-23 Thread Philip Guenther
On Thu, Jan 23, 2014 at 4:49 PM, Shawn K. Quinn skqu...@rushpost.com wrote: There's also the possibility of using a clamp-style AC ammeter on the power cable and multiplying by the nominal line voltage. Nope. http://en.wikipedia.org/wiki/Power_factor Philip Guenther

restoring keyboard layout after suspend or hibernate

2014-01-23 Thread Lars Nooden
After suspend or hibernate, I lose my designated console keyboard layout (sv) and it reverts to the default (us?) wsconsctl shows that the encoding to still be sv, keyboard.encoding=sv What setting(s) am I missing to preserve the designated layout across suspend/hibernate? Regards,

Re: restoring keyboard layout after suspend or hibernate

2014-01-23 Thread David Coppa
On Thu, Jan 23, 2014 at 1:13 PM, Lars Nooden lars.noo...@gmail.com wrote: After suspend or hibernate, I lose my designated console keyboard layout (sv) and it reverts to the default (us?) wsconsctl shows that the encoding to still be sv, keyboard.encoding=sv What setting(s) am I

worm diff

2014-01-23 Thread Jan Stary
Time for today's silly diff yet? The following augments the worm(6) manpage to answer the burning question what happens if I make the worm too long initially? Jan Index: games/worm/worm.6 === RCS file:

Re: restoring keyboard layout after suspend or hibernate

2014-01-23 Thread Janne Johansson
2014/1/23 Lars Nooden lars.noo...@gmail.com After suspend or hibernate, I lose my designated console keyboard layout (sv) and it reverts to the default (us?) wsconsctl shows that the encoding to still be sv, keyboard.encoding=sv What setting(s) am I missing to preserve the

Re: restoring keyboard layout after suspend or hibernate

2014-01-23 Thread Lars Nooden
On Thu, 23 Jan 2014, David Coppa wrote: Maybe the following trick? # mkdir -p /etc/apm \ printf #!/bin/sh\n/sbin/wsconsctl keyboard.encoding=sv\n /etc/apm/resume \ chmod 0755 /etc/apm/resume Followed by: # /etc/rc.d/apmd restart Thanks. That was the right direction. It also

Re: restoring keyboard layout after suspend or hibernate

2014-01-23 Thread Ted Unangst
On Thu, Jan 23, 2014 at 16:20, Lars Nooden wrote: On Thu, 23 Jan 2014, David Coppa wrote: Maybe the following trick? # mkdir -p /etc/apm \ printf #!/bin/sh\n/sbin/wsconsctl keyboard.encoding=sv\n /etc/apm/resume \ chmod 0755 /etc/apm/resume Followed by: # /etc/rc.d/apmd restart

Re: NAT reliability in light of recent checksum changes

2014-01-23 Thread Christian Weisgerber
Henning Brauer lists-open...@bsws.de wrote: This fundamentally weakens its usefulness, though: a correct checksum now implies only that the payload likely matches what the last NAT router happened to have in its memory, whereas the receiver wants to know whether what it got is what was

Re: restoring keyboard layout after suspend or hibernate

2014-01-23 Thread Miod Vallat
[cc: tech@, reply-to set to tech@] After suspend or hibernate, I lose my designated console keyboard layout (sv) and it reverts to the default (us?) wsconsctl shows that the encoding to still be sv, keyboard.encoding=sv What setting(s) am I missing to preserve the designated

Re: restoring keyboard layout after suspend or hibernate

2014-01-23 Thread Ted Unangst
On Thu, Jan 23, 2014 at 20:57, Miod Vallat wrote: - when changing the keyboard layout of a particular keyboard with an ioctl (i.e. using kbd(8) or wsconsctl(8)), the layout will become the default layout of the mux for new keyboard attachments. Now I plug a Sun USB keyboard with the uk

Re: restoring keyboard layout after suspend or hibernate

2014-01-23 Thread Miod Vallat
Something is inconsistent here. Do you mean the uk is not the default? Or there is a difference between mux default and new attach default? How does one know whether plugging a keyboard in is reattaching it or attachning a new one? There is a difference between a keyboard which can provide

Re: restoring keyboard layout after suspend or hibernate

2014-01-23 Thread patrick keshishian
On 1/23/14, Miod Vallat m...@online.fr wrote: Something is inconsistent here. Do you mean the uk is not the default? Or there is a difference between mux default and new attach default? How does one know whether plugging a keyboard in is reattaching it or attachning a new one? There is a

Re: OpenBGPd match clause with multihop BGP session

2014-01-23 Thread Sebastian Benoit
Laurent CARON(lca...@unix-scripts.info) on 2013.12.13 11:31:02 +0100: Hi, I'm using cymru[1] bogon feed onto a router receiving several full tables. On this router I have: neighbor $CYMRU_PEER_v4 { descr cymru-fullbogon-v4-001 local-address