Saturday, February 26, 2011

How to Enable Telnet in your Windows 7 Operating System

Ok, been wondrin for a while why the hell telnet is not available in my Windows 7 workstation. I am using telnet a lot so I did some research. Windows 7 disabled the Telnet by default, so basically, the answer is pretty simple.

Win + R and type appwiz.cpl

Turn Windows features on or off

Scroll down and check the Telnet Client box.

Hit OK and you're done. Enjoy!
Thursday, February 24, 2011

Install and configure NTP in Centos 5.5

You can easily install NTP (Network Time Protocol, a means of transmitting time signals over a computer network) using yum command under Redhat or CentOS/Fedora core Linux.

Login to shell:

yum install ntp

chkconfig ntpd on

ntpdate pool.ntp.org

/etc/init.d/ntpd start


Done!
Thursday, February 10, 2011

Creating Portable Apps using VMware Thinapp

Okay, been using this for years and just wan't to show how its done.

You could create your personal portable applications or games using vmware thinapp. this is a very useful tool specially if you want a specific apps/games to be plug and play in your usb stick or whatever. here's how to.

Im going create a portable mozilla firefox.

install vmware thinapp.
run the thinapp setup capture

click next

start the precan

install the application and configure it to whatever settings you want

click the postscan and keep on next until the entry points. select only the application you've installed.

keep hitting next until you were asked to build the application.

you're done.
Saturday, February 5, 2011

Configuring the PPTP VPN client under Windows XP

Start > Control Panel > Network Connections

File > New Connection > Next

Connect to the network at my workplace > Next

Select VPN connection > Next

Enter descriptive name for connection > Next





Do not dial the initial connection > Next

Enter hostname or PUBLIC IP address of the PPTP server > Next

now try to connect by entering the Username and Password and click Connect.




verifying, registering.. and done!

How to setup PPTP VPN server using pfSense

Login to your pfSense administration panel and configure the VPN PPTP.

go to VPN > PPTP > Configuration


Tick the radio button "Enable PPTP server"
Enter the Server address (Enter the Public IP address the PPTP server should use on its side for all clients.)
Enter the Remote address range. (eg. 10.22.20.0/28)
Click Save

Add a Firewall Rule.


go to Firewall > Rules

Allow it all or block some ports and protocols. Mine is allow all.

Add Users


go to VPN > PPTP > Users

Enter the Username and Password aswell as the IP. Make sure that its covered under the Remote address range that was setup in your configuration. (eg. 10.22.20.22)

Following this, you should have a working PPTP VPN server working.
Thursday, February 3, 2011

Setting Timeout Options for Remote Desktop Connections

You can set the maximum amount of idle time allowed for remote desktop connections.

To Set Timeout Options for Remote Desktop Connections

  1. From your computer's Start menu, point to Programs, point to Admin Tools, and then click Terminal Services Configuration.
  2. In the right pane of the window, click RDP-Tcp.
  3. Click the Sessions tab.
  4. Specify the values you want to use.

Linksys PAP2-NA Phone Adapter Configuration Instructions

Connect the Phone Adapter as illustrated:





Enter the Configuration Menu:

Look for IP Address of the phone adapter
Pick up the phone and type * * * * (star key x 4)
Type 110#
The IP address would be read out

Type the IP address onto the address bar of your browser.

Click “Admin Login” as illustrated


System Settings

Click on “System” Tab and enter the information as illustrated. Click “Save Settings” when done.


SIP Settings

Click on “SIP” Tab and enter the information as illustrated. Click “Save Settings” when done.


Configure Line 1 or 2

Click on “Line 1” Tab and enter the information as illustrated.  Click “Save Settings” when done.




Default port for SIP is 5060.

How to install Centos 5.5 on Microsoft Hyper-V

Basically, you will be able to install any linux operating system using hyper-v, but the main problem is there is no network! I tried to google a bit and found a solution. this is via installation of linux intergration services.

Download the file here:
http://www.microsoft.com/downloads/en/details.aspx?displaylang=en&FamilyID=eee39325-898b-4522-9b4c-f4b5b9b64551


Installing Linux Integration Services Version 2.1 on Red Hat Enterprise Linux 5

In Hyper-V Manager, configure LinuxIC v21.ISO (located in the directory where you extracted the downloaded files) as a physical CD/DVD drive on the virtual machine.


As the root user, mount the CD in the virtual machine by issuing the following commands at a shell prompt:
mkdir /mnt/cdrom
mount /dev/cdrom /mnt/cdrom

Copy Linux Integration Services to the virtual machine. For example:
mkdir /opt/linux_ic_v21_rtm
cp –R /mnt/cdrom/* /opt/linux_ic_v21_rtm

As the root user, run the following command to compile and install the synthetic drivers. A reboot is required after installation.
cd /opt/linux_ic_v21_rtm/
make
make install
reboot

and congrats, you have a Linux OS running in Microsoft Hyper-V.

Blog Archives