From owner-freebsd-questions@FreeBSD.ORG Sat Aug 27 16:44:44 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 6FEA2106564A for ; Sat, 27 Aug 2011 16:44:44 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: from mail-pz0-f45.google.com (mail-pz0-f45.google.com [209.85.210.45]) by mx1.freebsd.org (Postfix) with ESMTP id 492AA8FC19 for ; Sat, 27 Aug 2011 16:44:44 +0000 (UTC) Received: by pzk33 with SMTP id 33so13983614pzk.18 for ; Sat, 27 Aug 2011 09:44:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; bh=dRzZKaepGrGhdOypJE9NJ+D6ZW4LOIBraz0vUS0XiR8=; b=rtAEPrMriYCWSLymiq6taU+ebwPjAvD1i0xZT80oSdTziWg6RBwm7CqlVNmB//e4TX UNN/cE4QEOFX3eQ/MwMVkaU8QJEvQkljuRr5XRrR+LqKwYP2FW45WdtihWzdnusWrVm3 XR1o6ISIQPAWdekA/z6OnBF+OgDJJqposdXv4= Received: by 10.142.133.8 with SMTP id g8mr1240854wfd.393.1314462075819; Sat, 27 Aug 2011 09:21:15 -0700 (PDT) Received: from ivoire.paulbeard.org (c-76-121-105-198.hsd1.wa.comcast.net [76.121.105.198]) by mx.google.com with ESMTPS id g14sm2861438wfh.22.2011.08.27.09.21.13 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 27 Aug 2011 09:21:13 -0700 (PDT) From: Paul Beard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Sat, 27 Aug 2011 09:21:11 -0700 Message-Id: <51754C95-3688-4B33-BD98-7DED5F28DC0E@gmail.com> To: "freebsd-questions@FreeBSD. ORG" Mime-Version: 1.0 (Apple Message framework v1244.3) X-Mailer: Apple Mail (2.1244.3) Subject: 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: Sat, 27 Aug 2011 16:44:44 -0000 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 = as a wireless AP should my aging LinkSys base station develop a tragic = smoke 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 = ath0 interface and one for wlan0. None of the examples show this so I = suspect it's wrong. The IP address is pingable from the host it's = installed in but not from anywhere else. And I can see the AP from = another system and 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 = mode 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 mtu = 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 = being 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