From owner-freebsd-current@FreeBSD.ORG Mon Jun 20 21:44:06 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 AD41916A41C; Mon, 20 Jun 2005 21:44:06 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from lapdance.yazzy.net (mail.yazzy.org [217.8.140.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2325F43D49; Mon, 20 Jun 2005 21:44:03 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from localhost (localhost [127.0.0.1]) by lapdance.yazzy.net (8.13.4/8.13.4) with SMTP id j5KLi1V2000814; Mon, 20 Jun 2005 23:44:01 +0200 (CEST) (envelope-from lists@yazzy.org) Date: Mon, 20 Jun 2005 23:44:01 +0200 From: Marcin Jessa To: FreeBSD-Current , FreeBSD-mobile Message-Id: <20050620234401.10169a26.lists@yazzy.org> Organization: YazzY.org X-Mailer: Sylpheed version 1.9.12 (GTK+ 2.6.7; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Subject: Something incorrect in networking scripts. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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 21:44:06 -0000 Hi guys. 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 : ifconfig_fxp0_name="lan0" # Change interface name from fxp0 to net0. ifconfig_lan0=dhcp ifconfig_iwi0_name="wlan0" ifconfig_wlan0="inet 12.23.34.45 netmask 255.255.255.0 ssid MY_SSID" and then create /etc/start_if_wlan0 : iwicontrol wlan0 -d /usr/local/libdata/if_iwi -m bss iwicontrol -i wlan0 -r ifconfig wlan0 up The file does not seem to be used. When I rename it to start_if_iwi0 it is not used either. I need to manually run the lines from it. lan0 is brought up fine with dhcp. Cheers, Marcin Jessa.