Showing posts with label How To. Show all posts
Showing posts with label How To. Show all posts
How To – Create Cisco Switch with IOU [IOS On Unix] Loaded on CentOS
Posted by Ahsan Tasneem | 10:36 AM | CentOS, cisco, GNS3, How To, Linux, Qemu | 3 comments »
The tutorial describes steps
required for creating Cisco switch based on IOUl2. The Qemu image with
installed CentOS Linux is loaded with IOU image. The IOU (IOS on UNIX) instances are attached
to the network using iou2net.pl script written by Jeremy L. Gaddis. The script
forwards frames between a IOU instance and a Qemu network adapters. The script
is started using tap mode when Qemu interfaces are bridged with virtual tap
interfaces.
Cisco Switch Password Recovery - In Few Easy Steps
Posted by Ahsan Tasneem | 3:02 AM | cisco, How To | 1 comments »
Note: This article is based on a
Cisco Catalyst 2900, 3500XL, 2940, 2950, 2955, and 3550 switches, for other you
can search and find them easily using any search engine
To recover a password on a Cisco switch, you will have to be connected to the console port of the Cisco switch using 9600 baud, 8 bits, no parity, 1 stop bit, and xon/xoff flow control. I recommend using Hyperterminal that comes with Windows XP.
Once you are connected and see something on the terminal window when you press enter, unplug the power cable. Next, hold down the mode button on the front, as seen in the photo below, and connect the power cable.
On a 2900, 3500XL or 3550 (like the one shown) release the mode button after the 1x port LED goes out. On a 2940 or 2950 switch release the mode button after the stat light goes out. On a 2955, press the break key (ctrl-break on Windows) when you see the message that the switch will autoboot.
To recover a password on a Cisco switch, you will have to be connected to the console port of the Cisco switch using 9600 baud, 8 bits, no parity, 1 stop bit, and xon/xoff flow control. I recommend using Hyperterminal that comes with Windows XP.
Once you are connected and see something on the terminal window when you press enter, unplug the power cable. Next, hold down the mode button on the front, as seen in the photo below, and connect the power cable.
On a 2900, 3500XL or 3550 (like the one shown) release the mode button after the 1x port LED goes out. On a 2940 or 2950 switch release the mode button after the stat light goes out. On a 2955, press the break key (ctrl-break on Windows) when you see the message that the switch will autoboot.
Configuration: Windows native DialUP VPN client & Netscreen
Posted by Ahsan Tasneem | 12:30 AM | How To, Juniper, Juniper Networks, Netscreen, VPN, Windows | 5 comments »
As the subject of this topic states I want to create a dialup VPN to a Netscreen Firewall. To make it more complex I will choose the onboard Windows VPN client. At the moment only a few documentations exist and most of them contain only pieces of the whole setup process. Different threads in discussion groups out there state that the whole XP-VPN/Netscreen thing will not be possible but they lack the proof that this cannot be done.[How To] - Troubleshoot GNS3 Qemu
Posted by Ahsan Tasneem | 5:59 AM | GNS3, How To, Qemu | 2 comments »
Many
GNS3 users use Qemu emulator to run various network OS installed on Qemu images
– for example Olive, ASA, Vyatta and many others. Some users complain about not
having a network connections between these devices or a console window appears
and disappears after the short time. In both cases Qemu hosts are not started
properly and Qemu images don’t work.
This issues are typically caused by entering a wrong parameter in GNS3 setting. For instance when user checks a box “Use kvm” in GNS3 settings and CPU doesn’t support kvm or kvm is not enabled in BIOS, it ends with warning message “unknown parameter kvm” and Qemu image is not started. Please remember that kvm is not supported by Windows so you shouldn’t have “Use kvm” checked if GNS3 is installed on Windows.
Another issue mainly occurs on Linux and Mac OS and it is caused by using unpatched Qemu binary. GNS3 create UDP tunnels in order to make connection between Qemu devices and that is why Qemu source have to be patched for UDP tunnels, compiled and installed by user. Although many Linux distributions already have Qemu installed in /usr/bin/ directory, this version of Qemu is unlikely to be patched for UDP tunnels. For this reason the Qemu doesn’t understand parameter -net type udp and it is halted after its start.
As long as patched Qemu binary is included in GNS3 all-in-one package, the Windows users don’t need to patch, compile and install Qemu by themselves.
Except of the wrong parameters I have already mentioned there can be another problems which prevent Qemu starting successfully. If you find Qemu difficult to start you should consider to do following troubleshooting to find out the reasons why Qemu doesn’t work.
This issues are typically caused by entering a wrong parameter in GNS3 setting. For instance when user checks a box “Use kvm” in GNS3 settings and CPU doesn’t support kvm or kvm is not enabled in BIOS, it ends with warning message “unknown parameter kvm” and Qemu image is not started. Please remember that kvm is not supported by Windows so you shouldn’t have “Use kvm” checked if GNS3 is installed on Windows.
Another issue mainly occurs on Linux and Mac OS and it is caused by using unpatched Qemu binary. GNS3 create UDP tunnels in order to make connection between Qemu devices and that is why Qemu source have to be patched for UDP tunnels, compiled and installed by user. Although many Linux distributions already have Qemu installed in /usr/bin/ directory, this version of Qemu is unlikely to be patched for UDP tunnels. For this reason the Qemu doesn’t understand parameter -net type udp and it is halted after its start.
As long as patched Qemu binary is included in GNS3 all-in-one package, the Windows users don’t need to patch, compile and install Qemu by themselves.
Except of the wrong parameters I have already mentioned there can be another problems which prevent Qemu starting successfully. If you find Qemu difficult to start you should consider to do following troubleshooting to find out the reasons why Qemu doesn’t work.
How To Change iPhone Root Password [Step by Step Guide]
Posted by Ahsan Tasneem | 5:45 AM | How To, iPhone, Jailbreak | 0 comments » Note: Tested on jailbroken 2.2.1 3G
So you forgot the root or mobile password to your jailbroken iphone and can't ssh into it any more. Well then don’t worry have a solution to that. Follow the instructions below to set a new password.
A note: apparently the 'passwd' utility just screws everything up, so never use that in-case that's still true.
Just so you know what we're doing, our objective is to get root write control to the file system so you can change the password in /etc/master.passwd . This should be simple as all apps run as root (or so I hurd). We do this by installing iFile, copying
Note that everything is (obviously) 'minus quotes'. That means if I say type "echo hello" don't type those double quotes.
A note: apparently the 'passwd' utility just screws everything up, so never use that in-case that's still true.
Just so you know what we're doing, our objective is to get root write control to the file system so you can change the password in /etc/master.passwd . This should be simple as all apps run as root (or so I hurd). We do this by installing iFile, copying
Note that everything is (obviously) 'minus quotes'. That means if I say type "echo hello" don't type those double quotes.
[How To] - Untethered JailBreak iOS 5.0.1 For A4 Devices Only
Posted by Ahsan Tasneem | 3:58 AM | Apple, How To, IOS, Jailbreak, Untethered | 3 comments »Finally, the day has arrived. The much awaited exploit from @Pod2G which was in development from few days is now released from DevTeam. You can apply the untethered from the tweak which has instantaneously come up in Cydia from @P0sixninja. If you are currently using a tethered JailBreak on iOS 5.0/iOS 5.0.1, open Cydia, search for ‘Corona’ and install it. After the reboot, you would be on an untethered JailBreak.
iPhone3GS
iPhone4
iPhone4-CDMA
iPad1
iPod touch 3G
iPod touch 4G
However, you always have the other alternative. You can download the recently updated Redsn0w from the DevTeam, run it over the tethered JailBroken iDevice , follow the instructions and you are done. Only the following A4 based devices are supported :
iPhone3GS
iPhone4
iPhone4-CDMA
iPad1
iPod touch 3G
iPod touch 4G
[How To] - Use Spire To Legally Install Siri on iPhone 4, 3GS, iPod touch 4G, 3G and iPad 1
Posted by Ahsan Tasneem | 1:52 AM | Apple, How To, iPad, iPhone, iPod, Siri, Spire | 0 comments »Now install Siri on iPhone 4, iPhone 3GS, iPod touch 4G, iPod touch 3G and iPad 1 legally with Spire. Yes, the well-know iPhone developer Chpwn was managed to port Siri on older iDevices that running jailbroken iOS 5.x.x with new amazing Cydia teak called Spire. Let's see how to do this after the jump.
How to get Spire to install Siri on iPhone 4G, 3GS, iPod touch 4G, 3G, iPad 1 :
Spire is available right now on Cydia via BigBoss repo only you have to open Cydia and search for Spire, if you did not found, tap on manage > Sources > Edit > Add the following repo :
http://smolk.myrepospace.com/
[How To] - Enable USB Debugging in Kindle Fire
Posted by Ahsan Tasneem | 8:55 PM | Amazon, Android, How To, Kindle, Kindle Fire | 0 comments »Developers may notice that the Amazon Kindle Fire doesn’t come with a USB Debugging setting. There is no way to enable USB Debugging on the actual device to allow you to connect it to Android development tools. There is a hack available to make it work though.
Note: This tutorial assumes you have the Android SDK and platform tools installed.
Windows
1. Download and extract the Google USB Drivers.
2. Replace the android_winusb.inf file in the Google USB Driver folder with this one.
3. Connect your Kindle Fire. When it prompts you for a driver, point it to the Googleusb_driver folder. If Windows has already tried to find a driver, right-click My Computer/Computer then select Manage > Device Manager > Other Devices, then right-click Kindle and select Update Driver Software…
4. Hold down the Windows key and press R to bring up the run dialog and type %USERPROFILE% then click OK.
Note: This tutorial assumes you have the Android SDK and platform tools installed.
Windows
1. Download and extract the Google USB Drivers.
2. Replace the android_winusb.inf file in the Google USB Driver folder with this one.
3. Connect your Kindle Fire. When it prompts you for a driver, point it to the Googleusb_driver folder. If Windows has already tried to find a driver, right-click My Computer/Computer then select Manage > Device Manager > Other Devices, then right-click Kindle and select Update Driver Software…
4. Hold down the Windows key and press R to bring up the run dialog and type %USERPROFILE% then click OK.
[How To] - Root Kindle Fire 6.2.1 Using BurritoRoot
Posted by Ahsan Tasneem | 2:03 AM | Amazon, BurritoRoot, How To, Kindle, Kindle Fire | 0 comments »A few days ago Amazon released an update for Kindle Fire. This update version 6.2.1 bought some great feature and performance improvements but it also broke all previous method to root Kindle Fire. Today a new root tool called BurritoRoot has been released for the Kindle Fire.
The tool is released by Android Police, a popular blog covering all about android. BurritoRoot not only works on software 6.2.1, but on all currently known versions of the Kindle Fire’s OS.
The tool is released by Android Police, a popular blog covering all about android. BurritoRoot not only works on software 6.2.1, but on all currently known versions of the Kindle Fire’s OS.
"Our own Justin Case got right to work; and after a night’s worth of coding, with a group of fellow devs helping him through the testing process, he developed a new method to root the Kindle Fire — a method that works not only on software 6.2.1, but on all currently known versions of the Fire’s OS (future updates make break this)"
How To: Install Microsoft OCS 2007 - Part 3
Posted by Ahsan Tasneem | 5:24 AM | How To, Microsoft, Microsoft OCS, Microsoft OCS 2007 | 1 comments »This should be a short post, we’ll just be finishing up the installation so you can start some OCS 2007 testing internally. I purposely chose a different internal and external domain like many companies will do so that you can see how you have to use a "split-brain" DNS model. The split part simply means that you need to have a zone defined internally that matches your external SIP domain, which is also likely to be your e-mail domain.
Configure Internal DNS
Open the DNS management tool and expand the Forward Lookup Zones folder.

