OneMac
Version 1.001
-------------


Why use this?
-------------
The purpose is to have a single MAC address same for LAN and WiFi interface, so you could connect to the same network as one computer from both interfaces. The LAN interface has higher priority, - speeds could be much higher of course :) OneMac is able to detect link change and if it detects LAN cable connected, it sets LAN as primary (and vice versa).



Installation:
-------------
Put the exe anywhere you want to keep it. Execute it and check the Run on startup checkbox. Any changes are applied immediately. This tool must remain minimized if you want the auto-switch feature. Administrator rights are required to launch this.

To setup:
- select your LAN and WiFi interface
- enter primary and secondary MAC address (zeros mean to reset the MAC to NIC default, however most drivers do full reset after system restart)
   - you can enter either your real physical MAC addresses or you could make something up (you can copy any address from the list below with Ctrl+C)
   - beware, you must not ever have the same MAC twice in the same network (primary and secondary must be different)

You can test the manual LAN and WiFi primary MAC switch and check the "automatic switch" to enable background work. Then just minimize the tool.



Possible problems:
------------------
If this tool does not work, there may be several things to check:

- interfaces don't restart: your interface name may contain diacritic characters - remove them and leave only letters, numbers and spaces

- the MAC address does not apply after interface restart - log says rights failed: probably the application does not run as administrator - change exe properties and check "Run as administrator" is enabled

- the MAC address does not apply after interface restart - log says no error: the driver you are using may be checking non-physical MAC validity - eg. Intel wifi adapters does not allow to set MAC beginning with 00: - try 22: as the first part



Comment:
--------

There still may be many bugs, so please report them to me.
You are allowed to use this tool for personal use only.

http://ashus.ashus.net
ICQ 151883422


History:
--------
1.001
Fixed a bug causing not selecting internally the selected interfaces on startup.

1.000
System suspend awareness - it doesn't switch to wifi and back if cable is connected before and after sleep/hibernation.
Proven to be stable.

0.003
New larger icon for Win7.
Fixed a bug, when disabled wifi interface and restart of OneMac produced another automatic switch to LAN.
Fixed a bug, when no wifi or lan interface is present in the system (OneMac quits right away).
Larger log, auto-scrolling, date added to entries.
New option to disable OneMac from tray.
Only one instance allowed, if executed once again, it restores the previous window.
Enabling the automatic changes disable a few form fields.
Win7 manifest file included - we need administrator rights to launch OneMac (UAC dialog pops up).
New Win7 UAC compatibility - if Windows Vista/7 is detected, we also check for UAC, if it is on, we can't launch OneMac from standard registry startup key, because it would not have the required privileges. A new Task scheduler job is created instead, it launches on user login. To uninstall, simply remove this entry from Task scheduler.

0.002
A new feature added: automatic applying of MAC addresses when OneMac is launched (to fix possible situation of WiFi interface disabled when LAN was connected on last shutdown, but disconnected on system startup).

0.001
First working version.
