Showing posts with label Wireless. Show all posts
Showing posts with label Wireless. Show all posts

July 19, 2013

Beam Telecom Internet Connection Auto Login Task in Windows whenever you have connected to your Wireless LAN; Not in startup

Hi friends,
Today me and my roommate were discussing to leave the laptop to download some files using torrent client. Then we thought like, what if power goes off ? Since, we are using Beam Telecom, we need to manually login via a webpage to activate the Internet connection when power comes back.

Then I have searched online and find some useful links which are shown below.

But still, as you know, we weren’t satisfied with the solution like, having as a startup script. Which will run whenever you just login to the system.

What if, we have left the laptop/desktop and power goes (But laptop/desktop running on battery/UPS), the startup script trick won’t solve our problem. Again, someone has to manually open browser and do the web login or start the batch file which was mentioned in the above files. So we have decided to find some easy solution which depends on the network connection.

Our home network setup:

I hope, now a days most of the home networks are like our network which was routed as below
BeamTele –> Wireless Router –> Laptops and Mobiles (Wi-Fi)

Pre-requisites:

  1. Open this link. https://docs.google.com/file/d/0B16cWwxzg0m5X1BPZXQySm5nV28/edit?usp=sharing
  2. Click on "File -> Download" to download the zip file
  3. Those files I have been copied from this link and modified the batch file
  4. Extract the zip file to a safe location, where you accidentally don’t delete the files. Please don’t put it in common download folder, you may accidentally delete it.
  5. You will find an wget.exe and related dlls along with a batch file.
  6. Move those wget.exe and dlls to C:/WINDOWS folder
  7. Let the batch file path be clear without any spaces in folder names (precaution)
  8. Please replace the username and password details with your Beam Tele userid and password in the batch file and don't forgot to save the file.
Note: Please place wget.exe and all the dlls in C:/WINDOWS folder. Because this path is already available in “PATH” environment variable
Out next step would be using this batch file and automatically running it whenever WLAN connected

Solution:

We have got an idea to create a task, which described below. Windows "Task Scheduler" is similar to "Cron Jobs" in Linux. So, lets start created "BeamTeleAutologin" task as described below.
  1. Whenever power goes off, router will be off (mostly, until unless you have connected your router also to an Inverter/UPS)
  2. If your router power goes off i.e. wireless router not connected any Inverter/UPS then blindly follow this method
  3. Create a task scheduler as described below
    • Search for “Task Scheduler” on Windows 7/8
    • Open “Task Scheduler”
    • Click on “Task Scheduler (Local)”
    • On right most (3rd) column, you will find an option like “Create Task”
    • Click on “Create Task”
    • In “General” tab, give a name of task like “Beam Tele Autologin” with some description (optional)
    • In “Security Options”, Choose “Run whether user logged in or not”
    • In “Configure for” dropdown, select “Your OS/Server OS” (Windows 7, Windows Server 2008 R2)
    • You can click on “Hide”, if you want to hide the task from library
    • Go to “Triggers” tab
    • Click on “New” button
    • Select “On an event” option from the “Begin the task” drop down
    • By default, “Basic” option get selected
    • From the “Log” dropdown, choose “Microsoft-Windows-WLAN-AutoConfig/Operational”
    • From “Source” dropdown, choose “WLAN-AutoConfig”
    • Put some delay task for some 1 minute (Optional)
    • Go to “Actions” tab
    • Select the batch file, which you have extracted from the downloaded “BeamTeleAutoLogin.zip”
    • Go to “Conditions” tab
    • Uncheck “Power” category options
      • (Deselect) Start the task only if computer is on AC power
      • (Deselect) Stop if computer switches to battery
    • Check “Network” category options
      • (Select) Start only if the following network connection is available
    • Select your “WLAN” name from the list
    • Go to “Settings” tab
    • Check the necessary options like
      • Allow task to be run on demand
      • From the only available drop down, select “Do not start a new instance”
    • Click on “Ok” button
  4. Go to “Task Schedule Library” from the “Task Scheduler”
  5. You can see the task as per the name give above like “Beam Tele Autologin”
  6. Select the corresponding task
  7. Now, on right side you can see options like “Run”, “End”, “Disable”, “Properties”, “Delete” (By right click on the task, you will be getting same options)
  8. If you want to edit the task, click on “Properties”
  9. If your router has power back up i.e. connected to some Inverter or UPS then just add these few lines at the starting in your batch file to make sure that Internet is connected by pinging public DNS
    • ping 8.8.8.8 | find "Reply"
    • if errorlevel 1 goto :eof

Testing the Autologin Task:

  1. To test this task is running or not, do the following
    • Open http://portal.beamtele.com in browser
    • If you have already logged in, you can see a “Logout” option
    • Click on “Logout” button
    • So, by now you are no longer connected to Internet. You need to manually enter the details to login.
    • Disconnect/Disable your WLAN connection. So, router is not connected to laptop/desktop.
    • Now, you run the task if its not running by selecting task, click on “Run”
    • Connect to your WLAN now
    • Do not enter any details for login
    • If everything was properly setup then it should login automatically with your credentials.
