From owner-freebsd-questions@FreeBSD.ORG Mon Mar 1 22:52:32 2010 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 B064E1065676 for ; Mon, 1 Mar 2010 22:52:32 +0000 (UTC) (envelope-from dfunk6@cox.net) Received: from eastrmmtao107.cox.net (eastrmmtao107.cox.net [68.230.240.59]) by mx1.freebsd.org (Postfix) with ESMTP id 69ECD8FC13 for ; Mon, 1 Mar 2010 22:52:32 +0000 (UTC) Received: from eastrmimpo03.cox.net ([68.1.16.126]) by eastrmmtao107.cox.net (InterMail vM.8.00.01.00 201-2244-105-20090324) with ESMTP id <20100301225230.REUO18765.eastrmmtao107.cox.net@eastrmimpo03.cox.net> for ; Mon, 1 Mar 2010 17:52:30 -0500 Received: from [127.0.0.1] ([68.0.79.23]) by eastrmimpo03.cox.net with bizsmtp id nysX1d0040WARwL02ysXQb; Mon, 01 Mar 2010 17:52:31 -0500 X-VR-Score: -100.00 X-Authority-Analysis: v=1.1 cv=r0ip4CAF+RuTzKNasVOAmf0SIcQ3oFzEcrAVGNtDFmQ= c=1 sm=1 a=xxHbGvPHv4NDIGoarCYyzQ==:17 a=6I5d2MoRAAAA:8 a=PtEBTUFu_s52jy5dNOAA:9 a=QWVHq42X04RxYQwx2qYA:7 a=jfcuGX2fa9SQkd5SwYzrx-T2amEA:4 a=SV7veod9ZcQA:10 a=xxHbGvPHv4NDIGoarCYyzQ==:117 X-CM-Score: 0.00 Message-ID: <4B8C4533.9060105@cox.net> Date: Mon, 01 Mar 2010 16:52:35 -0600 From: Derek Funk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4B8ABB16.6020509@cox.net> <20100228205246.GC5085@mail2.dcoder.net> <20100228211040.GD5085@mail2.dcoder.net> In-Reply-To: <20100228211040.GD5085@mail2.dcoder.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 100301-1, 03/01/2010), Outbound message X-Antivirus-Status: Clean Subject: Re: wireless setup 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: Mon, 01 Mar 2010 22:52:32 -0000 On 2/28/2010 3:10 PM, dacoder wrote: > > on a 2nd reading, i see from your ifconfig output that wlan0 is up. so > instead of "ifconfig wlan0 up" i think you need "ifconfig wlan0 create > wlandev ath0" (assuming your wireless nic is ath0), then "dhclient > wlan0". > that does it for me, anyway. i find it easiest to leave *all* my > wireless > commands out of rc.conf & run the 1st command given above once the system > is up. > > hope this helps. > > +++ dacoder [28/02/10 15:52 -0500]: >> in 8.0 you need to use wlan0 as your wireless interface. are you >> doing that? >> so you need "ifconfig wlan0 up" & either "ifconfig wlan0 w.x.y.z" or >> "dhclient wlan0". >> >> +++ Derek Funk [28/02/10 12:51 -0600]: >>> I am trying to setup a wireless nic on a machine I just installed >>> pcbsd 8.0 on. >>> Its not going well. >>> >>> output from ifconfig -a is: >>> re0: >>> flags=8843 metric 0 mtu 1500 >>> >>> options=389b >>> >>> ether 00:1e:33:99:a1:a3 >>> inet6 fe80::21e:33ff:fe99:a1a3%re0 prefixlen >>> 64 scopeid 0x1 >>> media: Ethernet autoselect (100baseTX >>> ) >>> status: active >>> ath0: >>> flags=8843 metric 0 mtu 2290 >>> ether 00:1e:33:99:a1:a3 >>> media: IEEE 802.11 Wireless Ethernet >>> autoselect mode 11g >>> status: associated >>> pflog0: flags=0<> metric 0 mtu 33200 >>> pfsync0: flags=0<> metric 0 mtu 1460 >>> syncpeer: 224.0.0.240 maxupd: 128 >>> lo0: flags=8049 >>> metric 0 mtu 16384 >>> options=3 >>> inet 127.0.0.1 netmask 0xff000000 >>> inet6 ::1 prefixlen 128 >>> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 >>> lagg0: >>> flags=8843 metric 0 mtu 1500 >>> ether 00:1e:33:99:a1:a3 >>> inet6 fe80::21e:33ff:fe99:a1a3%lagg0 >>> prefixlen 64 scopeid 0x6 >>> inet 10.254.239.136 netmask 0xffffff00 >>> broadcast 10.254.239.255 >>> media: Ethernet autoselect >>> status: active >>> laggproto failover >>> laggport: wlan0 flags=0<> >>> laggport: re0 flags=5 >>> wlan0: >>> flags=8843 metric 0 mtu 1500 >>> ether 00:1e:33:99:a1:a3 >>> inet6 fe80::21e:33ff:fe99:a1a3%wlan0 >>> prefixlen 64 scopeid 0x7 >>> media: IEEE 802.11 Wireless Ethernet >>> autoselect (autoselect) >>> status: no carrier >>> ssid "" channel 12 (2467 Mhz 11g) >>> regdomain 101 indoor ecm authmode >>> WPA1+WPA2/802.11i privacy ON >>> deftxkey UNDEF txpower 20 bmiss 7 scanvalid >>> 450 bgscan bgscanintvl 300 >>> bgscanidle 250 roam:rssi 7 roam:rate 5 >>> protmode CTS wme burst >>> roaming MANUAL bintval 0 >>> lo1: flags=8049 >>> metric 0 mtu 16384 >>> options=3 >>> inet 10.1.1.1 netmask 0xffffff00 >>> >>> and my rc.conf is:(with some unrelated info omitted) >>> background_dhclient="YES" >>> >>> # Enable the pcbsd startup / shutdown scripts >>> pcbsdinit_enable="YES" >>> >>> >>> # Denyhosts Startup >>> denyhosts_enable="YES" >>> >>> # Enable the firewall >>> pf_rules="/etc/pf.conf" >>> pf_enable="YES" >>> pf_flags="" >>> >>> # Enable ipfw and open it by default since we have PF >>> firewall_enable="YES" >>> firewall_type="open" >>> >>> # Enable IPV6 support >>> ipv6_enable="YES" >>> >>> # Auto-Enabled NICs from pc-sysinstall >>> ifconfig_re0="up" >>> ifconfig_ath0="`ifconfig re0 ether`" >>> ifconfig_ath0="ether ${ifconfig_ath0##*ether }" >>> wlans_ath0="wlan0" >>> cloned_interfaces="lagg0" >>> ifconfig_lagg0="laggproto failover laggport re0 >>> laggport wlan0 DHCP" >>> hostname="pcbsd-6415" >>> ifconfig_wlan0="WPA" >>> >>> I have looked in the handbook and searched the net and tried what I >>> found and still no go. >>> I am trying to connect to open access points around me that a >>> windows machine has no problem using. >>> Any help is appreciated. >>> >>> Derek >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to >>> "freebsd-questions-unsubscribe@freebsd.org" >> >> -- >> >> regards, >> >> david coder >> network engineer emeritus, verio/ntt >> telluride, co & washington, dc > Nope didnt help, thx tho