From owner-freebsd-questions@FreeBSD.ORG Fri Jun 17 14:15:30 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 B6F2E16A485 for ; Fri, 17 Jun 2005 14:15:30 +0000 (GMT) (envelope-from cblack@securecrossing.com) Received: from mail2.securecrossing.com (209-254-39-195.ip.mcleodusa.net [209.254.39.195]) by mx1.FreeBSD.org (Postfix) with SMTP id 5A29B43D1D for ; Fri, 17 Jun 2005 14:15:30 +0000 (GMT) (envelope-from cblack@securecrossing.com) Received: (qmail 5799 invoked by uid 0); 17 Jun 2005 14:15:29 -0000 Received: from unknown (HELO ?192.168.1.118?) (cblack@securecrossing.com@127.0.0.1) by mail2.securecrossing.com with SMTP; 17 Jun 2005 14:15:29 -0000 Message-ID: <42B2DAF6.7040405@securecrossing.com> Date: Fri, 17 Jun 2005 10:15:18 -0400 From: Christopher Black Organization: Secure Crossing User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Andrew L. Gould" References: <20050617000702.31335.qmail@web52502.mail.yahoo.com> <200506162302.12788.algould@datawok.com> <20050616213307.X13349@bsd.billschoolcraft.com> <200506170904.51095.algould@datawok.com> In-Reply-To: <200506170904.51095.algould@datawok.com> X-Enigmail-Version: 0.84.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig407DF907377FE46C80642BA6" Cc: Bill Schoolcraft , 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:15:32 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig407DF907377FE46C80642BA6 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Andrew L. Gould wrote: > 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 I believe it should be: ifconfig_wi0="DHCP" ifconfig_wi0_flags="ssid tmobile" HTH -- Christopher Black Chief Security Engineer Secure Crossing 22750 Woodward, Ferndale, MI 48220 Tel 800-761-4299 www.securecrossing.com cblack@securecrossing.com --------------enig407DF907377FE46C80642BA6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFCstr7APxZlIbJ6AwRAi0zAKCW4eDhbCadDuzELPhc9N3rMdf0CACgo15b 3j6iSu+jBhrtAA8bm9Bb4FE= =dRFu -----END PGP SIGNATURE----- --------------enig407DF907377FE46C80642BA6--