Mailing List os2-wireless_users@2rosenthals.com Archived Message #2104

From: "Lewis G Rosenthal" <os2-wireless_users@2rosenthals.com> Full Headers
Undecoded message
Subject: Re: [OS2Wireless]Re: xwlan 2.14
Date: Sun, 25 Jun 2006 12:10:37 -0400
To: OS/2 Wireless Users Mailing List <os2-wireless_users@2rosenthals.com>

On 06/25/06 10:15 am, Christian Langanke thus wrote :
Hi Dave,

Dave Saville wrote:
I upgraded to 2.14 because of the new bits for switching wired/wireless but it
seems worse than before, maybe 2.10.  This is with the generic PRISM driver -
My Artem card is not supported by Genmac.

<snip>
I would not do so. The best approach is to remove the obsolete interface. So setup.cmd should execute ifconfig for the wired interface and do nothing for the wireless interface. If then XWLAN connects to the same network IP range via wireless, it will disable the cabled interface (ifconfig delete). To switch back, it is best to execute "disable IP interface" in the XWLAN menu, this will delete the wireless interface. Then XWLAN shoul run setup.cmd and everything is fine.
Otherwise the NICs get addressed via DHCP. What seems to happen now is that,
say going wireless -> wired. The WIFI drops and the IP gets assigned as above
and then nothing. A netstat -r at this point will show only the local loopback,
& lan0 and 1 as above addresses. dhcpmon shows lan1 released.
The only way to get things back is to manually find and kill DHCPD.EXE and then
run setup from x:/MPTN/bin. I have "Run setup" checked in the WIFI profile.
  
This is what I don't understand. setup.cmd should run. I just checked the code: setup.cmd is executed before the XWLAN script. I suggest you let setup.cmd write a flagfile ("type nul > C:\setupran.txt") an check if it was really executed.

I will do the same, as I am seeing a similar issue on my T43 using GenMAC for the Intel 2915 (802.11a is a beautiful thing). I routinely have to issue my NICON.CMD to get my wired interface back up and running upon turning off the radio. For reference (abstracted):

'@ ifconfig lan1 down'
'@ ifconfig lan1 delete'
'@ dhcpmon -t'
'@ route -fh'
'@ arp -f'
'@ dhcpstrt -i lan0 -d 0'

--
Lewis
------------------------------------------------------------
Lewis G Rosenthal, CNA, CLP, CLE
Rosenthal & Rosenthal, LLC
Accountants / Network Consultants
 New York / Northern Virginia           www.2rosenthals.com
eComStation Consultants                  www.ecomstation.com
Novell Users International        www.novell.com/linux/truth
Need a managed Wi-Fi hotspot?               www.hautspot.com
------------------------------------------------------------


Subscribe: Feed, Digest, Index.
Unsubscribe
Mail to ListMaster