On Thu, 01 Jul 2004 20:13:32 +0200, Christian Langanke wrote:
>Carl Gehr wrote:
>
>>I've been using Neil's script [slightly modified, but THANK YOU very
>>much!] for a while. One thing to note: Even if you have DHCPMON
>>running, it will only show that the lease that you had for your wired
>>connection is no longer there. It does NOT pick up the WiFi lease
>>status.
>>
>Would love to see that script (everybody is talking about it here...)
I should make it perfectly clear: I really have very little idea
WHAT these commands are really doing or why some other commands should
or should not be included. As I indicated: I COPIED what was posted
here a while back. And, while it is not 100% because it does not
change the DHCPMON so it looks at the WiFi, it DOES switch the
connectivity. That is the important factor from my perspective. And,
when I use the ActENet.Cmd after I've reconnected to the wired
connection, DHCPMON picks back up and recognizes that the lease for
that connection is back. It just never shows the lease for the
WiFi connection... :-(
>
>>
>>My ignorant explanation is: The monitor is only looking at LAN0. And,
>>the Settings->MonitorInterface only shows LAN0. I have never been able
>>to figure out from any documentation how to get it to switch and look
>>at LAN1.
>>
>Nope. As pointed out in a previous mail: the DHCP client can handle only
>one DHCP configured interface at a time. In order to configure a second
>interface with DHCPSTRT, you need to kill the DHCP client deamon
>dhcpcd.exe. And DHCPMON can only show the status for the interface being
>configured with the current active dhcpcd, as DHCPMON does interprogram
>communication with that piece of software (only).
>
BUT, even with the above commands, that kill the DHCPSTRT for LAN0 and
restarts it for LAN1, the DHCPMON insists on monitoring *only* LAN0.
I did try adding a command in the Cmd files above to try to switch the
monitor:
'@ start dhcpmon -LANn' with n=0 or n=1
But, it made no difference whatsoever.
Later...
Carl
>bye, Christian
>
>-------------------------------------------------
>
>Christian Langanke
>COS2E & CWSE
>Team OS/2 Ruhr e.V.
>cla@clanganke.de
>
>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
>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)
>
>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
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)