Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jun 2005 13:31:53 -0700
From:      "Kevin Oberman" <oberman@es.net>
To:        Gary Kline <kline@tao.thought.org>
Cc:        FreeBSD Mobile Mailing List <freebsd-mobile@freebsd.org>
Subject:   Re: can I use wireless & wired cards together? 
Message-ID:  <20050616203153.D6CF15D07@ptavv.es.net>
In-Reply-To: Your message of "Thu, 16 Jun 2005 12:21:29 PDT." <20050616192129.GA27275@thought.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Thu, 16 Jun 2005 12:21:29 -0700
> From: Gary Kline <kline@tao.thought.org>
> 
> On Thu, Jun 16, 2005 at 10:49:28AM -0700, Kevin Oberman wrote:
> > > Date: Thu, 16 Jun 2005 10:37:21 -0700
> > > From: Gary Kline <kline@tao.thought.org>
> > > Sender: owner-freebsd-mobile@freebsd.org
> > > 
> > > 	My orig ^Subject line prob'ly should have read: 
> > > 	"Can I just plug in a wifi card (and pull out my wired)?"
> > > 
> > > 	I'm assuming that my Intel 10-100 card is unplugged and 
> > > 	that I have a wifi (say, AR5211) inserted; will I be able
> > > 	to use my 600E at the library or Starbucks (or other 
> > > 	hotspots)?  In other words, will a wireless DHCP 
> > > 	configuration *work*?  If so, then it makes sense to
> > > 	take my ThinkPad along when I go out.  
> > > 
> > > 	gary
> > 
> > 
> > A much simpler question. The answer is "yes" with some caveats.
> > 
> > It assumes that the AP is transmitting a beacon (which a public system
> > will) and no WEP. If this is the case, it should "just work".
> > 
> > You can probably just (as root) issue 'dhclient wi0' and it should do
> > the trick. You probably want to be sure that your /etc/start_if.wi0 sets
> > the ssid to "" and wepmode to "off".
> 
> 
> 	Once I'm out <wherever> and reboot with the wifi card in 
> 	place, where do I put the above lines?  Where is
> 	/etc/start_if.wi0 called from?  

The /etc/start_if.* files are called pccard_ether which is called from
devd. It should run automatically when a card in inserted or when
detected at boot time.

I have the following in the start_if.wi0 in my default profile:
ifconfig wi0 ssid "" wepmode off

In my home profile I have:
ifconfig wi0 ssid "jt843kf" wepmode on weptxkey 1 wepkey 1:0x1234567890
(My home system runs WEP and does not broadcast a beacon.)
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net			Phone: +1 510 486-8634



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