From owner-freebsd-wireless@FreeBSD.ORG Tue Jan 6 16:01:35 2015 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 900324B4 for ; Tue, 6 Jan 2015 16:01:35 +0000 (UTC) Received: from mail-wi0-x233.google.com (mail-wi0-x233.google.com [IPv6:2a00:1450:400c:c05::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 23B0229EA for ; Tue, 6 Jan 2015 16:01:34 +0000 (UTC) Received: by mail-wi0-f179.google.com with SMTP id ex7so5667390wid.6 for ; Tue, 06 Jan 2015 08:01:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=Uw0V9eGh6m2HsPKpPb9EgorWQ/H2yHSkKWJ1sGFEH9E=; b=FFAT7O2GJ8aUko8psaOSuXX77CfHbcVMinqzTivBYSYsFCHe7hKJjPsqDiqVq5jSVX HJZmU1djHNd0a2Xzjx8M49RNLNsI+FfghR8RZOpGkvuwx5VTWD9F1YfSk5ABnFJakUGl B8Nq2Ty+hr9/+ToGsQHzk4+w/ivWYNcjAtLTgJaRhlKgBIftST0Q8cOCXHKx2y/fnDl2 AsiLEJDrH5qLodz3JeFD4PbWF3lHPt22yZL4lg6VWtAXNoqGGz7jAF7mPgIpLVwtHFPZ F4ot9VisomGPFkH1Y9tdxXCQXxi6lNzRXotl/4lHQkCMOnXSDlVHG1UQ9YNZ1jiMH9Zp gENw== MIME-Version: 1.0 X-Received: by 10.194.108.9 with SMTP id hg9mr189377058wjb.68.1420560092579; Tue, 06 Jan 2015 08:01:32 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.216.41.136 with HTTP; Tue, 6 Jan 2015 08:01:32 -0800 (PST) In-Reply-To: <54AC05D1.5020003@pean.org> References: <54ABB8D8.8010505@pean.org> <54AC05D1.5020003@pean.org> Date: Tue, 6 Jan 2015 08:01:32 -0800 X-Google-Sender-Auth: Q4dDUQLO7echNKMpxI6ThCpV19o Message-ID: Subject: Re: Multiple ssid or multiple radios with hostapd From: Adrian Chadd To: =?UTF-8?Q?Peter_Ankerst=C3=A5l?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "wi >> freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18-1 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: Tue, 06 Jan 2015 16:01:35 -0000 Hi! So: * you can run one hostapd - just not via the startup script. You can just pass it multiple config files at the command line. Try it and if you make it work, we'll figur eout how to teach the hostapd rc script about taking a specific config file parameter so we can list config files there. * yes, you'll need >1 ssid on a radio, regardless .:) * yes, the atheros chips have one radio and one baseband, and our framework only supports it being in one channel AP mode at a time (ie, not switching between multple channels/bands.) -adrian On 6 January 2015 at 07:57, Peter Ankerst=C3=A5l wrote: > On 01/06/15 16:53, Adrian Chadd wrote: >> >> Hi! >> >> It should be pretty simple: >> >> wlans_ath0=3D"wlan0 wlan1" >> ifconfig_wlan0=3D"create flags go here HOSTAP" >> ifconfig_wlan1=3D"create flags go here HOSTAP" >> >> Then you populate /etc/hostapd-wlan0.conf and /etc/hostapd-wlan1.conf . >> >> Hm, this isn't well documented at all. Ok, time to update it. >> >> >> >> -adrian >> > Thanks, this is what I did. (ie run two instances of hostapd). But is it > possible to run just one? > > in the other case then, when I need two ssid on the same radio? This shou= ld > be simple I guess? > > and finally a not so related question. I guess my radio (AR9300) cant run= t > 2.4 and 5ghz at the same time? > > >> >> >> On 6 January 2015 at 02:28, Peter Ankerst=C3=A5l wrote: >>> >>> Hi! >>> >>> Im trying to get hostapd to work with multiple wifi cards (and multiple >>> ssid >>> on a single card) but I cant get how to do it from the manual. And when >>> searching the googlez I dont get much. >>> >>> Thanks. >>> > >