From owner-freebsd-stable@FreeBSD.ORG Fri Feb 11 05:08:38 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B6F216A4CE for ; Fri, 11 Feb 2005 05:08:38 +0000 (GMT) Received: from farside.isc.org (farside.isc.org [204.152.187.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA34943D1D for ; Fri, 11 Feb 2005 05:08:37 +0000 (GMT) (envelope-from Mark_Andrews@isc.org) Received: from drugs.dv.isc.org (localhost [IPv6:::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by farside.isc.org (Postfix) with ESMTP id 1612B677EF for ; Fri, 11 Feb 2005 05:08:36 +0000 (UTC) (envelope-from marka@isc.org) Received: from drugs.dv.isc.org (localhost [127.0.0.1]) by drugs.dv.isc.org (8.13.1/8.13.1) with ESMTP id j1B58U7O016251; Fri, 11 Feb 2005 16:08:30 +1100 (EST) (envelope-from marka@drugs.dv.isc.org) Message-Id: <200502110508.j1B58U7O016251@drugs.dv.isc.org> To: Matt Herzog From: Mark Andrews In-reply-to: Your message of "Thu, 10 Feb 2005 23:08:11 CDT." <20050211040811.GC21973@acheron.in.hades> Date: Fri, 11 Feb 2005 16:08:30 +1100 Sender: Mark_Andrews@isc.org cc: freebsd-stable@freebsd.org Subject: Re: WAP gateway config X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Feb 2005 05:08:38 -0000 > Hello. > > I have an Atheros PCI card in my firewall/gateway machine. > It seems fully configured because the clients see a good strong signal > but I can't get a dhcp lease from it. I'm not bothering with WEP just yet. > > I followed the instructions found here: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.ht > ml > > I ran these commands: > sysctl net.link.ether.bridge.enable=1 > sysctl net.link.ether.bridge.config="wi0,vr0" Shouldn't that be: sysctl net.link.ether.bridge.config="ath0,vr0 > sysctl net.inet.ip.forwarding=1 > > The ath0 is bridged with the vr0 which is the internal NIC. > dhcpd is running on vr0. I have the following in my ipf.conf: > pass in quick on ath0 from any to any > pass out quick on ath0 from any to any > > un /root# wicontrol ath0 > NIC serial number: [ ] > Station name: [ unaligned.com ] > SSID for IBSS creation: [ wap ] > Current netname (SSID): [ wap ] > Desired netname (SSID): [ wap ] > Current BSSID: [ 00:0f:3d:ae:36:e0 ] > Channel list: [ ffe ] > IBSS channel: [ 11 ] > Current channel: [ 11 ] > Comms quality/signal/noise: [ 0 13 0 ] > Promiscuous mode: [ Off ] > Intersil-Prism2 based card: [ 1 ] > Port type (1=BSS, 3=ad-hoc): [ 6 ] > MAC address: [ 00:0f:3d:ae:36:e0 ] > TX rate (selection): [ 11 ] > TX rate (actual speed): [ 11 ] > RTS/CTS handshake threshold: [ 2312 ] > Create IBSS: [ Off ] > Access point density: [ 1 ] > Power Mgmt (1=on, 0=off): [ 0 ] > Max sleep time: [ 100 ] > WEP encryption: [ Off ] > TX encryption key: [ 1 ] > Encryption keys: [ ][ ][ ][ ] > > My entire ifconfig: > > fxp0: flags=8843 mtu 1500 > options=8 > inet 24.98.219.30 netmask 0xfffffe00 broadcast 255.255.255.255 > ether 00:03:47:0b:74:7b > media: Ethernet autoselect (100baseTX ) > status: active > ath0: flags=8843 mtu 1500 > inet 10.0.0.2 netmask 0xffffff00 broadcast 10.0.0.255 > ether 00:0f:3d:ae:36:e0 > media: IEEE 802.11 Wireless Ethernet DS/11Mbps (autoselect stap>) > status: associated > ssid mycod 1:mycod > channel 11 authmode OPEN powersavemode OFF powersavesleep 100 > rtsthreshold 2312 protmode CTS > wepmode OFF weptxkey 1 > vr0: flags=8943 mtu 1500 > inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255 > ether 00:d0:68:01:55:a3 > media: Ethernet autoselect (100baseTX ) > status: active > plip0: flags=108810 mtu 1500 > lo0: flags=8049 mtu 16384 > inet 127.0.0.1 netmask 0xff000000 > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews@isc.org