From owner-freebsd-embedded@FreeBSD.ORG Mon Mar 31 11:06:58 2008 Return-Path: Delivered-To: freebsd-embedded@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 264F810656D4 for ; Mon, 31 Mar 2008 11:06:58 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 16EC08FC1F for ; Mon, 31 Mar 2008 11:06:58 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2VB6vre038859 for ; Mon, 31 Mar 2008 11:06:57 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2VB6v04038855 for freebsd-embedded@FreeBSD.org; Mon, 31 Mar 2008 11:06:57 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 31 Mar 2008 11:06:57 GMT Message-Id: <200803311106.m2VB6v04038855@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-embedded@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-embedded@FreeBSD.org X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Mar 2008 11:06:58 -0000 Current FreeBSD problem reports Critical problems Serious problems Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o misc/15876 embedded [picobsd] PicoBSD message of the day problems o misc/28255 embedded [picobsd] picobsd documentation still references old . o kern/42728 embedded [picobsd] many problems in src/usr.sbin/ppp/* after c o misc/52256 embedded [picobsd] picobsd build script does not read in user/s o kern/101228 embedded [nanobsd] [patch] Two more entries for FlashDevice.sub 5 problems total. From owner-freebsd-embedded@FreeBSD.ORG Wed Apr 2 21:34:07 2008 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DDD41065676; Wed, 2 Apr 2008 21:34:07 +0000 (UTC) (envelope-from info@martenvijn.nl) Received: from lists.martenvijn.nl (vijn.xs4all.nl [194.109.254.102]) by mx1.freebsd.org (Postfix) with ESMTP id B6F438FC2A; Wed, 2 Apr 2008 21:34:06 +0000 (UTC) (envelope-from info@martenvijn.nl) Received: from [192.168.1.6] (workstation.martenvijn.nl [192.168.1.6]) by lists.martenvijn.nl (Postfix) with ESMTP id BA8F25C45; Wed, 2 Apr 2008 23:34:20 +0200 (CEST) From: Marten Vijn To: freebsd-small@freebsd.org, freebsd-embedded@freebsd.org Content-Type: text/plain Date: Wed, 02 Apr 2008 23:33:16 +0200 Message-Id: <1207171996.57803.12.camel@workstation.martenvijn.nl> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.2 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on martenvijn.nl Cc: Subject: tinybsd says oeps X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Apr 2008 21:34:07 -0000 hi all, FYI running tinybsd broke my system by removing: /usr/ports/* /lib/ /usr/lib The first time i was not sure (went to sleep during the build), today i saw it happen while building %uname -a FreeBSD workstation.martenvijn.nl 7.0-STABLE FreeBSD 7.0-STABLE #4: Sat Mar 22 22:53:57 CET 2008 root@workstation.martenvijn.nl:/usr/obj/usr/src/sys/GENERIC i386 fix: rebooted in other partition mounted current install on /mnt cd /mnt/usr/src make buildworld DESTDIR=/mnt make installworld DESTDIR=/mnt for testing my config: cd /usr/src/tools/tools/tinybsd/conf svn co http://martenvijn.nl/svn/tinybsd/config/ myconf tinybsd.workstation.root # written by tinybsd Wed Apr 2 22:15:42 CEST 2008 SECTUNIT=120000 TRACKCYL=4 SECTRACK=64 CONF=mvn MFSROOT=no IMG=tinybsd.bin tinybsd.log.old =====> Removing /usr/obj/tinybsdbuild rm: /usr/obj/tinybsdbuild/dev/fd: Operation not supported rm: /usr/obj/tinybsdbuild/dev/net: Operation not supported rm: /usr/obj/tinybsdbuild/dev: Device busy rm: /usr/obj/tinybsdbuild/lib: Device busy rm: /usr/obj/tinybsdbuild/tmp/mountpoint.AAQpNW: Device busy rm: /usr/obj/tinybsdbuild/tmp/mountpoint.tgiHWH: Device busy rm: /usr/obj/tinybsdbuild/tmp: Directory not empty rm: /usr/obj/tinybsdbuild/usr/bin: Device busy rm: /usr/obj/tinybsdbuild/usr/include: Device busy rm: /usr/obj/tinybsdbuild/usr/lib: Device busy rm: /usr/obj/tinybsdbuild/usr/libexec: Device busy rm: /usr/obj/tinybsdbuild/usr/sbin: Device busy rm: /usr/obj/tinybsdbuild/usr/share: Device busy rm: /usr/obj/tinybsdbuild/usr/ports: Device busy rm: /usr/obj/tinybsdbuild/usr: Directory not empty rm: /usr/obj/tinybsdbuild: Directory not empty =====> Removing Build Kernel Directory /libexec/ld-elf.so.1: Shared object "libc.so.7" not found, required by "rm" =====> done. /libexec/ld-elf.so.1: Shared object "libc.so.7" not found, required by "mkdir" =====> Alternative image name not set; defaulting to 'tinybsd.bin' =====> Creating directory hierarchy... mtree: not found mtree: not found mtree: not found mtree: not found mtree: not found /libexec/ld-elf.so.1: Shared object "libc.so.7" not found, required by "cat" tinybsd: grep: not found cut: not found sort: not found uniq: not found make: not found /libexec/ld-elf.so.1: Shared object "libc.so.7" not found, required by "mkdir" make: not found /libexec/ld-elf.so.1: tinybsd: grep: not found Shared object "libc.so.7" not found, required by "cat" =====> Building customized tiny beastie kernel... /libexec/ld-elf.so.1: Shared object "libc.so.7" not found, required by "cp" make: not found some guessing: - full /tmp while building - previous interupted (CTRL-C) tinybsdbuild kind regards, Marten -- Marten Vijn http://martenvijn.nl http://wifisoft.org http://opencommunitycamp.org From owner-freebsd-embedded@FreeBSD.ORG Thu Apr 3 05:39:13 2008 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7C4E1065675; Thu, 3 Apr 2008 05:39:13 +0000 (UTC) (envelope-from richard@unixguru.nl) Received: from mx1.unixguru.nl (mx1.unixguru.nl [77.37.12.119]) by mx1.freebsd.org (Postfix) with ESMTP id A935B8FC19; Thu, 3 Apr 2008 05:39:13 +0000 (UTC) (envelope-from richard@unixguru.nl) Received: from mail.unixguru.nl (www.unixguru.nl [217.122.37.210]) by mx1.unixguru.nl (Postfix) with ESMTP id E9B881FD1C; Thu, 3 Apr 2008 07:15:31 +0200 (CEST) Received: from localhost (localhost.unixguru.nl [127.0.0.1]) by mail.unixguru.nl (Postfix) with ESMTP id CCCF01144F; Thu, 3 Apr 2008 07:11:37 +0200 (CEST) X-Virus-Scanned: amavisd-new at unixguru.nl Received: from mail.unixguru.nl ([127.0.0.1]) by localhost (mail.unixguru.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Kdv9hE5tgokG; Thu, 3 Apr 2008 07:11:35 +0200 (CEST) Received: from localhost (shell.unixguru.nl [192.168.10.20]) by mail.unixguru.nl (Postfix) with ESMTP id B4B8411422; Thu, 3 Apr 2008 07:11:35 +0200 (CEST) Date: Thu, 3 Apr 2008 07:11:35 +0200 From: Richard Arends To: Marten Vijn Message-ID: <20080403051135.GI1215@shell.unixguru.nl> References: <1207171996.57803.12.camel@workstation.martenvijn.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1207171996.57803.12.camel@workstation.martenvijn.nl> User-Agent: Mutt/1.4.2.3i Cc: freebsd-small@freebsd.org, freebsd-embedded@freebsd.org Subject: Re: tinybsd says oeps X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Apr 2008 05:39:14 -0000 On Wed, Apr 02, 2008 at 11:33:16PM +0200, Marten Vijn wrote: Marten, > FYI running tinybsd broke my system by removing: > > /usr/ports/* > /lib/ > /usr/lib It's allready fixed. http://www.freebsd.org/cgi/query-pr.cgi?pr=121763 -- Regards, Richard. /* Homo Sapiens non urinat in ventum */ From owner-freebsd-embedded@FreeBSD.ORG Thu Apr 3 06:46:11 2008 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5FD41065754; Thu, 3 Apr 2008 06:46:11 +0000 (UTC) (envelope-from info@martenvijn.nl) Received: from lists.martenvijn.nl (vijn.xs4all.nl [194.109.254.102]) by mx1.freebsd.org (Postfix) with ESMTP id 1C4F78FE01; Thu, 3 Apr 2008 06:29:23 +0000 (UTC) (envelope-from info@martenvijn.nl) Received: from [192.168.1.6] (workstation.martenvijn.nl [192.168.1.6]) by lists.martenvijn.nl (Postfix) with ESMTP id 15EF25C6E; Thu, 3 Apr 2008 08:29:38 +0200 (CEST) From: Marten Vijn To: Richard Arends In-Reply-To: <20080403051135.GI1215@shell.unixguru.nl> References: <1207171996.57803.12.camel@workstation.martenvijn.nl> <20080403051135.GI1215@shell.unixguru.nl> Content-Type: text/plain Date: Thu, 03 Apr 2008 08:28:33 +0200 Message-Id: <1207204113.57803.19.camel@workstation.martenvijn.nl> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.2 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on martenvijn.nl Cc: freebsd-small@freebsd.org, freebsd-embedded@freebsd.org Subject: Re: tinybsd says oeps X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Apr 2008 06:46:14 -0000 On Thu, 2008-04-03 at 07:11 +0200, Richard Arends wrote: > On Wed, Apr 02, 2008 at 11:33:16PM +0200, Marten Vijn wrote: > > Marten, > > > FYI running tinybsd broke my system by removing: > > > > /usr/ports/* > > /lib/ > > /usr/lib > > It's allready fixed. > oke, thanks, Marten > http://www.freebsd.org/cgi/query-pr.cgi?pr=121763 > > -- > Regards, > > Richard. > > /* Homo Sapiens non urinat in ventum */ -- Marten Vijn http://martenvijn.nl http://wifisoft.org http://opencommunitycamp.org From owner-freebsd-embedded@FreeBSD.ORG Thu Apr 3 17:27:26 2008 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6EFE4106566C for ; Thu, 3 Apr 2008 17:27:26 +0000 (UTC) (envelope-from jordan@JordanColeman.com) Received: from redfeather.colemanfamilycamps.com (redfeather.colemanfamilycamps.com [69.74.247.230]) by mx1.freebsd.org (Postfix) with ESMTP id 430918FC15 for ; Thu, 3 Apr 2008 17:27:26 +0000 (UTC) (envelope-from jordan@JordanColeman.com) Received: from [172.21.1.1] (unknown [172.21.1.1]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by redfeather.colemanfamilycamps.com (Postfix) with ESMTP id 642E15086C for ; Thu, 3 Apr 2008 13:09:02 -0400 (EDT) Message-Id: <8C45E249-2E03-4F70-B3C2-E28A92EEFB05@JordanColeman.com> From: Jordan Coleman To: freebsd-embedded@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Thu, 3 Apr 2008 13:09:01 -0400 X-Mailer: Apple Mail (2.919.2) Subject: Programmatic access to 802.11 info X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Apr 2008 17:27:26 -0000 We are currently working on an embedded application that need to connect to wireless networks. The UI lets the user configure one or more networks, select whether to use a specific network or roam among a list of SSIDs, view SSID scan information etc. We are wrapping wpa_supplicant and letting it handle network selection, roaming, WPA (as well as WEP), etc. and that seems to work well enough. However, at the moment, we're having trouble getting various status information in a reliable and efficient manner. Our temporary code invokes "ifconfig -v list scan" and scrapes its output to get scanning info (it appears to provide more and better info than wpa_supplicant's 'scan results' command). Similarly, we're scraping "wpa_cli status" and "ifconfig list sta" for association and signal strength information. At best, this seems like the hard way to get this info and it's darn ugly, too (polling sucks, but having to fork and exec ifconfig on every poll sucks even more). What's more, some of the information we want, such as signal quality ("n out of 5 bars", etc.), isn't really available. We can get RSSI from "ifconfig list sta", but it's not the same thing. So can anyone suggest how to go about getting this information straight from the system? The application is primarily written in Perl, but Perl is not a hard requirement for this portion of the code. The device runs FreeBSD 7 and the wireless hardware is Atheros- based. So far, I've been unsuccessful in finding helpful docs and the FreeBSD wireless code is big enough to make grokking it a challenge. Thanks in advance for any help you can provide. ++Jordan From owner-freebsd-embedded@FreeBSD.ORG Thu Apr 3 18:13:01 2008 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1EC9106567F for ; Thu, 3 Apr 2008 18:13:01 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from heff.fud.org.nz (203-109-251-39.static.bliink.ihug.co.nz [203.109.251.39]) by mx1.freebsd.org (Postfix) with ESMTP id 918DF8FC0A for ; Thu, 3 Apr 2008 18:13:01 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: by heff.fud.org.nz (Postfix, from userid 1001) id 07ADE80E9; Fri, 4 Apr 2008 06:59:06 +1300 (NZDT) Date: Fri, 4 Apr 2008 06:59:06 +1300 From: Andrew Thompson To: Jordan Coleman Message-ID: <20080403175906.GB29676@heff.fud.org.nz> References: <8C45E249-2E03-4F70-B3C2-E28A92EEFB05@JordanColeman.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8C45E249-2E03-4F70-B3C2-E28A92EEFB05@JordanColeman.com> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-embedded@freebsd.org Subject: Re: Programmatic access to 802.11 info X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Apr 2008 18:13:02 -0000 On Thu, Apr 03, 2008 at 01:09:01PM -0400, Jordan Coleman wrote: > We are currently working on an embedded application that need to connect to > wireless networks. The UI lets the user configure one or more networks, > select whether to use a specific network or roam among a list of SSIDs, > view SSID scan information etc. We are wrapping wpa_supplicant and letting > it handle network selection, roaming, WPA (as well as WEP), etc. and that > seems to work well enough. However, at the moment, we're having trouble > getting various status information in a reliable and efficient manner. > > Our temporary code invokes "ifconfig -v list scan" and scrapes its > output to get scanning info (it appears to provide more and better info > than wpa_supplicant's 'scan results' command). Similarly, we're scraping > "wpa_cli status" and "ifconfig list sta" for association and signal > strength information. At best, this seems like the hard way to get this > info and it's darn ugly, too (polling sucks, but having to fork and exec > ifconfig on every poll sucks even more). What's more, some of the > information we want, such as signal quality ("n out of 5 bars", etc.), > isn't really available. We can get RSSI from "ifconfig list sta", but it's > not the same thing. > > So can anyone suggest how to go about getting this information straight > from the system? The application is primarily written in Perl, but Perl is > not a hard requirement for this portion of the code. The device runs > FreeBSD 7 and the wireless hardware is Atheros-based. So far, I've been > unsuccessful in finding helpful docs and the FreeBSD wireless code is big > enough to make grokking it a challenge. The best reference is the ifconfig code itself. Have a look at src/sbin/ifconfig/ifieee80211.c Andrew