From: "Carl Gehr" Received: from mxout4.mailhop.org ([63.208.196.168] verified) by 2rosenthals.com (CommuniGate Pro SMTP 5.0.9) with ESMTP id 376554 for os2-wireless_users@2rosenthals.com; Sun, 24 Sep 2006 23:58:26 -0400 Received: from mxin2.mailhop.org ([63.208.196.176]) by mxout4.mailhop.org with esmtp (Exim 4.51) id 1GRhbQ-000AsI-AR for os2-wireless_users@2rosenthals.com; Sun, 24 Sep 2006 23:57:58 -0400 Received: from mail-out3.fuse.net ([216.68.8.177] helo=smtp3.fuse.net) by mxin2.mailhop.org with esmtp (Exim 4.51) id 1GRhbK-0004FM-VF for os2-wireless_users@2rosenthals.com; Sun, 24 Sep 2006 23:57:51 -0400 Received: from gx6.fuse.net ([208.102.7.45]) by smtp3.fuse.net (InterMail vM.6.01.04.04 201-2131-118-104-20050224) with ESMTP id <20060925035736.KAYF21420.smtp3.fuse.net@gx6.fuse.net> for ; Sun, 24 Sep 2006 23:57:36 -0400 Received: from localhost ([208.102.7.45]) by gx6.fuse.net (InterMail vG.1.02.00.02 201-2136-104-102-20041210) with ESMTP id <20060925035735.LUOC10743.gx6.fuse.net@localhost> for ; Sun, 24 Sep 2006 23:57:35 -0400 To: "OS/2 Wireless Users Mailing List" Date: Sun, 24 Sep 2006 23:57:32 -0400 (EDT) Reply-To: "Carl Gehr" Priority: Normal X-Mailer: PMMail 2.20.2382 for OS/2 Warp 4.5 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Subject: Re: [OS2Wireless]Re: T23 internal cards success Message-Id: <20060925035735.LUOC10743.gx6.fuse.net@localhost> X-Mail-Handler: MailHop by DynDNS X-Spam-Score: -2.6 (--) Lewis, In the set of commands you show below [I use them almost verbatim.], there is the command that stops the DHCP Monitor. [ dhcpmon -t ] BUT, I have had problems trying to get the monitor back so it will display the status, config, etc., of the newly started LAN1. I've tried specifying: dhcpmon -i LAN1 but this seems to do absolutely nothing. Can this be done? What, if anything, am I missing? TIA, Carl On Sun, 24 Sep 2006 23:07:29 -0400, Lewis G Rosenthal wrote: >On Sun, 24 Sep 2006 14:03:14 -0700 > "Tom Fredrickson" >wrote: >> On Sunday, 24 September 2006 at 13:39:52 -0500, Al Heath >>wrote: > > > >> I fixed the encryption. had to set the key and reboot? >> I tried 3 or 4 times to just set the key and connect but >>it never >> worked. >> >That's interesting. I haven't played with the command line >utility much, as XWLAN seems to do what I want, and I find >myself connecting to a number of different networks these >days, needing to store profiles. > >> I now have dhcpstrt -i lan0 in startup.cmd >> lan0 is wired nic >> so I can boot up and if the wire is plugged in it >>connects on lan0. >> Xwlan will connect lan1 wifi and bring down lan0. >> when I turn off wifi in Xwlan it brings down lan1 but >>fails to bring >> lan0 back up. >> >You can set a script to do this in XWLAN; check out >Christian's docs and the relevant samples he provides. > >> I don't know relevant steps to bring down one network >>and bring up >> the other. DHCP won't reconnect on lan0 when I try >>setting route it >> says network unreachable. >> >> I saw a thread #5877 on the list that has xwlan_cmd file >> It shows the steps >> net stop req /y >> ifconfig lan0 down >> ifconfig lan0 delete >> route -fh >> arp -f >> ifconfig lan1 address netmask 225.225.225.0 metric 0 mtu >>1500 >> route add default [router address] -hopcount 2 >> >> so how to get address from dhcp for ifconfig statement? >> the script uses a fixed ip address. >> I will try later I can fake it as the router is supposed >>to issue the >> same address to the mac address. I tried the steps above >>be form but >> not in that order and never "net stop" so maybe the >>order is >> important? >> >NET STOP is only of use if you are using PEER services. > >The simple script to bring down lan0 and bring up lan1 via >DHCP is: > >ifconfig lan0 down >ifconfig lan0 delete >dhcpmon -t >route -fh >arp -f >dhcpstrt -i lan1 -d 0 > >You can do this with REXX, as well. The following is >courtesy Neil Waldhauer, with a couple tweaks (here, lan1 >is wireless and lan0 is wired): > >NICON.CMD: > >/* turn off TCP on Wi-Fi & turn on TCP on the NIC > * This command Activates the wired interface & >deactivates the Wi-Fi > * > */ >say "Deactivating the wireless interface" >'@ ifconfig lan1 down' >'@ ifconfig lan1 delete' >'@ dhcpmon -t' >'@ route -fh' >'@ arp -f' >say "TCP on wireless interface disabled" >say "Activating the wired network interface" >'@ dhcpstrt -i lan0 -d 0' >say "TCP on wired interface enabled" >return > >NICOFF.CMD: > >/* turn off TCP on the NIC & turn on TCP on Wi-Fi > * This command deactivates the wired interface & >activates the wireless 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" >say "Activating the wireless network interface" >'@ dhcpstrt -i lan1 -d 0' >say "TCP on wireless interface enabled" >return > >-- >Lewis >--------------------------------- >Lewis G Rosenthal, CNA, CLE, CLP >Rosenthal & Rosenthal, LLC >Accountants / Network Consultants >New York / Northern Virginia >http://www.2rosenthals.com >--------------------------------- > >=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= >This message is sent to you because you are subscribed to > the mailing list . >To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to >To switch to the INDEX mode, E-mail to >Send administrative queries to >To subscribe (new addresses), E-mail to: and reply to the confirmation email. > >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) > >=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= >