From owner-freebsd-current@FreeBSD.ORG Mon Jun 20 22:07:19 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 414FD16A41C for ; Mon, 20 Jun 2005 22:07:19 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 038F443D1D for ; Mon, 20 Jun 2005 22:07:18 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: by wproxy.gmail.com with SMTP id 58so1023732wri for ; Mon, 20 Jun 2005 15:06:57 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=lVPo1WDXEsdoPr7YmwlX6CD1yJbCPWTffoMJrckuydph2XUykSbUNL7Nzzd4jl9Mbk3Xxo4j4CTnvtDCdVX22fXewjI+p4euIBMlAwrBdUPWGKKgjvtyRXup9oOzBJGiOlYvtIvDfld6vH9Ec9BwXpEChXWMbZXIKEb6WnSl870= Received: by 10.54.49.26 with SMTP id w26mr2755752wrw; Mon, 20 Jun 2005 15:06:57 -0700 (PDT) Received: by 10.54.29.77 with HTTP; Mon, 20 Jun 2005 15:06:57 -0700 (PDT) Message-ID: <790a9fff050620150641acac8@mail.gmail.com> Date: Mon, 20 Jun 2005 17:06:57 -0500 From: Scot Hetzel To: Marcin Jessa In-Reply-To: <20050620234401.10169a26.lists@yazzy.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050620234401.10169a26.lists@yazzy.org> Cc: FreeBSD-Current , FreeBSD-mobile Subject: Re: Something incorrect in networking scripts. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Scot Hetzel List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jun 2005 22:07:19 -0000 On 6/20/05, Marcin Jessa wrote: > I have a Thinkpad r50e with a PRO/Wireless 2200BG WLAN nic - iwi device. > When I set it up in rc.conf to be called wlan0 instead of iwi0 : >=20 > ifconfig_fxp0_name=3D"lan0" # Change interface name from fxp0 to net= 0. > ifconfig_lan0=3Ddhcp > ifconfig_iwi0_name=3D"wlan0" > ifconfig_wlan0=3D"inet 12.23.34.45 netmask 255.255.255.0 ssid MY_SSID" >=20 > and then create /etc/start_if_wlan0 : > iwicontrol wlan0 -d /usr/local/libdata/if_iwi -m bss > iwicontrol -i wlan0 -r > ifconfig wlan0 up >=20 > The file does not seem to be used. When I rename it to start_if_iwi0 it i= s not used either. > I need to manually run the lines from it. > lan0 is brought up fine with dhcp. >=20 The format for the name of the start_if* file (as seen in /etc/network.subr= ) is: /etc/start_if.${ifn} You'll need to rename your file to start_if.wlan0. Scot