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 ;)