From owner-freebsd-net@FreeBSD.ORG Sat Dec 15 06:00:32 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 938CB16A419 for ; Sat, 15 Dec 2007 06:00:32 +0000 (UTC) (envelope-from randy@psg.com) Received: from rip.psg.com (rip.psg.com [147.28.0.39]) by mx1.freebsd.org (Postfix) with ESMTP id 71B9213C461 for ; Sat, 15 Dec 2007 06:00:32 +0000 (UTC) (envelope-from randy@psg.com) Received: from localhost ([127.0.0.1] helo=roam.psg.com) by rip.psg.com with esmtp (Exim 4.68 (FreeBSD)) (envelope-from ) id 1J3Q4b-0009l4-WA; Sat, 15 Dec 2007 06:00:30 +0000 Received: from localhost ([127.0.0.1] helo=roam.psg.com) by roam.psg.com with esmtp (Exim 4.68 (FreeBSD)) (envelope-from ) id 1J3PmH-0000kE-2g; Sat, 15 Dec 2007 14:41:33 +0900 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18275.26892.441538.563720@roam.psg.com> Date: Sat, 15 Dec 2007 14:41:32 +0900 To: freebsd-net@freebsd.org Cc: Subject: ath wep confusion X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Dec 2007 06:00:32 -0000 i know wep sucks caterpillar snot. but, for layer nine reasons, i am trying to get it going on a soekris 5501 to a winxp machine and am pretty confused. first, if i run open, with wep off at both ends, no problem. if i enable wep, i get what seems line a simplex, one-way, connection. first, the plan Soekris 5501 .-----------------------. | | | b ---ath0| | r | LAN external | i --- vr1| ------------|vr0---NAT---- d | DHCP WAN | g --- vr2| | e | Clients | 0 --- vr3| | | `-----------------------' - vr0 gets address via DHCP from external link - bridge0 is hard coded as 192.168.0.1/24 - dhcpd runs on bridge0 for the range 192.168.0.100-199 to feed the LAN this works if ath0 is wepless. turn on wep, and the soekris hears the winxp machine asking for dhcp, but the winxp machine does not hear the reply. the tasty bits of /etc/rc.conf are: ifconfig_vr0=DHCP cloned_interfaces=bridge0 ifconfig_bridge0="192.168.0.1 addm vr1 addm vr2 addm vr3 up addm ath0" ifconfig_vr1=up ifconfig_vr2=up ifconfig_vr3=up ifconfig_ath0="channel 4 ssid rgnet-aden wep wepkey 13-characters mediaopt hostap up" as i said, this fails. the soekris sees incoming dhcp requests, but the responses (which show in tcpdump on the soekris) are not received by the wireless winxp host. but if i then ifconfig ath0 -wep at the command line, and then try from winxp, all is fine. so my assumption is there is something i do not understand about wep keying betweek a freebsd ath hostap and winxp. clue bat, please. randy