Re: Suspend/Resume on Lemote Yeeloong netbook

2013-06-13 Thread Paul Irofti
On Wed, Jun 12, 2013 at 11:01:37AM +0100, Garry Taylor wrote:
 Just bumping this issue. I've got a Lemote netbook which will sleep, but
 not resume. I need this to work, or I just won't be able to use the device.
 
 If I can confirm that it's not going to work properly in the foreseeable
 future, then I can offload it.

dmesg or it didn't happen!



OpenBGPd: AS path prepend for certain networks only?

2013-06-13 Thread Bernd

Hi,

running OpenBSD 5.3 (amd64) for BGP routing for more than one and a half 
years without any trouble -- thanks guys!


However, as setups evolve, new questions may arise. As far as I get from 
the man pages, it's only possible 'globally' to apply prepending to AS 
paths:


 prepend-neighbor number
 Prepend the neighbor's AS number times to the AS path.

 prepend-self number
 Prepend the local AS number times to the AS path.

I'd like to do this only for certain networks in our AS, to force 
ingress and egress traffic over a certain uplink -- leaving all other 
networks untouched by this.


Is that possible with OpenBGPd?

Thanks,

Bernd



Re: OpenBGPd: AS path prepend for certain networks only?

2013-06-13 Thread Gregory Edigarov

On 06/13/2013 11:36 AM, Bernd wrote:

Hi,

running OpenBSD 5.3 (amd64) for BGP routing for more than one and a half years 
without any trouble -- thanks guys!

However, as setups evolve, new questions may arise. As far as I get from the 
man pages, it's only possible 'globally' to apply prepending to AS paths:

  prepend-neighbor number
  Prepend the neighbor's AS number times to the AS path.

  prepend-self number
  Prepend the local AS number times to the AS path.

I'd like to do this only for certain networks in our AS, to force ingress and 
egress traffic over a certain uplink -- leaving all other networks untouched by 
this.

Is that possible with OpenBGPd?


something like
 match to your_neighbor_here prefix 192.168.2.0/24 set prepend-self 2
 match from your_neighbor_here some.other.prefix.0/NN set prepend-neighbor 3


--
With best regards,
 Gregory Edigarov



Is openbsd.org down??

2013-06-13 Thread C. L. Martinez
HI all,

 Trying to access:

 gateway timeout ...



Re: Is openbsd.org down??

2013-06-13 Thread Martin Schröder
http://www.downforeveryoneorjustme.com/www.openbsd.org

Hrm.



Re: Wireless access point not appearing to clients.

2013-06-13 Thread John Tate
So I've got a supported Atheros card, I think something is wrong with
my config for the adapter because it's still not showing up in scans
on my Samsung Galaxy Ace. There are a lot of media options, I'm using
the defaults which I assumed would be right but could be wrong. I
might have to do a lot of research into the various media options but
a quick answer would be nice.

# cat /etc/hostname.fxp0
up
# cat /etc/hostname.athn0
up media autoselect mode 11g mediaopt hostap nwid KintaroADOBE chan 12
wpa wpakey  wpaprotos wpa2
# cat /etc/hostname.vether0
inet 10.0.0.1 255.0.0.0 10.0.0.255
up
# cat /etc/hostname.bridge0
add vether0
add fxp0
add athn0
up
# ifconfig athn0
athn0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500
lladdr f8:1a:67:d6:28:40
priority: 4
groups: wlan
media: IEEE802.11 autoselect (DS1)
status: no network
ieee80211: nwid KintaroADOBE chan 12 wpaprotos wpa1,wpa2
wpaakms psk wpaciphers tkip,ccmp wpagroupcipher tkip
inet6 fe80::fa1a:67ff:fed6:2840%athn0 prefixlen 64 scopeid 0x1
# ifconfig athn0 scan
athn0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500
lladdr f8:1a:67:d6:28:40
priority: 4
groups: wlan
media: IEEE802.11 autoselect (DS1)
status: no network
ieee80211: nwid KintaroADOBE chan 12 wpaprotos wpa1,wpa2
wpaakms psk wpaciphers tkip,ccmp wpagroupcipher tkip
nwid lvfs chan 6 bssid 00:1d:b3:4c:61:d5 18dB 54M
privacy,spectrum_mgmt,short_slottime
nwid N 2.4 GHz chan 2 bssid 00:22:3f:5a:8b:4a 32dB
54M privacy,short_slottime
nwid NETGEAR chan 6 bssid 00:24:b2:fa:64:da 45dB 54M
short_preamble,short_slottime
nwid Allan-PC chan 7 bssid 00:25:9c:6e:94:fa 16dB 54M
privacy,short_preamble,short_slottime
nwid BigPond655C85 chan 1 bssid 58:98:35:65:5c:85 17dB
54M privacy,short_slottime

