X-Account-Key: account1 X-UIDL: 29266 X-Mozilla-Keys: Return-Path: os2-wireless_users-owner@2rosenthals.com Received: from 192.168.100.5 (hawking [192.168.100.5]) by 2rosenthals.com (Hethmon Brothers Smtpd) id 20041018011705-31570-9 ; Mon, 18 Oct 2004 01:17:05 -0400 (Hethmon Brothers Smtpd) id 20041018011702-48198-7 ; Mon, 18 Oct 2004 01:17:02 -0400 Received: from mx1.mailhop.org ([63.208.196.170]) by mxout3.mailhop.org with esmtp (Exim 4.42) id 1CJPtJ-000Lch-Tb for os2-wireless_users@2rosenthals.com; Mon, 18 Oct 2004 01:17:09 -0400 Received: from mta1.srv.hcvlny.cv.net ([167.206.5.67]) by mx1.mailhop.org with esmtp (Exim 4.42) id 1CJPtJ-0006yU-SA for os2-wireless_users@2rosenthals.com; Mon, 18 Oct 2004 01:17:05 -0400 Received: from [192.168.100.25] (ool-182f860d.dyn.optonline.net [24.47.134.13]) by mta1.srv.hcvlny.cv.net (iPlanet Messaging Server 5.2 HotFix 1.25 (built Mar 3 2004)) with ESMTP id <0I5R00FNI980WG@mta1.srv.hcvlny.cv.net> for os2-wireless_users@2rosenthals.com; Sun, 17 Oct 2004 20:55:12 -0400 (EDT) In-reply-to: <4171E1B8.5070306@2rosenthals.com> Message-id: <417310BE.3010805@2rosenthals.com> Organization: Rosenthal & Rosenthal MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.8a4) Gecko/20040930 MultiZilla/1.6.4.0b Mnenhy/0.6.0.104 References: <4171E1B8.5070306@2rosenthals.com> X-Mail-Handler: MailHop by DynDNS.org X-Spam-Score: -4.7 (----) Date: Sun, 17 Oct 2004 20:39:26 -0400 Sender: os2-wireless_users-owner X-Listname: os2-wireless_users@2rosenthals.com Reply-To: os2-wireless_users@2rosenthals.com From: Lewis G Rosenthal To: os2-wireless_users@2rosenthals.com Subject: [OS2Wireless] Wireless LAN Monitor vs wired/wireless cmd files X-List-Unsubscribe: Send email to mailusers-request@2rosenthals.com X-List-Owner: mailusers-owner@2rosenthals.com Some follow-up to this... In order to properly route packets to the connected interface, it is still necessary to turn off the disconnected one. While XWLAN easily handles the WiFi NIC, I found that using a couple of Neil's scripts (slightly modified) to turn off and on the wired NIC came in handy. For reference: NICON.CMD: ========================== /* turn on TCP the NIC * This command Activates the wired interface */ say "Activating the wired network interface" '@ ifconfig lan1 down' '@ ifconfig lan1 delete' '@ dhcpmon -t' '@ route -fh' '@ arp -f' '@ dhcpstrt -i lan0 -d 0' say "TCP on wired interface enabled" return NICOFF.CMD: ========================== /* turn off TCP the NIC * This command deactivates the wired interface */ say "Deactivating the wired network interface" '@ ifconfig lan0 down' '@ ifconfig lan0 delete' '@ dhcpmon -t' '@ route -fh' '@ arp -f' say "TCP on wired interface disabled" return Note that NICON.CMD is probably unmodified (IIRC). We delete LAN1, as XWLAN will recreate it. NICOFF.CMD, OTOH, does not attempt to bring up LAN1, as this is left to XWLAN. Notes/oddities: 1. Sometimes, it is necessary to run NICON.CMD a couple times in order to get the wired NIC to obtain an address. My suspicion here is that this will depend upon the DHCP server (in the case of my testing, just the LinkSys WRT54G; I haven't tried it against my NetWare server, which is my usual DHCP server), or it may be differences in NIC drivers and/or firmware (the ethernet interface in this T30 is an Intel Pro 10/100 mPCI, though I'm not sure of the firmware rev; I used the included driver with eCS 1.2 for my test setup). 2. My Cisco card was stubborn when it was not inserted at bootup. That is, if I started the system wired, then later inserted the Cisco 350, XWLAN had to either disable/enable the card a few times in order for it to become associated or I had to close eCenter and restart it (I'm using the XWLAN widget in this setup). once associated the first time, however, switching on and off was fairly smooth. 3. I've seen the same issue previously reported where XWLAN refused to switch to a second profile. I've promised a spare Cisco 350 to Christian for his testing, but I've been slow to get it shipped to him, due to other distractions. Hopefully, when he has one of these things to play with, he'll be able to get the kinks worked out for the next release of XWLAN (right now, I've been using 1.02). -- Lewis ------------------------------------------------------------ Lewis G Rosenthal, CNA Rosenthal & Rosenthal Accountants / Network Consultants New York / Northern Virginia www.2rosenthals.com Team OS/2 / NetWare Users International www.novell.com ------------------------------------------------------------ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= To unsubscribe from this list, send a message to steward@2rosenthals.com with the command "unsubscribe os2-wireless_users" in the body (omit the quotes). For help with other commands, send a message to steward@2rosenthals.com with the command "help" in the body (omit the quotes). This list is hosted by Rosenthal & Rosenthal P.O. Box 281, Deer Park, NY 11729-0281. Non- electronic communications related to content contained in these messages should be directed to the above address. (CAN-SPAM Act of 2003) =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=