Configure Internal DNS
Open the DNS management tool and expand the Forward Lookup Zones folder.
How To: Install Microsoft OCS 2007 - Part 2
Posted by Ahsan Tasneem | 5:24 AM | How To, Microsoft, Microsoft OCS, Microsoft OCS 2007 | 0 comments »Last time we left off about halfway through the OCS 2007 installer. This part should run through the end of the initial installation process. I’ll cover some of the initial configuration on the next part.
Configure Internal Certificate
The Configure Server section should now have a green checkmark next to it. Click the Run button under Configure Certificate to continue.

Configure Internal Certificate
The Configure Server section should now have a green checkmark next to it. Click the Run button under Configure Certificate to continue.
How To: Install Microsoft OCS 2007 - Part 1
Posted by Ahsan Tasneem | 5:23 AM | How To, Microsoft, Microsoft OCS, Microsoft OCS 2007 | 2 comments »Assumed Pre-Existing Environment

This will be the first part of many in showing the steps necessary for standing up an OCS 2007 server. In the examples that follow the internal domain name is ptown.com and the SIP domain, or my external facing address will be confusedamused.com
tap-dc-2k3.ptown.com
Domain Controller for ptown.com
DNS Server for ptown.com
Certificate Authority named P-Town Certificate Authority
Domain in 2003 Native Mode
IP Configuration: 192.168.0.10 / 24
Gateway: 192.168.0.1
DNS: 127.0.0.1
tap-ocs-2k7.ptown.com
Blank Windows 2003 Server joined to the ptown.com domain
IIS Installed with ASP.net enabled
Adminpak.exe installed
IP Configuration: 192.168.0.20 / 24
Gateway: 192.168.0.1
DNS: 192.168.0.10
Schema Preparation
This will be the first part of many in showing the steps necessary for standing up an OCS 2007 server. In the examples that follow the internal domain name is ptown.com and the SIP domain, or my external facing address will be confusedamused.com
tap-dc-2k3.ptown.com
Domain Controller for ptown.com
DNS Server for ptown.com
Certificate Authority named P-Town Certificate Authority
Domain in 2003 Native Mode
IP Configuration: 192.168.0.10 / 24
Gateway: 192.168.0.1
DNS: 127.0.0.1
tap-ocs-2k7.ptown.com
Blank Windows 2003 Server joined to the ptown.com domain
IIS Installed with ASP.net enabled
Adminpak.exe installed
IP Configuration: 192.168.0.20 / 24
Gateway: 192.168.0.1
DNS: 192.168.0.10
Schema Preparation
How To: Step By Step Jailbreak iPhone 4S
Posted by Ahsan Tasneem | 11:44 PM | Hakintosh, How To, iPhone, Jailbreak, limera1n | 2 comments »IPhone 4S’s owners, if you are fed up with your device can’t be used on other carriersexcept official bounded one or worried about it can’t use other Apps except Apple apps. If yes, today you can solve these problems through unlock or jailbreak your devices.
1. Install more software, including software sold in App Store.
2. Beautify your iPhone.
3. Fix some bugs of the iPhone.
4. Enhance the system funcationality.
If you have one officially unlocked device, It is absolutely nice you can enjoy alladvantages than locked device owner from using different local carrier SIM cards when travel. That is convenience and will save a plenty of cash for data roaming services. Nevertheless how to get this unlocked device? Perhaps your first reaction is to get one from Apple Store, although costs you much it is still better than having to pay higher international data roaming charges. Luckily there is a worthy solution for you is jailbreak and unlock your device.
Tutorial Video - Asterisk Download & Installation
Posted by Ahsan Tasneem | 9:17 AM | Asterisk, AsteriskNOW, How To, VoIP | 0 comments »Asterisk® is a complete IP PBX in software. It runs on a wide variety of operating systems including Linux, Mac OS X, OpenBSD, FreeBSD and Sun Solaris and provides all of the features you would expect from a PBX including many advanced features that are often associated with high end (and high cost) proprietary PBXs. Asterisk® supports Voice over IP in many protocols, and can interoperate with almost all standards-based telephony equipment using relatively inexpensive hardware.
Article Source: Blinghog.net
How To: Auto-Restart Asterisk
Posted by Ahsan Tasneem | 8:57 AM | Asterisk, AsteriskNOW, How To, VoIP | 0 comments »Configure your inittab file to restart Asterisk automatically if it ever crashes.
This tutorial assumes you have root access and you are running your asterisk server as user “asterisk” instead of “root”.
1. Configure your inittab file for asterisk.
[root@localhost]#vi /etc/inittab
.
.
.
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6
ax:2345:respawn:/usr/sbin/asterisk -qf -U asterisk -G asterisk
.
.
This tutorial assumes you have root access and you are running your asterisk server as user “asterisk” instead of “root”.
1. Configure your inittab file for asterisk.
[root@localhost]#vi /etc/inittab
.
.
.
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6
ax:2345:respawn:/usr/sbin/asterisk -qf -U asterisk -G asterisk
.
.
How To - Unlock your iPhone using Ultrasn0w
Posted by Ahsan Tasneem | 11:27 PM | Hakintosh, How To, itunes, Jailbreak, Redsn0w, Ultrasn0w | 1 comments »After your phone had jailbroken you had to unlock it. I have done it recently on my iphone 3GS using ultrasn09
ultrasn0w requirements:1. iPhone 3.0 firmware
2. iPhone 3G or 3GS
3. Jailbroken iPhone
Open Cydia and click Manage, then Click Sources, then Edit (right top corner), Click Add (Left top corner)
Enter unltrasn0w repository http://repo666.ultrasn0w.comHow To - Bridging GNS3 to a wireless NIC (linux and windows)
Posted by Ahsan Tasneem | 2:10 AM | GNS3, How To, Simulator, Wireless | 0 comments »While poking around the new GNS3.net forum, I found two very interesting howto posts. Jeremy Grossman (gns3 author) describes the processes needed to bridge a wireless NIC to GNS3 using both Linux and Windows.
Here are the links:
Multicast Stream – Tandberg MXP 990
Posted by Ahsan Tasneem | 5:13 AM | How To, Multicast, Streaming, Tandberg | 0 comments »Make sure that the PC is connected to the same LAN (or multi-cast enabled WAN) as the codec that is to be streaming
Note: The entire configuration related to my IP settings are erased or replaced with ‘X’. Please let me know if you face any problem, and keep following @ahsantasneem for more
Step 1: Static Public IP assignment, entering in all the IP fields for address, subnet mask, and gateway and DNS.
Configuring Cisco Secure ACS for Windows PEAP-MS-CHAPv2 - [Part 2]
Posted by Ahsan Tasneem | 5:02 AM | cisco, Cisco ACS, How To, Linksys, RADIUS, Vmware | 0 comments »Configure the Wireless Network Connection
Complete these steps:
- Log off and then log on by using the WirelessUser account in the wirelessdemo.local domain.
- Choose Start > Control Panel, double-click Network Connections, and then right-click Wireless Network Connection.
- Click Properties, go to the Wireless Networks tab, and ensure that the Use Windows to configure my wireless network settingsis checked.

- Click Add.
- Under the Association tab, type Employee in the Network name (SSID) field.
- Select WPA for the Network Authentication and ensure that Data Encryption is set to TKIP.
Configuring Cisco Secure ACS for Windows PEAP-MS-CHAPv2 - [Part 1]
Posted by Ahsan Tasneem | 5:00 AM | cisco, Cisco ACS, How To, Linksys, RADIUS, Vmware | 3 comments »Introduction
I was working on improving and managing (logging) the security of my wireless network and for this purpose I was searching for steelbelted RADIUS which used to be a freeware, but recently I found that Juniper bought it and its no more freeware now. Therefore I started looking for an alternative and I found one that is Cisco ACS. My plan was to place RADIUS behind the wireless routers placed in my office and authenticate the users trying to connect to Wifi through RADIUS server preventing the unauthorized users access and also generate their logs. Below article helped me in the process I have also specified the changes done by me to make things work. The procedure mentioned below is for the workgroup environment not for the Domain environment.
Do let me know if you face any problem I'll be posting more on this soon keep following @ahsantasneem
[Contd..]
Subscribe to:
Comments (Atom)





