Mailing List os2-wireless_users@2rosenthals.com Archived Message #1541

From: "Carl Gehr" <os2-wireless_users@2rosenthals.com> Full Headers
Undecoded message
Subject: Re: [OS2Wireless]Re: T23 internal cards success
Date: Fri, 06 Oct 2006 21:31:00 -0400 (EDT)
To: "OS/2 Wireless Users Mailing List" <os2-wireless_users@2rosenthals.com>

Lewis,
I don't think that's my problem...

In this case, the DHCP Monitor shows:
Settings->Monitor_Interface->LAN1
Status:  DHCP Client is not running.

The first of the above is as it should be.  The second is wrong!
  i.e.,  When I display the active tasks [Ctrl-Task_List on eCenter],
         there, right at the top is:
                DHCPCD.EXE (82)
Methinks DHCPMON is confused!  And, it did not work this way a while
back.  But, I've forgotten when it changed or what I might have done to
cause the change.  FWIW, the DHCP Monitor is V4.1.

Carl

On Mon, 25 Sep 2006 09:37:25 -0400, Lewis G Rosenthal wrote:

>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" <os2-wireless_users@2rosenthals.com>
>>> wrote:
>>>    
>>>> On Sunday, 24 September 2006 at 13:39:52 -0500, Al Heath
>>>> wrote:
>>>>      
>>> <snip>
>>>
>>>    
>>>> 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 <os2-wireless_users@2rosenthals.com>.
>>> To unsubscribe, E-mail to: <os2-wireless_users-off@2rosenthals.com>
>>> To switch to the DIGEST mode, E-mail to <os2-wireless_users-digest@2rosenthals.com>
>>> To switch to the INDEX mode, E-mail to <os2-wireless_users-index@2rosenthals.com>
>>> Send administrative queries to  <os2-wireless_users-request@2rosenthals.com>
>>> To subscribe (new addresses), E-mail to: <os2-wireless_users-on@2rosenthals.com> 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 <os2-wireless_users@2rosenthals.com>.
>> To unsubscribe, E-mail to: <os2-wireless_users-off@2rosenthals.com>
>> To switch to the DIGEST mode, E-mail to <os2-wireless_users-digest@2rosenthals.com>
>> To switch to the INDEX mode, E-mail to <os2-wireless_users-index@2rosenthals.com>
>> Send administrative queries to  <os2-wireless_users-request@2rosenthals.com>
>> To subscribe (new addresses), E-mail to: <os2-wireless_users-on@2rosenthals.com> 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
>------------------------------------------------------------
>
>
>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>This message is sent to you because you are subscribed to
>  the mailing list <os2-wireless_users@2rosenthals.com>.
>To unsubscribe, E-mail to: <os2-wireless_users-off@2rosenthals.com>
>To switch to the DIGEST mode, E-mail to <os2-wireless_users-digest@2rosenthals.com>
>To switch to the INDEX mode, E-mail to <os2-wireless_users-index@2rosenthals.com>
>Send administrative queries to  <os2-wireless_users-request@2rosenthals.com>
>To subscribe (new addresses), E-mail to: <os2-wireless_users-on@2rosenthals.com> 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)
>
>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>



Subscribe: Feed, Digest, Index.
Unsubscribe
Mail to ListMaster