Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2002 23:20:03 -0700 (PDT)
From:      Ian Dowse <iedowse@maths.tcd.ie>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: conf/30441: Can't set interface arguments for dhcp configured interfaces 
Message-ID:  <200205140620.g4E6K3A82883@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/30441; it has been noted by GNATS.

From: Ian Dowse <iedowse@maths.tcd.ie>
To: Neil Bliss <nbliss@mvista.com>
Cc: "Crist J. Clark" <cjc@freebsd.org>, freebsd-bugs@freebsd.org
Subject: Re: conf/30441: Can't set interface arguments for dhcp configured interfaces 
Date: Mon, 13 May 2002 19:25:31 +0100

 In message <20020513091319.G7743@dhcp117.mvista.com>, Neil Bliss writes:
 >Actually, it's not anything to do with the dhcp client.  What you're needing to
 >be able to do here is to be able to pass any additional ifconfig arguments that
 >the card will need to be able to be used.  In my particular case, I'm using a 
 >wireless ethernet card, and I need to give it the correct ssid for it to get
 >signal at ifconfig time.  With the current setup, if I'd like this interface to
 >use dhcp, then that's the *only* thing you can tell rc.network about this card.
 
 dhclient.conf is actually a much more useful place to put such
 commands, because dhclient can automatically cycle through different
 combinations of ifconfig settings, picking the first one on which
 it successfully gets a lease (thanks to Kurt Lidl for pointing this
 out to me a while ago). For example, I use something like this:
 
 	interface "wi0" {
 		media
 			"wepmode on wepkey 0x0000000000",
 			"wepmode on wepkey 0x1111111111",
 			"wepmode off";
 	}
 
 You can list the settings for any networks you use, and then plugging
 in the card just works where ever you are.
 
 Ian

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?200205140620.g4E6K3A82883>