I really want to get this running.

John.

On Fri, Jun 7, 2013 at 4:41 PM, John Tate j...@johntate.org wrote:
 I just configured a wireless device for hostap and put it on a bridge with
 my wired network and a virtual ethernet device to give it an address. The
 wired network is working fine, so if I solve this problem the wireless
 should work fine, but the access point is not appearing in scans. I might
 have missed an option for it to do this.

 menger:root # cat /etc/hostname.run0
 up media autoselect mediaopt hostap nwid KintaroADOBE chan 12 wpa wpakey
 XXX wpaprotos wpa2

 menger:root # cat /etc/hostname.fxp0
 up

 menger:root # cat /etc/hostname.vether0
 inet 10.0.0.1 255.0.0.0 10.0.0.255
 up

 menger:root # cat /etc/hostname.bridge0
 add vether0
 add fxp0
 add run0
 up

 menger:root # ifconfig run0
 run0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500
 lladdr 00:22:75:8e:f2:f8
 priority: 4
 groups: wlan
 media: IEEE802.11 autoselect (DS1 mode 11g)
 status: no network
 ieee80211: nwid KintaroADOBE chan 12 wpakey  wpaprotos wpa2
 wpaakms psk wpaciphers tkip,ccmp wpagroupcipher tkip
 inet6 fe80::222:75ff:fe8e:f2f8%run0 prefixlen 64 tentative scopeid
 0x5

 What have I missed?

 --
 www.johntate.org



-- 
www.johntate.org



Re: Wireless access point not appearing to clients.

2013-06-13 Thread John Tate
Someone has helped me resolve this, the hacked MIUI v4 firmware I'm
using does not support channel 12. All help has been greatly
appreciated.

On Thu, Jun 13, 2013 at 8:00 PM, John Tate j...@johntate.org wrote:
 So I've got a supported Atheros card, I think something is wrong with
 my config for the adapter because it's still not showing up in scans
 on my Samsung Galaxy Ace. There are a lot of media options, I'm using
 the defaults which I assumed would be right but could be wrong. I
 might have to do a lot of research into the various media options but
 a quick answer would be nice.

 # cat /etc/hostname.fxp0
 up
 # cat /etc/hostname.athn0
 up media autoselect mode 11g mediaopt hostap nwid KintaroADOBE chan 12
 wpa wpakey  wpaprotos wpa2
 # cat /etc/hostname.vether0
 inet 10.0.0.1 255.0.0.0 10.0.0.255
 up
 # cat /etc/hostname.bridge0
 add vether0
 add fxp0
 add athn0
 up
 # ifconfig athn0
 athn0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500
 lladdr f8:1a:67:d6:28:40
 priority: 4
 groups: wlan
 media: IEEE802.11 autoselect (DS1)
 status: no network
 ieee80211: nwid KintaroADOBE chan 12 wpaprotos wpa1,wpa2
 wpaakms psk wpaciphers tkip,ccmp wpagroupcipher tkip
 inet6 fe80::fa1a:67ff:fed6:2840%athn0 prefixlen 64 scopeid 0x1
 # ifconfig athn0 scan
 athn0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500
 lladdr f8:1a:67:d6:28:40
 priority: 4
 groups: wlan
 media: IEEE802.11 autoselect (DS1)
 status: no network
 ieee80211: nwid KintaroADOBE chan 12 wpaprotos wpa1,wpa2
 wpaakms psk wpaciphers tkip,ccmp wpagroupcipher tkip
 nwid lvfs chan 6 bssid 00:1d:b3:4c:61:d5 18dB 54M
 privacy,spectrum_mgmt,short_slottime
 nwid N 2.4 GHz chan 2 bssid 00:22:3f:5a:8b:4a 32dB
 54M privacy,short_slottime
 nwid NETGEAR chan 6 bssid 00:24:b2:fa:64:da 45dB 54M
 short_preamble,short_slottime
 nwid Allan-PC chan 7 bssid 00:25:9c:6e:94:fa 16dB 54M
 privacy,short_preamble,short_slottime
 nwid BigPond655C85 chan 1 bssid 58:98:35:65:5c:85 17dB
 54M privacy,short_slottime

 I really want to get this running.

 John.

 On Fri, Jun 7, 2013 at 4:41 PM, John Tate j...@johntate.org wrote:
 I just configured a wireless device for hostap and put it on a bridge with
 my wired network and a virtual ethernet device to give it an address. The
 wired network is working fine, so if I solve this problem the wireless
 should work fine, but the access point is not appearing in scans. I might
 have missed an option for it to do this.

 menger:root # cat /etc/hostname.run0
 up media autoselect mediaopt hostap nwid KintaroADOBE chan 12 wpa wpakey
 XXX wpaprotos wpa2

 menger:root # cat /etc/hostname.fxp0
 up

 menger:root # cat /etc/hostname.vether0
 inet 10.0.0.1 255.0.0.0 10.0.0.255
 up

 menger:root # cat /etc/hostname.bridge0
 add vether0
 add fxp0
 add run0
 up

 menger:root # ifconfig run0
 run0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500
 lladdr 00:22:75:8e:f2:f8
 priority: 4
 groups: wlan
 media: IEEE802.11 autoselect (DS1 mode 11g)
 status: no network
 ieee80211: nwid KintaroADOBE chan 12 wpakey  wpaprotos wpa2
 wpaakms psk wpaciphers tkip,ccmp wpagroupcipher tkip
 inet6 fe80::222:75ff:fe8e:f2f8%run0 prefixlen 64 tentative scopeid
 0x5

 What have I missed?

 --
 www.johntate.org



 --
 www.johntate.org



