Date: Thu, 16 Jun 2005 14:20:02 -0700 From: Brooks Davis <brooks@one-eyed-alien.net> To: Kevin Oberman <oberman@es.net> Cc: Gary Kline <kline@tao.thought.org>, FreeBSD Mobile Mailing List <freebsd-mobile@freebsd.org> Subject: Re: can I use wireless & wired cards together? Message-ID: <20050616212002.GA20431@odin.ac.hmc.edu> In-Reply-To: <20050616210221.114F15D08@ptavv.es.net> References: <20050616201217.GB13900@odin.ac.hmc.edu> <20050616210221.114F15D08@ptavv.es.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--cNdxnHkX5QqsyA0e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 16, 2005 at 02:02:21PM -0700, Kevin Oberman wrote: > > Date: Thu, 16 Jun 2005 13:12:17 -0700 > > From: Brooks Davis <brooks@one-eyed-alien.net> > >=20 > > On Thu, Jun 16, 2005 at 12:21:29PM -0700, Gary Kline wrote: > > > 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 > > > > >=20 > > > > > My orig ^Subject line prob'ly should have read:=20 > > > > > "Can I just plug in a wifi card (and pull out my wired)?" > > > > >=20 > > > > > I'm assuming that my Intel 10-100 card is unplugged and=20 > > > > > that I have a wifi (say, AR5211) inserted; will I be able > > > > > to use my 600E at the library or Starbucks (or other=20 > > > > > hotspots)? In other words, will a wireless DHCP=20 > > > > > configuration *work*? If so, then it makes sense to > > > > > take my ThinkPad along when I go out. =20 > > > > >=20 > > > > > gary > > > >=20 > > > >=20 > > > > A much simpler question. The answer is "yes" with some caveats. > > > >=20 > > > > It assumes that the AP is transmitting a beacon (which a public sys= tem > > > > will) and no WEP. If this is the case, it should "just work". > > > >=20 > > > > 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". > > >=20 > > >=20 > > > Once I'm out <wherever> and reboot with the wifi card in=20 > > > place, where do I put the above lines? Where is > > > /etc/start_if.wi0 called from? =20 > >=20 > > It's called from /etc/rc.d/netif and /etc/pccard_ether. The suggested > > step should be unnecessicary (if it's necessicary it's a bug). >=20 > I don't THINK that it is called from /etc/rc.d/netif any more. I think > that is now all left to devd. I agree that the clearing of SSID and WEP > should be unneeded, but I need to do it since profile(8) can leave the > interface in a non-default configuration when the network starts. If you > don't use profile, I agree with Brooks, but it makes moving a laptop > around so much easier that I would never want to go back. I use static > addresses some places, DHCP in others, different encryption and SSIDs > are all simply dealt with with no intervention unless I connect > somewhere with unusual characteristics. It's called in netif during startup. It's just not obvious because it uses a function from /etc/network.subr, ifscript_up() instead of making a direct call. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --cNdxnHkX5QqsyA0e Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFCse0BXY6L6fI4GtQRArpFAKCf1S4YkW7xzFnTKMqjL+9kgYfSkwCgsi8B K+a/GY5ajzXuv4Wcj8xkqrc= =MP7B -----END PGP SIGNATURE----- --cNdxnHkX5QqsyA0e--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050616212002.GA20431>