Poštni seznam arhiviranih sporo?il

Od: Christian Langanke <os2-wireless_users@2rosenthals.com> Glava
Izvorno E-sporo?ilo
Pošiljalec: os2-wireless_users-owner <os2-wireless_users-owner@2rosenthals.com>
Zadeva: [OS2Wireless] Wireless LAN new features - please test
Datum: Wed, 20 Oct 2004 20:29:14 +0200
Za: os2-wireless_users@2rosenthals.com

Lewis G Rosenthal wrote:

Thanks, Christian. A couple quick questions, below:

Lewis, as always you're welcome :-)

    new submenu for to (reconfigure) or disable the IP interface bound to the wifi nic. This should help for scenario 3, when you want to switch from wifi nic to wired nic, at least you can free up the DHCP lease properly. I have no clue yet how a user can best issue a DHCP request for the wired nic after having released the one from the wifi nic - I am not sure if such a feature should be part of XWLAN and where it could be integrated... OTOH we otherwise may have to come back to the 2nd best solution: scripts...


Perhaps a page in the profile properties for what to do when switching from the wireless connection, with options:

   * Do nothing
   * Activate wired interface
   * Ask me what to do

Hmm, yes, I can think of presenting all other lan interfaces, which current current configuration does not match the static config in the TCP/IP configuration or are there set to use DHCP and nothing is configured. If then selected by thhe user, XWLAN would just execute the command being listed in setup.cmd for the interface.

But here comes a problem into play that I will discuss with another posting: ho to query current IP bindings.

    the code executing the DHCP config/unconfig now issues dhcpmon calls only (no more kill of DHCPCD.EXE)

How are you doing this? Is there an API for DHCPMON?

No, I just stick to the command line parameters (- seems to equal /):

-l = request DHCP client to release IP address
-t = request DHCP client to terminate
-r = request DHCP client to renew the IP address
-v = verbose messages
-qQUEUENAME = send notifications to \QUEUES\QUEUENAME

where I currently use /l and /t.

If you wonder from where  have these parameters, no, I did ot find them in any documentation. Instead I read them, using a haxeditor, straight from the unpacked DHCPMON.EXE (unpacked with lxlite -x). Why the heck did nobody include that in any online help file (or did I miss something ?). I also did not find a way to make dhcpmon display that help text...

So instead using a kill, I execute "DHCPMON /t" just like in your scripts. I also have changed XWALN to properly give up the last DHCP lease with -l before terminating with /t. I still think to make this optional by a properties setting, as I still cannot see a senseful reason why the DHCP client of OS/2 is (obviously) limited to configuring only one IP interface with DHCP at a time. So an additional properties setting could make the call with /l optional, keeping the DHCP lease for any other interface. Only drawback is that the lease not being freed at that time cannot longer be released later. But I tjhink this is a minor issue.

I hav no idea yet what to do with -q and -v. Maybe with -q there is a way to run a second DHCPCD with a second DHCPMON communicationg over a second queue (so my assumption on the limit to one IP interface may be wrong).

    whenever the configuration of the wifi nic IP has been completed, XWLAN flushes the ARP cache (!!).
<...>

Yes, this is a very good point, which we have discussed a few times on this list with regard to Neil's scripts. I thought, though, that it would still be necessary to flush the routing table. This is a good tip.

Well, I'd prefer to include code into XWLAN to also clean up toe routing entries, but never coded to quiery existing entries. You know, that TCP/IP API is somewhat strange... well, until we don't find out that it is absolutely necessary, I think I can take some time with that.

I'll give this one a try with my test setup over the weekend (don't want to mess with things until after the WiFi classes). Besides my Cisco card, I have a spare IBM High Rate PC card with me, so if the problems noted with 1.03 persist (as I expect they will, as I have been so late in shipping that other Cisco card to you!), I should at least be able to test this with the IBM.

Unfortunately, nothing has shown up here yet. Since I have no idea how long this should normally take, I don't know I already should worry about that.

Good luck for Warpstock 2004 !

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)

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=




Naro?iti: Poro?ilo (Feed), Izvle?ek (Digest), Indeks.
Odjava
E-pošta za mojstra za sezname