-- 
www.johntate.org



Re: OpenBGPd: AS path prepend for certain networks only?

2013-06-13 Thread Stuart Henderson
On 2013-06-13, Gregory Edigarov ediga...@qarea.com wrote:
 On 06/13/2013 11:36 AM, Bernd wrote:
 Hi,

 running OpenBSD 5.3 (amd64) for BGP routing for more than one and a half 
 years without any trouble -- thanks guys!

 However, as setups evolve, new questions may arise. As far as I get from the 
 man pages, it's only possible 'globally' to apply prepending to AS paths:

   prepend-neighbor number
   Prepend the neighbor's AS number times to the AS path.

   prepend-self number
   Prepend the local AS number times to the AS path.

 I'd like to do this only for certain networks in our AS, to force ingress 
 and egress traffic over a certain uplink -- leaving all other networks 
 untouched by this.

 Is that possible with OpenBGPd?

 something like
   match to your_neighbor_here prefix 192.168.2.0/24 set prepend-self 2
   match from your_neighbor_here some.other.prefix.0/NN set prepend-neighbor 3



For ingress traffic: You can *influence* things in this way, but if you
want to *force* ingress traffic for a certain prefix to always come in
over a certain link, you cannot advertise it out of other uplinks at
all - if somebody sets a higher localpref for you on their network then
it doesn't matter how long the AS path is, the localpref always trumps
this.

For egress traffic (I am understanding this as I want traffic generated
by certain prefixes on my network to always be sent via a certain
transit provider or similar): this can't be done with BGP, or indeed
by the routing table at all, you would need to PF route-to rules or
similar.



Re: obsd 5.3 and openldap

2013-06-13 Thread Stuart Henderson
On 2013-06-12, Friedrich Locke friedrich.lo...@gmail.com wrote:
 Hi folks,

 may someone in the list tell me if with obsd5.3 openldap supports hdb or
 even bdb.
 As far as i know, openldap in openbsd ports is broken.

 Thanks you all.

 gustavo.



OpenBSD 5.3 ships with OpenLDAP 2.3.43 (with ldbm only) and 2.4.33 (hdb
and bdb). I use 2.4.33 (including replication) in production, works fine here.

You asked about mdb before, I sent a diff out when you asked about that,
but you didn't test/reply.



IPv6, automatic configuration and nameservers

2013-06-13 Thread Gregor Best
Hi list,

recently, I've been playing around a bit with IPv6, and IPv6-only
networks. While doing that, I have not found an automated way to add
nameservers announced via router advertisements.

dhclient does that for IPv4 but the rtsol in OpenBSD doesn't have FreeBSD's
-R option for adding recursive nameservers (and porting that without
also porting resolvconf seems to be less than trivial).

Is there a canonical solution with only the things in base or should I
just use something from ports?  And what's the port people use for that?

-- 
Gregor Best



Re: IPv6, automatic configuration and nameservers

2013-06-13 Thread Gregor Best
On Thu, Jun 13, 2013 at 01:53:20PM +0200, Gregor Best wrote:
 [...]
 (and porting that without also porting resolvconf seems to be less than
 trivial).
 [...]