If its working fine, then enjoy the hack.
Note: Please send your feedback and comments to psrdotcom@gmail.com

References:



March 30, 2012

Become SecurityTube Wireless Security Expert and/or Metasploit Framework Expert with Certification by Watching Videos and Practising Online Labs

Hi friends,

From my M.Tech university Cyber Security group, I got an e-mail to learn more about wireless networks and doing penetration testing on it.

I would like to share the links to download the video tutorials.

Please find the links become
http://securitytube-training.com/certifications/

You can enroll to the courses of your choice.

They are providing free video tutorials also.

Wireless Security Expert Course Videos link

All videos in single ISO
http://securitytube.aircrack-ng.org/Wi-Fi-Security-Megaprimer/WLAN-Security-Megaprimer-v1.iso

Individual Videos link
http://securitytube.net/groups?operation=view&groupId=9

Hope some of you can use this facility to learn more.

Please send your feedback and queries to psrdotcom@gmail.com




November 24, 2011

Ubuntu 11.10 Oneric Wireless Drivers after upgrading Linux Kernel

Dear Macbook Pro Ubuntu users,

Today I have upgraded to the latest linux kernel 3.0.0.13.

My wireless connectivity is gone after rebooting.

Then I followed the same procedure to install/activate the wireless drivers


http://homepage.uibk.ac.at/~c705283/archives/2011/09/04/linux_support_for_broadcom_4331_wireless_chip_macbook_pro_81/index.html


After every kernel upgrade, please do the above procedure.

Now, my wireless connection is working on Macbook Pro.

Enjoy wireless with your Macbook Pro on Ubuntu.

November 02, 2011

Ubuntu 11.04 to 11.10 upgrade on MacBook Pro Early 2011 (13 inch) 8,1 Model booted from USB Pen Drive and Updated Wireless Drivers

Hi MacUbuntu Users,

I have upgraded Ubuntu 11.04 to 11.10 in Early MacBook Pro 13" (8,1) Model and the upgrade steps as follows.

1. We should have EFI boot enabled on the MacBook as per my previous post
2. Copied the Ubuntu 11.10_amd64+mac.iso to boot folder in the USB (as per the instructions from the EFI Boot)
3. Renamed the Ubuntu 11.10_amd64+mac.iso to boot.iso
4. Restarted the system and Hold the Option button
5. Select EFI (USB) to boot from the 11.10
6. After OS loading, click on Install 11.10 shortcut icon from the Desktop
7. Select Upgrade 11.04 to 11.10 option
8. Select timezone
9. Import 11.04 contacts, firefox bookmarks etc
10. It will take some time to copy and reinstall the packages
11. I got a error like, some packages are properly installed, please install manually.
12. After successfully upgrading the OS, reboot the mac.
13. When EFI display comes, please select EFI partition manager to update the grub
14. Once it has updated the grub, restart the mac and remove the USB pendrive
15. Now, you can boot to your Ubuntu 11.10 on MacBook Pro
16. Now, we need to install the wireless drivers. Please follow my previous post.
17. Then enjoy the latest Ubuntu on MacBook Pro

If you have any queries, please mail to psrdotcom@gmail.com

October 31, 2011

Ubuntu Installation on MacBook Pro with Wireless Drivers

Dear All,

I have installed Ubuntu 11.04 on MacBook Pro 13" with Wireless drivers successfully.

Since the 2.6.x.x version doesn't support default Apple MacBook Pro wireless drivers, I have installed it manually.

To install Ubuntu on Mac, I followed these steps
1. Installed rEFIt
2. By using Disk Utility in Mac Lion X, created empty partition
3. Downloaded CD of Ubuntu for Mac edition
4. I have booted the CD by holding the option key while restarting.
5. Install the Ubuntu.
6. Update Ubuntu with available updates.
7. Use some techniques to reduce the heat from board, Keyboard, Bluetooth, Mouse by following this link
8. But Mouse gestures and Wireless didn't worked for me when I followed the above method.
9. I followed this link, which makes me to connect to Wireless LAN successfully.

Now trying for mouse gestures to work and keyboard backlight control. Hope I will get it soon.

If you have any queries, contact me at psrdotcom@gmail.com

References:
https://help.ubuntu.com/community/MacBookPro8-1/Natty
http://homepage.uibk.ac.at/~c705283/archives/2011/09/04/linux_support_for_broadcom_4331_wireless_chip_macbook_pro_81/index.html

November 09, 2010

Dell Inspiron 1545 Wireless Problem Solution

Hi everyone,

Today one of my friend was faced an issue with the Dell Inspiron 1545 laptop.

The issue is Wireless in not enabled.

He is trying to activate the Wireless connectivity by pressing Function Key (Fn) + F2.

But that is not the correct key or combination to activate the wireless.

Solution:
Just press F2 button and try to reconnect to the wireless network.

Problem is solved. If any one facing the same issue, please solve it.

Featured Post

Java Introdcution

Please send your review and feedback to psrdotcom@gmail.com