Search This Blog

Friday, May 23, 2014

How to scan mac address for Huawei bm622 Model

This method assumes that your connected to the internet using the bm622 modem. Otherwise, use the wimax mac address hunter tools for bm622. Download the angry ip scanner tool. This tool shall scan the live ip within your ip range you've provided. To get the WAN IP address of your bm622 modem provided by your provider, copy this address in your favorite web browser http://192.168.254.1 in username type user and in password type 0SlO051O and click login.

After login click the WAN label on the left side pane and copy the WAN IP address of your bm622.
Go back to the angry IP scanner and paste your IP address. Suppose your IP address is 10.78.23.123 change the ip range to 10.78.0.0 and 10.78.255.255. This basically tells to scan the whole IP range subsets. Click start to start the ip scanner against the IP range you've provided in your bm622.


Wait until there is a green icon appears. If there is a green icon copy the ip address and paste it in your browser. Notice that you see same login interface provided by bm622 modem, thus basically saying you can login to the modem remotely and copy the wan mac address of the bm622.

These are the simple steps on how to snipe wan address for your huawei bm622 modem. On next tutorial, We will discuss on how to patch the bm622 huawei modem such that your ip shall not get scan. Enjoy folks.

Sunday, April 21, 2013

Laravel php framework on IIS7


I've been testing laravel to run in IIS7 recently, and I was surprise to know that is quite very easy to achieved. Before, I had a hard time setting up cakephp projects to run in IIS and I thought it would be the same for laravel surprisingly its not.

What I outline here is basically setting up the laravel framework to run on IIS7.

Prerequisites:
>> Windows OS
>> IIS7
>> IIS URL rewrite
>> latest laravel framework
 you can download laravel framework laravel web site

1. Download the laravel.
2. Extract the downloaded file to C:\Inetpub\wwwroot\
3. Rename the extracted folder to laravel
4. Run inetmgr.exe program
5. Navigate to your default site. In our case we shall navigate to laravel
6. Select the URL Rewrite


7. In the action pane click import rules
8. In the rules to import click the ... button

9. C:\Inetpub\wwwroot\laravel\public
10. Select .htaccess file
11. Click Import
12. In action pane click apply
13. This routine shall create a web.config file in our root.

My web.config file is something like below

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <defaultDocument>
            <files>
                <clear />
                <add value="index.php" />
                <add value="default.aspx" />
                <add value="Default.htm" />
                <add value="Default.asp" />
                <add value="index.htm" />
                <add value="index.html" />
            </files>
        </defaultDocument>
        <handlers accessPolicy="Read, Execute, Script" />
        <rewrite>
            <rules>
                <rule name="Imported Rule 2" stopProcessing="true">
                    <match url="^(.*)$" ignoreCase="false" />
                    <conditions logicalGrouping="MatchAll">
                        <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
                        <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
                    </conditions>
                    <action type="Rewrite" url="public/{R:1}" />
                </rule>
            </rules>
        </rewrite>
    </system.webServer>
</configuration>


Testing our site

In your web browser type localhost/laravel/

If everything is set right you will see a similar page shown below