From owner-freebsd-questions@FreeBSD.ORG Fri Jun 17 14:04:06 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 2FDDB16A41C for ; Fri, 17 Jun 2005 14:04:06 +0000 (GMT) (envelope-from algould@datawok.com) Received: from smtpauth09.mail.atl.earthlink.net (smtpauth09.mail.atl.earthlink.net [209.86.89.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0474343D1F for ; Fri, 17 Jun 2005 14:04:05 +0000 (GMT) (envelope-from algould@datawok.com) Received: from [206.255.31.21] (helo=yoda.datawok.com) by smtpauth09.mail.atl.earthlink.net with asmtp (TLSv1:RC4-MD5:128) (Exim 4.34) id 1DjHS1-00059F-9j; Fri, 17 Jun 2005 10:04:05 -0400 From: "Andrew L. Gould" To: Bill Schoolcraft Date: Fri, 17 Jun 2005 09:04:50 -0500 User-Agent: KMail/1.6.2 References: <20050617000702.31335.qmail@web52502.mail.yahoo.com> <200506162302.12788.algould@datawok.com> <20050616213307.X13349@bsd.billschoolcraft.com> In-Reply-To: <20050616213307.X13349@bsd.billschoolcraft.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200506170904.51095.algould@datawok.com> X-ELNK-Trace: ee791d459e3d6817d780f4a490ca69563f9fea00a6dd62bc2f569c0bfd976e7610275ffadceeaa3c350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 206.255.31.21 Cc: Bill Schoolcraft , freebsd-questions@freebsd.org Subject: Re: (starbucks) "ssid = tmobile" and 5.x (hit-n-miss) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jun 2005 14:04:06 -0000 On Thursday 16 June 2005 11:36 pm, Bill Schoolcraft wrote: > At Thu, 16 Jun 2005 it looks like Andrew L. Gould composed: > > Try adding "ssid tmobile" to the ifconfig arguments in > > /etc/rc.conf. If adding it to your rc.conf file doesn't work for > > you, try removing the wi0 stuff from rc.conf and execute the > > following as root: > > > > ifconfig wi0 ssid tmobile > > dhclient wi0 > > > > You'll need to make sure that the default gateway and nameservers > > are obtained from the DHCP server. > > > > I hope this helps. > > Thanks Andrew, > > Yes, I've done the manual command but would like to try the > rc.conf options, so I'd be looking at: > > ifconfig_wi0="ssid tmobile" > ifconfig_wi0="DHCP" > > Does that look correct? > > Thanks I'm not sure whether all ifconfig arguments need to be on the same line. If it doesn't work, try: ifconfig_wi0="ssid tmobile DHCP" The other option is to put the manual commands in an executable file at: /usr/local/etc/rc.d/tmobile.sh That way the manual commands would be executed automatically at bootup. Caveat: The delayed network configuration may interfere with the loading of firewall rules; so you may need to add a line to the script to load your firewall rules after wi0 is up. Best of luck, Andrew Gould