Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Aug 2002 20:13:08 +0200 (CEST)
From:      Volker Stolz <vs@lambda.foldr.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   conf/41691: Combining WLAN-SSID & DHCP in rc.conf
Message-ID:  <200208151813.g7FID8ff095861@lambda.foldr.org>

next in thread | raw e-mail | index | archive | help

>Number:         41691
>Category:       conf
>Synopsis:       Combining WLAN-SSID & DHCP in rc.conf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 15 11:20:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Volker Stolz
>Release:        FreeBSD 4.5-RELEASE i386
>Organization:
Lehrstuhl für Informatik II
>Environment:
System: FreeBSD lambda.foldr.org 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Mon Aug 12 20:33:20 PDT 2002 user@jail2.johncompanies.com:/usr/src/sys/compile/6300 i386


	
>Description:
Currently there's no way of setting a preferred SSID for wireless NICs
and asking for DHCP-setup in rc.conf.

You can either configure the NIC manually using e.g.
ifconfig_wi0="... ssid foo..." *or* set ifconfig_wi0 to DHCP and hope
you end up in the correct network.

>How-To-Repeat:
Use two accesspoints to offer two different networks, enable DHCP in both
and then try setting up your NIC correctly in rc.conf.
>Fix:
Add an option to rc.conf which gets queried before setting up the
NIC and which contains the preferred SSID, e.g.

  ifconfig_wi0_ssid="foo"

Modify /etc/rc.network accordingly.

Another, more generic approach would be to have

  wicontrol_wi0="..."

in rc.conf, which would allow for setting *any* parameter
understood by wicontrol, including the SSID.
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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