From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 14:54:43 2009 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 D635C1065670 for ; Fri, 19 Jun 2009 14:54:43 +0000 (UTC) (envelope-from andrewlylegould@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id 516438FC1A for ; Fri, 19 Jun 2009 14:54:43 +0000 (UTC) (envelope-from andrewlylegould@gmail.com) Received: by bwz9 with SMTP id 9so274002bwz.43 for ; Fri, 19 Jun 2009 07:54:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=MA/BdzGNz7RKVDvlKzdwhzaDVR63b8BEo2kXNKDsJHs=; b=IwE8VPm8+K1Bf2mpqBCybhGJo8jWPojaBw5+d+BE7TElYdq/kdiXbplHF5GoxySmIi B2PvfSGk0y8WDiSgPhOVrP8MyJ/ycQsg7wRM7iz1M6gGTz+Ym42CiJtTbtNt/Vreh36l sK0nzqhXkSyR21MuCGtZkiYNYM7sGYmalUCew= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=dTbUEwB0CiE1Fv8jl9MgOt19ICpClFuZC6w12MB0sV/3sU1vtP423pVKVe/FDyLA1g Lrs3BjZgXmT87EHLgw6A1DtBZS6Tv5rPU1Ep++o59YALR8bhcW33ELkSeU9uI/td3Q89 +HO3liucynl6CFpEN9q+g2Ugqdp5/KrBFn5GQ= MIME-Version: 1.0 Received: by 10.223.108.75 with SMTP id e11mr2427855fap.97.1245423282225; Fri, 19 Jun 2009 07:54:42 -0700 (PDT) In-Reply-To: <20090619160952.6e4bc6ae@donald.home.jochen-neumeister.de> References: <20090619160952.6e4bc6ae@donald.home.jochen-neumeister.de> Date: Fri, 19 Jun 2009 09:54:42 -0500 Message-ID: From: Andrew Gould To: Jochen Neumeister Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: WLAN with Thinkpad T41 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: Fri, 19 Jun 2009 14:54:44 -0000 On Fri, Jun 19, 2009 at 9:09 AM, Jochen Neumeister wrote: > Hi there, > > I have a Thinkpad T41 with FreeBSD 7.2/i386 > > With dmesg i see the wlan card: > > ath0: mem 0xc0210000-0xc021ffff irq 11 at device 2.0 on > pci2 ath0: [ITHREAD] > ath0: WARNING: using obsoleted if_watchdog interface > ath0: Ethernet address: 00:05:4e:48:14:ab > ath0: mac 5.6 phy 4.1 5ghz radio 1.7 2ghz radio 2.3 > > > I read the handbook, and this is me /boot/loader.conf: > > if_ath_load="YES" > wlan_scan_ap_load="YES" > wlan_scan_sta_load="YES" > wlan_wep_load="YES" > wlan_ccmp_load="YES" > wlan_tkip_load="YES" > > > This entry i made in the rc.conf for the ath0: > > ifconfig_ath0="inet 192.168.0.13 netmask 255.255.255.0" > > > Now ifconfig ath0 say: > > ath0: flags=8843 metric 0 mtu > 1500 ether 00:05:4e:48:14:ab > inet 192.168.0.13 netmask 0xffffff00 broadcast 192.168.0.255 > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > status: no carrier > ssid "" channel 124 (5620 Mhz 11a) > authmode OPEN privacy OFF txpower 31.5 bmiss 7 scanvalid 60 bgscan > bgscanintvl 300 bgscanidle 250 roam:rssi11a 7 roam:rate11a 12 burst > bintval 0 > > > and this is me /etc/wpa_supplicant.conf: > > network={ > ssid="linksys_SES_29944" > psk="xxxxxxxxxxx" > } > > > ifconfig ath0 list scan found me accesspoint: > > linksys_SES... 00:06:25:4b:0d:95 11 54M -73:-96 100 EP WPA > > > Now I connect: > > goofy# wpa_supplicant -i ath0 -c /etc/wpa_supplicant.conf > Trying to associate with 00:06:25:4b:0d:95 (SSID='linksys_SES_29944' > freq=2462 MHz) Associated with 00:06:25:4b:0d:95 > WPA: Key negotiation completed with 00:06:25:4b:0d:95 [PTK=TKIP > GTK=TKIP] CTRL-EVENT-CONNECTED - Connection to 00:06:25:4b:0d:95 > completed (auth) [id=0 id_str=] > > > ifconfig ath0 say, I am connected: > > goofy# ifconfig ath0 > ath0: flags=8843 metric 0 mtu > 1500 ether 00:05:4e:48:14:ab > inet 192.168.0.13 netmask 0xffffff00 broadcast 192.168.0.255 > media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/54Mbps) > status: associated > ssid linksys_SES_29944 channel 11 (2462 Mhz 11g) bssid 00:06:25:4b:0d:95 > authmode WPA privacy ON deftxkey UNDEF TKIP 2:128-bit txpower 31.5 > bmiss 7 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 > roam:rssi11g 7 roam:rate11g 5 protmode CTS burst roaming MANUAL > > > but, now ping, now open a Internetsite in firefox, nothing. > > But i can go for a DHCP-IP: > > goofy# dhclient ath0 > DHCPREQUEST on ath0 to 255.255.255.255 port 67 > DHCPACK from 192.168.0.2 > bound to 192.168.0.234 -- renewal in 43200 seconds. > > > When I ping the DHCP-Server 192.168.0.2, i have 100% packet loss. > > > The Laptop works finde with LAN, but not with WLAN. > _______________________________________________ Is LAN still configured for this network? (Is the laptop confused about which interface to ping through?) Are the contents in /etc/resolv.conf correct? Was the gateway properly set? (I expect that dhcp set the DNS and gateway values correctly; but it's always good to check.) Good luck. Andrew