(starbucks) "ssid = tmobile" and 5.x (hit-n-miss)

Andrew L. Gould algould at datawok.com
Fri Jun 17 14:04:06 GMT 2005


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


More information about the freebsd-questions mailing list