From owner-freebsd-mobile@FreeBSD.ORG Sun Nov 27 01:04:44 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0771416A41F for ; Sun, 27 Nov 2005 01:04:44 +0000 (GMT) (envelope-from kjelderg@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B20943D60 for ; Sun, 27 Nov 2005 01:04:34 +0000 (GMT) (envelope-from kjelderg@gmail.com) Received: by zproxy.gmail.com with SMTP id z31so737897nzd for ; Sat, 26 Nov 2005 17:04:33 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jN4wGQKgZHWfCMRY0Z6juo18Fz8UE5p1z54C7kvDDkisQ0MEBoR3n6yvK9lJJoD45oGDPnkF1hgD3vqGfQS5dR91mxT6UV9eq1EzX5A23LfxyeKoeUHWS4aqykd1fCT2PBwtsTD8HuuruiWU3u3qKTYFTajsbU9A78kQgLOhLVk= Received: by 10.65.11.14 with SMTP id o14mr1975471qbi; Sat, 26 Nov 2005 17:04:33 -0800 (PST) Received: by 10.65.22.9 with HTTP; Sat, 26 Nov 2005 17:04:33 -0800 (PST) Message-ID: Date: Sun, 27 Nov 2005 10:04:33 +0900 From: Eric Kjeldergaard To: Hans Nieser In-Reply-To: <4388B53F.9020905@nieser.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4388B53F.9020905@nieser.net> Cc: freebsd-mobile@freebsd.org Subject: Re: Switching wired <-> wireless in a user-friendly manner, possible? 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: Sun, 27 Nov 2005 01:04:44 -0000 On 11/27/05, Hans Nieser wrote: > Hello, > > I have a laptop that I mainly use at home. It's got both a wired and > wireless interface, both work fine. I used to run Windows XP on it which > allowed me to easily switch from the wired interface to the wireless > interface and vice versa. I found this convenient because I could plugin > the cable when I have my laptop on my desk for better performance. When I > wanted to work with the laptop somewhere else, like downstairs or perhaps > for some reading before I go to sleep, I could just unplug the cable and > could continue reading websites and access my LAN over the wireless > interface. > > I have now installed FreeBSD 6.0 on my laptop and am trying to get it to > behave the same as Windows XP. Right now when I boot the laptop with the > cable plugged in it will access the LAN over the wired interface (fxp0), > as soon as I unplug the cable, I lose connectivity and won't route traffi= c > over the wireless interface (ipw0). > > I am guessing that what needs to happen is, as soon as fxp0 becomes > inactive, the default route needs to be updated so it will route over the > ipw0 interface. What is the best way to accomplish this? Do I have to > write a shellscript that continiously checks for fxp0's status and then > somehow update the default route, or are there facilities available for > this? I could be wrong, but... notify 0 { match "system" "IFNET"; match "type" "LINK_UP"; media-type "ethernet"; action "/etc/rc.d/dhclient start $subsystem"; }; exists in devd.conf . It seems one could copy that and have a rule for LINK_DOWN (if it exists) that did whatever you were after on unplugging. -- If I write a signature, my emails will appear more personalised. From owner-freebsd-mobile@FreeBSD.ORG Sun Nov 27 02:24:10 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 33D6916A41F for ; Sun, 27 Nov 2005 02:24:10 +0000 (GMT) (envelope-from jamesd.earl@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB67443D53 for ; Sun, 27 Nov 2005 02:24:09 +0000 (GMT) (envelope-from jamesd.earl@gmail.com) Received: by zproxy.gmail.com with SMTP id z31so745297nzd for ; Sat, 26 Nov 2005 18:24:09 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=psNcZqKWJBkgi/HPGFAo3XC1FNuOkAOvFrTaJBGNWfDylBWY1ni0+bU3HqbNBC9gWzwUADtfi0kLqK5pr5RYGi9NuniKzHhSxIcnCxKDlzZ6rIh6HZi/GzNY1xAvK+m68+/dSATO3UOoQ64+PmME517aKF7Df7dPCvSuAurYz6g= Received: by 10.65.214.4 with SMTP id r4mr75577qbq; Sat, 26 Nov 2005 18:24:08 -0800 (PST) Received: by 10.64.10.6 with HTTP; Sat, 26 Nov 2005 18:24:08 -0800 (PST) Message-ID: Date: Sat, 26 Nov 2005 19:24:08 -0700 From: James Earl Sender: jamesd.earl@gmail.com To: Hans Nieser In-Reply-To: <4388B53F.9020905@nieser.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4388B53F.9020905@nieser.net> Cc: freebsd-mobile@freebsd.org Subject: Re: Switching wired <-> wireless in a user-friendly manner, possible? 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: Sun, 27 Nov 2005 02:24:10 -0000 On 11/26/05, Hans Nieser wrote: > Hello, > > I have a laptop that I mainly use at home. It's got both a wired and > wireless interface, both work fine. I used to run Windows XP on it which > allowed me to easily switch from the wired interface to the wireless > interface and vice versa. I found this convenient because I could plugin > the cable when I have my laptop on my desk for better performance. When I > wanted to work with the laptop somewhere else, like downstairs or perhaps > for some reading before I go to sleep, I could just unplug the cable and > could continue reading websites and access my LAN over the wireless inter= face. > > I have now installed FreeBSD 6.0 on my laptop and am trying to get it to > behave the same as Windows XP. Right now when I boot the laptop with the > cable plugged in it will access the LAN over the wired interface (fxp0), > as soon as I unplug the cable, I lose connectivity and won't route traffi= c > over the wireless interface (ipw0). > > I am guessing that what needs to happen is, as soon as fxp0 becomes > inactive, the default route needs to be updated so it will route over the > ipw0 interface. What is the best way to accomplish this? Do I have to > write a shellscript that continiously checks for fxp0's status and then > somehow update the default route, or are there facilities available for t= his? You could also try out the nicmond port. James From owner-freebsd-mobile@FreeBSD.ORG Sun Nov 27 02:36:49 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C795E16A41F for ; Sun, 27 Nov 2005 02:36:49 +0000 (GMT) (envelope-from asstec@matik.com.br) Received: from msrv.matik.com.br (msrv.matik.com.br [200.152.83.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1ECE843D45 for ; Sun, 27 Nov 2005 02:36:48 +0000 (GMT) (envelope-from asstec@matik.com.br) Received: from anb (ap6.matik.com.br [200.152.83.36] (may be forged)) by msrv.matik.com.br (8.13.3/8.13.1) with ESMTP id jAR2ao9u088641 for ; Sun, 27 Nov 2005 00:36:50 -0200 (BRST) (envelope-from asstec@matik.com.br) From: AT Matik Organization: Infomatik To: freebsd-mobile@freebsd.org Date: Sun, 27 Nov 2005 00:36:52 -0200 User-Agent: KMail/1.8.3 References: <4388B53F.9020905@nieser.net> In-Reply-To: <4388B53F.9020905@nieser.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200511270036.52845.asstec@matik.com.br> X-Filter-Version: 1.11a (msrv.matik.com.br) X-Virus-Scanned: ClamAV version 0.86.2, clamav-milter version 0.86 on msrv.matik.com.br X-Virus-Status: Clean Subject: Re: Switching wired <-> wireless in a user-friendly manner, possible? 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: Sun, 27 Nov 2005 02:36:50 -0000 On Saturday 26 November 2005 17:19, Hans Nieser wrote: > > I am guessing that what needs to happen is, as soon as fxp0 becomes > inactive, the default route needs to be updated so it will route over the > ipw0 interface. What is the best way to accomplish this? Do I have to > write a shellscript that continiously checks for fxp0's status and then > somehow update the default route, or are there facilities available for > this? _______________________________________________ yep, you got it ;) may be you like what I do i have DHCP for my nic in rc.conf when my eth is up (sis0 in my case) nothing happens as getting the config= =20 from the dhcp server else I call a script to configure my wireless connection (/etc/start-wif) so you may check running this in crontab as I understand you unplug the cab= le=20 and run around ;) Jo=E3o this runs on 6.0 but should work correctly on 5.x as well ################################ #!/bin/sh status=3D"`ifconfig sis0 | grep status | awk '{print $2$3}'`" case ${status} in nocarrier) (/etc/start-wif &) ;; *) logger -s "running ethernet dhclient" ;; esac ################################# A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br From owner-freebsd-mobile@FreeBSD.ORG Sun Nov 27 15:38:49 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E6F816A41F for ; Sun, 27 Nov 2005 15:38:49 +0000 (GMT) (envelope-from h.nieser@xs4all.nl) Received: from smtp-vbr3.xs4all.nl (smtp-vbr3.xs4all.nl [194.109.24.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id D97B943D5F for ; Sun, 27 Nov 2005 15:38:48 +0000 (GMT) (envelope-from h.nieser@xs4all.nl) Received: from [192.168.1.10] (nieser.net [194.109.160.131]) by smtp-vbr3.xs4all.nl (8.13.3/8.13.3) with ESMTP id jARFckNN088822 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 27 Nov 2005 16:38:46 +0100 (CET) (envelope-from h.nieser@xs4all.nl) Message-ID: <4389D307.3040506@xs4all.nl> Date: Sun, 27 Nov 2005 16:38:47 +0100 From: Hans Nieser User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051106) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-mobile@freebsd.org References: <4388B53F.9020905@nieser.net> <200511270036.52845.asstec@matik.com.br> In-Reply-To: <200511270036.52845.asstec@matik.com.br> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by XS4ALL Virus Scanner Subject: Re: Switching wired <-> wireless in a user-friendly manner, possible? 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: Sun, 27 Nov 2005 15:38:49 -0000 AT Matik wrote: > may be you like what I do > > i have DHCP for my nic in rc.conf > > when my eth is up (sis0 in my case) nothing happens as getting the config > from the dhcp server > > else I call a script to configure my wireless connection (/etc/start-wif) > > so you may check running this in crontab as I understand you unplug the cable > and run around ;) (oops, accidently sent this reply to freebsd-questions at first) Thanks for the replies everyone. I think I am going to try and do something with devd.conf first. I'm going through the /etc/rc.d/netif, /etc/network.subr scripts at the moment so I can get a clear picture of how exactly FreeBSD (6.0 is what I'm using) sets up interfaces at boot, to prevent myself from screwing anything up ;) From owner-freebsd-mobile@FreeBSD.ORG Sun Nov 27 23:20:47 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 45E5816A453 for ; Sun, 27 Nov 2005 23:20:47 +0000 (GMT) (envelope-from hara@br0tkasten.de) Received: from vs170247.vserver.de (br0tkasten.de [62.75.170.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE89F43D86 for ; Sun, 27 Nov 2005 23:20:28 +0000 (GMT) (envelope-from hara@br0tkasten.de) Received: from br0tkasten.de ([62.75.170.247] helo=[10.253.193.195]) by vs170247.vserver.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1EgVog-0003Un-7j; Mon, 28 Nov 2005 00:20:18 +0100 Message-ID: <438A3F82.8040402@br0tkasten.de> Date: Mon, 28 Nov 2005 00:21:38 +0100 From: LeifEriccson User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-mobile@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: ethernet bandwith problems 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: Sun, 27 Nov 2005 23:20:48 -0000 hi there i got a wrap-board from pcengines(.ch) with an amd geode cpu and two ethernet interfaces. this board is working with freebsd 6.0 and the ethernet interfaces with the sis driver. actually i did some tests with the iperf tool, and i wondered why i just get a perfomance up 37 MBit/s. maybe somebody of you got a clue. tnx dominik From owner-freebsd-mobile@FreeBSD.ORG Mon Nov 28 02:08:38 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1360716A41F for ; Mon, 28 Nov 2005 02:08:38 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F54643D5F for ; Mon, 28 Nov 2005 02:08:36 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [192.168.42.25] ([192.168.42.25]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id jAS28WkG016404; Sun, 27 Nov 2005 20:08:32 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <438A6692.6030600@centtech.com> Date: Sun, 27 Nov 2005 20:08:18 -0600 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20051021 X-Accept-Language: en-us, en MIME-Version: 1.0 To: LeifEriccson References: <438A3F82.8040402@br0tkasten.de> In-Reply-To: <438A3F82.8040402@br0tkasten.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.82/1195/Fri Nov 25 03:29:55 2005 on mh2.centtech.com X-Virus-Status: Clean Cc: freebsd-mobile@freebsd.org Subject: Re: ethernet bandwith problems 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: Mon, 28 Nov 2005 02:08:38 -0000 LeifEriccson wrote: > hi there > > i got a wrap-board from pcengines(.ch) with an amd geode cpu and two > ethernet interfaces. this board is working with freebsd 6.0 and the > ethernet interfaces with the sis driver. actually i did some tests with > the iperf tool, and i wondered why i just get a perfomance up 37 MBit/s. > maybe somebody of you got a clue. 37MBit/s isn't too bad for a geode I don't think.. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-mobile@FreeBSD.ORG Mon Nov 28 05:18:00 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8AE0B16A41F for ; Mon, 28 Nov 2005 05:18:00 +0000 (GMT) (envelope-from josh@tcbug.org) Received: from sccrmhc14.comcast.net (sccrmhc14.comcast.net [63.240.77.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC39243D46 for ; Mon, 28 Nov 2005 05:17:59 +0000 (GMT) (envelope-from josh@tcbug.org) Received: from [192.168.1.101] (c-24-118-173-219.hsd1.mn.comcast.net[24.118.173.219]) by comcast.net (sccrmhc14) with ESMTP id <2005112805174501400lpat6e>; Mon, 28 Nov 2005 05:17:54 +0000 From: Josh Paetzel To: freebsd-mobile@freebsd.org Date: Sun, 27 Nov 2005 23:17:44 -0600 User-Agent: KMail/1.8.3 References: <438A3F82.8040402@br0tkasten.de> <438A6692.6030600@centtech.com> In-Reply-To: <438A6692.6030600@centtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511272317.44843.josh@tcbug.org> Cc: LeifEriccson , Eric Anderson Subject: Re: ethernet bandwith problems 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: Mon, 28 Nov 2005 05:18:00 -0000 On Sunday 27 November 2005 08:08 pm, Eric Anderson wrote: > LeifEriccson wrote: > > hi there > > > > i got a wrap-board from pcengines(.ch) with an amd geode cpu and > > two ethernet interfaces. this board is working with freebsd 6.0 > > and the ethernet interfaces with the sis driver. actually i did > > some tests with the iperf tool, and i wondered why i just get a > > perfomance up 37 MBit/s. maybe somebody of you got a clue. > > 37MBit/s isn't too bad for a geode I don't think.. > > Eric 37 Megabytes per second is reasonable. At that point you are disk-bound 37 megabits per second means that there is something wrong. -- Thanks, Josh Paetzel From owner-freebsd-mobile@FreeBSD.ORG Mon Nov 28 09:18:34 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C961D16A41F for ; Mon, 28 Nov 2005 09:18:34 +0000 (GMT) (envelope-from openbsd.org@fluet.com) Received: from gateway.fluet.com (S0106000c41aa90a8.ed.shawcable.net [68.148.166.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 241D543D5A for ; Mon, 28 Nov 2005 09:18:33 +0000 (GMT) (envelope-from openbsd.org@fluet.com) Received: from [192.168.1.10] (unknown [192.168.1.1]) by gateway.fluet.com (Postfix) with ESMTP id C221260D5 for ; Mon, 28 Nov 2005 02:19:05 -0700 (MST) From: openbsd.org@fluet.com To: freebsd-mobile@freebsd.org Date: Mon, 28 Nov 2005 02:18:31 -0700 User-Agent: KMail/1.8 References: <20051117120042.139AE16A43D@hub.freebsd.org> In-Reply-To: <20051117120042.139AE16A43D@hub.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511280218.31226.openbsd.org@fluet.com> Subject: Re: Installation of Freebsd on external (USB) hard drive (using GRUB) 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: Mon, 28 Nov 2005 09:18:34 -0000 > Date: Wed, 16 Nov 2005 22:40:51 +0100 > From: Marco Calviani > Subject: Re: Installation of Freebsd on external hard drive > > Hi Eric and list, > unfortunately my BIOS (of a Travelmate 8005) does not support boot from USB > devices. > I'll search for some other information that comes from multi-os users. > > Thanks again, > MC > > > I've installed it on USB keys and external USB drives with no problem. > > > > Since I was only using those for experimentation, I never modified my > > boot loader. My BIOS provides a boot menu for selecting the boot > > device, of which "external USB device" is an option. I found this > > cleaner, since when not using those devices I do not have to go through > > the FreeBSD boot menu. > > > > Hints? > > For my situation... I booted from the CD. When asked to slice and > > partition my disk... I chose the external USB device. I selected the > > 'standard boot loader'. Then the rest of the magic is handled by my BIOS. > > > > Don't know if that helps you much. I'm a little late replying, but I thought I would reply if only for archival searches on this subject. I have an Acer C300 TabletPC and the BIOS does not support booting from USB. This doesn't matter, however, since you can install a boot loader onto the LAPTOP'S hard drive that will boot the USB partitions for you. I don't recall if the FreeBSD boot loader does this, but GRUB (/usr/ports/sysutils/grub) definitely does. Here is my grub /boot/grub/menu.lst: -------------------------------------------------- title WindowsXP rootnoverify (hd0,0) chainloader +1 makeactive savedefault title FreeBSD RELENG-5 root (hd0,1,a) kernel /boot/loader savedefault title FreeBSD RELENG-6 root (hd0,2,a) kernel /boot/loader savedefault title FreeBSD Portable Disk root (hd1,1,a) kernel /boot/loader savedefault title OpenBSD Portable Disk root (hd1,2) chainloader +1 makeactive savedefault -------------------------------------------------- As you can see, on the laptop's hard drive (hd0), I have WindowsXP and two FreeBSD installations. On the USB drive (hd1), I have a non-bootable DOS partition (no entry but would be entered hd1,0), a FreeBSD partition, and an OpenBSD partition. I hope this helps some. -- Kevin From owner-freebsd-mobile@FreeBSD.ORG Mon Nov 28 13:58:35 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE3AD16A41F for ; Mon, 28 Nov 2005 13:58:35 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from smtp3-g19.free.fr (smtp3-g19.free.fr [212.27.42.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C72643D5D for ; Mon, 28 Nov 2005 13:58:31 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (vol75-8-82-233-239-98.fbx.proxad.net [82.233.239.98]) by smtp3-g19.free.fr (Postfix) with ESMTP id F364F36EB9; Mon, 28 Nov 2005 14:58:30 +0100 (CET) Received: by tatooine.tataz.chchile.org (Postfix, from userid 1000) id 1E076405A; Mon, 28 Nov 2005 14:58:15 +0100 (CET) Date: Mon, 28 Nov 2005 14:58:15 +0100 From: Jeremie Le Hen To: Marco Calviani Message-ID: <20051128135814.GG1006@obiwan.tataz.chchile.org> References: <20051125234951.GD1006@obiwan.tataz.chchile.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11 Cc: freebsd-mobile@freebsd.org Subject: Re: Freebsd 6.0 on Acer Travelmate 8000 series 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: Mon, 28 Nov 2005 13:58:35 -0000 Hi, Marco, > ACPI should work well though it may require a little DSDT modification > > due to some bugs in the BIOS (AFAIU). > > sorry but can you specify why should i need to modify these settings, and > what kind of bugs is there in the BIOS (if you know this)? > Do you know if this is a freeBSD-related problem? With Linux i didn't have > any sort of problem using ACPI (the only modification i've done to normal > use and install is to have used a nolapic option at boot time). The problem I have been faced with can be seen here : http://lists.freebsd.org/pipermail/freebsd-current/2005-May/050282.html The ASL dump of the DSDT is obtained with acpidump(8). Once you have the patched DSDT, you may want to load it automatically at boot time. Put it in /boot/DSDT.aml and then add this to loader.conf(5) : % acpi_dsdt_load="YES" % acpi_dsdt_name="/boot/DSDT.aml" I hope this will help. I don't know if this problem is FreeBSD-specific. I have an Acer laptop too but not the same model as yours, so you may simply not encounter this very problem actually. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org > From owner-freebsd-mobile@FreeBSD.ORG Mon Nov 28 19:59:39 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C2B216A41F for ; Mon, 28 Nov 2005 19:59:39 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECCB843D5F for ; Mon, 28 Nov 2005 19:59:30 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id jASJxRfQ007681; Mon, 28 Nov 2005 11:59:27 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id jASJxRtK007680; Mon, 28 Nov 2005 11:59:27 -0800 Date: Mon, 28 Nov 2005 11:59:27 -0800 From: Brooks Davis To: Craig Boston Message-ID: <20051128195927.GC24542@odin.ac.hmc.edu> References: <20051031225408.GA56085@nowhere> <20051126045543.GA19479@nowhere> <1389F11F-787F-40BE-AEEA-6352F530BE61@airwired.net> <964bdb4d0511251312j10b21214hc8218aa6eadb3894@mail.gmail.com> <20051126103122.GZ25711@cell.sick.ru> <964bdb4d0511251312j10b21214hc8218aa6eadb3894@mail.gmail.com> <20051126105340.GB25711@cell.sick.ru> <20051126172221.GC7760@nowhere> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="V88s5gaDVPzZ0KCq" Content-Disposition: inline In-Reply-To: <20051126172221.GC7760@nowhere> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu Cc: freebsd-mobile@freebsd.org Subject: Re: Release 6.0 laptop network interface configuration. 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: Mon, 28 Nov 2005 19:59:39 -0000 --V88s5gaDVPzZ0KCq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Nov 26, 2005 at 11:22:21AM -0600, Craig Boston wrote: > Brooks Davis Wrote: > >On Fri, Nov 18, 2005 at 08:26:47PM -0800, George Hartzell wrote: > >> The problem is that I can't seem to keep all of the interfaces from > >> automagically configuring. > > > >Add the NOAUTO keyword to both of them. >=20 > Is there a way to do the exact opposite of this? What I mean is that > for a laptop with integrated network, a way to set it so that dhclient > is launched by devd when a cable is attached, but to NOT run dhclient on > bootup (and sit there for 10 seconds on bootup waiting for a link). Not yet. I'm working on a change to cause dhclient to only run via devd. An initial version where you have to enable this behavior on a per-interface basis will hopefully be available soon. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --V88s5gaDVPzZ0KCq Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFDi2GfXY6L6fI4GtQRAg4kAJ4/z+Wn4fUQ1+AIE2EXVLC8Aez2mwCeL97n pbv+dM4Y1uDc97Tr3i+G++U= =zlfM -----END PGP SIGNATURE----- --V88s5gaDVPzZ0KCq-- From owner-freebsd-mobile@FreeBSD.ORG Tue Nov 29 02:03:42 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 318B816A41F for ; Tue, 29 Nov 2005 02:03:42 +0000 (GMT) (envelope-from Alex.Kovalenko@verizon.net) Received: from vms048pub.verizon.net (vms048pub.verizon.net [206.46.252.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBD6643D4C for ; Tue, 29 Nov 2005 02:03:40 +0000 (GMT) (envelope-from Alex.Kovalenko@verizon.net) Received: from [10.0.3.231] ([70.21.168.23]) by vms048.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0IQP003C41Q2HOQ2@vms048.mailsrvcs.net> for freebsd-mobile@freebsd.org; Mon, 28 Nov 2005 20:03:39 -0600 (CST) Date: Mon, 28 Nov 2005 21:03:21 -0500 From: "Alexandre \"Sunny\" Kovalenko" In-reply-to: <1132704370.2266.14.camel@felipa.webtent.org> To: Robert Fitzpatrick Message-id: <1133229801.700.8.camel@RabbitsDen> MIME-version: 1.0 X-Mailer: Evolution 2.4.1 FreeBSD GNOME Team Port Content-type: text/plain; charset=iso-8859-5 Content-transfer-encoding: 8BIT References: <1132437985.69627.8.camel@felipa.webtent.org> <20051121.211108.68039846.imp@bsdimp.com> <1132667032.23378.3.camel@columbus.webtent.org> <20051122152702.659deeaa.lists@yazzy.org> <1132704370.2266.14.camel@felipa.webtent.org> Cc: freebsd-mobile@freebsd.org Subject: Re: pccards 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: Tue, 29 Nov 2005 02:03:42 -0000 On Tue, 2005-11-22 at 19:06 -0500, Robert Fitzpatrick wrote: > On Tue, 2005-11-22 at 15:27 +0100, Marcin Jessa wrote: > > > http://www.freebsdmall.com/~loader/en_US.ISO8859-1/articles/wireless/article.html > > Perfect, that was what I needed, thanks! Now I have the card working > with WEP, I still don't quite understand how to get the card to start up > on boot. I have in my /etc/rc.conf 'ifconfig_ath0="ssid WEBTENT DHCP"' > and I have the necessary modules loaded: > > felipa# cat /boot/loader.conf > wlan_wep_load="YES" > wlan_tkip_load="YES" > wlan_ccmp_load="YES" > wlan_xauth_load="YES" > wlan_acl_load="YES" > > Another thing is I tried the wpa_supplicant.conf method of starting the > card, but it just hangs, I have to just hit Ctrl+C after a long wait: > > felipa# cat /etc/wpa_supplicant.conf > network={ > ssid="WEBTENT" > key_mgmt=NONE > wep_key1= > wep_tx_keyidx=1 > } I tend to belive that ifconfig and wpa_supplicant disagree on numbering of the key indices. In order to match 'weptxkey 1' below you want to specify wep_key0 and wep_tx_keyidx=0 in your wpa_supplicant.conf. Following wpa_supplicant.conf works here quite well: ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=wheel network={ ssid="MySsId" scan_ssid=1 priority=5 key_mgmt=NONE wep_key0=11111111111111111111111111 wep_tx_keyidx=0 } with proper SSID and key. > felipa# wpa_supplicant -i ath0 -c /etc/wpa_supplicant.conf > Trying to associate with 00:05:5d:89:c8:78 (SSID='WEBTENT' freq=2437 > MHz) > Associated with 00:05:5d:89:c8:78 > ^CSignal 2 received - terminating > ioctl[SIOCS80211, op 20, len 7]: Can't assign requested address > > If I use the following, all works great with WEP and it gets a DHCP > address even though I specified a static IP, I assume this is because I > have that specified in /etc/rc.conf: > > felipa# ifconfig ath0 inet 192.168.1.30 netmask 255.255.255.0 ssid > WEBTENT wepmode on weptxkey 1 wepkey 1: > felipa# ifconfig -v ath0 ath0: > flags=8843 mtu 1500 > inet6 fe80::280:c8ff:fe1f:9655%ath0 prefixlen 64 scopeid 0x5 > inet 192.168.1.52 netmask 0xffffff00 broadcast 192.168.1.255 > ether 00:80:c8:1f:96:55 > media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps) > status: associated > ssid WEBTENT channel 6 (2437) bssid 00:05:5d:89:c8:78 > authmode OPEN privacy ON deftxkey 1 > wepkey 1:104-bit powersavemode OFF powersavesleep 100 txpowmax > 32 > txpower 60 rtsthreshold 2346 fragthreshold 2346 -pureg protmode > CTS -wme roaming AUTO bintval 100 > > Also, I assume my D-Link access point does not support WPA, so I am > stuck with the weakness of WEP? Perhaps I'll try to setup my FreeBSD > AP :) Check for firmware update -- at least one of my D-Link parts (DWL-G730AP) acquired ability to do WPA-PSK with last update. -- Alexandre "Sunny" Kovalenko (Олександр Коваленко) From owner-freebsd-mobile@FreeBSD.ORG Tue Nov 29 02:08:59 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C22CA16A41F for ; Tue, 29 Nov 2005 02:08:59 +0000 (GMT) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF66B43D6A for ; Tue, 29 Nov 2005 02:08:58 +0000 (GMT) (envelope-from sam@errno.com) Received: from [10.0.0.200] ([10.0.0.200]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.6) with ESMTP id jAT28upU062081 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 28 Nov 2005 18:08:57 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <438BB855.6000300@errno.com> Date: Mon, 28 Nov 2005 18:09:25 -0800 From: Sam Leffler User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051126) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Alexandre \"Sunny\" Kovalenko" References: <1132437985.69627.8.camel@felipa.webtent.org> <20051121.211108.68039846.imp@bsdimp.com> <1132667032.23378.3.camel@columbus.webtent.org> <20051122152702.659deeaa.lists@yazzy.org> <1132704370.2266.14.camel@felipa.webtent.org> <1133229801.700.8.camel@RabbitsDen> In-Reply-To: <1133229801.700.8.camel@RabbitsDen> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Robert Fitzpatrick , freebsd-mobile@freebsd.org Subject: Re: pccards 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: Tue, 29 Nov 2005 02:09:00 -0000 Alexandre "Sunny" Kovalenko wrote: > On Tue, 2005-11-22 at 19:06 -0500, Robert Fitzpatrick wrote: > >>On Tue, 2005-11-22 at 15:27 +0100, Marcin Jessa wrote: >> >> >>>http://www.freebsdmall.com/~loader/en_US.ISO8859-1/articles/wireless/article.html >> >>Perfect, that was what I needed, thanks! Now I have the card working >>with WEP, I still don't quite understand how to get the card to start up >>on boot. I have in my /etc/rc.conf 'ifconfig_ath0="ssid WEBTENT DHCP"' >>and I have the necessary modules loaded: >> >>felipa# cat /boot/loader.conf >>wlan_wep_load="YES" >>wlan_tkip_load="YES" >>wlan_ccmp_load="YES" >>wlan_xauth_load="YES" >>wlan_acl_load="YES" >> >>Another thing is I tried the wpa_supplicant.conf method of starting the >>card, but it just hangs, I have to just hit Ctrl+C after a long wait: >> >>felipa# cat /etc/wpa_supplicant.conf >>network={ >> ssid="WEBTENT" >> key_mgmt=NONE >> wep_key1= >> wep_tx_keyidx=1 >>} > > I tend to belive that ifconfig and wpa_supplicant disagree on numbering > of the key indices. In order to match 'weptxkey 1' below you want to > specify wep_key0 and wep_tx_keyidx=0 in your wpa_supplicant.conf. > > Following wpa_supplicant.conf works here quite well: > > ctrl_interface=/var/run/wpa_supplicant > ctrl_interface_group=wheel > > network={ > ssid="MySsId" > scan_ssid=1 > priority=5 > key_mgmt=NONE > wep_key0=11111111111111111111111111 > wep_tx_keyidx=0 > } > > with proper SSID and key. > > >>felipa# wpa_supplicant -i ath0 -c /etc/wpa_supplicant.conf >>Trying to associate with 00:05:5d:89:c8:78 (SSID='WEBTENT' freq=2437 >>MHz) >>Associated with 00:05:5d:89:c8:78 >>^CSignal 2 received - terminating >>ioctl[SIOCS80211, op 20, len 7]: Can't assign requested address >> >>If I use the following, all works great with WEP and it gets a DHCP >>address even though I specified a static IP, I assume this is because I >>have that specified in /etc/rc.conf: >> >>felipa# ifconfig ath0 inet 192.168.1.30 netmask 255.255.255.0 ssid >>WEBTENT wepmode on weptxkey 1 wepkey 1: >>felipa# ifconfig -v ath0 ath0: >>flags=8843 mtu 1500 >> inet6 fe80::280:c8ff:fe1f:9655%ath0 prefixlen 64 scopeid 0x5 >> inet 192.168.1.52 netmask 0xffffff00 broadcast 192.168.1.255 >> ether 00:80:c8:1f:96:55 >> media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps) >> status: associated >> ssid WEBTENT channel 6 (2437) bssid 00:05:5d:89:c8:78 >> authmode OPEN privacy ON deftxkey 1 >> wepkey 1:104-bit powersavemode OFF powersavesleep 100 txpowmax >>32 >> txpower 60 rtsthreshold 2346 fragthreshold 2346 -pureg protmode >>CTS -wme roaming AUTO bintval 100 >> >>Also, I assume my D-Link access point does not support WPA, so I am >>stuck with the weakness of WEP? Perhaps I'll try to setup my FreeBSD >>AP :) > > Check for firmware update -- at least one of my D-Link parts > (DWL-G730AP) acquired ability to do WPA-PSK with last update. > > This is probably the bug I've not resolved where wpa_supplicant doesn't plumb wep keys at key indices > 0 properly. Joe Love figured out a workaround but the change doesn't make sense so I need to dig deeper to find the root cause. Sam From owner-freebsd-mobile@FreeBSD.ORG Tue Nov 29 05:56:36 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7FA3A16A41F for ; Tue, 29 Nov 2005 05:56:36 +0000 (GMT) (envelope-from oberman@es.net) Received: from postal1.es.net (postal1.es.net [198.128.3.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4484F43D45 for ; Tue, 29 Nov 2005 05:56:36 +0000 (GMT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP (SSL) id IBA74465; Mon, 28 Nov 2005 21:56:29 -0800 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id D11A45D04; Mon, 28 Nov 2005 21:56:28 -0800 (PST) To: AT Matik In-reply-to: Your message of "Sun, 27 Nov 2005 00:36:52 -0200." <200511270036.52845.asstec@matik.com.br> Date: Mon, 28 Nov 2005 21:56:28 -0800 From: "Kevin Oberman" Message-Id: <20051129055628.D11A45D04@ptavv.es.net> Cc: freebsd-mobile@freebsd.org Subject: Re: Switching wired <-> wireless in a user-friendly manner, possible? 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: Tue, 29 Nov 2005 05:56:36 -0000 > From: AT Matik > Date: Sun, 27 Nov 2005 00:36:52 -0200 > Sender: owner-freebsd-mobile@freebsd.org > > On Saturday 26 November 2005 17:19, Hans Nieser wrote: > > > > I am guessing that what needs to happen is, as soon as fxp0 becomes > > inactive, the default route needs to be updated so it will route over the > > ipw0 interface. What is the best way to accomplish this? Do I have to > > write a shellscript that continiously checks for fxp0's status and then > > somehow update the default route, or are there facilities available for > > this? _______________________________________________ > > > yep, you got it ;) > > may be you like what I do > > i have DHCP for my nic in rc.conf > > when my eth is up (sis0 in my case) nothing happens as getting the > config from the dhcp server else I call a script to configure my > wireless connection (/etc/start-wif) so you may check running this in > crontab as I understand you unplug the cable and run around ;) Seems like using LINK_DOWN in a notify with devd would be far faster and have much less overhead than cron. (Yes, it looks like LINK_DOWN is valid.) -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 From owner-freebsd-mobile@FreeBSD.ORG Tue Nov 29 07:40:45 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C0C8616A41F for ; Tue, 29 Nov 2005 07:40:45 +0000 (GMT) (envelope-from mv@roq.com) Received: from vault.mel.jumbuck.com (ppp166-27.static.internode.on.net [150.101.166.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0711A43D46 for ; Tue, 29 Nov 2005 07:40:44 +0000 (GMT) (envelope-from mv@roq.com) Received: from vault.mel.jumbuck.com (localhost [127.0.0.1]) by vault.mel.jumbuck.com (Postfix) with ESMTP id CCB2C8A065; Tue, 29 Nov 2005 18:40:31 +1100 (EST) Received: from [192.168.46.52] (unknown [192.168.46.250]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by vault.mel.jumbuck.com (Postfix) with ESMTP id A948E8A064; Tue, 29 Nov 2005 18:40:31 +1100 (EST) Message-ID: <438C05FB.8040807@roq.com> Date: Tue, 29 Nov 2005 18:40:43 +1100 From: Michael Vince User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.7.12) Gecko/20051127 X-Accept-Language: en-us, en MIME-Version: 1.0 To: James Earl References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-mobile@freebsd.org Subject: Re: Setting up FreeBSD wireless for sales person 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: Tue, 29 Nov 2005 07:40:45 -0000 For FreeBSD 6 check out this wireless documentation http://www.freebsdmall.com/~loader/en_US.ISO8859-1/articles/wireless/article.html as well as the offical handbook one, http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html That wireless device does appear to be atheros based so you wont need to use the ndis driver with project evil but can use a native FreeBSD driver. I would recommend using dhcp setup with the wireless device, if you need something more easy then that then you will probably have to roll your own. Mike James Earl wrote: >Hi, > >I'm setting up a sales person's notebook with a wireless card. This >sales person travels around and usually stays in hotels. He needs to >be able to connect to the hotel's internet connection whether it be a >wired or wireless connection. I previously had him running OpenBSD >with a Sierra AirCard (would've been FreeBSD but I couldn't get it >working :). > >I picked up a D-Link DWL-AG660. I currently have FreeBSD 6.0-RELEASE >on the notebook. I see the DWL-AG660 isn't detected by 6-RELEASE, >hopefully just because it needs to have the device ids added? > >I don't have much experience with running a wireless setup with >FreeBSD so I thought I'd seek your thoughts on whether I should turn >this guy loose with FreeBSD and wireless, or if I should just put >win98 on it for him. I imagine there may be cases where he'd have to >change ssid's depending on the hotel network he's connecting to... >which may complicate things... although I see there's some GNOME >wireless applets which may work with FreeBSD? > >I guess the key question is whether it's possible to set this up to be >user friendly enough for a non-technical person... the less >interaction, the better? >_______________________________________________ >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 Tue Nov 29 09:07:23 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A32A116A41F for ; Tue, 29 Nov 2005 09:07:23 +0000 (GMT) (envelope-from asstec@matik.com.br) Received: from msrv.matik.com.br (msrv.matik.com.br [200.152.83.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC26C43D5D for ; Tue, 29 Nov 2005 09:07:22 +0000 (GMT) (envelope-from asstec@matik.com.br) Received: from anb (ap6.matik.com.br [200.152.83.36] (may be forged)) by msrv.matik.com.br (8.13.4/8.13.1) with ESMTP id jAT97LjW045993 for ; Tue, 29 Nov 2005 07:07:21 -0200 (BRST) (envelope-from asstec@matik.com.br) From: AT Matik Organization: Infomatik To: freebsd-mobile@freebsd.org Date: Tue, 29 Nov 2005 07:07:23 -0200 User-Agent: KMail/1.8.3 References: <20051129055628.D11A45D04@ptavv.es.net> In-Reply-To: <20051129055628.D11A45D04@ptavv.es.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200511290707.23218.asstec@matik.com.br> X-Filter-Version: 1.11a (msrv.matik.com.br) X-Virus-Scanned: ClamAV version 0.86.2, clamav-milter version 0.86 on msrv.matik.com.br X-Virus-Status: Clean Subject: Re: Switching wired <-> wireless in a user-friendly manner, possible? 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: Tue, 29 Nov 2005 09:07:23 -0000 > Seems like using LINK_DOWN in a notify with devd would be far faster and > have much less overhead than cron. (Yes, it looks like LINK_DOWN is > valid.) probably for you, but for me it is convenient with a script because dependi= ng=20 on my location I connect to different ssids, so my script asked me which of= =20 the available ssid I want to connect to, still more since some are dhcp and= =20 others not and some use the ndis module and others a pccard and load the=20 module if necessary. My NB hangs when I put a pccard in while the ndis modu= le=20 is loaded.=20 Another problem seems to be that the NIC going inactive and getting a new d= hcp=20 ip do not overwrite the defaultroute even if dhcpd delivers it. So I need t= o=20 delete and write a new one. may be I could do this all with devd but I am more familare with sh Jo=E3o A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br From owner-freebsd-mobile@FreeBSD.ORG Tue Nov 29 10:58:34 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3AAC116A41F for ; Tue, 29 Nov 2005 10:58:34 +0000 (GMT) (envelope-from ducrot@poupinou.org) Received: from poup.poupinou.org (poup.poupinou.org [195.101.94.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id A968C43D8B for ; Tue, 29 Nov 2005 10:58:31 +0000 (GMT) (envelope-from ducrot@poupinou.org) Received: from ducrot by poup.poupinou.org with local (Exim) id 1Eh3Bn-0008Bg-00; Tue, 29 Nov 2005 11:58:23 +0100 Date: Tue, 29 Nov 2005 11:58:23 +0100 To: Jeremie Le Hen Message-ID: <20051129105823.GA31393@poupinou.org> References: <20051125234951.GD1006@obiwan.tataz.chchile.org> <20051128135814.GG1006@obiwan.tataz.chchile.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051128135814.GG1006@obiwan.tataz.chchile.org> User-Agent: Mutt/1.5.9i From: Bruno Ducrot Cc: Marco Calviani , freebsd-mobile@freebsd.org Subject: Re: Freebsd 6.0 on Acer Travelmate 8000 series 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: Tue, 29 Nov 2005 10:58:34 -0000 On Mon, Nov 28, 2005 at 02:58:15PM +0100, Jeremie Le Hen wrote: > Hi, Marco, > > > ACPI should work well though it may require a little DSDT modification > > > due to some bugs in the BIOS (AFAIU). > > > > sorry but can you specify why should i need to modify these settings, and > > what kind of bugs is there in the BIOS (if you know this)? > > Do you know if this is a freeBSD-related problem? With Linux i didn't have > > any sort of problem using ACPI (the only modification i've done to normal > > use and install is to have used a nolapic option at boot time). > > The problem I have been faced with can be seen here : > http://lists.freebsd.org/pipermail/freebsd-current/2005-May/050282.html > > The ASL dump of the DSDT is obtained with acpidump(8). > > Once you have the patched DSDT, you may want to load it automatically > at boot time. Put it in /boot/DSDT.aml and then add this to > loader.conf(5) : > % acpi_dsdt_load="YES" > % acpi_dsdt_name="/boot/DSDT.aml" > > I hope this will help. > > I don't know if this problem is FreeBSD-specific. I have an Acer laptop > too but not the same model as yours, so you may simply not encounter > this very problem actually. It's a BIOS bug on some Acer laptops, after adding control methods batteries that were not present on earlier release of their BIOS. They used before the smart battery specification, but that support was not present under FreeBSD at that time (this support is now present in RELENG_6 now). Unfortunately, Acer did it wrong with the control methods stuff :( Of course, the OP may be not touched by this at all. -- Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care. From owner-freebsd-mobile@FreeBSD.ORG Tue Nov 29 12:00:30 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 48AD416A41F for ; Tue, 29 Nov 2005 12:00:30 +0000 (GMT) (envelope-from alexander.kettner@uniroma1.it) Received: from mail.uniroma1.it (mail.uniroma1.it [151.100.101.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id B385F43D5A for ; Tue, 29 Nov 2005 12:00:29 +0000 (GMT) (envelope-from alexander.kettner@uniroma1.it) Received: from [151.100.132.74] (morrone.dms.med.uniroma1.it [151.100.132.74]) by mail.uniroma1.it (Postfix) with ESMTP id 1CC8F14ED4 for ; Tue, 29 Nov 2005 13:00:23 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v623) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed To: freebsd-mobile@freebsd.org From: Alexander Kettner Date: Tue, 29 Nov 2005 13:01:36 +0100 X-Mailer: Apple Mail (2.623) X-Virus-Scanned: by amavisd-new at uniroma1.it Subject: modem part D-Link DMF 560TXD 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: Tue, 29 Nov 2005 12:00:30 -0000 Dear all, I am trying to configure the modem part of this card in FBSD 6.0_release. It's an ethernet/modem combo card. I got it to work in FBSD 5.0 after tweaking the pccard.conf file using the sio driver on /dev/cuaa4. Now in FBSD 6.0 it is recognized correctly as DMF 560-TXD card and the ed1 driver is allocated to it. However, I did not try if the ethernet part works as I do not need it. I would like to use the modem part of this card but editing pccard.conf as in FBSD 5.0 did not work. From another mail I understood that pccard.conf has no effect in FBSD 6.0. What file is there to modify such that the card uses the modem (sio driver instead of ed1) and which device do I have to allocate (/dev/cuaa4 seems not to be used in FBSD 6.0; /dev/cuad4?)? greeetings, Alex From owner-freebsd-mobile@FreeBSD.ORG Tue Nov 29 15:35:00 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 55D1C16A41F for ; Tue, 29 Nov 2005 15:35:00 +0000 (GMT) (envelope-from hara@br0tkasten.de) Received: from vs170247.vserver.de (br0tkasten.de [62.75.170.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id E29E143D95 for ; Tue, 29 Nov 2005 15:34:52 +0000 (GMT) (envelope-from hara@br0tkasten.de) Received: from br0tkasten.de ([62.75.170.247] helo=[132.199.18.210]) by vs170247.vserver.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1Eh7VI-0003AE-Sq; Tue, 29 Nov 2005 16:34:48 +0100 Message-ID: <438C7518.5010406@br0tkasten.de> Date: Tue, 29 Nov 2005 16:34:48 +0100 From: LeifEriccson User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-mobile@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: bandwith problems with freebsd 6.0 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: Tue, 29 Nov 2005 15:35:00 -0000 hello again some days ago i mentioned that there are some bandwith problems with iperf and a freebsd 6.0 ( running on an wrap systems by pc-engines.ch with an amd geode cpu). meanwhile i did the same test with a linux system kernel 2.6.14 and i got a bandwith up to 52 MBit/s. does anyone of you know why i cannot get the same or even a better bandwith with freebsd? actually i want to keep the freebsd, because right know it uses just 17 MB of disk space compared to the linux with ca. 190 MB. tnx dominik From owner-freebsd-mobile@FreeBSD.ORG Tue Nov 29 15:51:01 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 05DCA16A41F for ; Tue, 29 Nov 2005 15:51:01 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10A0043D5D for ; Tue, 29 Nov 2005 15:50:56 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id jATFofnm044113; Tue, 29 Nov 2005 09:50:41 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <438C78BD.9080709@centtech.com> Date: Tue, 29 Nov 2005 09:50:21 -0600 From: Eric Anderson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040403 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Josh Paetzel References: <438A3F82.8040402@br0tkasten.de> <438A6692.6030600@centtech.com> <200511272317.44843.josh@tcbug.org> In-Reply-To: <200511272317.44843.josh@tcbug.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.82/1198/Tue Nov 29 04:05:20 2005 on mh1.centtech.com X-Virus-Status: Clean Cc: LeifEriccson , freebsd-mobile@freebsd.org Subject: Re: ethernet bandwith problems 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: Tue, 29 Nov 2005 15:51:01 -0000 Josh Paetzel wrote: > On Sunday 27 November 2005 08:08 pm, Eric Anderson wrote: > >>LeifEriccson wrote: >> >>>hi there >>> >>>i got a wrap-board from pcengines(.ch) with an amd geode cpu and >>>two ethernet interfaces. this board is working with freebsd 6.0 >>>and the ethernet interfaces with the sis driver. actually i did >>>some tests with the iperf tool, and i wondered why i just get a >>>perfomance up 37 MBit/s. maybe somebody of you got a clue. >> >>37MBit/s isn't too bad for a geode I don't think.. >> >>Eric > > > 37 Megabytes per second is reasonable. At that point you are > disk-bound > > 37 megabits per second means that there is something wrong. 37Megabytes per second is over 100mbit speeds. 37Megabits per second is roughly 4Megabytes per second, about 40% of 100megabit speeds. Seems a little low, but 37Megabytes per second isn't quite possible over 100megabit. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-mobile@FreeBSD.ORG Tue Nov 29 16:05:32 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B4F1016A41F for ; Tue, 29 Nov 2005 16:05:32 +0000 (GMT) (envelope-from jamesd.earl@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1EEF943D49 for ; Tue, 29 Nov 2005 16:05:31 +0000 (GMT) (envelope-from jamesd.earl@gmail.com) Received: by xproxy.gmail.com with SMTP id s12so280685wxc for ; Tue, 29 Nov 2005 08:05:31 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hsfp9h6CuUEHw+cbLuu5Sfk6I99aSmkJBBNyJvTiL5101q+rR34y0u1tKc/QHWwVWaxOorEWlUHDCN3Bv6w4Zav3IeYtxDPwAdxSokNYoF/8g0WG7bt5kbQA1gHiE2VHziPB8kt+ywnc3BvEE/9ZJdJ93qrhyKU5OfUU1V6PFHg= Received: by 10.65.15.10 with SMTP id s10mr3933334qbi; Tue, 29 Nov 2005 08:05:31 -0800 (PST) Received: by 10.64.10.6 with HTTP; Tue, 29 Nov 2005 08:05:31 -0800 (PST) Message-ID: Date: Tue, 29 Nov 2005 09:05:31 -0700 From: James Earl Sender: jamesd.earl@gmail.com To: Michael Vince In-Reply-To: <438C05FB.8040807@roq.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <438C05FB.8040807@roq.com> Cc: freebsd-mobile@freebsd.org Subject: Re: Setting up FreeBSD wireless for sales person 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: Tue, 29 Nov 2005 16:05:32 -0000 Hi Mike, Thanks, everything worked pretty good! I didn't have alot of time before I had to give the notebook back, but I should have an opportunity to work on it over time. Just for the record, here's what I ended up doing: I used the nicmond port to monitor the xl0 interface, which allowed me to unplug one device, and plug in the other without any problems. I created a link on the GNOME desktop to the start_if.ath0 file and provided a number of commented examples. GNOME had a pretty good network monitor applet (with minimal config capability) which showed the connection strength of the ath0 device and gave some good visual feedback. The only improvements that I'd like to look into further, which might make this setup easier for someone who doesn't know much about computers are: - A GUI configuration tool (which may happen as apps get ported to FreeBSD) - No waiting at boot-up for dhclient to timeout - And the handling of situations where both devices are active (perhaps give one device a higher priority than the other?) On 11/29/05, Michael Vince wrote: > For FreeBSD 6 check out this wireless documentation > http://www.freebsdmall.com/~loader/en_US.ISO8859-1/articles/wireless/arti= cle.html > as well as the offical handbook one, > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireles= s.html > That wireless device does appear to be atheros based so you wont need to > use the ndis driver with project evil but can use a native FreeBSD driver= . > > I would recommend using dhcp setup with the wireless device, if you need > something more easy then that then you will probably have to roll your ow= n. > > Mike > > > James Earl wrote: > > >Hi, > > > >I'm setting up a sales person's notebook with a wireless card. This > >sales person travels around and usually stays in hotels. He needs to > >be able to connect to the hotel's internet connection whether it be a > >wired or wireless connection. I previously had him running OpenBSD > >with a Sierra AirCard (would've been FreeBSD but I couldn't get it > >working :). > > > >I picked up a D-Link DWL-AG660. I currently have FreeBSD 6.0-RELEASE > >on the notebook. I see the DWL-AG660 isn't detected by 6-RELEASE, > >hopefully just because it needs to have the device ids added? > > > >I don't have much experience with running a wireless setup with > >FreeBSD so I thought I'd seek your thoughts on whether I should turn > >this guy loose with FreeBSD and wireless, or if I should just put > >win98 on it for him. I imagine there may be cases where he'd have to > >change ssid's depending on the hotel network he's connecting to... > >which may complicate things... although I see there's some GNOME > >wireless applets which may work with FreeBSD? > > > >I guess the key question is whether it's possible to set this up to be > >user friendly enough for a non-technical person... the less > >interaction, the better? > >_______________________________________________ > >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 Tue Nov 29 16:16:13 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B78B16A423 for ; Tue, 29 Nov 2005 16:16:13 +0000 (GMT) (envelope-from josh@tcbug.org) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id EBB4943D60 for ; Tue, 29 Nov 2005 16:16:11 +0000 (GMT) (envelope-from josh@tcbug.org) Received: from [192.168.1.101] (c-24-118-173-219.hsd1.mn.comcast.net[24.118.173.219]) by comcast.net (sccrmhc11) with ESMTP id <2005112916155201100hiqate>; Tue, 29 Nov 2005 16:16:02 +0000 From: Josh Paetzel To: Eric Anderson Date: Tue, 29 Nov 2005 10:15:52 -0600 User-Agent: KMail/1.8.3 References: <438A3F82.8040402@br0tkasten.de> <200511272317.44843.josh@tcbug.org> <438C78BD.9080709@centtech.com> In-Reply-To: <438C78BD.9080709@centtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511291015.52414.josh@tcbug.org> Cc: LeifEriccson , freebsd-mobile@freebsd.org Subject: Re: ethernet bandwith problems 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: Tue, 29 Nov 2005 16:16:13 -0000 On Tuesday 29 November 2005 09:50 am, Eric Anderson wrote: > Josh Paetzel wrote: > > On Sunday 27 November 2005 08:08 pm, Eric Anderson wrote: > >>LeifEriccson wrote: > >>>hi there > >>> > >>>i got a wrap-board from pcengines(.ch) with an amd geode cpu and > >>>two ethernet interfaces. this board is working with freebsd 6.0 > >>>and the ethernet interfaces with the sis driver. actually i did > >>>some tests with the iperf tool, and i wondered why i just get a > >>>perfomance up 37 MBit/s. maybe somebody of you got a clue. > >> > >>37MBit/s isn't too bad for a geode I don't think.. > >> > >>Eric > > > > 37 Megabytes per second is reasonable. At that point you are > > disk-bound > > > > 37 megabits per second means that there is something wrong. > 37Megabytes per second is over 100mbit speeds. > > 37Megabits per second is roughly 4Megabytes per second, about 40% > of 100megabit speeds. Seems a little low, but 37Megabytes per > second isn't quite possible over 100megabit. > > Eric Yes, 37 Megabytes/sec is over 100mbps speeds....Weren't we talking about gigE ?? -- Thanks, Josh Paetzel From owner-freebsd-mobile@FreeBSD.ORG Tue Nov 29 16:42:55 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 13F6316A41F for ; Tue, 29 Nov 2005 16:42:55 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 790E343D45 for ; Tue, 29 Nov 2005 16:42:54 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id jATGgow6044961; Tue, 29 Nov 2005 10:42:50 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <438C84F6.6050600@centtech.com> Date: Tue, 29 Nov 2005 10:42:30 -0600 From: Eric Anderson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040403 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Josh Paetzel References: <438A3F82.8040402@br0tkasten.de> <200511272317.44843.josh@tcbug.org> <438C78BD.9080709@centtech.com> <200511291015.52414.josh@tcbug.org> In-Reply-To: <200511291015.52414.josh@tcbug.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.82/1198/Tue Nov 29 04:05:20 2005 on mh1.centtech.com X-Virus-Status: Clean Cc: LeifEriccson , freebsd-mobile@freebsd.org Subject: Re: ethernet bandwith problems 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: Tue, 29 Nov 2005 16:42:55 -0000 Josh Paetzel wrote: > On Tuesday 29 November 2005 09:50 am, Eric Anderson wrote: > >>Josh Paetzel wrote: >> >>>On Sunday 27 November 2005 08:08 pm, Eric Anderson wrote: >>> >>>>LeifEriccson wrote: >>>> >>>>>hi there >>>>> >>>>>i got a wrap-board from pcengines(.ch) with an amd geode cpu and >>>>>two ethernet interfaces. this board is working with freebsd 6.0 >>>>>and the ethernet interfaces with the sis driver. actually i did >>>>>some tests with the iperf tool, and i wondered why i just get a >>>>>perfomance up 37 MBit/s. maybe somebody of you got a clue. >>>> >>>>37MBit/s isn't too bad for a geode I don't think.. >>>> >>>>Eric >>> >>>37 Megabytes per second is reasonable. At that point you are >>>disk-bound >>> >>>37 megabits per second means that there is something wrong. > > > > >>37Megabytes per second is over 100mbit speeds. >> >>37Megabits per second is roughly 4Megabytes per second, about 40% >>of 100megabit speeds. Seems a little low, but 37Megabytes per >>second isn't quite possible over 100megabit. >> >>Eric > > > Yes, 37 Megabytes/sec is over 100mbps speeds....Weren't we talking > about gigE ?? Since it was a sis chipset, I assumed it wasn't, because I don't think it was explicitly mentioned. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-mobile@FreeBSD.ORG Tue Nov 29 16:58:40 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A41B16A426 for ; Tue, 29 Nov 2005 16:58:40 +0000 (GMT) (envelope-from josh@tcbug.org) Received: from rwcrmhc12.comcast.net (rwcrmhc14.comcast.net [216.148.227.154]) by mx1.FreeBSD.org (Postfix) with ESMTP id 031D843D62 for ; Tue, 29 Nov 2005 16:57:40 +0000 (GMT) (envelope-from josh@tcbug.org) Received: from [192.168.1.101] (c-24-118-173-219.hsd1.mn.comcast.net[24.118.173.219]) by comcast.net (rwcrmhc14) with ESMTP id <20051129165711014002qq16e>; Tue, 29 Nov 2005 16:57:25 +0000 From: Josh Paetzel To: freebsd-mobile@freebsd.org Date: Tue, 29 Nov 2005 10:57:10 -0600 User-Agent: KMail/1.8.3 References: <438A3F82.8040402@br0tkasten.de> <200511291015.52414.josh@tcbug.org> <438C84F6.6050600@centtech.com> In-Reply-To: <438C84F6.6050600@centtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511291057.10964.josh@tcbug.org> Cc: LeifEriccson , Eric Anderson Subject: Re: ethernet bandwith problems 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: Tue, 29 Nov 2005 16:58:40 -0000 On Tuesday 29 November 2005 10:42 am, Eric Anderson wrote: > Josh Paetzel wrote: > > On Tuesday 29 November 2005 09:50 am, Eric Anderson wrote: > >>Josh Paetzel wrote: > >>>On Sunday 27 November 2005 08:08 pm, Eric Anderson wrote: > >>>>LeifEriccson wrote: > >>>>>hi there > >>>>> > > Yes, 37 Megabytes/sec is over 100mbps speeds....Weren't we > > talking about gigE ?? > > Since it was a sis chipset, I assumed it wasn't, because I don't > think it was explicitly mentioned. > > > Eric Yeppers, you were right. My bad. -- Thanks, Josh Paetzel From owner-freebsd-mobile@FreeBSD.ORG Tue Nov 29 23:15:46 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 527EF16A423 for ; Tue, 29 Nov 2005 23:15:46 +0000 (GMT) (envelope-from list@yazzy.org) Received: from mail.yazzy.org (mail.yazzy.org [217.8.140.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 811A843D53 for ; Tue, 29 Nov 2005 23:15:37 +0000 (GMT) (envelope-from list@yazzy.org) Received: from [192.168.98.11] (yazzy.yazzy.org [192.168.98.11]) by mail.yazzy.org (Postfix) with ESMTP id 6CE8F39825; Wed, 30 Nov 2005 00:15:59 +0100 (CET) In-Reply-To: References: <438C05FB.8040807@roq.com> Mime-Version: 1.0 (Apple Message framework v748) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <89B1DB7C-3B9D-4D70-8090-C0FBE44A7524@yazzy.org> Content-Transfer-Encoding: 7bit From: Marcin Jessa Date: Wed, 30 Nov 2005 00:15:30 +0100 To: James Earl X-Mailer: Apple Mail (2.748) Cc: Michael Vince , freebsd-mobile@freebsd.org Subject: Re: Setting up FreeBSD wireless for sales person 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: Tue, 29 Nov 2005 23:15:46 -0000 On 29. nov. 2005, at 17.05, James Earl wrote: > Hi Mike, > > Thanks, everything worked pretty good! I didn't have alot of time > before I had to give the notebook back, but I should have an > opportunity to work on it over time. Just for the record, here's what > I ended up doing: > > I used the nicmond port to monitor the xl0 interface, which allowed me > to unplug one device, and plug in the other without any problems. I > created a link on the GNOME desktop to the start_if.ath0 file and > provided a number of commented examples. GNOME had a pretty good > network monitor applet (with minimal config capability) which showed > the connection strength of the ath0 device and gave some good visual > feedback. > > The only improvements that I'd like to look into further, which might > make this setup easier for someone who doesn't know much about > computers are: > > - A GUI configuration tool (which may happen as apps get ported to > FreeBSD) This is what we intend to include in www.desktopbsd.net > - No waiting at boot-up for dhclient to timeout Having ifconfig_xy="DHCP NOAUTO" should fix it afair. > - And the handling of situations where both devices are active > (perhaps give one device a higher priority than the other?) Search the archives, I think it was already discussed before. Cheers, Marcin. > > On 11/29/05, Michael Vince wrote: >> For FreeBSD 6 check out this wireless documentation >> http://www.freebsdmall.com/~loader/en_US.ISO8859-1/articles/ >> wireless/article.html >> as well as the offical handbook one, >> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network- >> wireless.html >> That wireless device does appear to be atheros based so you wont >> need to >> use the ndis driver with project evil but can use a native FreeBSD >> driver. >> >> I would recommend using dhcp setup with the wireless device, if >> you need >> something more easy then that then you will probably have to roll >> your own. >> >> Mike >> >> >> James Earl wrote: >> >>> Hi, >>> >>> I'm setting up a sales person's notebook with a wireless card. This >>> sales person travels around and usually stays in hotels. He >>> needs to >>> be able to connect to the hotel's internet connection whether it >>> be a >>> wired or wireless connection. I previously had him running OpenBSD >>> with a Sierra AirCard (would've been FreeBSD but I couldn't get it >>> working :). >>> >>> I picked up a D-Link DWL-AG660. I currently have FreeBSD 6.0- >>> RELEASE >>> on the notebook. I see the DWL-AG660 isn't detected by 6-RELEASE, >>> hopefully just because it needs to have the device ids added? >>> >>> I don't have much experience with running a wireless setup with >>> FreeBSD so I thought I'd seek your thoughts on whether I should turn >>> this guy loose with FreeBSD and wireless, or if I should just put >>> win98 on it for him. I imagine there may be cases where he'd >>> have to >>> change ssid's depending on the hotel network he's connecting to... >>> which may complicate things... although I see there's some GNOME >>> wireless applets which may work with FreeBSD? >>> >>> I guess the key question is whether it's possible to set this up >>> to be >>> user friendly enough for a non-technical person... the less >>> interaction, the better? >>> _______________________________________________ >>> 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" >>> >>> >> >> > _______________________________________________ > 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 Wed Nov 30 01:03:38 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6583D16A441 for ; Wed, 30 Nov 2005 01:03:38 +0000 (GMT) (envelope-from v.velox@vvelox.net) Received: from S4.cableone.net (s4.cableone.net [24.116.0.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C61043DDB for ; Wed, 30 Nov 2005 01:03:04 +0000 (GMT) (envelope-from v.velox@vvelox.net) Received: from vixen42.vulpes (unverified [24.119.122.41]) by S4.cableone.net (CableOne SMTP Service S4) with ESMTP id 38267290 for ; Tue, 29 Nov 2005 18:23:05 -0700 Date: Tue, 29 Nov 2005 19:08:00 -0600 From: Vulpes Velox To: freebsd-mobile@freebsd.org Message-ID: <20051129190800.65b2e710@vixen42.vulpes> X-Mailer: Sylpheed-Claws 1.9.100 (GTK+ 2.8.7; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-NotAscii: charset=us-ascii X-IP-stats: Incoming Last 1, First 194, in=334, out=0, spam=0 X-External-IP: 24.119.122.41 X-Abuse-Info: Send abuse complaints to abuse@cableone.net Subject: Suggestions for dual ethernet on a laptop. 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: Wed, 30 Nov 2005 01:03:39 -0000 Well for some testing, I need two ethernet devices. The problem I am running into is that the on board one does not work with FreeBSD releng_6 and the NDIS drivers fail because of oddities with the file. Any one know either a cardbus/pcmcia card that has two rj45 ethernet adapters on it or of a good USB 2.0 ethernet adapter? From owner-freebsd-mobile@FreeBSD.ORG Wed Nov 30 15:47:40 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F349A16A420 for ; Wed, 30 Nov 2005 15:47:39 +0000 (GMT) (envelope-from jamesd.earl@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B61343D5A for ; Wed, 30 Nov 2005 15:47:37 +0000 (GMT) (envelope-from jamesd.earl@gmail.com) Received: by zproxy.gmail.com with SMTP id o37so28998nzf for ; Wed, 30 Nov 2005 07:47:36 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NmaBS4JjR3+bt8TTDtC8PN71THuWZ7K8ZC8E20LnWhAaAW+PvhiGBRTz5bZ096lHBpmhuOasqF54AquDZ51miaFRiYnIeQFEiZOvm5yNhbre9Mq61LJJd+wtG+vSJbed4rhY5B1Y5WdaqgPeT/5r7OcB65/Hx3kkKonONzqzuQw= Received: by 10.65.38.14 with SMTP id q14mr218662qbj; Wed, 30 Nov 2005 07:47:34 -0800 (PST) Received: by 10.64.10.6 with HTTP; Wed, 30 Nov 2005 07:47:34 -0800 (PST) Message-ID: Date: Wed, 30 Nov 2005 08:47:34 -0700 From: James Earl Sender: jamesd.earl@gmail.com To: Marcin Jessa In-Reply-To: <89B1DB7C-3B9D-4D70-8090-C0FBE44A7524@yazzy.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <438C05FB.8040807@roq.com> <89B1DB7C-3B9D-4D70-8090-C0FBE44A7524@yazzy.org> Cc: freebsd-mobile@freebsd.org Subject: Re: Setting up FreeBSD wireless for sales person 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: Wed, 30 Nov 2005 15:47:40 -0000 On 11/29/05, Marcin Jessa wrote: > > On 29. nov. 2005, at 17.05, James Earl wrote: > > > Hi Mike, > > > > Thanks, everything worked pretty good! I didn't have alot of time > > before I had to give the notebook back, but I should have an > > opportunity to work on it over time. Just for the record, here's what > > I ended up doing: > > > > I used the nicmond port to monitor the xl0 interface, which allowed me > > to unplug one device, and plug in the other without any problems. I > > created a link on the GNOME desktop to the start_if.ath0 file and > > provided a number of commented examples. GNOME had a pretty good > > network monitor applet (with minimal config capability) which showed > > the connection strength of the ath0 device and gave some good visual > > feedback. > > > > The only improvements that I'd like to look into further, which might > > make this setup easier for someone who doesn't know much about > > computers are: > > > > - A GUI configuration tool (which may happen as apps get ported to > > FreeBSD) > > This is what we intend to include in www.desktopbsd.net > > > - No waiting at boot-up for dhclient to timeout > Having ifconfig_xy=3D"DHCP NOAUTO" should fix it afair. > > > > - And the handling of situations where both devices are active > > (perhaps give one device a higher priority than the other?) > > Search the archives, I think it was already discussed before. > > Cheers, > Marcin. Thanks for the tips! I hadn't thought of checking out DesktopBSD.=20 I'll have to give it a try. From owner-freebsd-mobile@FreeBSD.ORG Thu Dec 1 23:58:32 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 96C2816A41F for ; Thu, 1 Dec 2005 23:58:32 +0000 (GMT) (envelope-from kerneljake@hotmail.com) Received: from hotmail.com (bay110-f21.bay110.hotmail.com [65.54.229.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5CD443D60 for ; Thu, 1 Dec 2005 23:58:31 +0000 (GMT) (envelope-from kerneljake@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 1 Dec 2005 15:58:31 -0800 Message-ID: Received: from 65.54.229.220 by by110fd.bay110.hotmail.msn.com with HTTP; Thu, 01 Dec 2005 23:58:31 GMT X-Originating-IP: [66.143.168.85] X-Originating-Email: [kerneljake@hotmail.com] X-Sender: kerneljake@hotmail.com From: "Kernel Jake" To: freebsd-mobile@freebsd.org Date: Thu, 01 Dec 2005 17:58:31 -0600 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 01 Dec 2005 23:58:31.0687 (UTC) FILETIME=[21E14170:01C5F6D3] Subject: wpa and dlink di-614+ 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: Thu, 01 Dec 2005 23:58:32 -0000 I cannot connect a FreeBSD 6.0 machine using WPA to a D-Link DI-614+ router. My Macintosh Powerbook is able to connect to this device with WPA. I am able to use FreeBSD and WPA successfully against a Linksys WRT54G and D-Link DI-624, but the DI-614+ is giving me trouble. wpa_supplicant pauses when wpa_driver_bsd_set_key is called, and then it disassociates. Strangely, the DI-614+ log file says that my machine authenticated successfully. It looks as if wpa_supplicant is dropping the connection unilaterally with "reason 8". This problem sounds similar to http://lists.freebsd.org/pipermail/freebsd-current/2005-January/045542.html . access point: d-link di-614+ revB2 firmware 3.43 (latest) client nic: dwl-g520revB # uname -a FreeBSD canary 6.0-RC1 FreeBSD 6.0-RC1 #2: Tue Nov 1 23:29:30 CST 2005 jake@canary:/usr/src/sys/i386/compile/CANARY i386 # dmesg | grep ath0 | head ath0: mem 0xf5000000-0xf500ffff irq 17 at device 14.0 on pci0 ath0: Ethernet address: 00:11:95:92:72:55 ath0: mac 7.9 phy 4.5 radio 5.6 # kldstat Id Refs Address Size Name 1 11 0xc0400000 68be4c kernel 2 16 0xc0a8c000 568bc acpi.ko 3 1 0xc1ce5000 4000 wlan_tkip.ko 4 1 0xc1dd6000 15000 linux.ko 5 1 0xc20f6000 7000 wlan_ccmp.ko # cat /usr/local/etc/wpa_supplicant.conf network={ ssid="yagi" scan_ssid=1 proto=WPA key_mgmt=WPA-PSK psk="my-secret-key" } # wpa_supplicant -d -c /usr/local/etc/wpa_supplicant.conf -i ath0 Initializing interface 'ath0' conf '/usr/local/etc/wpa_supplicant.conf' driver 'default' Configuration file '/usr/local/etc/wpa_supplicant.conf' -> '/usr/local/etc/wpa_supplicant.conf' Reading configuration file '/usr/local/etc/wpa_supplicant.conf' Priority group 0 id=0 ssid='yagi' Initializing interface (2) 'ath0' Own MAC address: 00:11:95:92:72:55 wpa_driver_bsd_set_wpa: enabled=1 wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1 wpa_driver_bsd_del_key: keyidx=0 wpa_driver_bsd_del_key: keyidx=1 wpa_driver_bsd_del_key: keyidx=2 wpa_driver_bsd_del_key: keyidx=3 wpa_driver_bsd_set_countermeasures: enabled=0 wpa_driver_bsd_set_drop_unencrypted: enabled=1 Setting scan request: 0 sec 100000 usec Starting AP scan (specific SSID) Scan SSID - hexdump_ascii(len=4): 79 61 67 69 yagi Received 0 bytes of scan results (1 BSSes) Scan results: 1 Selecting BSS from priority group 0 0: 00:0d:88:9b:87:3e ssid='yagi' wpa_ie_len=26 rsn_ie_len=0 selected Trying to associate with 00:0d:88:9b:87:3e (SSID='yagi' freq=2417 MHz) Cancelling scan request Automatic auth_alg selection: 0x1 WPA: using IEEE 802.11i/D3.0 WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2 WPA: using GTK TKIP WPA: using PTK TKIP WPA: using KEY_MGMT WPA-PSK WPA: Own WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 No keys have been configured - skip key clearing wpa_driver_bsd_set_drop_unencrypted: enabled=1 wpa_driver_bsd_associate: ssid 'yagi' wpa ie len 24 pairwise 2 group 2 key mgmt 1 wpa_driver_bsd_associate: set PRIVACY 1 Setting authentication timeout: 5 sec 0 usec Association event - clear replay counter Associated to a new BSS: BSSID=00:0d:88:9b:87:3e No keys have been configured - skip key clearing Associated with 00:0d:88:9b:87:3e Setting authentication timeout: 10 sec 0 usec RX EAPOL from 00:0d:88:9b:87:3e Setting authentication timeout: 10 sec 0 usec IEEE 802.1X RX: version=1 type=3 length=95 EAPOL-Key type=254 WPA: RX message 1 of 4-Way Handshake from 00:0d:88:9b:87:3e (ver=1) WPA: Renewed SNonce - hexdump(len=32): 88 7f 82 24 56 73 eb f6 79 35 31 60 fa 67 f4 ba bf f9 ec c4 f1 28 95 73 43 e4 20 b8 bd 1f 4c 95 WPA: PMK - hexdump(len=32): [REMOVED] WPA: PTK - hexdump(len=64): [REMOVED] WPA: EAPOL-Key MIC - hexdump(len=16): e8 b5 c4 53 e9 fb 5f 33 0d f5 76 13 dc ff c1 1f WPA: Sending EAPOL-Key 2/4 RX EAPOL from 00:0d:88:9b:87:3e IEEE 802.1X RX: version=1 type=3 length=121 EAPOL-Key type=254 WPA: RX message 3 of 4-Way Handshake from 00:0d:88:9b:87:3e (ver=1) WPA: IE KeyData - hexdump(len=26): dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00 WPA: Sending EAPOL-Key 4/4 WPA: Installing PTK to the driver. WPA: RSC - hexdump(len=6): 00 00 00 00 00 00 wpa_driver_bsd_set_key: alg=TKIP addr=00:0d:88:9b:87:3e key_idx=0 set_tx=1 seq_len=6 key_len=32 Authentication with 00:0d:88:9b:87:3e timed out. Added BSSID 00:0d:88:9b:87:3e into blacklist wpa_driver_bsd_disassociate wpa_driver_bsd_del_key: keyidx=0 wpa_driver_bsd_del_key: keyidx=1 wpa_driver_bsd_del_key: keyidx=2 wpa_driver_bsd_del_key: keyidx=3 wpa_driver_bsd_del_key: addr=00:0d:88:9b:87:3e keyidx=0 ioctl[SIOCS80211, op 20, len 7]: Can't assign requested address (repeat) # 80211debug net.wlan.0.debug: 0xc01000 ath0: [00:0d:88:9b:87:3e] recv auth frame with algorithm 0 seq 2 ath0: [00:0d:88:9b:87:3e] assoc success: long preamble, long slot time ath0: link state changed to UP ath0: [00:0d:88:9b:87:3e] send station disassociate (reason 8) ath0: link state changed to DOWN From owner-freebsd-mobile@FreeBSD.ORG Fri Dec 2 02:04:56 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D61D16A41F; Fri, 2 Dec 2005 02:04:56 +0000 (GMT) (envelope-from garrigue@math.nagoya-u.ac.jp) Received: from kurims.kurims.kyoto-u.ac.jp (kurims.kurims.kyoto-u.ac.jp [130.54.16.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B06443D5C; Fri, 2 Dec 2005 02:04:55 +0000 (GMT) (envelope-from garrigue@math.nagoya-u.ac.jp) Received: from localhost (suiren [130.54.16.25]) by kurims.kurims.kyoto-u.ac.jp (8.13.1/8.13.1) with ESMTP id jB224ruS023450; Fri, 2 Dec 2005 11:04:53 +0900 (JST) Date: Fri, 02 Dec 2005 11:04:48 +0900 (JST) Message-Id: <20051202.110448.25479607.garrigue@math.nagoya-u.ac.jp> To: freebsd-mobile@freebsd.org, freebsd-stable@freebsd.org From: Jacques Garrigue In-Reply-To: <20051114.175031.93019232.garrigue@math.nagoya-u.ac.jp> References: <20051114.175031.93019232.garrigue@math.nagoya-u.ac.jp> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Subject: Re: IBM T42 freezes when going to sleep under X11 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, 02 Dec 2005 02:04:56 -0000 From: Jacques Garrigue > I've got a strange problem with my IBM T42 / Radeon M10 setup. > > When using the 6.0-RELEASE kernel (including GENERIC), I cannot go to > sleep when X11 is running: the machine freezes, display still on. I > tried disabling DRI, but this does not seem to be the problem: I have > no DRM anyway. > > On the other hand, everything works fines with a 6.0-RC1 kernel. > Was there a big change in between, such that I need to change my > configuration? I finally found the cause of my problems: there has been changes in the em driver (Gb ethernet), such that the machine freezes when trying to switch automatically from the X11 VT to the system console, before going to sleep. The interaction is surprising, but clearly the problem disappears when I remove "device em" from the kernel configuration, and it reappears when I do "kldload if_em". Since I'm using only ath (wireless) anyway, this is fine with me... A previous partial solution suggested to me was to add hw.syscons.sc_no_suspend_vtswitch=1 to sysctl.conf, but this means the screen gets garbled and I have to do the switch by hand anyway, which is a real pain. Worse still: the machine would still freeze when going to sleep while the disk is active. The last step is to track down the bug in em, as it still seems to be there in yesterday's STABLE. Jacques Garrigue From owner-freebsd-mobile@FreeBSD.ORG Fri Dec 2 12:49:34 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D646116A41F for ; Fri, 2 Dec 2005 12:49:34 +0000 (GMT) (envelope-from jester@panix.com) Received: from mail2.panix.com (mail2.panix.com [166.84.1.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1933643D49 for ; Fri, 2 Dec 2005 12:49:34 +0000 (GMT) (envelope-from jester@panix.com) Received: from panix2.panix.com (panix2.panix.com [166.84.1.2]) by mail2.panix.com (Postfix) with ESMTP id 52A1A9D85E for ; Fri, 2 Dec 2005 07:49:33 -0500 (EST) Received: (from jester@localhost) by panix2.panix.com (8.11.6p3/8.8.8/PanixN1.1) id jB2CnX506235 for freebsd-mobile@freebsd.org; Fri, 2 Dec 2005 07:49:33 -0500 (EST) Date: Fri, 2 Dec 2005 07:49:33 -0500 From: Jesse Sheidlower To: freebsd-mobile@freebsd.org Message-ID: <20051202124933.GA23213@panix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.10i Subject: Repost: DHCP failing with WiFi after 6.0 upgrade 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, 02 Dec 2005 12:49:35 -0000 I sent this yesterday to -questions, but in retrospect perhaps this really is the right place; sorry for the duplication. I recently took my IBM ThinkPad X23, which had been running 4.11, and did a fresh install (backup files, wipe disk, install from scratch) to 6.0. Most things have gone smoothly, though there are still a few things to iron out. My biggest problem is that I can't seem to get DHCP to work with my wireless card. I have an Orinoco Gold 802.11b card that's always worked fine; I'm about to replace it with something else for 802.11g with a new WAP. There seem to be minor differences in how the card goes in; under 4.11 I would get various beeps when I plugged it in and after it associated, but now it's silent. And I had to remember to load WEP in my kernel. But I can seem to get things started by issuing the command ifconfig wi0 ssid jesterWAP wepmode on wepkey 0x[DELETED] which does seem to successfully reach my WAP: # ifconfig wi0 wi0: flags=8843 mtu 1500 inet6 fe80::202:[DELETED] prefixlen 64 scopeid 0x3 ether 00:02:[DELETED] media: IEEE 802.11 Wireless Ethernet autoselect (DS/2Mbps) status: associated ssid jesterWAP channel 6 bssid 00:[DELETED] stationname "FreeBSD WaveLAN/IEEE node" authmode OPEN privacy MIXED deftxkey UNDEF wepkey 1:104-bit txpowmax 100 bintval 100 I can't seem to get a DHCP lease, however: # dhclient wi0 DHCPDISCOVER on wi0 to 255.255.255.255 port 67 interval 5 DHCPDISCOVER on wi0 to 255.255.255.255 port 67 interval 13 DHCPDISCOVER on wi0 to 255.255.255.255 port 67 interval 7 DHCPDISCOVER on wi0 to 255.255.255.255 port 67 interval 8 DHCPDISCOVER on wi0 to 255.255.255.255 port 67 interval 13 DHCPDISCOVER on wi0 to 255.255.255.255 port 67 interval 15 No DHCPOFFERS received. No working leases in persistent database - sleeping. (Under 4.11, I didn't get any verbose output from dhcpclient.) I can get a DHCP lease with fxp0, my Ethernet card; also, Macs in the house have no problem getting leases through the WAP. (The DHCP server is in a separate router, not in the WAP.) Is there something that's changed under 6.0, or is there just something I'm forgetting to do? Am I actually connected, or does it just look that way? I do plan to get a new card, but I want to get this working too. Thank you. Jesse Sheidlower From owner-freebsd-mobile@FreeBSD.ORG Fri Dec 2 13:14:05 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D271C16A420 for ; Fri, 2 Dec 2005 13:14:05 +0000 (GMT) (envelope-from richard@unixguru.nl) Received: from mail.unixguru.nl (mosibi.demon.nl [212.238.240.209]) by mx1.FreeBSD.org (Postfix) with ESMTP id 123D843D90 for ; Fri, 2 Dec 2005 13:14:00 +0000 (GMT) (envelope-from richard@unixguru.nl) Received: from localhost (localhost [127.0.0.1]) by mail.unixguru.nl (Postfix) with ESMTP id 3491256476; Fri, 2 Dec 2005 14:13:32 +0100 (CET) Received: from localhost (sun.unixguru.nl [192.168.10.7]) by mail.unixguru.nl (Postfix) with ESMTP id 1271856472; Fri, 2 Dec 2005 14:13:30 +0100 (CET) Date: Fri, 2 Dec 2005 14:13:53 +0100 From: Richard Arends To: Jesse Sheidlower Message-ID: <20051202131352.GF16948@sun.unixguru.nl> References: <20051202124933.GA23213@panix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051202124933.GA23213@panix.com> User-Agent: Mutt/1.5.6i X-Virus-Scanned: amavisd-new at unixguru.nl Cc: freebsd-mobile@freebsd.org Subject: Re: Repost: DHCP failing with WiFi after 6.0 upgrade 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, 02 Dec 2005 13:14:05 -0000 On Fri, Dec 02, 2005 at 07:49:33AM -0500, Jesse Sheidlower wrote: > My biggest problem is that I can't seem to get DHCP to work with my > wireless card. I have an Orinoco Gold 802.11b card that's always worked > fine rm /var/db/dhclient.leases* and rerun dhclient -- Regards, Richard. From owner-freebsd-mobile@FreeBSD.ORG Fri Dec 2 13:14:25 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9809116A41F for ; Fri, 2 Dec 2005 13:14:25 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from mail.yazzy.org (mail.yazzy.org [217.8.140.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCF7443D69 for ; Fri, 2 Dec 2005 13:14:22 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from [84.247.144.144] (helo=marcin) by mail.yazzy.org with esmtps (TLSv1:AES256-SHA:256) (YazzY.org) id 1EiAjA-0003dM-PS; Fri, 02 Dec 2005 14:13:29 +0100 Date: Fri, 2 Dec 2005 14:14:19 +0100 From: Marcin Jessa To: Jesse Sheidlower Message-Id: <20051202141419.7fd857c8.lists@yazzy.org> In-Reply-To: <20051202124933.GA23213@panix.com> References: <20051202124933.GA23213@panix.com> Organization: YazzY.org X-Mailer: Sylpheed version 2.0.4 (GTK+ 2.8.7; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -2.6 (--) Cc: freebsd-mobile@freebsd.org Subject: Re: Repost: DHCP failing with WiFi after 6.0 upgrade 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, 02 Dec 2005 13:14:25 -0000 On Fri, 2 Dec 2005 07:49:33 -0500 Jesse Sheidlower wrote: > Is there something that's changed under 6.0, or is there just > something I'm forgetting to do? Am I actually connected, or > does it just look that way? I do plan to get a new card, but I > want to get this working too. I have the same issue with iwi driver and dhcpd being a different box. I dont use any crypto mechanism. Try to set up a static IP and see if you can connect to the AP/network. Works for me. It worked with DHCP before but no luck for some time now . How is you AP set up and is it a FreeBSD box? Mine has atheros and lan nic (xl0) as bridge members with a fixed IP set on the bridge iface. Marcin. From owner-freebsd-mobile@FreeBSD.ORG Fri Dec 2 14:10:14 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F078216A422 for ; Fri, 2 Dec 2005 14:10:14 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from mail.yazzy.org (mail.yazzy.org [217.8.140.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FA2243DA9 for ; Fri, 2 Dec 2005 14:09:43 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from [84.247.144.144] (helo=marcin) by mail.yazzy.org with esmtps (TLSv1:AES256-SHA:256) (YazzY.org) id 1EiBaf-0002H8-VK; Fri, 02 Dec 2005 15:08:46 +0100 Date: Fri, 2 Dec 2005 15:09:36 +0100 From: Marcin Jessa To: Richard Arends Message-Id: <20051202150936.1b08d0d6.lists@yazzy.org> In-Reply-To: <20051202131352.GF16948@sun.unixguru.nl> References: <20051202124933.GA23213@panix.com> <20051202131352.GF16948@sun.unixguru.nl> Organization: YazzY.org X-Mailer: Sylpheed version 2.0.4 (GTK+ 2.8.7; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -2.6 (--) Cc: jester@panix.com, freebsd-mobile@freebsd.org Subject: Re: Repost: DHCP failing with WiFi after 6.0 upgrade 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, 02 Dec 2005 14:10:15 -0000 On Fri, 2 Dec 2005 14:13:53 +0100 Richard Arends wrote: > On Fri, Dec 02, 2005 at 07:49:33AM -0500, Jesse Sheidlower wrote: > > > My biggest problem is that I can't seem to get DHCP to work with my > > wireless card. I have an Orinoco Gold 802.11b card that's always > > worked fine > > rm /var/db/dhclient.leases* and rerun dhclient Did not help in my case. The ath0,xl0 if_bridge is still not handing over DHCP requests. From owner-freebsd-mobile@FreeBSD.ORG Fri Dec 2 16:48:46 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFD7516A422 for ; Fri, 2 Dec 2005 16:48:46 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id A687943D7B for ; Fri, 2 Dec 2005 16:48:45 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id jB2GmisF024992; Fri, 2 Dec 2005 08:48:44 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id jB2GmigR024991; Fri, 2 Dec 2005 08:48:44 -0800 Date: Fri, 2 Dec 2005 08:48:44 -0800 From: Brooks Davis To: Jesse Sheidlower Message-ID: <20051202164844.GB22464@odin.ac.hmc.edu> References: <20051202124933.GA23213@panix.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="MW5yreqqjyrRcusr" Content-Disposition: inline In-Reply-To: <20051202124933.GA23213@panix.com> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu Cc: freebsd-mobile@freebsd.org Subject: Re: Repost: DHCP failing with WiFi after 6.0 upgrade 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, 02 Dec 2005 16:48:46 -0000 --MW5yreqqjyrRcusr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 02, 2005 at 07:49:33AM -0500, Jesse Sheidlower wrote: > I sent this yesterday to -questions, but in retrospect perhaps this > really is the right place; sorry for the duplication.=20 >=20 > I recently took my IBM ThinkPad X23, which had been running 4.11, and > did a fresh install (backup files, wipe disk, install from scratch) > to 6.0. Most things have gone smoothly, though there are still a few > things to iron out. >=20 > My biggest problem is that I can't seem to get DHCP to work with my > wireless card. I have an Orinoco Gold 802.11b card that's always worked > fine; I'm about to replace it with something else for 802.11g with a > new WAP. >=20 > There seem to be minor differences in how the card goes in; under 4.11 > I would get various beeps when I plugged it in and after it associated, > but now it's silent. And I had to remember to load WEP in my kernel. > But I can seem to get things started by issuing the command >=20 > ifconfig wi0 ssid jesterWAP wepmode on wepkey 0x[DELETED] >=20 > which does seem to successfully reach my WAP: >=20 > # ifconfig wi0 > wi0: flags=3D8843 mtu 1500 > inet6 fe80::202:[DELETED] prefixlen 64 scopeid 0x3 > ether 00:02:[DELETED] > media: IEEE 802.11 Wireless Ethernet autoselect (DS/2Mbps) > status: associated > ssid jesterWAP channel 6 bssid 00:[DELETED] > stationname "FreeBSD WaveLAN/IEEE node" > authmode OPEN privacy MIXED deftxkey UNDEF wepkey 1:104-bit txpow= max 100 bintval 100 >=20 > I can't seem to get a DHCP lease, however: >=20 > # dhclient wi0 > DHCPDISCOVER on wi0 to 255.255.255.255 port 67 interval 5 > DHCPDISCOVER on wi0 to 255.255.255.255 port 67 interval 13 > DHCPDISCOVER on wi0 to 255.255.255.255 port 67 interval 7 > DHCPDISCOVER on wi0 to 255.255.255.255 port 67 interval 8 > DHCPDISCOVER on wi0 to 255.255.255.255 port 67 interval 13 > DHCPDISCOVER on wi0 to 255.255.255.255 port 67 interval 15 > No DHCPOFFERS received. > No working leases in persistent database - sleeping. >=20 > (Under 4.11, I didn't get any verbose output from dhcpclient.) >=20 > I can get a DHCP lease with fxp0, my Ethernet card; also, Macs > in the house have no problem getting leases through the > WAP. (The DHCP server is in a separate router, not in the > WAP.) >=20 > Is there something that's changed under 6.0, or is there just > something I'm forgetting to do? Am I actually connected, or > does it just look that way? I do plan to get a new card, but I > want to get this working too. dhclient in 6.0 is a new implementation from OpenBSD. For what ever reason, it works poorly with some wi(4) hardware/firmware combinations. Some users have reported success with problem devices after upgrading the card firmware. I'd personally suggest upgrading to an ath(4) card. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --MW5yreqqjyrRcusr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFDkHrqXY6L6fI4GtQRArpeAJ4i2r+9adazMhnmdhsXHdIP8iS+SACfaGfC B501e+LpYnpw36cy9oZjh8Q= =xvt8 -----END PGP SIGNATURE----- --MW5yreqqjyrRcusr-- From owner-freebsd-mobile@FreeBSD.ORG Fri Dec 2 17:52:03 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC99B16A41F for ; Fri, 2 Dec 2005 17:52:03 +0000 (GMT) (envelope-from oberman@es.net) Received: from postal1.es.net (postal1.es.net [198.128.3.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A5E543D5E for ; Fri, 2 Dec 2005 17:52:03 +0000 (GMT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP (SSL) id IBA74465; Fri, 02 Dec 2005 09:52:00 -0800 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 5C8EA5D04; Fri, 2 Dec 2005 09:51:59 -0800 (PST) To: Jesse Sheidlower In-reply-to: Your message of "Fri, 02 Dec 2005 07:49:33 EST." <20051202124933.GA23213@panix.com> Date: Fri, 02 Dec 2005 09:51:59 -0800 From: "Kevin Oberman" Message-Id: <20051202175159.5C8EA5D04@ptavv.es.net> Cc: freebsd-mobile@freebsd.org Subject: Re: Repost: DHCP failing with WiFi after 6.0 upgrade 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, 02 Dec 2005 17:52:03 -0000 > Date: Fri, 2 Dec 2005 07:49:33 -0500 > From: Jesse Sheidlower > Sender: owner-freebsd-mobile@freebsd.org > > I sent this yesterday to -questions, but in retrospect perhaps this > really is the right place; sorry for the duplication. > > I recently took my IBM ThinkPad X23, which had been running 4.11, and > did a fresh install (backup files, wipe disk, install from scratch) > to 6.0. Most things have gone smoothly, though there are still a few > things to iron out. > > My biggest problem is that I can't seem to get DHCP to work with my > wireless card. I have an Orinoco Gold 802.11b card that's always worked > fine; I'm about to replace it with something else for 802.11g with a > new WAP. > > There seem to be minor differences in how the card goes in; under 4.11 > I would get various beeps when I plugged it in and after it associated, > but now it's silent. And I had to remember to load WEP in my kernel. > But I can seem to get things started by issuing the command > > ifconfig wi0 ssid jesterWAP wepmode on wepkey 0x[DELETED] > > which does seem to successfully reach my WAP: > > # ifconfig wi0 > wi0: flags=8843 mtu 1500 > inet6 fe80::202:[DELETED] prefixlen 64 scopeid 0x3 > ether 00:02:[DELETED] > media: IEEE 802.11 Wireless Ethernet autoselect (DS/2Mbps) > status: associated > ssid jesterWAP channel 6 bssid 00:[DELETED] > stationname "FreeBSD WaveLAN/IEEE node" > authmode OPEN privacy MIXED deftxkey UNDEF wepkey 1:104-bit txpowmax 100 bintval 100 -----------------------------------------------^^^^^ Under V6, you must explicitly specify the WEP transmit key index: ifconfig wi0 ssid jesterWAP wepmode on weptxkey 1 wepkey 1:0x[DELETED] -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 From owner-freebsd-mobile@FreeBSD.ORG Fri Dec 2 17:55:04 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3328116A41F for ; Fri, 2 Dec 2005 17:55:04 +0000 (GMT) (envelope-from oberman@es.net) Received: from postal2.es.net (postal2.es.net [198.128.3.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E00043D6B for ; Fri, 2 Dec 2005 17:55:03 +0000 (GMT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal2.es.net (Postal Node 2) with ESMTP (SSL) id IBA74465; Fri, 02 Dec 2005 09:54:59 -0800 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 2ED095D09; Fri, 2 Dec 2005 09:54:59 -0800 (PST) To: Brooks Davis In-reply-to: Your message of "Fri, 02 Dec 2005 08:48:44 PST." <20051202164844.GB22464@odin.ac.hmc.edu> Date: Fri, 02 Dec 2005 09:54:59 -0800 From: "Kevin Oberman" Message-Id: <20051202175459.2ED095D09@ptavv.es.net> Cc: Jesse Sheidlower , freebsd-mobile@freebsd.org Subject: Re: Repost: DHCP failing with WiFi after 6.0 upgrade 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, 02 Dec 2005 17:55:04 -0000 > Date: Fri, 2 Dec 2005 08:48:44 -0800 > From: Brooks Davis > Sender: owner-freebsd-mobile@freebsd.org > > > On Fri, Dec 02, 2005 at 07:49:33AM -0500, Jesse Sheidlower wrote: > > I sent this yesterday to -questions, but in retrospect perhaps this > > really is the right place; sorry for the duplication. > > > > I recently took my IBM ThinkPad X23, which had been running 4.11, and > > did a fresh install (backup files, wipe disk, install from scratch) > > to 6.0. Most things have gone smoothly, though there are still a few > > things to iron out. > > > > My biggest problem is that I can't seem to get DHCP to work with my > > wireless card. I have an Orinoco Gold 802.11b card that's always worked > > fine; I'm about to replace it with something else for 802.11g with a > > new WAP. > > > > There seem to be minor differences in how the card goes in; under 4.11 > > I would get various beeps when I plugged it in and after it associated, > > but now it's silent. And I had to remember to load WEP in my kernel. > > But I can seem to get things started by issuing the command > > > > ifconfig wi0 ssid jesterWAP wepmode on wepkey 0x[DELETED] > > > > which does seem to successfully reach my WAP: > > > > # ifconfig wi0 > > wi0: flags=8843 mtu 1500 > > inet6 fe80::202:[DELETED] prefixlen 64 scopeid 0x3 > > ether 00:02:[DELETED] > > media: IEEE 802.11 Wireless Ethernet autoselect (DS/2Mbps) > > status: associated > > ssid jesterWAP channel 6 bssid 00:[DELETED] > > stationname "FreeBSD WaveLAN/IEEE node" > > authmode OPEN privacy MIXED deftxkey UNDEF wepkey 1:104-bit txpow> max 100 bintval 100 > > > > I can't seem to get a DHCP lease, however: > > > > # dhclient wi0 > > DHCPDISCOVER on wi0 to 255.255.255.255 port 67 interval 5 > > DHCPDISCOVER on wi0 to 255.255.255.255 port 67 interval 13 > > DHCPDISCOVER on wi0 to 255.255.255.255 port 67 interval 7 > > DHCPDISCOVER on wi0 to 255.255.255.255 port 67 interval 8 > > DHCPDISCOVER on wi0 to 255.255.255.255 port 67 interval 13 > > DHCPDISCOVER on wi0 to 255.255.255.255 port 67 interval 15 > > No DHCPOFFERS received. > > No working leases in persistent database - sleeping. > > > > (Under 4.11, I didn't get any verbose output from dhcpclient.) > > > > I can get a DHCP lease with fxp0, my Ethernet card; also, Macs > > in the house have no problem getting leases through the > > WAP. (The DHCP server is in a separate router, not in the > > WAP.) > > > > Is there something that's changed under 6.0, or is there just > > something I'm forgetting to do? Am I actually connected, or > > does it just look that way? I do plan to get a new card, but I > > want to get this working too. > > dhclient in 6.0 is a new implementation from OpenBSD. For what ever > reason, it works poorly with some wi(4) hardware/firmware combinations. > Some users have reported success with problem devices after upgrading > the card firmware. I'd personally suggest upgrading to an ath(4) card. And, it my ThinkPad would recognize an ath card, I'd try to do just that. IBM restricts you to the mini-PCI cards that it sells. (Grr!) -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 From owner-freebsd-mobile@FreeBSD.ORG Fri Dec 2 18:06:36 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6063616A42B for ; Fri, 2 Dec 2005 18:06:36 +0000 (GMT) (envelope-from aelmore@interwoven.com) Received: from smtp02corp.interwoven.com (smtp02corp.interwoven.com [65.161.4.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F3AE43DD5 for ; Fri, 2 Dec 2005 18:05:31 +0000 (GMT) (envelope-from aelmore@interwoven.com) Received: from exbesv02.Interwoven.com (localhost [127.0.0.1]) by smtp02corp.interwoven.com (8.12.10/8.12.10) with ESMTP id jB2I4UcL016042; Fri, 2 Dec 2005 10:05:05 -0800 (PST) Received: from exbesv01.Interwoven.com ([10.192.4.77]) by exbesv02.Interwoven.com with Microsoft SMTPSVC(6.0.3790.211); Fri, 2 Dec 2005 10:03:07 -0800 Received: from relax.amer.interwoven.com ([10.192.11.188]) by exbesv01.Interwoven.com with Microsoft SMTPSVC(6.0.3790.211); Fri, 2 Dec 2005 10:03:06 -0800 Received: from relax.amer.interwoven.com (localhost [127.0.0.1]) by relax.amer.interwoven.com (8.13.4/8.13.4) with ESMTP id jB2I36tJ042968; Fri, 2 Dec 2005 10:03:06 -0800 (PST) (envelope-from aelmore@relax.amer.interwoven.com) Received: (from aelmore@localhost) by relax.amer.interwoven.com (8.13.4/8.13.4/Submit) id jB2I36Yn042967; Fri, 2 Dec 2005 10:03:06 -0800 (PST) (envelope-from aelmore) Date: Fri, 2 Dec 2005 10:03:06 -0800 From: Andrew Elmore To: Kevin Oberman Message-ID: <20051202180306.GE20695@interwoven.com> References: <20051202164844.GB22464@odin.ac.hmc.edu> <20051202175459.2ED095D09@ptavv.es.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051202175459.2ED095D09@ptavv.es.net> User-Agent: Mutt/1.4.2.1i X-OriginalArrivalTime: 02 Dec 2005 18:03:07.0009 (UTC) FILETIME=[A5CB5F10:01C5F76A] Cc: freebsd-mobile@freebsd.org Subject: Re: Repost: DHCP failing with WiFi after 6.0 upgrade 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, 02 Dec 2005 18:06:36 -0000 On Fri, Dec 02, 2005 at 09:54:59AM -0800, Kevin Oberman wrote: > And, it my ThinkPad would recognize an ath card, I'd try to do just > that. IBM restricts you to the mini-PCI cards that it sells. (Grr!) FWIW, I replaced the iwi (Intel 2200) in my Thinkpad T42p with an IBM branded Atheros card from Netgate, which works fine in my laptop. http://www.netgate.com/product_info.php?cPath=26_34&products_id=219&osCsid=bbc37ce3707fc6a08ba3914eeb3f540f regards, Andrew From owner-freebsd-mobile@FreeBSD.ORG Fri Dec 2 18:10:25 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 36EA116A41F for ; Fri, 2 Dec 2005 18:10:25 +0000 (GMT) (envelope-from oberman@es.net) Received: from postal1.es.net (postal1.es.net [198.128.3.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF08443D58 for ; Fri, 2 Dec 2005 18:10:24 +0000 (GMT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP (SSL) id IBA74465; Fri, 02 Dec 2005 10:10:21 -0800 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 6C5695D04; Fri, 2 Dec 2005 10:10:20 -0800 (PST) To: Andrew Elmore In-reply-to: Your message of "Fri, 02 Dec 2005 10:03:06 PST." <20051202180306.GE20695@interwoven.com> Date: Fri, 02 Dec 2005 10:10:18 -0800 From: "Kevin Oberman" Message-Id: <20051202181020.6C5695D04@ptavv.es.net> Cc: freebsd-mobile@freebsd.org Subject: Re: Repost: DHCP failing with WiFi after 6.0 upgrade 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, 02 Dec 2005 18:10:25 -0000 > Date: Fri, 2 Dec 2005 10:03:06 -0800 > From: Andrew Elmore > > On Fri, Dec 02, 2005 at 09:54:59AM -0800, Kevin Oberman wrote: > > And, it my ThinkPad would recognize an ath card, I'd try to do just > > that. IBM restricts you to the mini-PCI cards that it sells. (Grr!) > > FWIW, I replaced the iwi (Intel 2200) in my Thinkpad T42p with an IBM > branded Atheros card from Netgate, which works fine in my laptop. > > http://www.netgate.com/product_info.php?cPath=26_34&products_id=219&osCsid=bbc37ce3707fc6a08ba3914eeb3f540f But my T30 is too old to recognize the iwi card, or the new Athros based Cisco card. :-( I guess I should make sure that no new BIOS has been released for the T30, though. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 From owner-freebsd-mobile@FreeBSD.ORG Fri Dec 2 20:17:55 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 52F0916A41F for ; Fri, 2 Dec 2005 20:17:55 +0000 (GMT) (envelope-from arne@rfc2549.org) Received: from dagobah.rfc1149.org (dagobah.rfc1149.org [217.160.170.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 595D243D6A for ; Fri, 2 Dec 2005 20:17:53 +0000 (GMT) (envelope-from arne@rfc2549.org) Received: from dslb-084-061-132-040.pools.arcor-ip.net ([84.61.132.40] helo=[192.168.0.42]) by dagobah.rfc1149.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.54 (FreeBSD)) id 1EiHLf-000NDg-VL; Fri, 02 Dec 2005 21:17:43 +0100 Message-ID: <4390ABD0.6040904@rfc2549.org> Date: Fri, 02 Dec 2005 21:17:20 +0100 From: Arne Schwabe User-Agent: Thunderbird 1.5 (Windows/20051025) MIME-Version: 1.0 To: Kevin Oberman References: <20051202175459.2ED095D09@ptavv.es.net> In-Reply-To: <20051202175459.2ED095D09@ptavv.es.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-RFC-Spam-Score: -3.5 (---) Cc: Jesse Sheidlower , freebsd-mobile@freebsd.org Subject: Re: Repost: DHCP failing with WiFi after 6.0 upgrade 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, 02 Dec 2005 20:17:55 -0000 > And, it my ThinkPad would recognize an ath card, I'd try to do just > that. IBM restricts you to the mini-PCI cards that it sells. (Grr!) > IBM sell ath based mini-pci cards with it notebook. My T40p has Phillips Atheros a/b card (well at least phillips is the mac vendor). Arne From owner-freebsd-mobile@FreeBSD.ORG Fri Dec 2 20:38:34 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8640416A420 for ; Fri, 2 Dec 2005 20:38:34 +0000 (GMT) (envelope-from hartzell@satchel.alerce.com) Received: from merlin.alerce.com (w094.z064001164.sjc-ca.dsl.cnc.net [64.1.164.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id A246943D55 for ; Fri, 2 Dec 2005 20:38:33 +0000 (GMT) (envelope-from hartzell@satchel.alerce.com) Received: from merlin.alerce.com (localhost [127.0.0.1]) by merlin.alerce.com (Postfix) with ESMTP id A271221A8; Fri, 2 Dec 2005 12:38:02 -0800 (PST) Received: from satchel.alerce.com (w092.z064001164.sjc-ca.dsl.cnc.net [64.1.164.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by merlin.alerce.com (Postfix) with ESMTP id 60B652175; Fri, 2 Dec 2005 12:38:02 -0800 (PST) Received: from satchel.alerce.com (localhost [127.0.0.1]) by satchel.alerce.com (8.13.4/8.13.4) with ESMTP id jB2KcRhi010597; Fri, 2 Dec 2005 12:38:27 -0800 (PST) (envelope-from hartzell@satchel.alerce.com) Received: (from hartzell@localhost) by satchel.alerce.com (8.13.4/8.13.4/Submit) id jB2KcQ2X010590; Fri, 2 Dec 2005 12:38:26 -0800 (PST) (envelope-from hartzell) From: George Hartzell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17296.45250.232884.375246@satchel.alerce.com> Date: Fri, 2 Dec 2005 12:38:26 -0800 To: Andrew Elmore In-Reply-To: <20051202180306.GE20695@interwoven.com> References: <20051202164844.GB22464@odin.ac.hmc.edu> <20051202175459.2ED095D09@ptavv.es.net> <20051202180306.GE20695@interwoven.com> X-Mailer: VM 7.17 under 21.4 (patch 17) "Jumbo Shrimp" XEmacs Lucid X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-mobile@freebsd.org Subject: Re: Repost: DHCP failing with WiFi after 6.0 upgrade X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hartzell@alerce.com List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Dec 2005 20:38:34 -0000 Andrew Elmore writes: > On Fri, Dec 02, 2005 at 09:54:59AM -0800, Kevin Oberman wrote: > > And, it my ThinkPad would recognize an ath card, I'd try to do just > > that. IBM restricts you to the mini-PCI cards that it sells. (Grr!) > > FWIW, I replaced the iwi (Intel 2200) in my Thinkpad T42p with an IBM > branded Atheros card from Netgate, which works fine in my laptop. > > http://www.netgate.com/product_info.php?cPath=26_34&products_id=219&osCsid=bbc37ce3707fc6a08ba3914eeb3f540f That looks like it's using the 5213 chipset. Are you running CURRENT, or STABLE, or??? Are you using it with the ndis drivers, or the native ath driver? The ath man page on STABLE doesn't mention working with the 5213 chipset, and google/my-memory also finds comments about the current HAL not supporting it. Is there something newer out there? g. From owner-freebsd-mobile@FreeBSD.ORG Fri Dec 2 20:53:00 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD40016A41F; Fri, 2 Dec 2005 20:53:00 +0000 (GMT) (envelope-from hartzell@satchel.alerce.com) Received: from merlin.alerce.com (w094.z064001164.sjc-ca.dsl.cnc.net [64.1.164.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DC6943D5E; Fri, 2 Dec 2005 20:52:59 +0000 (GMT) (envelope-from hartzell@satchel.alerce.com) Received: from merlin.alerce.com (localhost [127.0.0.1]) by merlin.alerce.com (Postfix) with ESMTP id 9714D21A8; Fri, 2 Dec 2005 12:52:28 -0800 (PST) Received: from satchel.alerce.com (w092.z064001164.sjc-ca.dsl.cnc.net [64.1.164.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by merlin.alerce.com (Postfix) with ESMTP id 54E3E2175; Fri, 2 Dec 2005 12:52:28 -0800 (PST) Received: from satchel.alerce.com (localhost [127.0.0.1]) by satchel.alerce.com (8.13.4/8.13.4) with ESMTP id jB2KqxDT012498; Fri, 2 Dec 2005 12:52:59 -0800 (PST) (envelope-from hartzell@satchel.alerce.com) Received: (from hartzell@localhost) by satchel.alerce.com (8.13.4/8.13.4/Submit) id jB2KqxxR012495; Fri, 2 Dec 2005 12:52:59 -0800 (PST) (envelope-from hartzell) From: George Hartzell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17296.46122.671120.884060@satchel.alerce.com> Date: Fri, 2 Dec 2005 12:52:58 -0800 To: Jacques Garrigue In-Reply-To: <20051202.110448.25479607.garrigue@math.nagoya-u.ac.jp> References: <20051114.175031.93019232.garrigue@math.nagoya-u.ac.jp> <20051202.110448.25479607.garrigue@math.nagoya-u.ac.jp> X-Mailer: VM 7.17 under 21.4 (patch 17) "Jumbo Shrimp" XEmacs Lucid X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-stable@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: IBM T42 freezes when going to sleep under X11 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hartzell@alerce.com List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Dec 2005 20:53:01 -0000 Jacques Garrigue writes: > From: Jacques Garrigue > > I've got a strange problem with my IBM T42 / Radeon M10 setup. > > > > When using the 6.0-RELEASE kernel (including GENERIC), I cannot go to > > sleep when X11 is running: the machine freezes, display still on. I > > tried disabling DRI, but this does not seem to be the problem: I have > > no DRM anyway. > > > > On the other hand, everything works fines with a 6.0-RC1 kernel. > > Was there a big change in between, such that I need to change my > > configuration? > > I finally found the cause of my problems: there has been changes in > the em driver (Gb ethernet), such that the machine freezes when trying > to switch automatically from the X11 VT to the system console, before > going to sleep. The interaction is surprising, but clearly the problem > disappears when I remove "device em" from the kernel configuration, > and it reappears when I do "kldload if_em". Since I'm using only ath > (wireless) anyway, this is fine with me... > > A previous partial solution suggested to me was to add > hw.syscons.sc_no_suspend_vtswitch=1 > to sysctl.conf, but this means the screen gets garbled and I have to > do the switch by hand anyway, which is a real pain. > Worse still: the machine would still freeze when going to sleep while > the disk is active. > > The last step is to track down the bug in em, as it still seems to > be there in yesterday's STABLE. I don't seem to have any problem with my T42p using a kernel compiled on 11/29 11:21 My copy of if_em.c is: /*$FreeBSD: src/sys/dev/em/if_em.c,v 1.65.2.8 2005/11/25 14:11:59 glebius Exp $*/ g. From owner-freebsd-mobile@FreeBSD.ORG Fri Dec 2 22:07:01 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 84EF716A41F for ; Fri, 2 Dec 2005 22:07:01 +0000 (GMT) (envelope-from richard@unixguru.nl) Received: from mail.unixguru.nl (mosibi.demon.nl [212.238.240.209]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A4DB43D5A for ; Fri, 2 Dec 2005 22:07:00 +0000 (GMT) (envelope-from richard@unixguru.nl) Received: from localhost (localhost [127.0.0.1]) by mail.unixguru.nl (Postfix) with ESMTP id 7A1AA56479; Fri, 2 Dec 2005 23:06:35 +0100 (CET) Received: from localhost (sun.unixguru.nl [192.168.10.7]) by mail.unixguru.nl (Postfix) with ESMTP id EE08E56476; Fri, 2 Dec 2005 23:06:32 +0100 (CET) Date: Fri, 2 Dec 2005 23:06:55 +0100 From: Richard Arends To: hartzell@alerce.com Message-ID: <20051202220654.GH16948@sun.unixguru.nl> References: <20051202164844.GB22464@odin.ac.hmc.edu> <20051202175459.2ED095D09@ptavv.es.net> <20051202180306.GE20695@interwoven.com> <17296.45250.232884.375246@satchel.alerce.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17296.45250.232884.375246@satchel.alerce.com> User-Agent: Mutt/1.5.6i X-Virus-Scanned: amavisd-new at unixguru.nl Cc: freebsd-mobile@freebsd.org Subject: Atheros 5213 chipset (was DHCP failing with WiFi after 6.0 upgrade) 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, 02 Dec 2005 22:07:01 -0000 On Fri, Dec 02, 2005 at 12:38:26PM -0800, George Hartzell wrote: George, > That looks like it's using the 5213 chipset. > > Are you running CURRENT, or STABLE, or??? > > Are you using it with the ndis drivers, or the native ath driver? > > The ath man page on STABLE doesn't mention working with the 5213 > chipset, and google/my-memory also finds comments about the current > HAL not supporting it. I'm running a laptop and a Wrap box (pcengines.ch) with an Atheros 5213 mini-pci card. My laptop runs 6.0 stable and the wrap box runs beta2 ath0@pci2:12:0: class=0x020000 card=0x1012185f chip=0x0013168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' device = 'AR5212, AR5213 802.11a/b/g Wireless Adapter' class = network subclass = ethernet The only problem I have, is that WEP is not working atm. -- Regards, Richard. From owner-freebsd-mobile@FreeBSD.ORG Fri Dec 2 22:41:11 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9983A16A424 for ; Fri, 2 Dec 2005 22:41:11 +0000 (GMT) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id EFCF643D78 for ; Fri, 2 Dec 2005 22:41:07 +0000 (GMT) (envelope-from sam@errno.com) Received: from [10.0.0.200] ([10.0.0.200]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.6) with ESMTP id jB2Mf3Xq088761 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 2 Dec 2005 14:41:04 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <4390CD9D.7010902@errno.com> Date: Fri, 02 Dec 2005 14:41:33 -0800 From: Sam Leffler User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051126) X-Accept-Language: en-us, en MIME-Version: 1.0 To: hartzell@alerce.com References: <20051202164844.GB22464@odin.ac.hmc.edu> <20051202175459.2ED095D09@ptavv.es.net> <20051202180306.GE20695@interwoven.com> <17296.45250.232884.375246@satchel.alerce.com> In-Reply-To: <17296.45250.232884.375246@satchel.alerce.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-mobile@freebsd.org, Andrew Elmore Subject: Re: Repost: DHCP failing with WiFi after 6.0 upgrade 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, 02 Dec 2005 22:41:11 -0000 George Hartzell wrote: > Andrew Elmore writes: > > On Fri, Dec 02, 2005 at 09:54:59AM -0800, Kevin Oberman wrote: > > > And, it my ThinkPad would recognize an ath card, I'd try to do just > > > that. IBM restricts you to the mini-PCI cards that it sells. (Grr!) > > > > FWIW, I replaced the iwi (Intel 2200) in my Thinkpad T42p with an IBM > > branded Atheros card from Netgate, which works fine in my laptop. > > > > http://www.netgate.com/product_info.php?cPath=26_34&products_id=219&osCsid=bbc37ce3707fc6a08ba3914eeb3f540f > > That looks like it's using the 5213 chipset. > > Are you running CURRENT, or STABLE, or??? > > Are you using it with the ndis drivers, or the native ath driver? > > The ath man page on STABLE doesn't mention working with the 5213 > chipset, and google/my-memory also finds comments about the current > HAL not supporting it. 5213 is really a feature set. The documentation talks about 5212 support which is sufficient. The 6.x hal supports all the currently available pci/cardbus parts EXCEPT for the latest single-chip/PCI-Express parts. Those parts are supported in the hal I have out at http://www.freebsd.org/~sam. No idea if/when I'll commit the hal and related mods to cvs. > > Is there something newer out there? "something", "newer"? Sam From owner-freebsd-mobile@FreeBSD.ORG Fri Dec 2 23:01:23 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5DD8B16A41F; Fri, 2 Dec 2005 23:01:23 +0000 (GMT) (envelope-from garrigue@math.nagoya-u.ac.jp) Received: from kurims.kurims.kyoto-u.ac.jp (kurims.kurims.kyoto-u.ac.jp [130.54.16.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id D243143D6A; Fri, 2 Dec 2005 23:01:21 +0000 (GMT) (envelope-from garrigue@math.nagoya-u.ac.jp) Received: from localhost (suiren [130.54.16.25]) by kurims.kurims.kyoto-u.ac.jp (8.13.1/8.13.1) with ESMTP id jB2N1Gg5024549; Sat, 3 Dec 2005 08:01:17 +0900 (JST) Date: Sat, 03 Dec 2005 08:01:10 +0900 (JST) Message-Id: <20051203.080110.45744408.garrigue@math.nagoya-u.ac.jp> To: hartzell@alerce.com From: Jacques Garrigue In-Reply-To: <17296.46122.671120.884060@satchel.alerce.com> References: <20051114.175031.93019232.garrigue@math.nagoya-u.ac.jp> <20051202.110448.25479607.garrigue@math.nagoya-u.ac.jp> <17296.46122.671120.884060@satchel.alerce.com> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: IBM T42 freezes when going to sleep under X11 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, 02 Dec 2005 23:01:23 -0000 From: George Hartzell > Jacques Garrigue writes: > > From: Jacques Garrigue > > > I've got a strange problem with my IBM T42 / Radeon M10 setup. > > > > > > When using the 6.0-RELEASE kernel (including GENERIC), I cannot go to > > > sleep when X11 is running: the machine freezes, display still on. I > > > tried disabling DRI, but this does not seem to be the problem: I have > > > no DRM anyway. > > > > > > On the other hand, everything works fines with a 6.0-RC1 kernel. > > > Was there a big change in between, such that I need to change my > > > configuration? > > > > I finally found the cause of my problems: there has been changes in > > the em driver (Gb ethernet), such that the machine freezes when trying > > to switch automatically from the X11 VT to the system console, before > > going to sleep. The interaction is surprising, but clearly the problem > > disappears when I remove "device em" from the kernel configuration, > > and it reappears when I do "kldload if_em". Since I'm using only ath > > (wireless) anyway, this is fine with me... > > I don't seem to have any problem with my T42p using a kernel compiled > on 11/29 11:21 > > My copy of if_em.c is: > > /*$FreeBSD: src/sys/dev/em/if_em.c,v 1.65.2.8 2005/11/25 14:11:59 glebius Exp $*/ The very same version I could reproduce the bug with... I suppose the cause is a complex interaction. For instance it only appears under X11. So part of the reason might be the difference between the radeon M10 and the FIRE GL T2. Or the fact I'm simultaneously using ath. Or anything else... My point was just that the direct trigger was a change in em between 6.0-RC1 and 6.0-RELEASE. But if it cannot be reproduced on any other machine, this is going to be difficult to track down. By the way, I have another problem: if I set my display background to an image (under KDE or xfce4), then the bottom half of the image gets garbled after resume. Do you observer anything like that? Might this be a sign of something wrong in the X11 driver? (I just use the default Xorg) Jacques Garrigue From owner-freebsd-mobile@FreeBSD.ORG Sat Dec 3 02:13:48 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E80216A41F for ; Sat, 3 Dec 2005 02:13:48 +0000 (GMT) (envelope-from hartzell@satchel.alerce.com) Received: from merlin.alerce.com (w094.z064001164.sjc-ca.dsl.cnc.net [64.1.164.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 779FA43D62 for ; Sat, 3 Dec 2005 02:13:47 +0000 (GMT) (envelope-from hartzell@satchel.alerce.com) Received: from merlin.alerce.com (localhost [127.0.0.1]) by merlin.alerce.com (Postfix) with ESMTP id 6C9B521A8; Fri, 2 Dec 2005 18:13:16 -0800 (PST) Received: from satchel.alerce.com (w092.z064001164.sjc-ca.dsl.cnc.net [64.1.164.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by merlin.alerce.com (Postfix) with ESMTP id 132A52175; Fri, 2 Dec 2005 18:13:16 -0800 (PST) Received: from satchel.alerce.com (localhost [127.0.0.1]) by satchel.alerce.com (8.13.4/8.13.4) with ESMTP id jB32DlBB002119; Fri, 2 Dec 2005 18:13:47 -0800 (PST) (envelope-from hartzell@satchel.alerce.com) Received: (from hartzell@localhost) by satchel.alerce.com (8.13.4/8.13.4/Submit) id jB32Dk1k002112; Fri, 2 Dec 2005 18:13:46 -0800 (PST) (envelope-from hartzell) From: George Hartzell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17296.65370.236005.581452@satchel.alerce.com> Date: Fri, 2 Dec 2005 18:13:46 -0800 To: Sam Leffler In-Reply-To: <4390CD9D.7010902@errno.com> References: <20051202164844.GB22464@odin.ac.hmc.edu> <20051202175459.2ED095D09@ptavv.es.net> <20051202180306.GE20695@interwoven.com> <17296.45250.232884.375246@satchel.alerce.com> <4390CD9D.7010902@errno.com> X-Mailer: VM 7.17 under 21.4 (patch 17) "Jumbo Shrimp" XEmacs Lucid X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-mobile@freebsd.org, Andrew Elmore Subject: Re: Repost: DHCP failing with WiFi after 6.0 upgrade X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hartzell@alerce.com List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Dec 2005 02:13:48 -0000 Sam Leffler writes: > George Hartzell wrote: > > Andrew Elmore writes: > > > On Fri, Dec 02, 2005 at 09:54:59AM -0800, Kevin Oberman wrote: > > > > And, it my ThinkPad would recognize an ath card, I'd try to do just > > > > that. IBM restricts you to the mini-PCI cards that it sells. (Grr!) > > > > > > FWIW, I replaced the iwi (Intel 2200) in my Thinkpad T42p with an IBM > > > branded Atheros card from Netgate, which works fine in my laptop. > > > > > > http://www.netgate.com/product_info.php?cPath=26_34&products_id=219&osCsid=bbc37ce3707fc6a08ba3914eeb3f540f > > > > That looks like it's using the 5213 chipset. > > > > Are you running CURRENT, or STABLE, or??? > > > > Are you using it with the ndis drivers, or the native ath driver? > > > > The ath man page on STABLE doesn't mention working with the 5213 > > chipset, and google/my-memory also finds comments about the current > > HAL not supporting it. > > 5213 is really a feature set. The documentation talks about 5212 > support which is sufficient. The 6.x hal supports all the currently > available pci/cardbus parts EXCEPT for the latest > single-chip/PCI-Express parts. Those parts are supported in the hal I > have out at http://www.freebsd.org/~sam. No idea if/when I'll commit > the hal and related mods to cvs. > > > > > Is there something newer out there? > > "something", "newer"? Thanks for the authoritative answer! Sorry for the poorly specified question at the end, I was asking about a newer HAL or other kernel components than what I have in 6.0-STABLE, thinking that might explain my my doc said 5212 but people were running with a "5213 chipset". Your explanation above straightened me out. g. From owner-freebsd-mobile@FreeBSD.ORG Sat Dec 3 04:50:22 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 78D4B16A41F for ; Sat, 3 Dec 2005 04:50:22 +0000 (GMT) (envelope-from jester@panix.com) Received: from mail2.panix.com (mail2.panix.com [166.84.1.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1187B43D60 for ; Sat, 3 Dec 2005 04:50:21 +0000 (GMT) (envelope-from jester@panix.com) Received: from panix2.panix.com (panix2.panix.com [166.84.1.2]) by mail2.panix.com (Postfix) with ESMTP id 6348F9DA72; Fri, 2 Dec 2005 23:50:21 -0500 (EST) Received: (from jester@localhost) by panix2.panix.com (8.11.6p3/8.8.8/PanixN1.1) id jB34oLd24425; Fri, 2 Dec 2005 23:50:21 -0500 (EST) Date: Fri, 2 Dec 2005 23:50:21 -0500 From: Jesse Sheidlower To: Kevin Oberman Message-ID: <20051203045021.GA28760@panix.com> References: <20051202124933.GA23213@panix.com> <20051202175159.5C8EA5D04@ptavv.es.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051202175159.5C8EA5D04@ptavv.es.net> User-Agent: Mutt/1.5.10i Cc: freebsd-mobile@freebsd.org Subject: Re: Repost: DHCP failing with WiFi after 6.0 upgrade 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, 03 Dec 2005 04:50:22 -0000 On Fri, Dec 02, 2005 at 09:51:59AM -0800, Kevin Oberman wrote: > > Date: Fri, 2 Dec 2005 07:49:33 -0500 > > From: Jesse Sheidlower [...] > > My biggest problem is that I can't seem to get DHCP to work with my > > wireless card. I have an Orinoco Gold 802.11b card that's always worked > > fine; I'm about to replace it with something else for 802.11g with a > > new WAP. [...] > Under V6, you must explicitly specify the WEP transmit key index: > ifconfig wi0 ssid jesterWAP wepmode on weptxkey 1 wepkey 1:0x[DELETED] Many thanks! This is all it took. At least, with this I was able to get a DHCP lease. I expect I'm about to expose my cluelessness, but even after getting the lease--which, obviously, required going over the WAP to my router-- I still can't connect anywhere. My wi0 ifconfig looks like: wi0: flags=8843 mtu 1500 inet6 fe80::202[DELETED] prefixlen 64 scopeid 0x3 inet 192.168.1.105 netmask 0xffffff00 broadcast 192.168.1.255 ether 00:02[DELETED] media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps) status: associated ssid jesterWAP channel 6 bssid 00:06:[DELETED] stationname "FreeBSD WaveLAN/IEEE node" authmode OPEN privacy MIXED deftxkey 1 wepkey 1:104-bit txpowmax 100 bintval 100 after getting my DHCP lease. But I am unable to ping the router, or the WAP, or run any traceroutes, or anything else over the network. GNOME's "Connection Properties" applet shows packets received but nothing sent, FWIW. I have no problem using the Ethernet interface. To address the other sub-thread: Are there no PC cards that will work with 802.11g on a ThinkPad X23? I don't mind getting an IBM-branded one, if that's what it takes, but this is a four-year-old computer. There was some conflicting information upthread about whether there are Atheros-based cards that will work in some circumstances, or what. Thanks again for this and the other useful discussion. Jesse Sheidlower From owner-freebsd-mobile@FreeBSD.ORG Sat Dec 3 05:10:31 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 75EC616A41F for ; Sat, 3 Dec 2005 05:10:31 +0000 (GMT) (envelope-from oberman@es.net) Received: from postal2.es.net (postal2.es.net [198.128.3.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 305AA43D6D for ; Sat, 3 Dec 2005 05:10:31 +0000 (GMT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal2.es.net (Postal Node 2) with ESMTP (SSL) id IBA74465; Fri, 02 Dec 2005 21:10:25 -0800 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 12FCD5D04; Fri, 2 Dec 2005 21:10:27 -0800 (PST) To: Jesse Sheidlower In-reply-to: Your message of "Fri, 02 Dec 2005 23:50:21 EST." <20051203045021.GA28760@panix.com> Date: Fri, 02 Dec 2005 21:10:27 -0800 From: "Kevin Oberman" Message-Id: <20051203051027.12FCD5D04@ptavv.es.net> Cc: freebsd-mobile@freebsd.org Subject: Re: Repost: DHCP failing with WiFi after 6.0 upgrade 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, 03 Dec 2005 05:10:31 -0000 > Date: Fri, 2 Dec 2005 23:50:21 -0500 > From: Jesse Sheidlower > > On Fri, Dec 02, 2005 at 09:51:59AM -0800, Kevin Oberman wrote: > > > Date: Fri, 2 Dec 2005 07:49:33 -0500 > > > From: Jesse Sheidlower > > [...] > > > > My biggest problem is that I can't seem to get DHCP to work with my > > > wireless card. I have an Orinoco Gold 802.11b card that's always worked > > > fine; I'm about to replace it with something else for 802.11g with a > > > new WAP. > > [...] > > > Under V6, you must explicitly specify the WEP transmit key index: > > ifconfig wi0 ssid jesterWAP wepmode on weptxkey 1 wepkey 1:0x[DELETED] > > Many thanks! This is all it took. At least, with this I was able > to get a DHCP lease. > > I expect I'm about to expose my cluelessness, but even after getting > the lease--which, obviously, required going over the WAP to my router-- > I still can't connect anywhere. My wi0 ifconfig looks like: > > wi0: flags=8843 mtu 1500 > inet6 fe80::202[DELETED] prefixlen 64 scopeid 0x3 > inet 192.168.1.105 netmask 0xffffff00 broadcast 192.168.1.255 > ether 00:02[DELETED] > media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps) > status: associated > ssid jesterWAP channel 6 bssid 00:06:[DELETED] > stationname "FreeBSD WaveLAN/IEEE node" > authmode OPEN privacy MIXED deftxkey 1 wepkey 1:104-bit txpowmax 100 > bintval 100 > > after getting my DHCP lease. But I am unable to ping the router, or > the WAP, or run any traceroutes, or anything else over the network. > GNOME's "Connection Properties" applet shows packets received but > nothing sent, FWIW. I have no problem using the Ethernet interface. This is most likely the default route. DHCP will set it, but it will not replace a default that is already there if it was not set by dhclient. . Try either 'router delete default' or 'route flush' before running dhclient. If you already have dhclient running, I'd 'killall dhclient' and then restart it. > To address the other sub-thread: Are there no PC cards that > will work with 802.11g on a ThinkPad X23? I don't mind getting > an IBM-branded one, if that's what it takes, but this is a > four-year-old computer. There was some conflicting information > upthread about whether there are Atheros-based cards that will > work in some circumstances, or what. Last word from Lenovo is that no 802.11G cards are supported for the T30 and I suspect thats the T23, being even older is in the same state. I understand that it might be possible to hack BIOS to get around this, but I don't have any details. Of course, you can get a Cardbus b/g card (or a/b/g) and use that. I'd suggest Athros based, for the obvious reasons. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 From owner-freebsd-mobile@FreeBSD.ORG Sat Dec 3 06:43:24 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7595A16A41F for ; Sat, 3 Dec 2005 06:43:24 +0000 (GMT) (envelope-from wrangled@verizon.net) Received: from vms046pub.verizon.net (vms046pub.verizon.net [206.46.252.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id 305C443D45 for ; Sat, 3 Dec 2005 06:43:24 +0000 (GMT) (envelope-from wrangled@verizon.net) Received: from [192.168.0.29] ([68.236.212.14]) by vms046.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0IQW00MN2TCAFND3@vms046.mailsrvcs.net> for freebsd-mobile@freebsd.org; Sat, 03 Dec 2005 00:43:23 -0600 (CST) Date: Sat, 03 Dec 2005 01:43:18 -0500 From: wrangled To: freebsd-mobile@freebsd.org Message-id: <43913E86.3080409@verizon.net> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) Subject: Will FreeBSD *EVER* support Hp Pavillion laptops? 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, 03 Dec 2005 06:43:24 -0000 Every year I try the latest version of FreeBSD to see if it works on my HP Pavillion 5445, and each year it hangs as soon as the intaller gets to acpi.ko. Yes, I've tried everything. No, it still doesn't work. It's my only machine that cannot run FreeBSD. It just seems odd since the machine is fairly mainstream. I am mostly just curious at this point. From owner-freebsd-mobile@FreeBSD.ORG Sat Dec 3 08:53:02 2005 Return-Path: X-Original-To: freebsd-mobile@FreeBSD.org Delivered-To: freebsd-mobile@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5E98616A41F; Sat, 3 Dec 2005 08:53:02 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BFE343D66; Sat, 3 Dec 2005 08:53:01 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.13.3/8.13.3) with ESMTP id jB38qqAR089588 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 3 Dec 2005 11:52:53 +0300 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.sick.ru (8.13.3/8.13.1/Submit) id jB38qpA4089587; Sat, 3 Dec 2005 11:52:51 +0300 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Sat, 3 Dec 2005 11:52:51 +0300 From: Gleb Smirnoff To: hartzell@alerce.com Message-ID: <20051203085251.GY22816@cell.sick.ru> References: <20051114.175031.93019232.garrigue@math.nagoya-u.ac.jp> <20051202.110448.25479607.garrigue@math.nagoya-u.ac.jp> <17296.46122.671120.884060@satchel.alerce.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="+KJYzRxRHjYqLGl5" Content-Disposition: inline In-Reply-To: <17296.46122.671120.884060@satchel.alerce.com> User-Agent: Mutt/1.5.6i Cc: Jacques Garrigue , freebsd-stable@FreeBSD.org, freebsd-mobile@FreeBSD.org Subject: Re: IBM T42 freezes when going to sleep under X11 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, 03 Dec 2005 08:53:02 -0000 --+KJYzRxRHjYqLGl5 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline On Fri, Dec 02, 2005 at 12:52:58PM -0800, George Hartzell wrote: G> > I finally found the cause of my problems: there has been changes in G> > the em driver (Gb ethernet), such that the machine freezes when trying G> > to switch automatically from the X11 VT to the system console, before G> > going to sleep. The interaction is surprising, but clearly the problem G> > disappears when I remove "device em" from the kernel configuration, G> > and it reappears when I do "kldload if_em". Since I'm using only ath G> > (wireless) anyway, this is fine with me... G> > G> > A previous partial solution suggested to me was to add G> > hw.syscons.sc_no_suspend_vtswitch=1 G> > to sysctl.conf, but this means the screen gets garbled and I have to G> > do the switch by hand anyway, which is a real pain. G> > Worse still: the machine would still freeze when going to sleep while G> > the disk is active. G> > G> > The last step is to track down the bug in em, as it still seems to G> > be there in yesterday's STABLE. G> G> I don't seem to have any problem with my T42p using a kernel compiled G> on 11/29 11:21 G> G> My copy of if_em.c is: G> G> /*$FreeBSD: src/sys/dev/em/if_em.c,v 1.65.2.8 2005/11/25 14:11:59 glebius Exp $*/ George, Jacques, what em(4) cards exactly do you have? pciconf -lv | grep -A4 ^em Can you please try the attached patch? -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE --+KJYzRxRHjYqLGl5 Content-Type: text/plain; charset=koi8-r Content-Disposition: attachment; filename="em.suspend" Index: if_em.c =================================================================== RCS file: /home/ncvs/src/sys/dev/em/if_em.c,v retrieving revision 1.85 diff -u -r1.85 if_em.c --- if_em.c 10 Nov 2005 11:44:37 -0000 1.85 +++ if_em.c 11 Nov 2005 12:13:48 -0000 @@ -129,8 +129,11 @@ static int em_attach(device_t); static int em_detach(device_t); static int em_shutdown(device_t); +static int em_suspend(device_t); +static int em_resume(device_t); static void em_intr(void *); static void em_start(struct ifnet *); +static void em_start_locked(struct ifnet *ifp); static int em_ioctl(struct ifnet *, u_long, caddr_t); static void em_watchdog(struct ifnet *); static void em_init(void *); @@ -208,6 +211,8 @@ DEVMETHOD(device_attach, em_attach), DEVMETHOD(device_detach, em_detach), DEVMETHOD(device_shutdown, em_shutdown), + DEVMETHOD(device_suspend, em_suspend), + DEVMETHOD(device_resume, em_resume), {0, 0} }; @@ -580,6 +585,41 @@ return(0); } +/* + * Suspend/resume device methods. + */ +static int +em_suspend(device_t dev) +{ + struct adapter *adapter = device_get_softc(dev); + + EM_LOCK(adapter); + em_stop(adapter); + EM_UNLOCK(adapter); + + return bus_generic_suspend(dev); +} + +static int +em_resume(device_t dev) +{ + struct adapter *adapter = device_get_softc(dev); + struct ifnet *ifp; + + EM_LOCK(adapter); + ifp = adapter->ifp; + if (ifp->if_flags & IFF_UP) { + em_init_locked(adapter); + if (ifp->if_drv_flags & IFF_DRV_RUNNING) + em_start_locked(ifp); + } + + em_init_locked(adapter); + EM_UNLOCK(adapter); + + return bus_generic_resume(dev); +} + /********************************************************************* * Transmit entry point --+KJYzRxRHjYqLGl5-- From owner-freebsd-mobile@FreeBSD.ORG Sat Dec 3 12:21:11 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3AE7516A41F; Sat, 3 Dec 2005 12:21:11 +0000 (GMT) (envelope-from garrigue@math.nagoya-u.ac.jp) Received: from kurims.kurims.kyoto-u.ac.jp (kurims.kurims.kyoto-u.ac.jp [130.54.16.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id F136C43D5C; Sat, 3 Dec 2005 12:21:09 +0000 (GMT) (envelope-from garrigue@math.nagoya-u.ac.jp) Received: from localhost (suiren [130.54.16.25]) by kurims.kurims.kyoto-u.ac.jp (8.13.1/8.13.1) with ESMTP id jB3CL4VY006145; Sat, 3 Dec 2005 21:21:04 +0900 (JST) Date: Sat, 03 Dec 2005 21:21:00 +0900 (JST) Message-Id: <20051203.212100.41199085.garrigue@math.nagoya-u.ac.jp> To: glebius@freebsd.org From: Jacques Garrigue In-Reply-To: <20051203085251.GY22816@cell.sick.ru> References: <20051202.110448.25479607.garrigue@math.nagoya-u.ac.jp> <17296.46122.671120.884060@satchel.alerce.com> <20051203085251.GY22816@cell.sick.ru> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, hartzell@alerce.com, freebsd-mobile@freebsd.org Subject: Re: IBM T42 freezes when going to sleep under X11 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, 03 Dec 2005 12:21:11 -0000 From: Gleb Smirnoff > George, Jacques, > > what em(4) cards exactly do you have? > > pciconf -lv | grep -A4 ^em Dear Gleb, Here is the info: em0@pci2:1:0: class=0x020000 card=0x05491014 chip=0x101e8086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82540EP Gigabit Ethernet Controller (Mobile)' class = network subclass = ethernet > Can you please try the attached patch? I tried it, but the behaviour didn't change: immediate hang when trying to suspend (the screen does not even switch to ttyv0.) --------------------------------------------------------------------------- Jacques Garrigue Nagoya University garrigue at math.nagoya-u.ac.jp From owner-freebsd-mobile@FreeBSD.ORG Sat Dec 3 18:37:05 2005 Return-Path: X-Original-To: freebsd-mobile@FreeBSD.org Delivered-To: freebsd-mobile@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3249C16A41F; Sat, 3 Dec 2005 18:37:05 +0000 (GMT) (envelope-from hartzell@satchel.alerce.com) Received: from merlin.alerce.com (w094.z064001164.sjc-ca.dsl.cnc.net [64.1.164.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79EC343D55; Sat, 3 Dec 2005 18:37:04 +0000 (GMT) (envelope-from hartzell@satchel.alerce.com) Received: from merlin.alerce.com (localhost [127.0.0.1]) by merlin.alerce.com (Postfix) with ESMTP id AAD892189; Sat, 3 Dec 2005 10:36:32 -0800 (PST) Received: from satchel.alerce.com (w092.z064001164.sjc-ca.dsl.cnc.net [64.1.164.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by merlin.alerce.com (Postfix) with ESMTP id 49210216A; Sat, 3 Dec 2005 10:36:32 -0800 (PST) Received: from satchel.alerce.com (localhost [127.0.0.1]) by satchel.alerce.com (8.13.4/8.13.4) with ESMTP id jB3IawXk013349; Sat, 3 Dec 2005 10:36:58 -0800 (PST) (envelope-from hartzell@satchel.alerce.com) Received: (from hartzell@localhost) by satchel.alerce.com (8.13.4/8.13.4/Submit) id jB3IauKH013338; Sat, 3 Dec 2005 10:36:56 -0800 (PST) (envelope-from hartzell) From: George Hartzell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17297.58824.228762.18260@satchel.alerce.com> Date: Sat, 3 Dec 2005 10:36:56 -0800 To: Gleb Smirnoff In-Reply-To: <20051203085251.GY22816@cell.sick.ru> References: <20051114.175031.93019232.garrigue@math.nagoya-u.ac.jp> <20051202.110448.25479607.garrigue@math.nagoya-u.ac.jp> <17296.46122.671120.884060@satchel.alerce.com> <20051203085251.GY22816@cell.sick.ru> X-Mailer: VM 7.17 under 21.4 (patch 17) "Jumbo Shrimp" XEmacs Lucid X-Virus-Scanned: ClamAV using ClamSMTP Cc: Jacques Garrigue , hartzell@alerce.com, freebsd-stable@FreeBSD.org, freebsd-mobile@FreeBSD.org Subject: Re: IBM T42 freezes when going to sleep under X11 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hartzell@alerce.com List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Dec 2005 18:37:05 -0000 Gleb Smirnoff writes: > On Fri, Dec 02, 2005 at 12:52:58PM -0800, George Hartzell wrote: > G> > I finally found the cause of my problems: there has been changes in > G> > the em driver (Gb ethernet), such that the machine freezes when trying > G> > to switch automatically from the X11 VT to the system console, before > G> > going to sleep. The interaction is surprising, but clearly the problem > G> > disappears when I remove "device em" from the kernel configuration, > G> > and it reappears when I do "kldload if_em". Since I'm using only ath > G> > (wireless) anyway, this is fine with me... > G> > > G> > A previous partial solution suggested to me was to add > G> > hw.syscons.sc_no_suspend_vtswitch=1 > G> > to sysctl.conf, but this means the screen gets garbled and I have to > G> > do the switch by hand anyway, which is a real pain. > G> > Worse still: the machine would still freeze when going to sleep while > G> > the disk is active. > G> > > G> > The last step is to track down the bug in em, as it still seems to > G> > be there in yesterday's STABLE. > G> > G> I don't seem to have any problem with my T42p using a kernel compiled > G> on 11/29 11:21 > G> > G> My copy of if_em.c is: > G> > G> /*$FreeBSD: src/sys/dev/em/if_em.c,v 1.65.2.8 2005/11/25 14:11:59 glebius Exp $*/ > > George, Jacques, > > what em(4) cards exactly do you have? > > pciconf -lv | grep -A4 ^em (satchel)[10:35am]~>>pciconf -lv | grep -A4 ^em em0@pci2:1:0: class=0x020000 card=0x05491014 chip=0x101e8086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82540EP Gigabit Ethernet Controller (Mobile)' class = network subclass = ethernet (satchel)[10:36am]~>> > > Can you please try the attached patch? > I'll give it a try this weekend. g. From owner-freebsd-mobile@FreeBSD.ORG Sat Dec 3 19:22:22 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D35316A41F for ; Sat, 3 Dec 2005 19:22:22 +0000 (GMT) (envelope-from mikedaniluk@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5ED0143D6E for ; Sat, 3 Dec 2005 19:22:13 +0000 (GMT) (envelope-from mikedaniluk@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so302014wxc for ; Sat, 03 Dec 2005 11:22:10 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Tb4HGmYTjVdUAq0brEniKcTy6LY4eBe57Un5Gr6JchWnSiF7NiIBzzRIzzyhH+zVecI95ZInVUJ8u/pPN9cZwgmWnC3P1NVNuVleswnhPiTd/7UtE4sJqwRtYpj9DSa++Bko+XVqzZvOe7eIsPbqh26yqWPIRLfSGf9GEfKzTf0= Received: by 10.70.65.1 with SMTP id n1mr5242498wxa; Sat, 03 Dec 2005 11:22:10 -0800 (PST) Received: by 10.70.116.12 with HTTP; Sat, 3 Dec 2005 11:22:10 -0800 (PST) Message-ID: <356a62450512031122y47577bd7qc4db8c61de12f6c9@mail.gmail.com> Date: Sat, 3 Dec 2005 14:22:10 -0500 From: Michael Daniluk To: freebsd-mobile@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: What to Consider when Purchasing an External Monitor 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, 03 Dec 2005 19:22:22 -0000 I am running FreeBSD 5.4 on a Dell inspiron 600m and am enjoying the experience thoroughly :) I recently purchased a Dell Docking station and I plan to get some external devices hooked up to it, including an external wide screen lcd monitor. I have never had a set up like this before, and I was wondering if you guys could help me out with a few issues... 1. I already have a monitor in mind. It is the viewsonic VA1912wb. It's native resolution is 1440x900.... Does anyone have experience with X Server running at this resolution? One of the reviews I read of the monitor was from someone running linux who encountered trouble at 1440x900? 2. Is it true that certain video cards only support certain resolutions (I imagine this is in fact true)? I looked at the site of my video adapter's manufacturer and this info was not present, I also did some extensive googling for this info and could not find it. Anyone know where I can find this? I am running a Radeon 9000, and if you happen to know off-hand what resolutions it supports, it would be quite cool if you can reply with that :) ... here are the lines of my dmesg output pertaining to my adapter: drm0: port 0xc000-0xc0ff mem 0xfcff0000-0xfcff ffff,0xe8000000-0xefffffff irq 11 at device 0.0 on pci1 info: [drm] AGP at 0xe0000000 128MB info: [drm] Initialized radeon 1.11.0 20020828 on minor 0 info: [drm] Loading R200 Microcode 3. Is there anything else I should consider in buying an external monitor in order to avoid or at least anticipate headache? Thanks a lot. ps - I know a lot of this stuff isn't totally pertinent to FreeBSD. I apolo= gize. From owner-freebsd-mobile@FreeBSD.ORG Sat Dec 3 19:46:46 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 307DD16A429; Sat, 3 Dec 2005 19:46:46 +0000 (GMT) (envelope-from jester@panix.com) Received: from mail2.panix.com (mail2.panix.com [166.84.1.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id BECDA43D55; Sat, 3 Dec 2005 19:46:41 +0000 (GMT) (envelope-from jester@panix.com) Received: from panix2.panix.com (panix2.panix.com [166.84.1.2]) by mail2.panix.com (Postfix) with ESMTP id AAE979DB78; Sat, 3 Dec 2005 14:46:33 -0500 (EST) Received: (from jester@localhost) by panix2.panix.com (8.11.6p3/8.8.8/PanixN1.1) id jB3JkY224057; Sat, 3 Dec 2005 14:46:34 -0500 (EST) Date: Sat, 3 Dec 2005 14:46:34 -0500 From: Jesse Sheidlower To: freebsd-questions@freebsd.org Message-ID: <20051203194634.GA28861@panix.com> References: <20051126195544.GA28942@panix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051126195544.GA28942@panix.com> User-Agent: Mutt/1.5.10i Cc: freebsd-mobile@freebsd.org Subject: Playing through USB speakers in 6.0 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, 03 Dec 2005 19:46:46 -0000 Last week I sent the following message: On Sat, Nov 26, 2005 at 02:55:44PM -0500, Jesse Sheidlower wrote: > > I'm running FreeBSD 4.11 on a laptop, and am interested in > plugging in USB speakers. Is this possible, and if so, what > do I have to do? There wasn't anything in the Handbook, > and most things I saw from searching the lists had to do > with recording audio to a USB device. Since then I upgraded to 6.0, and took the chance of buying a pair of USB speakers, which do not work. My USB works, and the speakers are drawing a current when plugged in, but I do not get any music through them. (Audio in general works fine; I can get sound of out the built-in speakers or through headphones and so forth, but I want to use USB speakers to avoid batteries or a separate power cord.) I've googled further but still not found anything helpful. Is there anything I can do to get these to work? Thanks for any suggestions. Jesse Sheidlower From owner-freebsd-mobile@FreeBSD.ORG Sat Dec 3 20:09:33 2005 Return-Path: X-Original-To: freebsd-mobile@FreeBSD.org Delivered-To: freebsd-mobile@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1BB7616A41F; Sat, 3 Dec 2005 20:09:33 +0000 (GMT) (envelope-from hartzell@satchel.alerce.com) Received: from merlin.alerce.com (w094.z064001164.sjc-ca.dsl.cnc.net [64.1.164.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A79C43D55; Sat, 3 Dec 2005 20:09:31 +0000 (GMT) (envelope-from hartzell@satchel.alerce.com) Received: from merlin.alerce.com (localhost [127.0.0.1]) by merlin.alerce.com (Postfix) with ESMTP id 872642181; Sat, 3 Dec 2005 12:08:59 -0800 (PST) Received: from satchel.alerce.com (w092.z064001164.sjc-ca.dsl.cnc.net [64.1.164.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by merlin.alerce.com (Postfix) with ESMTP id 3E33B214F; Sat, 3 Dec 2005 12:08:59 -0800 (PST) Received: from satchel.alerce.com (localhost [127.0.0.1]) by satchel.alerce.com (8.13.4/8.13.4) with ESMTP id jB3K9OVh004305; Sat, 3 Dec 2005 12:09:24 -0800 (PST) (envelope-from hartzell@satchel.alerce.com) Received: (from hartzell@localhost) by satchel.alerce.com (8.13.4/8.13.4/Submit) id jB3K9NnY004296; Sat, 3 Dec 2005 12:09:23 -0800 (PST) (envelope-from hartzell) From: George Hartzell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17297.64370.923912.244075@satchel.alerce.com> Date: Sat, 3 Dec 2005 12:09:22 -0800 To: Gleb Smirnoff In-Reply-To: <20051203085251.GY22816@cell.sick.ru> References: <20051114.175031.93019232.garrigue@math.nagoya-u.ac.jp> <20051202.110448.25479607.garrigue@math.nagoya-u.ac.jp> <17296.46122.671120.884060@satchel.alerce.com> <20051203085251.GY22816@cell.sick.ru> X-Mailer: VM 7.17 under 21.4 (patch 17) "Jumbo Shrimp" XEmacs Lucid X-Virus-Scanned: ClamAV using ClamSMTP Cc: Jacques Garrigue , hartzell@alerce.com, freebsd-stable@FreeBSD.org, freebsd-mobile@FreeBSD.org Subject: Re: IBM T42 freezes when going to sleep under X11 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hartzell@alerce.com List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Dec 2005 20:09:33 -0000 Gleb Smirnoff writes: > On Fri, Dec 02, 2005 at 12:52:58PM -0800, George Hartzell wrote: > G> > I finally found the cause of my problems: there has been changes in > G> > the em driver (Gb ethernet), such that the machine freezes when trying > G> > to switch automatically from the X11 VT to the system console, before > G> > going to sleep. The interaction is surprising, but clearly the problem > G> > disappears when I remove "device em" from the kernel configuration, > G> > and it reappears when I do "kldload if_em". Since I'm using only ath > G> > (wireless) anyway, this is fine with me... > G> > > G> > A previous partial solution suggested to me was to add > G> > hw.syscons.sc_no_suspend_vtswitch=1 > G> > to sysctl.conf, but this means the screen gets garbled and I have to > G> > do the switch by hand anyway, which is a real pain. > G> > Worse still: the machine would still freeze when going to sleep while > G> > the disk is active. > G> > > G> > The last step is to track down the bug in em, as it still seems to > G> > be there in yesterday's STABLE. > G> > G> I don't seem to have any problem with my T42p using a kernel compiled > G> on 11/29 11:21 > G> > G> My copy of if_em.c is: > G> > G> /*$FreeBSD: src/sys/dev/em/if_em.c,v 1.65.2.8 2005/11/25 14:11:59 glebius Exp $*/ > > George, Jacques, > > what em(4) cards exactly do you have? > > pciconf -lv | grep -A4 ^em > > Can you please try the attached patch? > > -- > Totus tuus, Glebius. > GLEBIUS-RIPN GLEB-RIPE > Index: if_em.c > =================================================================== > RCS file: /home/ncvs/src/sys/dev/em/if_em.c,v > retrieving revision 1.85 > diff -u -r1.85 if_em.c > --- if_em.c 10 Nov 2005 11:44:37 -0000 1.85 > +++ if_em.c 11 Nov 2005 12:13:48 -0000 > @@ -129,8 +129,11 @@ > static int em_attach(device_t); > static int em_detach(device_t); > static int em_shutdown(device_t); > +static int em_suspend(device_t); > +static int em_resume(device_t); > static void em_intr(void *); > static void em_start(struct ifnet *); > +static void em_start_locked(struct ifnet *ifp); > static int em_ioctl(struct ifnet *, u_long, caddr_t); > static void em_watchdog(struct ifnet *); > static void em_init(void *); > @@ -208,6 +211,8 @@ > DEVMETHOD(device_attach, em_attach), > DEVMETHOD(device_detach, em_detach), > DEVMETHOD(device_shutdown, em_shutdown), > + DEVMETHOD(device_suspend, em_suspend), > + DEVMETHOD(device_resume, em_resume), > {0, 0} > }; > > @@ -580,6 +585,41 @@ > return(0); > } > > +/* > + * Suspend/resume device methods. > + */ > +static int > +em_suspend(device_t dev) > +{ > + struct adapter *adapter = device_get_softc(dev); > + > + EM_LOCK(adapter); > + em_stop(adapter); > + EM_UNLOCK(adapter); > + > + return bus_generic_suspend(dev); > +} > + > +static int > +em_resume(device_t dev) > +{ > + struct adapter *adapter = device_get_softc(dev); > + struct ifnet *ifp; > + > + EM_LOCK(adapter); > + ifp = adapter->ifp; > + if (ifp->if_flags & IFF_UP) { > + em_init_locked(adapter); > + if (ifp->if_drv_flags & IFF_DRV_RUNNING) > + em_start_locked(ifp); > + } > + > + em_init_locked(adapter); > + EM_UNLOCK(adapter); > + > + return bus_generic_resume(dev); > +} > + > > /********************************************************************* > * Transmit entry point I'll post details as a reply to earlier in the thread, but I have started seeing crashes. I don't suspect the em driver, I *do* suspect synaptics support. But I have more digging to do.... With respect to this patch, it causes me a problem. I have ifconfig_em0="DHCP NOAUTO" in my /etc/rc.conf, so that the interface doesn't come up unless I ask it too (usually via /etc/rc.d/netif start em0) With this patch applied, even if I've never started it, the interface gets started. If I have a cable plugged in, it grabs a dhcp address and takes off. My devd.conf is stock. g. From owner-freebsd-mobile@FreeBSD.ORG Sat Dec 3 20:35:21 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA14616A41F; Sat, 3 Dec 2005 20:35:21 +0000 (GMT) (envelope-from hartzell@satchel.alerce.com) Received: from merlin.alerce.com (w094.z064001164.sjc-ca.dsl.cnc.net [64.1.164.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B93743D5C; Sat, 3 Dec 2005 20:35:20 +0000 (GMT) (envelope-from hartzell@satchel.alerce.com) Received: from merlin.alerce.com (localhost [127.0.0.1]) by merlin.alerce.com (Postfix) with ESMTP id 8815D21C8; Sat, 3 Dec 2005 12:34:48 -0800 (PST) Received: from satchel.alerce.com (w092.z064001164.sjc-ca.dsl.cnc.net [64.1.164.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by merlin.alerce.com (Postfix) with ESMTP id 43E8921B6; Sat, 3 Dec 2005 12:34:48 -0800 (PST) Received: from satchel.alerce.com (localhost [127.0.0.1]) by satchel.alerce.com (8.13.4/8.13.4) with ESMTP id jB3KZKYB010608; Sat, 3 Dec 2005 12:35:20 -0800 (PST) (envelope-from hartzell@satchel.alerce.com) Received: (from hartzell@localhost) by satchel.alerce.com (8.13.4/8.13.4/Submit) id jB3KZJEh010603; Sat, 3 Dec 2005 12:35:19 -0800 (PST) (envelope-from hartzell) From: George Hartzell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17298.391.583821.620322@satchel.alerce.com> Date: Sat, 3 Dec 2005 12:35:19 -0800 To: Jacques Garrigue In-Reply-To: <20051203.080110.45744408.garrigue@math.nagoya-u.ac.jp> References: <20051114.175031.93019232.garrigue@math.nagoya-u.ac.jp> <20051202.110448.25479607.garrigue@math.nagoya-u.ac.jp> <17296.46122.671120.884060@satchel.alerce.com> <20051203.080110.45744408.garrigue@math.nagoya-u.ac.jp> X-Mailer: VM 7.17 under 21.4 (patch 17) "Jumbo Shrimp" XEmacs Lucid X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-stable@freebsd.org, hartzell@alerce.com, freebsd-mobile@freebsd.org Subject: Re: IBM T42 freezes when going to sleep under X11 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hartzell@alerce.com List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Dec 2005 20:35:21 -0000 Jacques Garrigue writes: > From: George Hartzell > > > Jacques Garrigue writes: > > > From: Jacques Garrigue > > > > I've got a strange problem with my IBM T42 / Radeon M10 setup. > > > > > > > > When using the 6.0-RELEASE kernel (including GENERIC), I cannot go to > > > > sleep when X11 is running: the machine freezes, display still on. I > > > > tried disabling DRI, but this does not seem to be the problem: I have > > > > no DRM anyway. > > > > > > > > On the other hand, everything works fines with a 6.0-RC1 kernel. > > > > Was there a big change in between, such that I need to change my > > > > configuration? > > > > > > I finally found the cause of my problems: there has been changes in > > > the em driver (Gb ethernet), such that the machine freezes when trying > > > to switch automatically from the X11 VT to the system console, before > > > going to sleep. The interaction is surprising, but clearly the problem > > > disappears when I remove "device em" from the kernel configuration, > > > and it reappears when I do "kldload if_em". Since I'm using only ath > > > (wireless) anyway, this is fine with me... > > > > I don't seem to have any problem with my T42p using a kernel compiled > > on 11/29 11:21 > > > > My copy of if_em.c is: > > > > /*$FreeBSD: src/sys/dev/em/if_em.c,v 1.65.2.8 2005/11/25 14:11:59 glebius Exp $*/ > > The very same version I could reproduce the bug with... > > I suppose the cause is a complex interaction. > For instance it only appears under X11. > So part of the reason might be the difference between the radeon M10 > and the FIRE GL T2. Or the fact I'm simultaneously using > ath. Or anything else... > My point was just that the direct trigger was a change in em between > 6.0-RC1 and 6.0-RELEASE. But if it cannot be reproduced on any other > machine, this is going to be difficult to track down. > [...] I've been enabling more of the laptop-y features as I polish off my upgrade (I'm going from 5.4BETAsomething to 6.0-STABLE, encouraged by losing my hard drive and being handed the clean slate). I *have* started getting occasional hangs after a suspend/resume cycle. It seems to be related to the mouse. I get it with both X and on the console. I've disabled the psm flag that mega-kicks the device (0x300000?) and end up with a dead mouse. Restarting the moused via /etc/rc.d/moused gets my mouse back, but I'll frequently hand immediately afterwards. I've disabled synaptics support and am waiting to see if that makes a difference, other than disabling my middle mouse button.... g. From owner-freebsd-mobile@FreeBSD.ORG Sat Dec 3 20:50:59 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 89B1B16A41F for ; Sat, 3 Dec 2005 20:50:59 +0000 (GMT) (envelope-from tp@tulsaelectronics.net) Received: from mail2.valornet.net (mail2.valornet.net [69.30.128.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87F9C43D5C for ; Sat, 3 Dec 2005 20:50:58 +0000 (GMT) (envelope-from tp@tulsaelectronics.net) Received: (qmail 31117 invoked by uid 120); 3 Dec 2005 20:50:57 -0000 Received: from 72.16.100.46 by mail2.valornet.net (envelope-from , uid 89) with qmail-scanner-1.24st (clamdscan: 0.80/791. spamassassin: 3.0.1. perlscan: 1.24st. Clear:RC:1(72.16.100.46):SA:0(0.0/5.0):. Processed in 1.258569 secs); 03 Dec 2005 20:50:57 -0000 X-Spam-Status: No, hits=0.0 required=5.0 Received: from unknown (HELO ?192.168.254.100?) (tpappano@valornet.com@72.16.100.46) by 0 with SMTP; 3 Dec 2005 20:50:56 -0000 Message-ID: <4392054D.50603@tulsaelectronics.net> Date: Sat, 03 Dec 2005 14:51:25 -0600 From: Tom Pappano User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: en-us, en MIME-Version: 1.0 References: <200511222006.jAMK63oS090755@gate.bitblocks.com> <4383AA9D.2040603@tulsaelectronics.net> In-Reply-To: <4383AA9D.2040603@tulsaelectronics.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Bakul Shah , freebsd-mobile@freebsd.org Subject: Re: WEP wi0 config prob after 5.4 > 6.0 Upgrade X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: tp@tulsaelectronics.net List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Dec 2005 20:50:59 -0000 Tom Pappano wrote: > Bakul Shah wrote: > >> This didn't work for me either when using WEP on iwi0. After >> a few experiments I gave up and used the following in >> /etc/rc.conf which worked fine. >> >> ifconfig_iwi0="ssid SOME_SSID nwkey 0x123456789a DHCP" >> >> > Thank you very much! > I need to test further to be sure the link will stay up indefinitely, but > for now it seems to work fine. > > Thanks again, > TP After further testing on my two notebooks (Dell CPx and Dell CPi), the CPx seems to behave OK- the connection stays up regardless of whether there is traffic. The CPi, however, will drop it's connection after a few minutes of being idle. Dhclient then must be killed and restarted. When the connection drops, ifconfig will still show the card "associated", but without an IP address. My workaround for the moment is simply keeping ssh open between CPi and another machine on my network doing a dummy job such as displaying "top". (CPi is required to be accessible 24-7) Is there somplace in the system configurations where a connection timeout period is specified, or is this just peculiar behaviour? FWIW, it is not the wireless cards, swapping them did not change anything. Reading some of the other postings to this list, I'm getting the impression that there are simply problems with the wi driver, for instance refusing to work with wpa_supplicant in wep mode, and if I want to use wpa_supplicant features, I must just get a card compatible with ath. Is this indeed the case? I suppose I could retrograde CPi back to 5.4, but that just seems wrong 8-) Thanks, TP From owner-freebsd-mobile@FreeBSD.ORG Sat Dec 3 22:51:03 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF7F816A422 for ; Sat, 3 Dec 2005 22:51:03 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from mail.yazzy.org (mail.yazzy.org [217.8.140.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7351243D5E for ; Sat, 3 Dec 2005 22:51:03 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from lapdance.yazzy.net (unknown [192.168.99.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.yazzy.org (Postfix) with ESMTP id 3457A39825; Sat, 3 Dec 2005 23:51:28 +0100 (CET) Date: Sat, 3 Dec 2005 22:50:31 +0000 From: Marcin Jessa To: wrangled Message-Id: <20051203225031.4f776e5d.lists@yazzy.org> In-Reply-To: <43913E86.3080409@verizon.net> References: <43913E86.3080409@verizon.net> Organization: YazzY.org X-Mailer: Sylpheed version 2.0.4 (GTK+ 2.8.7; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-mobile@freebsd.org Subject: Re: Will FreeBSD *EVER* support Hp Pavillion laptops? 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, 03 Dec 2005 22:51:04 -0000 On Sat, 03 Dec 2005 01:43:18 -0500 wrangled wrote: > Every year I try the latest version of FreeBSD to see if it works on > my HP Pavillion 5445, and each year it hangs as soon as the intaller > gets to acpi.ko. Did you try unloading ACPI when you boot the install cd ? > Yes, I've tried everything. No, it still doesn't work. How much of everything did you try ? > It's my only machine that cannot run FreeBSD. > It just seems odd since the machine is fairly mainstream. > > I am mostly just curious at this point.