[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensolaris-laptop-discuss
Subject:    Re: [laptop-discuss] How to reconnect wlan when moving to a
From:       "Fu, Zhonghui" <zhonghui.fu () intel ! com>
Date:       2008-09-28 2:51:59
Message-ID: 9D7649D18729DE4BB2BD7B494F7FEDC201E144C5 () pdsmsx415 ! ccr ! corp ! intel ! com
[Download RAW message or body]

--===============0595732526==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C92115.2D8A6DEB"

This is a multi-part message in MIME format.


you can try the following operations:
 
You may run "ifconfig ath0 unplumb" and "ficonfig ath0 plumb" before connect a AP.
 
or you can do a
 

dladm disconnect-wifi <intf>
ifconfig <intf> dhcp release
dladm connect-wifi [new wifi infomation (essid, key, etc)]
ifconfig <intf> dhcp primary

 
Zhonghui

________________________________

From: laptop-discuss-bounces@opensolaris.org \
                [mailto:laptop-discuss-bounces@opensolaris.org] On Behalf Of Johan \
                Hartzenberg
Sent: 2008Äê9Ô 27ÈÕ 19:43
To: Karl Dalen
Cc: laptop-discuss@opensolaris.org
Subject: Re: [laptop-discuss] How to reconnect wlan when moving to a newaccess point \
?


I have the same symptoms as described below.

Worse, when I move from wired to Wifi (on the same network, eg by unplugging the \
cable from the ADSL router to my laptop), nwam fails to configure the interface until \
I reboot.  This used to work.

I have tried to do svcadm restart physical:nwam, I have also tried to disable nwam \
and run wificonfig autoconf etc, and then get a seeming connected status but do not \
get an IP, even manually, unless I reboot.



On Fri, Sep 26, 2008 at 10:17 PM, Karl Dalen <k_dal2@hotmail.com> wrote:


	I'm using the ath-0.7.3 driver together with wificonfig on my laptop and
	when I disconnect the wlan using: wificonfig -i ath0 disconnect (or suspend)
	and move to another location and try to connect to another access point it fails.
	If I do:
	# wificonfig -i ath0 connect newpoint
	It looks like I'm connected based on: wificonfig -i ath0 showstatus
	
	       linkstatus: connected
	       active profile: none
	       essid: newpoint
	       bssid: 00:18:b0:7b:c2:99
	       encryption: none
	       signal strength: medium(10)
	
	but 'ifconfig ath0' shows:
	ath0: flags=201004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4,CoS> mtu 1500 index 2
	       inet 0.0.0.0 netmask ffff0000 broadcast 10.0.255.255
	
	which means I haven't got a new IP at the new access point
	It seems to indicate that my IP is set to 0.0.0.0
	
	Now if I try:
	# ifconfig ath0 dhcp
	ifconfig: ath0: wait timed out, operations still pending
	
	and I fail to get a new IP. It doesn't matter how many times I do wificonfig
	disconnect and connect I never manage to get the wlan interface up unless
	I reboot after which it comes up automatically without the need for any manual
	wificonfig and it works reliably.
	
	How can I clean up the state of ifconfig and wificonfig such that it can
	reconnect and acquire new IP after moving to another access point ?
	I'm running Indiana build 96 Anyone experienced similar problems ?
	
	It shows the same behavior when I go back home to my local
	access point so it has nothing to with the access points themselves
	or any security setting as everything works on each location
	after a reboot.
	
	Any help would be appreciated
	
	


[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.3354" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=981285002-28092008><FONT face=ËÎÌå 
color=#0000ff size=2>you can try the following operations:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=981285002-28092008></SPAN>&nbsp;</DIV>
<DIV><FONT face=ËÎÌå color=#0000ff size=2>You may run "ifconfig ath0 unplumb" and 
"ficonfig ath0 plumb" before connect a AP.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=ËÎÌå color=#0000ff size=2>or you can do a</FONT></DIV>
<DIV>&nbsp;</DIV><FONT face=ËÎÌå color=#0000ff size=2>
<DIV><BR>dladm disconnect-wifi &lt;intf&gt;<BR>ifconfig &lt;intf&gt; dhcp 
release<BR>dladm connect-wifi [new wifi infomation (essid, key, 
etc)]<BR>ifconfig &lt;intf&gt; dhcp primary<BR></FONT></DIV>
<DIV><FONT face=ËÎÌå color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=981285002-28092008><FONT face=ËÎÌå color=#0000ff 
size=2>Zhonghui</FONT></SPAN></DIV>
<DIV><BR></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> laptop-discuss-bounces@opensolaris.org 
[mailto:laptop-discuss-bounces@opensolaris.org] <B>On Behalf Of </B>Johan 
Hartzenberg<BR><B>Sent:</B> 2008Äê9Ô 27ÈÕ 19:43<BR><B>To:</B> Karl 
Dalen<BR><B>Cc:</B> laptop-discuss@opensolaris.org<BR><B>Subject:</B> Re: 
[laptop-discuss] How to reconnect wlan when moving to a newaccess point 
?<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr>I have the same symptoms as described below.<BR><BR>Worse, when I 
move from wired to Wifi (on the same network, eg by unplugging the cable from 
the ADSL router to my laptop), nwam fails to configure the interface until I 
reboot.&nbsp; This used to work.<BR><BR>I have tried to do svcadm restart 
physical:nwam, I have also tried to disable nwam and run wificonfig autoconf 
etc, and then get a seeming connected status but do not get an IP, even 
manually, unless I reboot.<BR><BR><BR>
<DIV class=gmail_quote>On Fri, Sep 26, 2008 at 10:17 PM, Karl Dalen <SPAN 
dir=ltr>&lt;<A 
href="mailto:k_dal2@hotmail.com">k_dal2@hotmail.com</A>&gt;</SPAN> wrote:<BR>
<BLOCKQUOTE class=gmail_quote 
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">I'm 
  using the ath-0.7.3 driver together with wificonfig on my laptop and<BR>when I 
  disconnect the wlan using: wificonfig -i ath0 disconnect (or suspend)<BR>and 
  move to another location and try to connect to another access point it 
  fails.<BR>If I do:<BR># wificonfig -i ath0 connect newpoint<BR>It looks like 
  I'm connected based on: wificonfig -i ath0 showstatus<BR><BR>&nbsp; &nbsp; 
  &nbsp; &nbsp;linkstatus: connected<BR>&nbsp; &nbsp; &nbsp; &nbsp;active 
  profile: none<BR>&nbsp; &nbsp; &nbsp; &nbsp;essid: newpoint<BR>&nbsp; &nbsp; 
  &nbsp; &nbsp;bssid: 00:18:b0:7b:c2:99<BR>&nbsp; &nbsp; &nbsp; 
  &nbsp;encryption: none<BR>&nbsp; &nbsp; &nbsp; &nbsp;signal strength: 
  medium(10)<BR><BR>but 'ifconfig ath0' shows:<BR>ath0: 
  flags=201004843&lt;UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4,CoS&gt; mtu 1500 
  index 2<BR>&nbsp; &nbsp; &nbsp; &nbsp;inet <A href="http://0.0.0.0" 
  target=_blank>0.0.0.0</A> netmask ffff0000 broadcast <A 
  href="http://10.0.255.255" target=_blank>10.0.255.255</A><BR><BR>which means I 
  haven't got a new IP at the new access point<BR>It seems to indicate that my 
  IP is set to <A href="http://0.0.0.0" target=_blank>0.0.0.0</A><BR><BR>Now if 
  I try:<BR># ifconfig ath0 dhcp<BR>ifconfig: ath0: wait timed out, operations 
  still pending<BR><BR>and I fail to get a new IP. It doesn't matter how many 
  times I do wificonfig<BR>disconnect and connect I never manage to get the wlan 
  interface up unless<BR>I reboot after which it comes up automatically without 
  the need for any manual<BR>wificonfig and it works reliably.<BR><BR>How can I 
  clean up the state of ifconfig and wificonfig such that it can<BR>reconnect 
  and acquire new IP after moving to another access point ?<BR>I'm running 
  Indiana build 96 Anyone experienced similar problems ?<BR><BR>It shows the 
  same behavior when I go back home to my local<BR>access point so it has 
  nothing to with the access points themselves<BR>or any security setting as 
  everything works on each location<BR>after a reboot.<BR><BR>Any help would be 
  appreciated<BR><BR></BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>


_______________________________________________
laptop-discuss mailing list
laptop-discuss@opensolaris.org
--===============0595732526==--

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic