I looked into the matter of MACycle, and one of the faults for some setups and wireless cards is that MACycle does not have ICS management. For some set-ups, the ICS policy is overwritten or ignored when the wireless card is restarted, and then when running:
Code:
netsh wlan start hostednetwork
The access point is created however it has no shared connection, making the script completely useless and it cannot cycle without the connection dropping.
Other programs, like Connectify and Virtual Router, seem to have no problems with making the connection or running alongside with MACycle (most of the time) simply because said program's ICS management is being used.
Why not implement this:
https://github.com/utapyngo/icsmanager
In the same folder you extracted icsmanager, you can call it through command prompt such as:
Code:
icsmanager enable "Ethernet" "attwifi"
I don't really know how to code in .NET but I do know how to make a batch file.
homepass.bat
Code:
echo off
for /f "delims=" %%a in (G:\homepass\all_macs.txt) do call set "$$%%random%%=%%a"
(for /f "tokens=1,* delims==" %%a in ('set $$') do echo(%%b)>all_macs.txt
for /f "delims=" %%x in (G:\homepass\all_macs.txt) do call G:\homepass\mac_cycler.bat %%x
mac_cycler.bat
Code:
set macaddr=%1
macshift -i "Wi-Fi" %macaddr%
echo Cooling down...
timeout 6
netsh wlan start hostednetwork
icsmanager enable "Ethernet" "attwifi"
echo Switching to next MAC address in 1,800 seconds (30 minutes)...
timeout 1800
netsh wlan stop hostednetwork
And then a file called "all_macs.txt" contains all the MAC addresses, one per line. It randomly cycles through them. You can remove the randomized cycler by changing homepass.bat to this:
Code:
echo off
for /f "delims=" %%x in (G:\homepass\prime_macs.txt) do call G:\homepass\mac_cycler.bat %%x
I am having issues with this. As far as I can tell I have everything set up right, but I do not get ANY street passes. I am using a list of MAC addresses I got from a spreadsheet for setting up a homepass, and the list is 160+ long, and it's a list I know other people are using.
Here's my setup: Laptop with internal wifi card and ethernet, which is plugged into my router. I have renamed the wifi card to "Wi-Fi" and I have set up a hosted wireless network as per the command lines. I've set up MacCycler, and it is cycling through mac addresses, but I have let it run for 20+ hours and have gotten NO Street Passes. Any thoughts?
In command prompt, type getmac
This should return a small table of information of your transports with their mac addresses and their current state. There should technically be three of them (your Ethernet, your Wireless card, and then your virtual network), you might have more. Look for the mac that MACycle assigned in your table, and see if
both transports say "Media disconnected". If so, your virtual network is not sharing connection properly and the reason could very well be the problem I was having.