From: "Lewis G Rosenthal" Received: from [192.168.100.201] (account lgrosenthal HELO [192.168.100.25]) by 2rosenthals.com (CommuniGate Pro SMTP 5.0.9) with ESMTPA id 377277 for os2-wireless_users@2rosenthals.com; Mon, 25 Sep 2006 09:37:25 -0400 Message-ID: <4517DB95.5090001@2rosenthals.com> Date: Mon, 25 Sep 2006 09:37:25 -0400 Organization: Rosenthal & Rosenthal, LLC User-Agent: Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.9a1) Gecko/20060904 SeaMonkey/1.5a MIME-Version: 1.0 To: OS/2 Wireless Users Mailing List Subject: Re: [OS2Wireless]Re: T23 internal cards success References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Carl, I've found that when that issue occurs, I simply wait a bit, and then re-start DHCPMON. Eventually, it gets the idea that the interface it previously accessed is no longer there, and gets the new information. Bug? Probably. I haven't seen it overly persistent, however. On 09/24/06 11:57 pm, Carl Gehr thus wrote : > 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) >> >> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= >> >> > > > > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > 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) > > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > > > -- Lewis ------------------------------------------------------------ Lewis G Rosenthal, CNA, CLP, CLE Rosenthal & Rosenthal, LLC Accountants / Network Consultants New York / Northern Virginia www.2rosenthals.com eComStation Consultants www.ecomstation.com Novell Users Int'l www.novell.com/openenterpriseserver Need a managed Wi-Fi hotspot? www.hautspot.com ------------------------------------------------------------