Subject: Re: Noobie questions after install
To: None <port-hpcmips@NetBSD.org>
From: Tim Underwood <TimU@hightouchinc.com>
List: port-hpcmips
Date: 07/28/2004 12:50:38
This is a multi-part message in MIME format.

----=_NextPart_ST_13_27_20_Wednesday_July_28_2004_10472
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

>> 1.  How do I get my DCF-650W started up?  The card is seen as wi0
(with
>> all correct info), but won't power up.  I need to have DHCP working
for
>> this card, for a couple of different WAPs and networks (Home and
Office,
>> so they'll be different ESSIDs, passwords and encryption levels).
Can I
>> set up multiple profiles and select among them?
>
>ave you tried (as root):
>
> ifconfig wi0 up
>
> don't know the best way to go between different networks, but I use
>he following script to load "profiles."  Forget the authentication
>tuff at the end; that's just to submit login information on a website
>ia lynx.
>
>ere are examples of how to run the script:
>
>sudo lan home    # use profile ~/.lan.home
> sudo lan wired   # use profile ~/.lan.wired
> sudo lan down    # take down network DHCP and wi0

Success!!  Had some more reading to do to set up the dhcp client
(/etc/rc.conf, /etc/dhclient.conf, etc.), and once I did that, ran the
script you provided, voila!

I've got an address and can ping somebody!

I will need to combine the boot process to incorporate your script as
well (maybe interactively ask which to use with a timeout, etc.), but I
should be able to just restart the client when I move from one location
to the other and be set!


----=_NextPart_ST_13_27_20_Wednesday_July_28_2004_10472
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Dus-ascii"=
>
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version 6.5.6944.0">
<TITLE>Re: Noobie questions after install</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=3D2 FACE=3D"Courier New">&gt;</FONT><FONT SIZE=3D2 FACE=3D"Co=
urier New">&gt; 1.&nbsp; How do I get my DCF-650W started up?&nbsp; The car=
d is seen as wi0 (with<BR>
</FONT><FONT SIZE=3D2 FACE=3D"Courier New">&gt;</FONT><FONT SIZE=3D2 FACE=3D=
"Courier New">&gt; all correct info), but won't power up.&nbsp; I need to h=
ave DHCP working for<BR>
</FONT><FONT SIZE=3D2 FACE=3D"Courier New">&gt;</FONT><FONT SIZE=3D2 FACE=3D=
"Courier New">&gt; this card, for a couple of different WAPs and networks (=
Home and Office,<BR>
</FONT><FONT SIZE=3D2 FACE=3D"Courier New">&gt;</FONT><FONT SIZE=3D2 FACE=3D=
"Courier New">&gt; so they'll be different ESSIDs, passwords and encryption=
 levels).&nbsp; Can I<BR>
</FONT><FONT SIZE=3D2 FACE=3D"Courier New">&gt;</FONT><FONT SIZE=3D2 FACE=3D=
"Courier New">&gt; set up multiple profiles and select among them?<BR>
</FONT><FONT SIZE=3D2 FACE=3D"Courier New">&gt;</FONT><BR>
<FONT SIZE=3D2 FACE=3D"Courier New">&gt;</FONT><FONT SIZE=3D2 FACE=3D"Couri=
er New">ave you tried (as root):<BR>
</FONT><FONT SIZE=3D2 FACE=3D"Courier New">&gt;</FONT><BR>
<FONT SIZE=3D2 FACE=3D"Courier New">&gt;</FONT><FONT SIZE=3D2 FACE=3D"Couri=
er New"> ifconfig wi0 up<BR>
</FONT><FONT SIZE=3D2 FACE=3D"Courier New">&gt;</FONT><BR>
<FONT SIZE=3D2 FACE=3D"Courier New">&gt;</FONT><FONT SIZE=3D2 FACE=3D"Couri=
er New"> don't know the best way to go between different networks, but I us=
e<BR>
</FONT><FONT SIZE=3D2 FACE=3D"Courier New">&gt;</FONT><FONT SIZE=3D2 FACE=3D=
"Courier New">he following script to load &quot;profiles.&quot;&nbsp; Forge=
t the authentication<BR>
</FONT><FONT SIZE=3D2 FACE=3D"Courier New">&gt;</FONT><FONT SIZE=3D2 FACE=3D=
"Courier New">tuff at the end; that's just to submit login information on a=
 website<BR>
</FONT><FONT SIZE=3D2 FACE=3D"Courier New">&gt;</FONT><FONT SIZE=3D2 FACE=3D=
"Courier New">ia lynx.<BR>
</FONT><FONT SIZE=3D2 FACE=3D"Courier New">&gt;</FONT><BR>
<FONT SIZE=3D2 FACE=3D"Courier New">&gt;</FONT><FONT SIZE=3D2 FACE=3D"Couri=
er New">ere are examples of how to run the script:<BR>
</FONT><FONT SIZE=3D2 FACE=3D"Courier New">&gt;</FONT><BR>
<FONT SIZE=3D2 FACE=3D"Courier New">&gt;</FONT><FONT SIZE=3D2 FACE=3D"Couri=
er New">sudo lan home&nbsp;&nbsp;&nbsp; # use profile ~/.lan.home<BR>
</FONT><FONT SIZE=3D2 FACE=3D"Courier New">&gt;</FONT><FONT SIZE=3D2 FACE=3D=
"Courier New"> sudo lan wired&nbsp;&nbsp; # use profile ~/.lan.wired<BR>
</FONT><FONT SIZE=3D2 FACE=3D"Courier New">&gt;</FONT><FONT SIZE=3D2 FACE=3D=
"Courier New"> sudo lan down&nbsp;&nbsp;&nbsp; # take down network DHCP and=
 wi0</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">Success!!&nbsp; Had some more readin=
g to do to set up the dhcp client (/etc/rc.conf, /etc/dhclient.conf, etc.),=
 and once I did that, ran the script you provided, voila!</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">I've got an address and can ping som=
ebody!</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">I will need to combine the boot proc=
ess to incorporate your script as well (maybe interactively ask which to us=
e with a timeout, etc.), but I should be able to just restart the client wh=
en I move from one location to the other and be set!</FONT></P>

</BODY>
</HTML>
----=_NextPart_ST_13_27_20_Wednesday_July_28_2004_10472--