X-UIDL: 493 X-Mozilla-Keys: Return-Path: os2-wireless_users-owner@2rosenthals.com Received: from mail.2rosenthals.com (localhost [127.0.0.1] ) by mail.2rosenthals.com (Hethmon Brothers Smtpd) ; Fri, 31 Oct 2003 02:38:36 -0400 Received: from mail1.no-ip.com (goodyear.vitalwerks.com [66.185.166.27] ) by mail.2rosenthals.com (Hethmon Brothers Smtpd) ; Fri, 31 Oct 2003 02:38:34 -0400 X-Envelope-To: Received: (qmail 10761 invoked by uid 89); 31 Oct 2003 07:38:28 -0000 Received: from unknown (HELO mta03.fuse.net) (216.68.1.123) by mail1.no-ip.com with SMTP; 31 Oct 2003 07:38:28 -0000 Received: from A30pCG ([216.196.153.221]) by mta03.fuse.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with SMTP id <20031031073832.EDW12482.mta03.fuse.net@A30pCG> for ; Fri, 31 Oct 2003 02:38:32 -0500 X-Mailer: PMMail 2.10.2010 for OS/2 Warp 4.05 In-Reply-To: <3FA1E465.3030403@2rosenthals.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <20031031073832.EDW12482.mta03.fuse.net@A30pCG> Date: Fri, 31 Oct 2003 02:38:31 -0500 (EST) Sender: os2-wireless_users-owner X-Listname: os2-wireless_users@2rosenthals.com Reply-To: os2-wireless_users@2rosenthals.com From: "Carl Gehr" To: "os2-wireless_users@2rosenthals.com" Subject: [OS2Wireless] IBM High Rate Wireless LAN -128] X-List-Unsubscribe: Send email to mailusers-request@2rosenthals.com X-List-Owner: mailusers-owner@2rosenthals.com On Thu, 30 Oct 2003 23:26:13 -0500, Lewis G Rosenthal wrote: >Sam, as I recall, you were using static IP for the Wi-Fi connection, >correct? In this case, you shouldn't need Neil's script, as that simply >swaps the DHCP interface from LAN0 to LAN1. In your case, one or both of >your interfaces are set to static IP, so you should be good to go with >both interfaces configured (just not with the same address, as that is >usually used for fault tolerant configurations). Lewis, Since you brought up the Cmd files to switch the DHCP between interfaces, I'd like to revisit the subject. I just returned from a trip where I had easy access to both a wired and wireless connection. All attempts to use commands distributed here a while back to switch the interface failed. Just so we're all starting from the same place, here are the specifics of my configuration and the command files: =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= Configuration Information ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LAN-0: Wired DriverName = E100B$ TCP/IP NetBIOS for OS/2 DHCP active. LAN-1: 802.11b DriverName = PRISMP$ TCP/IP NetBIOS for OS/2 =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= The Commands ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Switch Wired to Wireless ======================== /* CmdName: ActENet.Cmd */ /* Turn the Radio ON * This command activates the 802.11b interface * * The wireless NIC should be inserted in the PC Card slot */ say "Turn the Wireless Radio ON " say "Activating the Wireless Network Card" '@ ifconfig lan0 down' '@ ifconfig lan0 delete' '@ dhcpmon -t' '@ route -fh' '@ arp -f' /* '@ dhcpstrt -i lan1 -d 0' */ '@ Call c:\mptn\bin\mptstart.cmd -i lan1 -d 5' say "Wireless Networking Enabled" return ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Switch Wireless to Wired ======================== /* CmdName: ActENet.Cmd */ /* Turn the radio OFF * This command activates the 802.11b interface */ say "Turn the Wireless Radio OFF" say "Activating the Ethernet Network Card" '@ ifconfig lan1 down' '@ ifconfig lan1 delete' '@ dhcpmon -t' '@ route -fh' '@ arp -f' /* '@ dhcpstrt -i lan0 -d 0' */ '@ Call c:\mptn\bin\mptstart.cmd -i lan0 -d 5' say "Ethernet Networking Enabled" return =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= So, what am I doing wrong? Thanks, Carl =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 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). =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=