From owner-freebsd-questions@FreeBSD.ORG Sun Nov 27 13:59:32 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE9B316A41F for ; Sun, 27 Nov 2005 13:59:32 +0000 (GMT) (envelope-from h.nieser@xs4all.nl) Received: from smtp-vbr8.xs4all.nl (smtp-vbr8.xs4all.nl [194.109.24.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 145D443D55 for ; Sun, 27 Nov 2005 13:59:26 +0000 (GMT) (envelope-from h.nieser@xs4all.nl) Received: from [192.168.1.10] (nieser.net [194.109.160.131]) by smtp-vbr8.xs4all.nl (8.13.3/8.13.3) with ESMTP id jARDxNcI060815 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 27 Nov 2005 14:59:24 +0100 (CET) (envelope-from h.nieser@xs4all.nl) Message-ID: <4389BBBC.7000203@xs4all.nl> Date: Sun, 27 Nov 2005 14:59:24 +0100 From: Hans Nieser User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051106) X-Accept-Language: en-us, en MIME-Version: 1.0 To: AT Matik , james@icionline.ca, kjelderg@gmail.com, freebsd-questions@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 Cc: Subject: Re: Switching wired <-> wireless in a user-friendly manner, possible? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Nov 2005 13:59:32 -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 ;) 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 ;)