From owner-freebsd-questions@FreeBSD.ORG Sun Aug 28 02:41:50 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 937C8106564A for ; Sun, 28 Aug 2011 02:41:50 +0000 (UTC) (envelope-from datastorm01@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4C0418FC0A for ; Sun, 28 Aug 2011 02:41:50 +0000 (UTC) Received: by ywo32 with SMTP id 32so4694812ywo.13 for ; Sat, 27 Aug 2011 19:41:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; bh=7wZroBRLCfkDH1qA0a2VHqFzP6NvcBbLRNZ2k+TIdnE=; b=G7SYoYStMZqn1Oi7lk6ZvBbDSxfGDWLz3eXtRaNn8I/Hh0qSnJe8p8ETxroRvylU6g o3MsijOR7JW2prMNaFY81nK8u9g5MTXLYzHZGJ03EXgFCq8b2Cc0HRXydr9YjEzNi1Sl MKfoCkkvcRwmebrYONi1U5z3mKVPZFGPZeBA0= Received: by 10.42.175.197 with SMTP id bb5mr3390332icb.204.1314497873820; Sat, 27 Aug 2011 19:17:53 -0700 (PDT) Received: from beer.unixhacker.net (CPE-124-179-89-18.lns7.cht.bigpond.net.au [124.179.89.18]) by mx.google.com with ESMTPS id j9sm1741416ibl.18.2011.08.27.19.17.51 (version=SSLv3 cipher=OTHER); Sat, 27 Aug 2011 19:17:53 -0700 (PDT) Message-ID: <4E59A54B.1010704@gmail.com> Date: Sun, 28 Aug 2011 12:17:47 +1000 From: Jason User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.13) Gecko/20110202 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <51754C95-3688-4B33-BD98-7DED5F28DC0E@gmail.com> In-Reply-To: <51754C95-3688-4B33-BD98-7DED5F28DC0E@gmail.com> X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig936993DE2CFA61C46D253DB0" Subject: Re: wireless access point in FreeBSD 8.2p2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Aug 2011 02:41:50 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig936993DE2CFA61C46D253DB0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 08/28/11 02:21, Paul Beard wrote: > I seem to be missing something, possibly from reading too many HOWTOs. = What I am trying to do is get a system with a wireless card to stand in a= s a wireless AP should my aging LinkSys base station develop a tragic smo= ke leak.=20 > > It's an ath0-based card and the following steps suggest it should work = (it has HOSTAP capabilities and offering robust encryption).=20 > > ifconfig wlan0 create wlandev ath0 > ifconfig wlan0 list caps > drivercaps=3D6f85ed41 > cryptocaps=3Df > > But various permutations of rc.conf, hostap.conf and many iterations of= /etc/rc.c/netif restart leave me with two ifconfig entries, one of the a= th0 interface and one for wlan0. None of the examples show this so I susp= ect it's wrong. The IP address is pingable from the host it's installed i= n but not from anywhere else. And I can see the AP from another system an= d attach to it but it doesn't route any traffic.=20 > > from /etc/rc.conf:=20 > wlans_ath0=3D"wlan0" > create_args_wlan0=3D"wlanmode hostap" > ifconfig_wlan0=3D"inet 192.168.0.26 netmask 255.255.255.0 ssid lower mo= de 11g channel 8" > > from hostap.conf:=20 > interface=3Dwlan0 > debug=3D1 > ctrl_interface=3D/var/run/hostapd > ctrl_interface_group=3Dwheel > ssid=3Dlower > wpa=3D0 > > redacted results of ifconfig:=20 > ath0: flags=3D8843 metric 0 mtu= 2290 > ether 00:0d:88:93:21:3a > media: IEEE 802.11 Wireless Ethernet autoselect mode 11g > status: running > > wlan0: flags=3D8843 metric 0 mt= u 1500 > ether 00:0d:88:93:21:3a > inet 192.168.0.26 netmask 0xffffff00 broadcast 192.168.0.255 > inet6 fe80::20d:88ff:fe93:213a%wlan0 prefixlen 64 scopeid 0x7=20 > nd6 options=3D3 > media: IEEE 802.11 Wireless Ethernet autoselect mode 11g > status: running > ssid lower channel 8 (2447 MHz 11g) bssid 00:0d:88:93:21:3a > regdomain FCC indoor ecm authmode AUTO privacy OFF txpower 27 > scanvalid 60 protmode CTS wme burst dtimperiod 1 -dfs > > Yes, I am trying it without any encryption until I see some packets bei= ng passed.=20 > > It seems like a lot of people are getting this to work but I'm not able= to follow how they did it.=20 > -- > Paul Beard > > Are you trying to win an argument or solve a problem?=20 > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd= =2Eorg" 8.2 RELEASE p2 (ath card, works dhcp wpa) # /etc/rc.conf wlans_ath0=3D"wlan0" ifconfig_wlan0=3D"WPA DHCP" # /etc/wpa_supplicant.conf ctrl_interface=3D/var/run/wpa_supplicant network=3D{ ssid=3D"BigPond455FC2" key_mgmt=3DWPA-PSK proto=3DWPA psk=3D"B104264B61" } I hope this helps jason --------------enig936993DE2CFA61C46D253DB0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iQIcBAEBAgAGBQJOWaVUAAoJEK9LZutYluD21hYP+QGkAAr9fHWrP9fusJ3rhoMg D3CbcrAFz3+9lJUsBNWVK5Ez1DrPt4aDfIbX+e4bxyBqDWm0OTFtuQXCY4EjZFZo eaugbHvXD05/ys9lTc54jHru3wioF6yoGvqh6crB4yUOIxZUmRZ2Go8REdh98G+X CPWjKTtPvFCFPgTffgsHcozN3gyAnGXUM6GxqpTGcAMDgcrVrGhlrg+8KuXGo51J MN8Ld+7/L5/euqYQ5hXf2zwphInVZkNeTznFhUZwqBd5kyLeq06lE5nlWHuC8s8O 8Zwu5O8RAINQWdUMozguwdU1kxyGELcNuVG+f/2Wvvq4O0eQZd45LBp0fJSaFWBF NdYU4+yfuT3afzOhMNCyovrfjIxXItq+1R7iHEQIU7gMP3HvvxzorahCfEt9XLRB gG3h7qaZc4B6IlvjNEePMDZF2EEWBiXp64pviu/qOyG0v01ASnCEdTkega486TFZ bkjhuywmwVINqZDFOmF/YABpO9X5oz2+jsa1MlPGcN7qTiGO15Hy9Bi8YqlWTwU8 f2QOd+pJI8G6Z020Btuo1jCICOxgPxlmllSWuzUlY5tfV3K2NSmhUHFRqPOmuZdy Usta7PbdzktdCa3OYe2YyL3H9f7gCyZTszKkJlJPJRAk033sVwc1k7b2NGzwiaq9 tjTICUnokMrg6k0hXOT+ =HaQ0 -----END PGP SIGNATURE----- --------------enig936993DE2CFA61C46D253DB0--