X-UIDL: 530 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 17:17:26 -0400 Received: from mail1.no-ip.com (goodyear.vitalwerks.com [66.185.167.114] ) by mail.2rosenthals.com (Hethmon Brothers Smtpd) ; Fri, 31 Oct 2003 17:17:25 -0400 X-Envelope-To: Received: (qmail 18942 invoked by uid 89); 31 Oct 2003 22:17:18 -0000 Received: from unknown (HELO smtpzilla1.xs4all.nl) (194.109.127.137) by mail1.no-ip.com with SMTP; 31 Oct 2003 22:17:18 -0000 Received: from localhost (a80-126-60-28.adsl.xs4all.nl [80.126.60.28]) by smtpzilla1.xs4all.nl (8.12.9/8.12.9) with ESMTP id h9VMHMDH023272 for ; Fri, 31 Oct 2003 23:17:22 +0100 (CET) Message-Id: <200310312217.h9VMHMDH023272@smtpzilla1.xs4all.nl> X-Mailer: PMMail 2.20.2382 for OS/2 Warp 4.5 In-Reply-To: <20031031073832.EDW12482.mta03.fuse.net@A30pCG> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Date: Fri, 31 Oct 2003 23:16:13 +0100 (CET) Sender: os2-wireless_users-owner X-Listname: os2-wireless_users@2rosenthals.com Reply-To: os2-wireless_users@2rosenthals.com From: "Frank Vos" 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 Hello Carl, On Fri, 31 Oct 2003 02:38:31 -0500 (EST), Carl Gehr wrote: > >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 Why do you call mptstart.cmd? This will not work according to me, because the parameters will not be used by this batch file. No DHCP for the Wifi NIC? Than you can use something like: 'ifconfig lan1 192.168.0.2 netmask 255.255.255.0 metric 1 mtu 1500' 'route add default 192.168.0.1 -hopcount 1' For the (Wired) NIC with DHCP you need: 'dhcpstrt -i lan0 -d 10' I was not able to use Netbios on both NIC's, so I don't know if your setup might work. Groetjes, / Kind regards, Frank Vos Amstelveen The Netherlands __________________________________________________________ Member of the Dutch HCC OS/2 User Group eComStation is a supercharged version of OS/2 4.5 __________________________________________________________ --- IQ Error: Brain Not Ready (A)bort (R)etry (F)orget =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 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). =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=