From owner-freebsd-questions@FreeBSD.ORG Sun Nov 20 20:42:21 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F3F61065672 for ; Sun, 20 Nov 2011 20:42:21 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 282028FC16 for ; Sun, 20 Nov 2011 20:42:20 +0000 (UTC) Received: by vbbfa15 with SMTP id fa15so2825181vbb.13 for ; Sun, 20 Nov 2011 12:42:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Qv9OgAqstKYryY9XeI++LDeunv9RyyeJDnG/LAIMEfA=; b=ggMgPvq2xt9rkIbmbTOeUDqFYa7h0lIQgAPsXTkOjs3MmI5oHOyoj3JdjqbaGO+I91 EaU04cflHKaZMpfUXDLsMbMqzl0z3j1zIvu4tW19WjPDQl19PLCJV4IgTZmy6aqW+Up0 kIkhwhMhXOhG8HTal6Tw2/6dj6GXs6eCbySF4= MIME-Version: 1.0 Received: by 10.52.34.211 with SMTP id b19mr12416448vdj.112.1321821740083; Sun, 20 Nov 2011 12:42:20 -0800 (PST) Received: by 10.52.101.132 with HTTP; Sun, 20 Nov 2011 12:42:20 -0800 (PST) In-Reply-To: <20111120122631.7461b383.rpclark@tds.net> References: <20111120122631.7461b383.rpclark@tds.net> Date: Sun, 20 Nov 2011 20:42:20 +0000 Message-ID: From: "Paul B. Mahol" To: Rob Clark Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: wireless help with wep authentication 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, 20 Nov 2011 20:42:21 -0000 On 11/20/11, Rob Clark wrote: > Running fbsd 8.2R on a Dell C640 laptop. > Using a pcmcia card with atheros. > > My 2wire wireless router comes setup default with > wep open with wireless security enabled, i.e., needs > the default passkey from the router. I cannot get the > ifconfig line correct so as to authenticate this way, > and have tried many different strings of text here. > > However, following the handbook, I turned off "enable > security" (on the 2wire router) to test things, hence, > using wep (not as authmode shared or authmode open) > and it works using the following in /etc/rc.conf: > > wlans_ath0="wlan0" > ifconfig_wlan0="ssid Mynetname DHCP" > > Mynetname is different -- of course. > > I can browse the web and ping with 0% packet loss. > > I have not delved into using > a /etc/wpa_supplicant.conf yet, I was > hoping i could get it done in rc.conf with ifconfig. > > I have tried many many things, for days on end for > authenticating with the passkey from the router. > Any help appreciated, I can provide further info and > things I've tried -- most things in the handbook > wireless section, minus wpa_supplicant.conf. Should adding "nwkey key" to ifconfig_wlan0 line above be enough? Key may be in ascii or in hex (in which case it must start with 0x). As you should probably already know wep provides 0% security so having wep or open network gives you almost exactly same amount of security.