[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 new
From:       "Johan Hartzenberg" <jhartzen () gmail ! com>
Date:       2008-09-27 11:42:39
Message-ID: 64e6648f0809270442u469ad4f7ucf3e9eac23d79157 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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 #5 (text/html)]

<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="border-left: 1px solid rgb(204, 204, \
204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> I&#39;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&#39;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 &#39;ifconfig ath0&#39; 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&#39;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&#39;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&#39;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>



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

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

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