From owner-freebsd-wireless@FreeBSD.ORG Wed Jul 11 14:24:37 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 58DBD1065676 for ; Wed, 11 Jul 2012 14:24:37 +0000 (UTC) (envelope-from bschmidt@techwires.net) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id C395E8FC12 for ; Wed, 11 Jul 2012 14:24:36 +0000 (UTC) Received: by lbon10 with SMTP id n10so2284800lbo.13 for ; Wed, 11 Jul 2012 07:24:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=TmSJ7Zgf/XZo509Ag5pBzwQ96FJsKdJy/o1rdLPx3ko=; b=DzIx6TyFSfvD5ekLXQADQHHd24ehw9/fozBEowzIrbAqMIHwFnyC80EmIfJIQd/458 buyBLQI9Q2G73XPXLYEz49RcLgyTGo54UFJWkri5MgCLWDzmX1WGkjF2Ceu7s3PQdqcx mxRenChawQ6MyZwW537bdPdefjKPWIgJFPDyIqpsjAhWR9/Ibx5DNBBjOR1+EJpOp7Bb spVQ3WMYyOECKpWj5uo9RqcNDO2HYdstutajJbEsIY8tlEdIig/2wT1H+eKPojOmU/ua F9Y88rulr9GxwoEiYSwJGF572cx/F4SjQUPSk0QLtNKdEwk/CV9+e/zntjQCnASVlYja LYOA== MIME-Version: 1.0 Received: by 10.112.84.168 with SMTP id a8mr22070374lbz.92.1342016675529; Wed, 11 Jul 2012 07:24:35 -0700 (PDT) Received: by 10.152.106.167 with HTTP; Wed, 11 Jul 2012 07:24:35 -0700 (PDT) X-Originating-IP: [79.140.39.245] In-Reply-To: References: Date: Wed, 11 Jul 2012 16:24:35 +0200 Message-ID: From: Bernhard Schmidt To: Kim Culhan Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQnEwEU1rdPmNWghBP0IUBtca6ApWOuyr66dFoJsPPYidKh8hVH5ofzwDRidcJmzzdQqiV/j Cc: freebsd-wireless@freebsd.org Subject: Re: ath not working with r238290 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2012 14:24:37 -0000 On Wed, Jul 11, 2012 at 1:16 PM, Kim Culhan wrote: > On Wed, Jul 11, 2012 at 2:36 AM, Bernhard Schmidt > wrote: >> On Wed, Jul 11, 2012 at 3:59 AM, Kim Culhan wrote: >>> On Tue, Jul 10, 2012 at 9:53 PM, Adrian Chadd wrote: >>>> Erm, I'm confused. >>>> >>>> Try this: >>>> >>>> ifconfig wlan0 create wlandev hostap >> >> You are missing the parent's interface name I guess, wlandev takes a >> interface name as an argument not a mode. >> >> ifconfig wlan0 create wlandev *ath0 wlanmode* hostap >> >> Make sure the wlan0 interface does not exist, check with ifconfig -l > > ifconfig wlan0 create wlandev ath0 wlanmode hostap > > returns: > > ifconfig: create: bad value That error messages indicates the interface already exists, try to do ifconfig wlan0 destroy before running the create command. -- Bernhard