X-UIDL: 1750 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) ; Mon, 4 Aug 2003 16:38:02 -0400 Received: from mail1.no-ip.com (goodyear.vitalwerks.com [64.156.198.155] ) by mail.2rosenthals.com (Hethmon Brothers Smtpd) ; Mon, 4 Aug 2003 16:38:00 -0400 X-Envelope-To: Received: (qmail 2209 invoked by uid 89); 4 Aug 2003 20:37:51 -0000 Received: from unknown (HELO mail.cruzio.com) (63.249.95.37) by mail1.no-ip.com with SMTP; 4 Aug 2003 20:37:51 -0000 Received: from dsl3-63-249-70-32.cruzio.com (JohnDoe@dsl3-63-249-70-32.cruzio.com [63.249.70.32]) by mail.cruzio.com with SMTP id h74Kbwlu019583 for ; Mon, 4 Aug 2003 13:37:59 -0700 (PDT) Received: from dhcp46.wd.cubic.com (dhcp46.wd.cubic.com [149.63.89.46]) by dsl3-63-249-70-32.cruzio.com (Weasel v1.60) for ; 04 Aug 2003 13:40:43 In-Reply-To: <3F2EBF5A.4090408@rogers.com> References: <3F2E9BBA.10200@rogers.com> <200308041225.000006WR@dsl3-63-249-70-32.cruzio.com> <3F2EBF5A.4090408@rogers.com> MIME-Version: 1.0 X-Mailer: The Polarbar Mailer; version=1.25a; build=1965 X-Mailer-Platform: OS/2; architecture=x86; version=20.45 X-Mailer-Java-VM: IBM Corporation; version=J2RE 1.3.1 IBM build co131-20030407a (JIT enabled: jitc); compiler=jitc Message-ID: <200308041340.000006X6@dsl3-63-249-70-32.cruzio.com> Date: Mon, 4 Aug 2003 16:38:00 EST5EDT4,M4.1,M10.5 X-OldDate: Mon, 4 Aug 2003 12:37:58 -0700 Sender: os2-wireless_users-owner X-Listname: os2-wireless_users@2rosenthals.com Reply-To: os2-wireless_users@2rosenthals.com From: "Neil Waldhauer" To: os2-wireless_users@2rosenthals.com Subject: [OS2Wireless] How to: setup wireless AND wired interface on a laptop? X-List-Unsubscribe: Send email to mailusers-request@2rosenthals.com X-List-Owner: mailusers-owner@2rosenthals.com on Mon, 4 Aug 2003 16:17:33 EST5EDT4,M4.1,M10.5, Orest Skrypuch wrote: > > '@ route -fh' > > the route command switches you have listed, I can't find in the .hlp > files, I assume it flushes all the routes?? That is exactly the command > from the mptn\bin\setup.cmd file ... You are right. I took it from the setup.cmd file because I really didn't know any better. I don't see it in the help, either. > > '@ arp -f' > > then you delete all the entries in the arp table, > > '@ dhcpstrt -i lan1 -d 0' > > and then restart dhcp through the lan1 interface. Why did you specify a > "0" wait time, might it not take longer ... well, I guess it just keeps > retrying so it doesn't really matter how long it waits each time? If you specify a 0 for wait time, then it does not pause for DHCP, but it keeps trying in the background. I found it can take quite a while for DHCP to work on my machine. For example, I'll run this command, and my friend will then look for the access point, then look for a power cord, then plug it in, then configure, and it can take a random amount of time. > > > So to reverse it you would: > > say "Activating the wired network card" > '@ ifconfig lan1 down' > '@ ifconfig lan1 delete' > '@ dhcpmon -t' > '@ route -fh' > '@ arp -f' > '@ dhcpstrt -i lan0 -d 0' > say "Wired networking enabled" > return > > > Correct?? I can't try this right now, but it looks right. I've saved it for future use. > > > Another question, now, how do you know that the wireless MAC is lan1? I > guess it would be a reasonable assumption, but is this determined > somewhere in the setup files? MPTS lists the tcp/ip protocol through the > wireless card as "2", is lan0 the lowest number tcp/ip, lan1 the next > highest (in this case 2), and so on? I looked in setup.cmd as my reference. I think the interfaces are called by some other name in Unix, but this looked good enough. I've never had more than two network adapters in a machine, so I only assume it works for higher numbers. best regards, Neil Neil Waldhauer neil@blondeguy.com www.blondeguy.com Expert consulting for OS/2 and eComStation Forget the health food. I need all the preservatives I can get. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 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). =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=