For the record, I meant 'not trivial' instead of 'less than trivial'.

-- 
Gregor Best



pf set prio

2013-06-13 Thread Михаил Швецов
Does (pf set prio) work on Openbsd 5.3 x64 or i386?
Please can you write simple config for set prio in pf.conf?

For example(does it work?):
set skip on lo
match out on $ext_if from { $int_if:network } nat-to ($ext_if)

block
pass out

pass in on $int_if
pass in inet proto icmp

pass on $int_if proto tcp to port ssh set prio 6
pass on $int_if proto tcp from port ssh set prio 6
pass on $ext_if proto tcp to port ssh set prio 6
pass on $ext_if proto tcp from port ssh set prio 6

Set prio may prioritize only outbound trafic(how altq) or in too?

When i use queue i can see in `systat q`. And how with set pf prio, HOW TO
SEE
that ssh (prio 6) go away before other trafic(www for example) WHAT command
to
use tcpdump or pfctl or log this trafic? How to know that prio works?

P.S
And read other posts(messages) i see 2 (two) commands prio X and set prio
X

1:(something OpenBSD 5.0 -5.1)
block all
pass in on $int_if prio 5

2:(OpenBSD 5.3)
block all
pass in on $int_if set prio 5

does rule1=rule2
or
rule1: pass in on $int_if only traffic with prio 5
rule2: pass in on $int_if all traffic and set him(traffic) prio 5
???



Re: small portable for OpenBSD

2013-06-13 Thread todd
Penned by Andrew Ngo on 20130612 13:37.20, we have:
| On 12 June 2013 02:20, Todd T. Fries t...@fries.net wrote:
| 
|  I'm looking for a small (phone or slightly larger sized) computer that will
|  run OpenBSD, has audio and wifi supported, and has a decentish battery
|  life.
| 
| 
| I don't know exactly what is meant by decentish, but I've seen OpenBSD
| running a Sony VAIO P -- a grossly underpowered 1.3lb netbook with the
| accursed GMA500 (read: no X), and an athn for wifi. It runs for about 2-3
| hours or so, and suspend works. According to the ads, it fits in an ass
| pocket... but also looks like a purse. (argh sony why).

Not even vesa mode? Bah.  Ok X is a requirement..

I think I want something like the Sony Vio UX or UMPC.  Does anyone know if
OpenBSD wifi/X/audio works on any of those devices or similar?

Thanks,
-- 
Todd Fries .. t...@fries.net

 
|\  1.636.410.0632 (voice)
| Free Daemon Consulting, LLC\  1.405.227.9094 (voice)
| http://FreeDaemonConsulting.com\  1.866.792.3418 (FAX)
| PO Box 16169, Oklahoma City, OK 73113  \  sip:freedae...@ekiga.net
| ..in support of free software solutions. \  sip:4052279...@ekiga.net
 \
 
  37E7 D3EB 74D0 8D66 A68D  B866 0326 204E 3F42 004A
http://todd.fries.net/pgp.txt



Re: Is openbsd.org down??

2013-06-13 Thread Nicolai
It appears www.openbsd.org may have been down for a while.  I had errors
downloading some spamd files for a stretch of time in the last 10 hours.
Seems fine now.

Nicolai



Re: Suspend/Resume on Lemote Yeeloong netbook

2013-06-13 Thread Miod Vallat
 Thank you for the reply, I have now tried suspending with 'zzz', which puts
 the netbook to sleep within a second, but it will not turn back on by
 pressing keys or the touchpad/touchpad buttons.
 
 So now the machine will not go back on, unless I assume, if I use the power
 button, in which case it will come up from cold boot rather than resume.

I have just checked, and this feature is indeed currently broken. This
is a regression, which I need to investigate...

Miod



Sparc64 Build Farm

2013-06-13 Thread Raymond Lillard

As many of you may have noticed, Bob Beck is planning to assemble a
Sparc64 build farm for ports/packages.

I am donating on my own already, but I noticed this on Craig's List
in Northern California and hoping others will help too.  Here's a way.

The total need is 8-10 v210/v215 units, 6 seems to be a practical min.

I'm in this for two.  Any Sparc64 fans out there?

http://sfbay.craigslist.org/eby/sys/3806080911.html

This is a new-in-the-box unit and a steal at $260

I'm been using old Sun equipment for years.  If anybody knew the
meaning of carrier grade, it was Sun.  Let's make this happen.