From owner-freebsd-questions@FreeBSD.ORG Sun Dec 4 03:00:05 2005 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 CAEB816A41F for ; Sun, 4 Dec 2005 03:00:05 +0000 (GMT) (envelope-from snailboy1@yahoo.com) Received: from web53704.mail.yahoo.com (web53704.mail.yahoo.com [206.190.37.25]) by mx1.FreeBSD.org (Postfix) with SMTP id 5A54843D49 for ; Sun, 4 Dec 2005 03:00:05 +0000 (GMT) (envelope-from snailboy1@yahoo.com) Received: (qmail 94010 invoked by uid 60001); 4 Dec 2005 03:00:03 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Elax80SRpO+5K5Rk4MMV1OOQ1Qp5fsywiyknmsbkG0l65nParhUyAdqDAzrbXGzwSW7hJNmNl7kLDleynBaCYgCOKvWFw3y8pc7e9aemtX/PC6eMItbvvmrkaQS+gahCxoZC2232AoabSPMCL34WF2xp/1lZgSX+9LGGcXdjxX8= ; Message-ID: <20051204030003.94007.qmail@web53704.mail.yahoo.com> Received: from [206.255.43.58] by web53704.mail.yahoo.com via HTTP; Sat, 03 Dec 2005 19:00:03 PST Date: Sat, 3 Dec 2005 19:00:03 -0800 (PST) From: David LeCount To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Having much trouble with wep on wireless 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: Sun, 04 Dec 2005 03:00:05 -0000 I give in. I've been working for hours on this without resolution. I just bought a wireless router and I'm trying to get wep working. I'm pretty sure it's working on the router side. I'm having trouble setting the key in FreeBSD. The man page says to use wepkey to set it, but that's been giving errors. When I just do "ifconfig ath0", I notice there's a deftxkey, so I've been using that to try to set the key. The problem is that when I use it, it still says it's undefined despite no errors. Here's an example: kenshi# ifconfig ath0 wepmode on deftxkey 0x0123456789 kenshi# ifconfig ath0 ath0: flags=8843 mtu 1500 inet6 fe80::213:46ff:fe6e:def9%ath0 prefixlen 64 scopeid 0x1 ether 00:13:46:6e:de:f9 media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/36Mbps) status: associated ssid bahamut channel 6 bssid 00:14:bf:b4:c3:e8 authmode OPEN privacy ON deftxkey UNDEF txpowmax 36 protmode CTS bintval 100 Since it says privacy is on, I believe that means wepmode was set, but I can't set the key for anything. By the way, if I run ifconfig with all the parameters, including the IP address, it says: ifconfig: ioctl (SIOCAIFADDR): File exists This has me completely baffled. I thought I got it working once, but when I set it in rc.conf and restarted, it no longer worked and I haven't managed to get it working again. I appreciate any help. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com