Re: wifind(8) find your wifi

2016-06-03 Thread Craig Skinner
Hi Ray, On 2016-06-03 Fri 00:26 AM |, Ray Lai wrote: > > I got tired of configuring my wifi every time I had to move my laptop. > Here's a script a whipped up. port it up: http://www.OpenBSD.Org/faq/ports/guide.html Cheers! -- I know not with what weapons World War III will be fought, but Worl

Re: Joining bridge(4) changes broadcast?

2016-06-03 Thread Masao Uebayashi
Moving bpf_mtap_ether() from if_input() to (the top of) ether_input() makes PPPoE session successfully get established. On Thu, Jun 02, 2016 at 02:25:39PM +0900, Masao Uebayashi wrote: > I spoke too early; I thought frames were broken but actually it was not. > What was happening, according to tcp

Re: wifind(8) find your wifi

2016-06-03 Thread Erling Westenvik
As much as I endorse and approve of any effort to create a good solution for handling wifi's, I must say I find the use of perl and json unnecessary for such a project. I've been using a "pure ksh" solution named wiconfig since 2013 and which was posted here at @misc back in 2011 or 2012: http://o

Re: wifind(8) find your wifi

2016-06-03 Thread Etienne
On 06/03/16 05:12, Ray Lai wrote: #!/bin/sh if [[ $1 == "home" ]]; then doas ifconfig run0 nwid foonet wpa wpakey ultrasecret doas dhclient run0 fi Yup. The goal of wifind is to do exactly this, the moment I resume my laptop, without my interaction. May I know what's triggering it? I

Re: wifind(8) find your wifi

2016-06-03 Thread Kamil Cholewiński
Perhaps it's time that the best tool be chosen and made a part of the base install? I've already seen like a 100 different OBSD WiFi scripts floating around the 'net, and naturally I also have a DIY one.

Re: wifind(8) find your wifi

2016-06-03 Thread Raf Czlonka
On Fri, Jun 03, 2016 at 01:59:08PM BST, Etienne wrote: > On 06/03/16 05:12, Ray Lai wrote: > > > > > > #!/bin/sh > > > > > > if [[ $1 == "home" ]]; then > > > doas ifconfig run0 nwid foonet wpa wpakey ultrasecret > > > doas dhclient run0 > > > fi > > Yup. The goal of wifind is to do exact

Re: wifind(8) find your wifi

2016-06-03 Thread Stefan Sperling
On Fri, Jun 03, 2016 at 03:22:19PM +0200, Kamil Cholewiński wrote: > Perhaps it's time that the best tool be chosen and made a part of the > base install? I've already seen like a 100 different OBSD WiFi scripts > floating around the 'net, and naturally I also have a DIY one. No scripts for this,

Re: wifind(8) find your wifi

2016-06-03 Thread Etienne
On 06/03/16 14:31, Raf Czlonka wrote: May I know what's triggering it? I have something similar, but I need to click on a button to run it. /etc/apm/resume I presume :^) man 8 apmd Thanks.

Re: wifind(8) find your wifi

2016-06-03 Thread Ray Lai
> On Jun 3, 2016, at 8:59 PM, Etienne wrote: > On 06/03/16 05:12, Ray Lai wrote: >>> >>> #!/bin/sh >>> >>> if [[ $1 == "home" ]]; then >>>doas ifconfig run0 nwid foonet wpa wpakey ultrasecret >>>doas dhclient run0 >>> fi >> Yup. The goal of wifind is to do exactly this, the moment I resume

Re: wifind(8) find your wifi

2016-06-03 Thread Ray Lai
On Fri, 3 Jun 2016 10:33:47 +0100 skin...@britvault.co.uk (Craig Skinner) wrote: > Hi Ray, > > On 2016-06-03 Fri 00:26 AM |, Ray Lai wrote: > > > > I got tired of configuring my wifi every time I had to move my laptop. > > Here's a script a whipped up. > > port it up: http://www.OpenBSD.Org/f

Re: wifind(8) find your wifi

2016-06-03 Thread Ray Lai
On Fri, 3 Jun 2016 15:52:34 +0200 Stefan Sperling wrote: > On Fri, Jun 03, 2016 at 03:22:19PM +0200, Kamil Cholewiński wrote: > > Perhaps it's time that the best tool be chosen and made a part of the > > base install? I've already seen like a 100 different OBSD WiFi scripts > > floating around th

Re: wifind(8) find your wifi

2016-06-03 Thread Ray Lai
> On Jun 3, 2016, at 8:42 PM, Erling Westenvik wrote: > As much as I endorse and approve of any effort to create a good solution > for handling wifi's, I must say I find the use of perl and json > unnecessary for such a project. I've been using a "pure ksh" solution > named wiconfig since 2013 and

Re: wifind(8) find your wifi

2016-06-03 Thread Stefan Sperling
On Sat, Jun 04, 2016 at 02:38:06AM +0800, Ray Lai wrote: > On Fri, 3 Jun 2016 15:52:34 +0200 > Stefan Sperling wrote: > > One thing we should probably fix first is roaming support in the kernel. > > Do you mean 802.11r support? No, that extension seems to be about moving fast across a huge range

SYN_RCVD

2016-06-03 Thread Peter J. Philipp
Hi, In Mac OS X when I spoof a packet to it it prints somethign like this in the netstat -na: - Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp4 0 0 192.168.180.64.22 20.20.20.20.29991 SYN_