On 11/16/05, Tony <Zhang.Xiaodong at sun.com> wrote:
> First,you should be sure that the nic' mac of your machine can access
> the network.
> Then you can type the following:
>
> wificonfig -i iwi0 createprofile essid=MYSSID wepkey1=MYWEPKEY
> ifconfig iwi0 plumb
> wificonfig -i iwi0 connect MYSSID
> ifconfig iwi0 dhcp

What I usually do is this:
# wificonfig -i ath0 createprofile home essid=MYSSID wepkey1=MYWEPKEY
# ifconfig ath0 plumb
# wificonfig -i ath0 connect home
# ifconfig ath0 dhcp

to connect to my home network, and connecting usually fails with the
same error as the OP.  Other times the connection will succeed, and
I'll be able to see traffic on the interface via snoop, but dhcp
offers and even arp responses seem to be ignored.  The only workaround
I have found is to disable wireless on the access point, and then
re-enable it and try again, which then always succeeds.

--
Eric Enright

Reply via email to