X-Account-Key: account1 X-UIDL: 46336 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 20050205132620-1638-7 ; Sat, 05 Feb 2005 13:26:21 -0500 (Hethmon Brothers Smtpd) id 20050205132619-29560-7 ; Sat, 05 Feb 2005 13:26:19 -0500 Received: from mx1.mailhop.org ([63.208.196.170]) by mxout1.mailhop.org with esmtp (Exim 4.43) id 1CxUdO-000EIa-DQ for os2-wireless_users@2rosenthals.com; Sat, 05 Feb 2005 13:26:19 -0500 Received: from rwcrmhc12.comcast.net ([216.148.227.85]) by mx1.mailhop.org with esmtp (Exim 4.42) id 1CxUdO-0004K1-2B for os2-wireless_users@2rosenthals.com; Sat, 05 Feb 2005 13:26:18 -0500 Received: from [192.168.1.37] (c-24-9-118-46.client.comcast.net[24.9.118.46]) by comcast.net (rwcrmhc12) with ESMTP id <20050205182610014004m0tue>; Sat, 5 Feb 2005 18:26:10 +0000 Message-ID: <42050FC1.9000204@comcast.net> User-Agent: Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.8b) Gecko/20050201 X-Accept-Language: en-us, en MIME-Version: 1.0 References: <0065652870.000009IQ@pooh@deezee.org> In-Reply-To: <0065652870.000009IQ@pooh@deezee.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mail-Handler: MailHop by DynDNS.org X-Spam-Score: -2.6 (--) Date: Sat, 05 Feb 2005 11:26:09 -0700 Sender: os2-wireless_users-owner X-Listname: os2-wireless_users@2rosenthals.com Reply-To: os2-wireless_users@2rosenthals.com From: Andy Willis To: os2-wireless_users@2rosenthals.com Subject: [OS2Wireless] Using VPC with wifi X-List-Unsubscribe: Send email to mailusers-request@2rosenthals.com X-List-Owner: mailusers-owner@2rosenthals.com Dave Saville wrote: >I tried setting a second instance of the virtual switch, as per the VPC docs, >to see if I could get any VPC session to use the wireless card but it failed. I >seem to remember Christian or Adrian telling me at WSE that it would not work - >they were right :-) > >Still, not to be defeated, I started playing. Lets us assume that your network >is 192.168.0.* and you are using dhcp *and* you have the ability to affect >routing on your default router. > >Now my laptop on the home network uses dhcp and gets a 192.168.0.x address and >the default router of the LAN is a Solaris box running firewall etc and is >connected to my cable modem. With me so far? > >Start wireless on the laptop - XWlan will configure LAN1 and disable LAN0. At a >command prompt type > >ifconfig lan0 192.168.1.1 >ipgate on > >Note that you do *not* need anything in the LAN cable socket - it just works. > >Start a VPC session and change it to use a fixed ip of 192.168.1.2 > >set the default route to 192.168.1.1 anything else like DNS will be OK as it >is. > >On the default router box > >route add net 192.168.1 192.168.0. > >The VPC session will now go through LAN0, get rerouted to wherever and because >we added the way back to the default router box the reply gets back. This >however most likely will only work *inside* your LAN. To get it to work to the >internet you will need to modify the NAT rules to remap 192.168.1.* - as it now >does with 192.168.0.* or whatever. > >Works a treat. I have just been looking up details via wireless on the Zeppelin >Museum in Germany on a NT Virtual machine using IE6 - 'cos the damn site won't >work with Mozilla or Firefox. Anyone been there BTW? > > > I assume then that the virtual switch is on Lan0? Ok, that would get around putting the wireless card into promiscuous mode. It is essentially what svista is doing for its networking support. Do you have a physical card in the machine associated to LAN0? IOW, I have 2 pcmcia cards - one wirelese, one wired, and they are not in the machine at the same time and I am wondering if the card would have to be present though not in use otherwise. Unfortunately, my router doesn't allow me to play with the routing in it (going to have to get a new router I think). Andy =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 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) =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=