From owner-freebsd-questions@FreeBSD.ORG Wed Apr 27 10:25:02 2005 Return-Path: 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 9B13F16A4CE for ; Wed, 27 Apr 2005 10:25:02 +0000 (GMT) Received: from vsmtp4.tin.it (vsmtp4.tin.it [212.216.176.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 143FB43D5A for ; Wed, 27 Apr 2005 10:25:02 +0000 (GMT) (envelope-from v.demartino2@virgilio.it) Received: from ims3e.cp.tin.it (212.216.176.219) by vsmtp4.tin.it (7.0.027) id 425386DA00890E8F for freebsd-questions@freebsd.org; Wed, 27 Apr 2005 12:25:00 +0200 Received: from [192.168.70.181] by ims3e.cp.tin.it with HTTP; Wed, 27 Apr 2005 12:24:58 +0200 Date: Wed, 27 Apr 2005 12:24:58 +0200 Message-ID: <420008E5000E20D3@ims3e.cp.tin.it> From: v.demartino2@virgilio.it To: "FreeBSD" MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: quoted-printable X-Originating-IP: 193.108.204.20 Subject: Configuring Cisco Aironet 350 wireless card X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2005 10:25:02 -0000 I have the card in re (an driver, ancontrol managing program) which I wan= t to be configured automatically when inserted. Now, in rc.conf I have: devd_enable=3D"YES" pccard_enable=3D"YES" ifconfig_an0=3D"NO" pccard_removable=3D"an0" The script I want to be executed is /etc/start_if.an0 ancontrol -i an0 -c 11 ancontrol -i an0 -t 0 ancontrol -i an0 -o 1 ancontrol -i an0 -W 0 ancontrol -i an0 -l "Laptop_BSD" ancontrol -i an0 -n "victor_wireless" ifconfig an0 ssid "FreeBSD" ifconfig an0 192.168.1.8 Now it happens that when I boot with the card inserted it all goes smooth= ly and I find the Aironet 350 configured and the an0 lively up and running *** whilst *** if I insert the card in a session as root or another user the card is rec= ognized by the system but the /etc/start_if.an0 script isn't triggered therefore I havbe to launch it manually. What should I do? Vittorio