Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jun 2005 17:06:57 -0500
From:      Scot Hetzel <swhetzel@gmail.com>
To:        Marcin Jessa <lists@yazzy.org>
Cc:        FreeBSD-Current <current@freebsd.org>, FreeBSD-mobile <freebsd-mobile@freebsd.org>
Subject:   Re: Something incorrect in networking scripts.
Message-ID:  <790a9fff050620150641acac8@mail.gmail.com>
In-Reply-To: <20050620234401.10169a26.lists@yazzy.org>
References:  <20050620234401.10169a26.lists@yazzy.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6/20/05, Marcin Jessa <lists@yazzy.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff050620150641acac8>