Re: ifconfig API

2009-04-10 Thread Floor Terra
On Sat, Apr 11, 2009 at 12:45 AM, J.C. Roberts wrote: > > Floor, > > ifconfig is a constantly moving target. For example, if you look at the > 'current' web page (http://www.openbsd.org/faq/current.html) you'll see > two syntax changes in the last six months. I've noticed this a few times with 'i

Re: ifconfig API

2009-04-10 Thread J.C. Roberts
On Fri, 10 Apr 2009 22:34:47 +0200 Floor Terra wrote: > Hi, > > I'm trying to automate some parts of ifconfig and discovered > py-openbsd. Py-openbsd looks great but I can't use it to scan for > wireless access points. > > Is there any sort of ifconfig API

Re: ifconfig API

2009-04-10 Thread Floor Terra
I should have thought about using the actual ifconfig source. Thanks! Floor On Apr 10, 2009 11:25 PM, "Aaron Glenn" wrote: On Fri, Apr 10, 2009 at 1:34 PM, Floor Terra wrote: > > Is there any sort of ifco... ??? http://www.openbsd.org/cgi-bin/cvsweb/src/sbin/ifconfig/ifconfig.c

Re: ifconfig API

2009-04-10 Thread Aaron Glenn
On Fri, Apr 10, 2009 at 1:34 PM, Floor Terra wrote: > > Is there any sort of ifconfig API? I don't really care about the language. > ??? http://www.openbsd.org/cgi-bin/cvsweb/src/sbin/ifconfig/ifconfig.c

ifconfig API

2009-04-10 Thread Floor Terra
Hi, I'm trying to automate some parts of ifconfig and discovered py-openbsd. Py-openbsd looks great but I can't use it to scan for wireless access points. Is there any sort of ifconfig API? I don't really care about the language. Floor -- Floor Terra www: http://brobding.mine.nu/