Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Aug 2011 09:21:11 -0700
From:      Paul Beard <>
To:        "freebsd-questions@FreeBSD. ORG" <>
Subject:   wireless access point in FreeBSD 8.2p2
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help
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

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
create_args_wlan0=3D"wlanmode hostap"
ifconfig_wlan0=3D"inet netmask ssid lower =
mode 11g channel 8"

from hostap.conf:=20

redacted results of ifconfig:=20
ath0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu =
	ether 00:0d:88:93:21:3a
	media: IEEE 802.11 Wireless Ethernet autoselect mode 11g =
	status: running

wlan0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu =
	ether 00:0d:88:93:21:3a
	inet netmask 0xffffff00 broadcast
	inet6 fe80::20d:88ff:fe93:213a%wlan0 prefixlen 64 scopeid 0x7=20
	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

Want to link to this message? Use this URL: <>