From owner-freebsd-mobile@FreeBSD.ORG Fri May 4 20:03:15 2012 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C603106564A; Fri, 4 May 2012 20:03:15 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id C94EF8FC0C; Fri, 4 May 2012 20:03:14 +0000 (UTC) Received: from ncsd.bris.ac.uk ([137.222.10.59] helo=ncs.bris.ac.uk) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1SQOiZ-0002Sa-RS; Fri, 04 May 2012 21:03:08 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1SQOiZ-0001a7-LH; Fri, 04 May 2012 21:03:07 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q44K37Dq030467; Fri, 4 May 2012 21:03:07 +0100 (BST) (envelope-from mexas@bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q44K37bt030466; Fri, 4 May 2012 21:03:07 +0100 (BST) (envelope-from mexas@bris.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bris.ac.uk using -f Date: Fri, 4 May 2012 21:03:07 +0100 From: Anton Shterenlikht To: freebsd-questions@freebsd.org, freebsd-mobile@freebsd.org Message-ID: <20120504200307.GA30426@mech-cluster241.men.bris.ac.uk> Mail-Followup-To: freebsd-questions@freebsd.org, freebsd-mobile@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: Subject: help debug bwn(4) wireless X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2012 20:03:15 -0000 I've US Robotics 5411 wireless pccard device. It's identified as: # pciconf -lv *skip* siba_bwn0@pci0:3:0:0: class=0x028000 card=0x431814e4 chip=0x431814e4 rev=0x02 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller' class = network and from dmesg: siba_bwn0: mem 0xcc502000-0xcc503fff irq 20 at device 0.0 on cardbus0 bwn0 on siba_bwn0 bwn0: WLAN (chipid 0x4318 rev 9) PHY (analog 3 type 2 rev 7) RADIO (manuf 0x17f ver 0x2050 rev 8) bwn0: DMA (32 bits) I've build a kernel with bwn(4), loaded the firmware module: # kldstat Id Refs Address Size Name 1 4 0xffffffff80200000 104fb98 kernel 2 1 0xffffffff81412000 28aa1 bwn_v4_ucode.ko # I created wlan device: bwn0: flags=8843 metric 0 mtu 2290 ether 00:c0:49:58:00:fe nd6 options=29 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: associated wlan0: flags=8843 metric 0 mtu 1500 ether 00:c0:49:58:00:fe inet 192.168.1.104 netmask 0xffffff00 broadcast 192.168.1.255 nd6 options=29 media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11g status: associated ssid lagartixa channel 11 (2462 MHz 11g) bssid 00:18:39:e6:46:b6 country US authmode WPA2/802.11i privacy ON deftxkey UNDEF AES-CCM 2:128-bit txpower 30 bmiss 7 scanvalid 450 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS wme roaming MANUAL I run wpa_supplicant: # wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf Trying to associate with 00:18:39:e6:46:b6 (SSID='lagartixa' freq=2462 MHz) Associated with 00:18:39:e6:46:b6 WPA: Key negotiation completed with 00:18:39:e6:46:b6 [PTK=CCMP GTK=CCMP] CTRL-EVENT-CONNECTED - Connection to 00:18:39:e6:46:b6 completed (auth) [id=0 id_str=] I got issued the ip address by my wireless router. I see the card on the router: DHCP Active IP Table DHCP Server IP Address: 192.168.1.1 Client Host Name IP Address MAC Address Expires 192.168.1.104 00:c0:49:58:00:fe 23:58:54 I get /etc/resolve.conf set up automatically (through the wired connection): % cat /etc/resolv.conf # Generated by resolvconf search cable.virginmedia.net nameserver 194.168.4.100 nameserver 194.168.8.100 But I just can't get the wireless connection, even to the router: % ping 192.168.1.1 PING 192.168.1.1 (192.168.1.1): 56 data bytes ping: sendto: No route to host ping: sendto: No route to host ^C On the console I see: RX decryption attempted (old 0 keyidx 0x1) RX decryption attempted (old 0 keyidx 0x1) RX decryption attempted (old 0 keyidx 0x1) RX decryption attempted (old 0 keyidx 0x1) firmware version (rev 410 patch 2160 date 0x751a time 0x7c0a) Please help What am I doing wrong? What else can I try? Many thanks -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-mobile@FreeBSD.ORG Fri May 4 23:30:18 2012 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B7337106566B; Fri, 4 May 2012 23:30:18 +0000 (UTC) (envelope-from buganini@gmail.com) Received: from mail-qa0-f49.google.com (mail-qa0-f49.google.com [209.85.216.49]) by mx1.freebsd.org (Postfix) with ESMTP id 5886A8FC08; Fri, 4 May 2012 23:30:18 +0000 (UTC) Received: by qabj40 with SMTP id j40so1791759qab.15 for ; Fri, 04 May 2012 16:30:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=idskGgJmHxggzibyrbXJtOlClLJRNhXB+yOfbjplmc0=; b=u7bt8v6ySaLPTHHmAMnUQKJ3R6UNif3Jl8TWxx5pHfsmE0gih2K/CPVIB07J9rNFvf Uh3U3evT0NR8mnXbecGhLqWRhSBeDjjpOHfzPfMbRe/vxYXvbNZcNpNxBknXl8kMrImp DxwA3PmkHwonuGR5pO/QZ87TtTiSaeFbuXUmjQZODooZyjViWc3dCB7G1HsszdGCu9R2 l7N8/xr+b1oPPdgtZOlqS0CsGWHHvI+WATgFmZmYMChTdER8eTOEPqqgaBPPsZH1EN3u BUpL4IggUOQ3Y7ifgcTJnKXbx8IViQAOVN5J1zvN04siAGF+rNzsGIzxOJAjgFHoo1Dj wYJQ== MIME-Version: 1.0 Received: by 10.224.73.77 with SMTP id p13mr13033889qaj.17.1336174217800; Fri, 04 May 2012 16:30:17 -0700 (PDT) Received: by 10.229.192.71 with HTTP; Fri, 4 May 2012 16:30:17 -0700 (PDT) In-Reply-To: <20120504200307.GA30426@mech-cluster241.men.bris.ac.uk> References: <20120504200307.GA30426@mech-cluster241.men.bris.ac.uk> Date: Sat, 5 May 2012 07:30:17 +0800 Message-ID: From: Buganini To: freebsd-questions@freebsd.org, freebsd-mobile@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: help debug bwn(4) wireless X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2012 23:30:18 -0000 how about `ifconfig wlan0 mode 11b` 11g sticks very soon for me and some other people. Regards, Buganini 2012/5/5 Anton Shterenlikht : > I've US Robotics 5411 wireless pccard device. > It's identified as: > > # pciconf -lv > *skip* > siba_bwn0@pci0:3:0:0: =C2=A0 class=3D0x028000 card=3D0x431814e4 chip=3D0x= 431814e4 rev=3D0x02 hdr=3D0x00 > =C2=A0 =C2=A0vendor =C2=A0 =C2=A0 =3D 'Broadcom Corporation' > =C2=A0 =C2=A0device =C2=A0 =C2=A0 =3D 'BCM4318 [AirForce One 54g] 802.11g= Wireless LAN Controller' > =C2=A0 =C2=A0class =C2=A0 =C2=A0 =C2=A0=3D network > > and from dmesg: > > siba_bwn0: mem 0xcc502000-0xcc503ff= f irq 20 at device 0.0 on cardbus0 > bwn0 on siba_bwn0 > bwn0: WLAN (chipid 0x4318 rev 9) PHY (analog 3 type 2 rev 7) RADIO (manuf= 0x17f ver 0x2050 rev 8) > bwn0: DMA (32 bits) > > I've build a kernel with bwn(4), > loaded the firmware module: > > # kldstat > Id Refs Address =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Size =C2=A0 =C2= =A0 Name > =C2=A01 =C2=A0 =C2=A04 0xffffffff80200000 104fb98 =C2=A0kernel > =C2=A02 =C2=A0 =C2=A01 0xffffffff81412000 28aa1 =C2=A0 =C2=A0bwn_v4_ucode= .ko > # > > I created wlan device: > > bwn0: flags=3D8843 metric 0 mtu 2= 290 > =C2=A0 =C2=A0 =C2=A0 =C2=A0ether 00:c0:49:58:00:fe > =C2=A0 =C2=A0 =C2=A0 =C2=A0nd6 options=3D29 > =C2=A0 =C2=A0 =C2=A0 =C2=A0media: IEEE 802.11 Wireless Ethernet autoselec= t mode 11g > =C2=A0 =C2=A0 =C2=A0 =C2=A0status: associated > wlan0: flags=3D8843 metric 0 mtu = 1500 > =C2=A0 =C2=A0 =C2=A0 =C2=A0ether 00:c0:49:58:00:fe > =C2=A0 =C2=A0 =C2=A0 =C2=A0inet 192.168.1.104 netmask 0xffffff00 broadcas= t 192.168.1.255 > =C2=A0 =C2=A0 =C2=A0 =C2=A0nd6 options=3D29 > =C2=A0 =C2=A0 =C2=A0 =C2=A0media: IEEE 802.11 Wireless Ethernet OFDM/36Mb= ps mode 11g > =C2=A0 =C2=A0 =C2=A0 =C2=A0status: associated > =C2=A0 =C2=A0 =C2=A0 =C2=A0ssid lagartixa channel 11 (2462 MHz 11g) bssid= 00:18:39:e6:46:b6 > =C2=A0 =C2=A0 =C2=A0 =C2=A0country US authmode WPA2/802.11i privacy ON de= ftxkey UNDEF > =C2=A0 =C2=A0 =C2=A0 =C2=A0AES-CCM 2:128-bit txpower 30 bmiss 7 scanvalid= 450 bgscan > =C2=A0 =C2=A0 =C2=A0 =C2=A0bgscanintvl 300 bgscanidle 250 roam:rssi 7 roa= m:rate 5 protmode CTS > =C2=A0 =C2=A0 =C2=A0 =C2=A0wme roaming MANUAL > > I run wpa_supplicant: > > # wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf > Trying to associate with 00:18:39:e6:46:b6 (SSID=3D'lagartixa' freq=3D246= 2 MHz) > Associated with 00:18:39:e6:46:b6 > WPA: Key negotiation completed with 00:18:39:e6:46:b6 [PTK=3DCCMP GTK=3DC= CMP] > CTRL-EVENT-CONNECTED - Connection to 00:18:39:e6:46:b6 completed (auth) [= id=3D0 id_str=3D] > > I got issued the ip address by my wireless router. > > I see the card on the router: > > DHCP Active IP Table > DHCP Server IP Address: =C2=A0 192.168.1.1 > Client Host Name =C2=A0 =C2=A0 =C2=A0 =C2=A0IP Address =C2=A0 =C2=A0 =C2= =A0MAC Address =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Expires > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0192.168.1.104 =C2=A0 00:c0:49:58:00:fe =C2=A0 =C2=A0 =C2=A0 23:58= :54 > > > I get /etc/resolve.conf set up automatically > (through the wired connection): > > % cat /etc/resolv.conf > # Generated by resolvconf > search cable.virginmedia.net > nameserver 194.168.4.100 > nameserver 194.168.8.100 > > > But I just can't get the wireless connection, > even to the router: > > % ping 192.168.1.1 > PING 192.168.1.1 (192.168.1.1): 56 data bytes > ping: sendto: No route to host > ping: sendto: No route to host > ^C > > On the console I see: > > RX decryption attempted (old 0 keyidx 0x1) > RX decryption attempted (old 0 keyidx 0x1) > RX decryption attempted (old 0 keyidx 0x1) > RX decryption attempted (old 0 keyidx 0x1) > firmware version (rev 410 patch 2160 date 0x751a time 0x7c0a) > > > Please help > > What am I doing wrong? > What else can I try? > > Many thanks > > -- > Anton Shterenlikht > Room 2.6, Queen's Building > Mech Eng Dept > Bristol University > University Walk, Bristol BS8 1TR, UK > Tel: +44 (0)117 331 5944 > Fax: +44 (0)117 929 4423 > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" From owner-freebsd-mobile@FreeBSD.ORG Sat May 5 06:39:02 2012 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DB266106566B; Sat, 5 May 2012 06:39:02 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 5770D8FC0A; Sat, 5 May 2012 06:39:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id q456cIHN028218; Sat, 5 May 2012 16:38:19 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sat, 5 May 2012 16:38:18 +1000 (EST) From: Ian Smith To: Anton Shterenlikht In-Reply-To: <20120504200307.GA30426@mech-cluster241.men.bris.ac.uk> Message-ID: <20120505163154.O78676@sola.nimnet.asn.au> References: <20120504200307.GA30426@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: help debug bwn(4) wireless X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2012 06:39:02 -0000 On Fri, 4 May 2012 21:03:07 +0100, Anton Shterenlikht wrote: [..] > wlan0: flags=8843 metric 0 mtu 1500 > ether 00:c0:49:58:00:fe > inet 192.168.1.104 netmask 0xffffff00 broadcast 192.168.1.255 > nd6 options=29 > media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11g > status: associated > ssid lagartixa channel 11 (2462 MHz 11g) bssid 00:18:39:e6:46:b6 > country US authmode WPA2/802.11i privacy ON deftxkey UNDEF > AES-CCM 2:128-bit txpower 30 bmiss 7 scanvalid 450 bgscan > bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS > wme roaming MANUAL > > I run wpa_supplicant: > > # wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf > Trying to associate with 00:18:39:e6:46:b6 (SSID='lagartixa' freq=2462 MHz) > Associated with 00:18:39:e6:46:b6 > WPA: Key negotiation completed with 00:18:39:e6:46:b6 [PTK=CCMP GTK=CCMP] > CTRL-EVENT-CONNECTED - Connection to 00:18:39:e6:46:b6 completed (auth) [id=0 id_str=] > > I got issued the ip address by my wireless router. > > I see the card on the router: > > DHCP Active IP Table > DHCP Server IP Address: 192.168.1.1 > Client Host Name IP Address MAC Address Expires > 192.168.1.104 00:c0:49:58:00:fe 23:58:54 > > I get /etc/resolve.conf set up automatically > (through the wired connection): > > % cat /etc/resolv.conf > # Generated by resolvconf > search cable.virginmedia.net > nameserver 194.168.4.100 > nameserver 194.168.8.100 > > > But I just can't get the wireless connection, > even to the router: > > % ping 192.168.1.1 > PING 192.168.1.1 (192.168.1.1): 56 data bytes > ping: sendto: No route to host > ping: sendto: No route to host > ^C What sayeth 'netstat -finet -rn' ? cheers, Ian From owner-freebsd-mobile@FreeBSD.ORG Sat May 5 16:28:37 2012 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51D42106566B; Sat, 5 May 2012 16:28:37 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 07F458FC15; Sat, 5 May 2012 16:28:37 +0000 (UTC) Received: from ncsd.bris.ac.uk ([137.222.10.59] helo=ncs.bris.ac.uk) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1SQhqW-00072u-5E; Sat, 05 May 2012 17:28:36 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1SQhqV-0006t8-TN; Sat, 05 May 2012 17:28:35 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q45GSZxZ033723; Sat, 5 May 2012 17:28:35 +0100 (BST) (envelope-from mexas@bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q45GSZ7k033722; Sat, 5 May 2012 17:28:35 +0100 (BST) (envelope-from mexas@bris.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bris.ac.uk using -f Date: Sat, 5 May 2012 17:28:35 +0100 From: Anton Shterenlikht To: Buganini Message-ID: <20120505162835.GB33675@mech-cluster241.men.bris.ac.uk> Mail-Followup-To: Buganini , freebsd-questions@freebsd.org, freebsd-mobile@freebsd.org References: <20120504200307.GA30426@mech-cluster241.men.bris.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: help debug bwn(4) wireless X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2012 16:28:37 -0000 On Sat, May 05, 2012 at 07:30:17AM +0800, Buganini wrote: > how about > `ifconfig wlan0 mode 11b` > > 11g sticks very soon for me and some other people. > > Regards, > Buganini seems to make no difference: wlan0: flags=8843 metric 0 mtu 1500 ether 00:c0:49:58:00:fe inet 192.168.1.104 netmask 0xffffff00 broadcast 192.168.1.255 nd6 options=29 media: IEEE 802.11 Wireless Ethernet autoselect mode 11b status: associated ssid lagartixa channel 11 (2462 MHz 11b) bssid 00:18:39:e6:46:b6 country US authmode WPA2/802.11i privacy ON deftxkey UNDEF AES-CCM 2:128-bit txpower 30 bmiss 7 scanvalid 450 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 1 wme roaming MANUAL GEN4> ping bris.ac.uk ping: cannot resolve bris.ac.uk: Host name lookup failure GEN4> ping 192.168.1.1 PING 192.168.1.1 (192.168.1.1): 56 data bytes ping: sendto: No route to host ping: sendto: No route to host ^C -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-mobile@FreeBSD.ORG Sat May 5 16:31:48 2012 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 15F92106564A; Sat, 5 May 2012 16:31:48 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id BD6B18FC0A; Sat, 5 May 2012 16:31:47 +0000 (UTC) Received: from ncsd.bris.ac.uk ([137.222.10.59] helo=ncs.bris.ac.uk) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1SQhta-00078g-Oh; Sat, 05 May 2012 17:31:47 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1SQhtZ-0006vW-Q4; Sat, 05 May 2012 17:31:45 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q45GVjBP033745; Sat, 5 May 2012 17:31:45 +0100 (BST) (envelope-from mexas@bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q45GVjIx033744; Sat, 5 May 2012 17:31:45 +0100 (BST) (envelope-from mexas@bris.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bris.ac.uk using -f Date: Sat, 5 May 2012 17:31:45 +0100 From: Anton Shterenlikht To: Ian Smith Message-ID: <20120505163145.GC33675@mech-cluster241.men.bris.ac.uk> Mail-Followup-To: Ian Smith , Anton Shterenlikht , freebsd-questions@freebsd.org, freebsd-mobile@freebsd.org References: <20120504200307.GA30426@mech-cluster241.men.bris.ac.uk> <20120505163154.O78676@sola.nimnet.asn.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120505163154.O78676@sola.nimnet.asn.au> User-Agent: Mutt/1.4.2.3i Cc: Anton Shterenlikht , freebsd-questions@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: help debug bwn(4) wireless X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2012 16:31:48 -0000 On Sat, May 05, 2012 at 04:38:18PM +1000, Ian Smith wrote: > On Fri, 4 May 2012 21:03:07 +0100, Anton Shterenlikht wrote: > [..] > > wlan0: flags=8843 metric 0 mtu 1500 > > ether 00:c0:49:58:00:fe > > inet 192.168.1.104 netmask 0xffffff00 broadcast 192.168.1.255 > > nd6 options=29 > > media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11g > > status: associated > > ssid lagartixa channel 11 (2462 MHz 11g) bssid 00:18:39:e6:46:b6 > > country US authmode WPA2/802.11i privacy ON deftxkey UNDEF > > AES-CCM 2:128-bit txpower 30 bmiss 7 scanvalid 450 bgscan > > bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS > > wme roaming MANUAL > > > > I run wpa_supplicant: > > > > # wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf > > Trying to associate with 00:18:39:e6:46:b6 (SSID='lagartixa' freq=2462 MHz) > > Associated with 00:18:39:e6:46:b6 > > WPA: Key negotiation completed with 00:18:39:e6:46:b6 [PTK=CCMP GTK=CCMP] > > CTRL-EVENT-CONNECTED - Connection to 00:18:39:e6:46:b6 completed (auth) [id=0 id_str=] > > > > I got issued the ip address by my wireless router. > > > > I see the card on the router: > > > > DHCP Active IP Table > > DHCP Server IP Address: 192.168.1.1 > > Client Host Name IP Address MAC Address Expires > > 192.168.1.104 00:c0:49:58:00:fe 23:58:54 > > > > I get /etc/resolve.conf set up automatically > > (through the wired connection): > > > > % cat /etc/resolv.conf > > # Generated by resolvconf > > search cable.virginmedia.net > > nameserver 194.168.4.100 > > nameserver 194.168.8.100 > > > > > > But I just can't get the wireless connection, > > even to the router: > > > > % ping 192.168.1.1 > > PING 192.168.1.1 (192.168.1.1): 56 data bytes > > ping: sendto: No route to host > > ping: sendto: No route to host > > ^C > > What sayeth 'netstat -finet -rn' ? # netstat -finet -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.1.1 UGS 0 1437 bge0 127.0.0.1 link#8 UH 0 0 lo0 192.168.1.0/24 link#1 U 0 0 bge0 192.168.1.101 link#1 UHS 0 0 lo0 192.168.1.104 link#10 UHS 0 0 lo0 I've these lines in /etc/rc.conf: defaultrouter="192.168.1.1" ifconfig_bge0="DHCP" ifconfig_wlan0="DHCP" Does this look right? Many thanks -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423