Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jun 2005 09:04:50 -0500
From:      "Andrew L. Gould" <algould@datawok.com>
To:        Bill Schoolcraft <bill@wiliweld.com>
Cc:        Bill Schoolcraft <runfreebsd@yahoo.com>, freebsd-questions@freebsd.org
Subject:   Re: (starbucks) "ssid = tmobile" and 5.x (hit-n-miss)
Message-ID:  <200506170904.51095.algould@datawok.com>
In-Reply-To: <20050616213307.X13349@bsd.billschoolcraft.com>
References:  <20050617000702.31335.qmail@web52502.mail.yahoo.com> <200506162302.12788.algould@datawok.com> <20050616213307.X13349@bsd.billschoolcraft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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