{"id":330,"date":"2013-02-19T01:37:50","date_gmt":"2013-02-19T06:37:50","guid":{"rendered":"http:\/\/sunapi386.ca\/wordpress\/?p=330"},"modified":"2015-10-28T16:51:08","modified_gmt":"2015-10-28T21:51:08","slug":"virtual-router","status":"publish","type":"post","link":"https:\/\/sunapi386.ca\/wordpress\/virtual-router\/","title":{"rendered":"Virtual Router"},"content":{"rendered":"<p>Came across a resort with this lame login page prompting the user to purchase access.<\/p>\n<p><a href=\"https:\/\/sunapi386.ca\/wordpress\/wp-content\/uploads\/2013\/02\/login_prompt.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-332\" alt=\"login_prompt\" src=\"https:\/\/sunapi386.ca\/wordpress\/wp-content\/uploads\/2013\/02\/login_prompt.jpg\" width=\"1229\" height=\"900\" srcset=\"https:\/\/sunapi386.ca\/wordpress\/wp-content\/uploads\/2013\/02\/login_prompt.jpg 1229w, https:\/\/sunapi386.ca\/wordpress\/wp-content\/uploads\/2013\/02\/login_prompt-300x219.jpg 300w, https:\/\/sunapi386.ca\/wordpress\/wp-content\/uploads\/2013\/02\/login_prompt-1024x749.jpg 1024w, https:\/\/sunapi386.ca\/wordpress\/wp-content\/uploads\/2013\/02\/login_prompt-409x300.jpg 409w\" sizes=\"auto, (max-width: 1229px) 100vw, 1229px\" \/><\/a><br \/>\nEnded up purchasing access. Hell, I don\u2019t have my iodine server setup or anything. Will have to remember to do that before going out to resorts with lame $30 charges for 7 days of horrible net.<br \/>\nAfter purchasing access, the AT&amp;T server basically records your MAC address and allows it for access for the next X amount of time you purchased it.<br \/>\nThe obvious solution is to use a program like Virtual Router and create a local hotspot with the machine that was purchased access as host. But for some odd reason, mine didn\u2019t work!<br \/>\n<!--more--><br \/>\nOk, fine. At this point, I figure I had these options:<br \/>\nFix Virtual Router<br \/>\nTry to change MAC address<br \/>\nWork with a friend and setup an iodine server<br \/>\nBuy access on the other machine<br \/>\nSince Virtual Router didn\u2019t work for some reason, and it worked last time, I recalled that the only thing that most likely had an impact on it was AVG.<br \/>\nUninstalled AVG security. That thing was prompting the user to purchase the product via heavy heavy product marketing. Like, yes, thank you I know I am using a free version, please stop stealing my screen focus with your huge popup! It also steals control of the firewall functionality in Windows 7, which we will discuss later on what the impact of it is.<br \/>\nI figure #2 was nearly as easy to do.<br \/>\nI figured I could just change the MAC address of the other machines and session steal the paid MAC address. But it seems there\u2019s limitations on changing the MAC on wifi cards. The prefix to the MACs must start with 00 or 02. And my MAC address of the machine I used to purchase the internet access (let\u2019s call it Silver1) had a MAC that didn\u2019t start with 00 nor 02. Great. My machine I was trying to get access to Silver1 on (let\u2019s call it Black1) didn\u2019t support MAC changes out of the limitation. Funny enough, it allowed a change to DE:AD:BE:EF:xx:xx, where x denotes any alphanumeric character. Nice, but this doesn\u2019t help. (I was using ifconfig, and also tried macchanger.)<br \/>\nSo I figure maybe Windows 7 is limiting me on this. I thought I\u2019d do it on Linux. But I would need an actual installation (so the virtual machine I usually use to code was ruled out). It just happened that my installation of Ubuntu still existed on the hard drive, but its boot loader was overwritten by Windows 7. I had reinstalled Windows 7 because it had hardware driver issues that was beyond fix without a system reinstall.<br \/>\nSo for the reinstall, I basically got out my Ubuntu Live USB and reinstalled GRUB 2. There. Now I can dual boot Ubuntu and Windows 7 again.<br \/>\nI get into Ubuntu to try and change the MAC address there, but it also had limitation on that the hardware doesn\u2019t support Silver1\u2019s MAC because it was out of bounds.<br \/>\nGreat, now I get back to trying to fix Virtual Router. It seems that after uninstalling AVG, AVG didn\u2019t leave without first recking havoc through my registry. I used to have Windows 7 firewall, and Internet Connection Sharing (ICS) services running, but now both are disabled and no permissions granted in the registry.<br \/>\nError like this occurs when starting:<\/p>\n<p>When you attempt to start the Windows 7 firewall service you receive the following error<\/p>\n<p>Windows could not start the Windows Firewall on Local Computer. For more information, review the system event log. If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code 5.<br \/>\nIf you look in the System Event Log, you will see event 7024 from the Service Control Manager<br \/>\nThe Windows Firewall service terminated with service-specific error Access is denied..<br \/>\nThis may be caused because the \u201cNT Service\\MpsSvc\u201d account does not have adequate permissions on the following registry key<br \/>\nHKLM\\SYSTEM\\CurrentControlSet\\Services\\SharedAccess<br \/>\nThis can be fixed by:<br \/>\nIn Registry Editor, browse to the key HKLM\\SYSTEM\\CurrentControlSet\\Services\\SharedAccess<br \/>\nRight click SharedAccess, and click Permissions.<br \/>\nClick Add.<br \/>\nIn the \u201cEnter the object names to select\u201d field, type \u201cNT SERVICE\\mpssvc\u201d. Then click CheckNames. The name should change to MpsSvc<br \/>\nClick OK.<br \/>\nSelect Full Control in the Allow column.<br \/>\nClick OK.<br \/>\nEnable the ICS and firewall service in services.msc<br \/>\nReboot<br \/>\nNow starting the Virtual Router should be okay. At least, it worked for me.<br \/>\nThe end result looks like this<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Came across a resort with this lame login page prompting the user to purchase access. Ended up purchasing access. Hell, I don\u2019t have my iodine server setup or anything. Will have to remember to do that before going out to resorts with lame $30 charges for 7 days of horrible net. After purchasing access, the &hellip; <a href=\"https:\/\/sunapi386.ca\/wordpress\/virtual-router\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Virtual Router<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,31],"tags":[],"class_list":["post-330","post","type-post","status-publish","format-standard","hentry","category-hack2600","category-tutorial"],"_links":{"self":[{"href":"https:\/\/sunapi386.ca\/wordpress\/wp-json\/wp\/v2\/posts\/330","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sunapi386.ca\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sunapi386.ca\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sunapi386.ca\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sunapi386.ca\/wordpress\/wp-json\/wp\/v2\/comments?post=330"}],"version-history":[{"count":4,"href":"https:\/\/sunapi386.ca\/wordpress\/wp-json\/wp\/v2\/posts\/330\/revisions"}],"predecessor-version":[{"id":585,"href":"https:\/\/sunapi386.ca\/wordpress\/wp-json\/wp\/v2\/posts\/330\/revisions\/585"}],"wp:attachment":[{"href":"https:\/\/sunapi386.ca\/wordpress\/wp-json\/wp\/v2\/media?parent=330"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sunapi386.ca\/wordpress\/wp-json\/wp\/v2\/categories?post=330"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sunapi386.ca\/wordpress\/wp-json\/wp\/v2\/tags?post=330"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}