From owner-freebsd-wireless@FreeBSD.ORG Sat Jun 25 07:18:38 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CCED106566B for ; Sat, 25 Jun 2011 07:18:38 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id E8A2D8FC0C for ; Sat, 25 Jun 2011 07:18:37 +0000 (UTC) Received: by yxl31 with SMTP id 31so1812722yxl.13 for ; Sat, 25 Jun 2011 00:18:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=/nGG0NtbBaUoNCtYjPXGRmJi94DOffKujhyDSXqSyos=; b=YVAH6O7DR68JTLUlYyIBilt5S6H9TxWIrfgniFCc9vS9b4saVNMCI7cDMTdUjamBCA nIETqHRDdlzKjcz3D3nhYRylTRPSWYJYqsszzZBc55DtqzE1ePxIxS84Zu0VFYsSPG59 lWy0P2M+1HI1prtDrdgP2mwp7eABEWSAnnFbc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=CSaXviF9kzWevvyOGx/wW2t3VeaAYj5rPuR6LK8WowqDDZVvci2R79TVKk9X7vPOw7 zI15pW3zf/3ihIh6FOSAMGZhG4gWxjO62vUa2WO5vVmm9/UsILO3MYfGNSI5zKi6A7Ra i0y13s1IaEeQCKK5/AS0zWNOywce3cRWBmJhY= MIME-Version: 1.0 Received: by 10.151.40.16 with SMTP id s16mr4551499ybj.123.1308986317083; Sat, 25 Jun 2011 00:18:37 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.150.146.13 with HTTP; Sat, 25 Jun 2011 00:18:37 -0700 (PDT) In-Reply-To: References: Date: Sat, 25 Jun 2011 15:18:37 +0800 X-Google-Sender-Auth: 7Qh87y94A4Z7tB8Ajb2bblyxjvg Message-ID: From: Adrian Chadd To: Kevin Oberman Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Sat, 25 Jun 2011 11:12:32 +0000 Cc: freebsd-wireless@freebsd.org Subject: Re: Couldn't connect to wireless networking X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jun 2011 07:18:38 -0000 Oh damnit, I missed that. Yes, it should be wlan0=3D"WPA DHCP". That should fix it! Adrian 2011/6/25 Kevin Oberman : > 2011/6/24 Adrian Chadd : >> Hi! >> >> You've not really posted enough information. >> >> * Has the system created a wlan0 interface? >> * is wpa_supplicant running on the wlan0 or ath0 interface? (the >> rc.conf script looks right, but I've not tried it myself to verify.) >> >> Thanks, >> >> >> Adrian >> >> 2011/6/25 =D7=DD=BA=E1=CC=EC=CF=C2 : >>> Hi, all. >>> >>> Last week, I moved from Fedora to FreeBSD. >>> Then, I try to connect to wireless networking (wifi). >>> I did some things like handbook, but it showed me: >>> --------- >>> # /etc/rc.d/netif start >>> Starting wpa_supplicant. >>> ioctl [SIOCG80211, op98, len 32]: Invalid argument >>> ELOOP: remaining socket: sock=3D5, eloop_data=3D0x800e0b1c0 >>> user_data=3D0x800e070f0 handler =3D0x421840 >>> /etc/rc.d/wpa_supplicant: WARNING: failed to start wpa_supplicant >>> ifconfig: create: bad value >>> Starting Network: lo0 ath0 >>> lo: ..... >>> ath0: .... >>> status: no carrier >>> --------- >>> >>> I don't know what i did wrong. >>> This is my rc.conf: >>> --------- >>> hostname=3D"laptop.mike" >>> >>> wlans_ath0=3D"wlan0" >>> ifconfig_ath0=3D"WPA DHCP" >>> --------- >>> >>> This is my wpa_supplicant.conf: >>> --------- >>> network { >>> ssid=3D"WEB" >>> psk=3D"12345678" >>> } >>> --------- >>> >>> btw. how to enable snd_driver when FreeBSD starts? >>> > > I think his main problem is that he is trying to configure ath0 > instead of wlan0. > > I see this quite often and felt that, last time I read it, the > documentation was nit very clear on this. > > I might also mention that adding 'snd_hda_load=3D"YES"' to > /boot/loader.conf will probably take care of the sound issue, assuming > he has HDA audio like almost all modern system do unless an add-on > audio card is installed. (Not that this is on-topic for this list.) > -- > R. Kevin Oberman, Network Engineer - Retired > E-mail: kob6558@gmail.com >