|
From: gboutwel <gbo...@pr...> - 2004-08-22 00:17:10
|
> However, I suspect the interface selection code has some problems. By = > example, on my system, I have multiple "Local Area Connection" entries. = > Something like this: > > Local Area Connection > Local Area Connection 2 > Local Area Connection 3 > > I needed my system to bridge on "Local Area Connection". I have = > modified my xml file accordingly but coLinux never got attached to the = > proper interface. If I recall well, it has attached to the "Local Area = > Connection 3" instead. > > So, to work around this problem, I have renamed the "Local Area = > Connection" to "Local Area Connection Broadcom" and after the proper = > modification has been done to the xml file, coLinux has attached to the = > correct interface. The code itterates through the Network Interfaces in the order they occur in the Windows Registry. Matching the first one that it finds that partially matches. The only improvement to this code would be to: 1) Read all the interfaces of the registry, order them, then do the partial match. 2) Store all partial matches, instead of going with the first one, then iterate all partial matches for an exact match, if not exact match can be found, then go with the first one. George ----------------------------------------- Love to Chat? Start talking in the Christian Chat Rooms http://www.praize.com/chat/ |