From owner-freebsd-questions@FreeBSD.ORG Wed Oct 25 20:35:15 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9DC916A4D2 for ; Wed, 25 Oct 2006 20:35:15 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E3B543E87 for ; Wed, 25 Oct 2006 20:34:35 +0000 (GMT) (envelope-from lists@jnielsen.net) Received: from localhost (jn@ns1 [69.55.238.237]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id k9PKYQfT082312; Wed, 25 Oct 2006 13:34:26 -0700 (PDT) (envelope-from lists@jnielsen.net) From: John Nielsen To: freebsd-questions@freebsd.org Date: Wed, 25 Oct 2006 16:34:36 -0400 User-Agent: KMail/1.9.4 References: <2150E71679C07E419BDA4250480BCF22027B1FC2@adonis.magnetsusa.com> In-Reply-To: <2150E71679C07E419BDA4250480BCF22027B1FC2@adonis.magnetsusa.com> X-Face: #X5#Y*q>F:]zT!DegL3z5Xo'^MN[$8k\[4^3rN~wm=s=Uw(sW}R?3b^*f1Wu*.<=?utf-8?q?of=5F4NrS=0A=09P*M/9CpxDo!D6?=)IY1w<9B1jB; tBQf[RU-R<,I)e"$q7N7 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200610251634.37142.lists@jnielsen.net> X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on ns1.jnielsen.net X-Virus-Status: Clean Cc: Erik Richards Subject: Re: Freebsd Access Point 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: Wed, 25 Oct 2006 20:35:15 -0000 On Wednesday 25 October 2006 16:23, Erik Richards wrote: > This is my first submission to a freebsd mailing list so please bare with > me. I am relatively new to Freebsd but I have so far set up a box at home > acting as a gateway, firewall, and webserver with php and I'm really loving > this OS (my version is 6.0). Great! Consider following the upgrade instructions in the FreeBSD Handbook to bring your system up to 6.2-PRERELEASE or 6.2-RELEASE once it's released. > Now I would like to create an access point. > I have a wireless card (Linksys wmp54gs, Broadcom 4318 chipset) I have read > that I need to use ndiswrapper and windows xp drivers for it to work under > Freebsd. And I need to use hostapd when configuring the card to act as an > access point correct? I have found documentation on these two separate > issues but nothing combining them? My question is, is it possible to use > my linksys card under freebsd and set it up as an access point, or is it > only possible with native drivers? You don't need hostapd to create an access point. If your card and the driver it uses support it, you can create an access point using just ifconfig. Unfortunately, the ndis driver does not support "hostap" mode so you can not create a traditional "infrastructure" access point. However you should be able to create an "ad-hoc" network by doing something like this: ifconfig ndis0 inet 1.2.3.4 netmask 255.255.255.0 ssid your_net mediaopt adhoc Substitute the device name, IP address, netmask, and your desired ssid above as appropriate. The other wireless stations on your network will also need to be set to "ad-hoc" mode using the same ssid. > I've also set up my gateway and all the > computers behind it using static ips so will I still be able to make > wireless work similarly? Yep, should be no problem. > I would also like to use WPA with my wireless setup. This should be possible using ndis, but I don't remember for sure offhand. > I almost forgot, I have 2 wired nic cards in my Freebsd box the one > I have connected to my inside LAN will I have to bride with my wlan card so > my wireless connections can get out to the internet? That's one option (see man 4 if_bridge), but I've found that it's easier just to have an external subnet, a wired internal subnet and a wireless internal subnet and let the FreeBSD box route between them. Since you've already set the box up as a gateway, this should be completely painless (you may not even need to do anything other than assign an IP on the new subnet to your wireless card). > Thank you all very much for your help. Sure. JN