You may run "ifconfig ath0 unplumb" and "ficonfig ath0 plumb" before connect a AP.
Zhonghui -----Original Message----- From: laptop-discuss-bounces at opensolaris.org [mailto:[email protected]] On Behalf Of Karl Dalen Sent: 2008?9?27? 4:17 To: laptop-discuss at opensolaris.org Subject: [laptop-discuss] How to reconnect wlan when moving to a new accesspoint ? 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 /Karl D -- This message posted from opensolaris.org _______________________________________________ laptop-discuss mailing list laptop-discuss at opensolaris.org
