Skip to main content

Posts

Showing posts from March, 2013

Unable to open kernel device . global vmx86 windows 7

Suddenly I encounter a weird problem with VMware 9 version. I install different OS for my education and testing purposed. Like MAC os, Ubuntu, CentOS, BT, WinXP, Win-server 2003. When I tried to run one of this OS a error message appear. unable to open kernel device "\\.Global\vmx86": The system cannot find the file specified. Did you reboot after installing VMware Workstation? Failed to initialize monitor device. Click ok you can see this window After googling I found one solution in developer forum but thread starter never use that method. So I tried it and here is my finding. Go to the directory of vmware installed  (In my case I run it as Administrator) C:\Program Files (x86)\VMware\VMware Workstation>   ( I've 32-bit apps on 64-bit OS, your may be different) Run this command vnetlib -- uninstall vmx86  reboot Go to the same directory and check net start command - this time it should say "service name  is invalid&quo

Telnet for ubuntu

Install Telnet in ubuntu Desktop Telnet is not secure to use in production. But sometime we need it. I tried it for educational purpose and for my knowledge . To isntall the Telnet, use this command jay@jay-vm:~$ sudo apt-get install telnetd [sudo] password for jay: (type your password here) Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed:   openbsd-inetd The following NEW packages will be installed:   openbsd-inetd telnetd 0 upgraded, 2 newly installed, 0 to remove and 538 not upgraded. Need to get 73.1 kB of archives. After this operation, 303 kB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://np.archive.ubuntu.com/ubuntu/ precise/main openbsd-inetd i386 0.20091229-1ubuntu1 [30.5 kB] Get:2 http://np.archive.ubuntu.com/ubuntu/ precise/universe telnetd i386 0.17-36build1 [42.6 kB] Fetched 73.1 kB in 0s (105 kB/s) Selecting previously unsele

SSH Ubuntu

Enable SSH(Secure Shell) in ubuntu jay@jay-vm:~$ sudo apt-get install openssh-server Reading package lists... Done Building dependency tree Reading state information... Done openssh-server is already the newest version. (I already done it, your output may different from this) After installing ssh, you can login with default port 22. If you don't like default port, you can edit following file to change it. jay@jay-vm:~$ sudo vi /etc/ssh/sshd_config [sudo] password for jay: jay@jay-vm:~$ sudo service ssh restart From now you can login with new port.

Text editor in ubuntu

Install full function of file editor in ubuntu. I install ubuntu and try to edit the text likes on centOS but all shortcut key is not working properly, why that so, then I found default install vim is not full package. Ubuntu default vim editor doesn't have full function of text edit. So we need to install extra packages to work it smoothely. For that go to the console and type the following command jay@jay-vm:~$ sudo apt-get install vim [sudo] password for jay The output screen may show files to be downloaded just type Yes Now you have full function vim editor. Every shortcut key must work.

FTP server in Ubuntu desktop

How to install vsFTP in ubuntu desktop? First# Install vsftpd Type following commnad $sudo apt-get install vsftpd Second# Configure /etc/vsftpd.conf You need to modified default /etc/vsftdp.conf file to access to the ftp server $sudo vim /etc/vsftpd.conf Make sure following lines should be uncomment listen=yes local_enables=yes write_enables=yes dirmessage_enable=yes use_locatime=yes xfrelog_enable=yes connect_from_port_20=yes ftpd_banner=Welcome to Jay FTP server chroot_local_user=yes chroot_list_enable=yes chroot_list_file=/etc/vsftpd.chroot_list Third#Now make a file name vsftpd.chroot_list  (Otherwise you may encounter following  error, 500 OOPS: could not read chroot() list file:/etc/vsftpd.chroot_list) $ sudo vi /etc/vsftpd.chroot_list (add a user on this file) e.g jay ( Fourth# Restart vsftpd $sudo /etc/init.d/vsftpd.restart To check your ftp server is working or not just use this command $ftp localhost If all setting is fine then y

Install LibreOffice in BackTrack 5 r3 and Kali

Install LibreOffice Backtrack 5 r3 and Kali Sometime I need office to prepare document of the project and some other office work, So I decide to install office in BT or Kali rather switch back window.  I'm going to download 64 bit version of office. You can download of your choice of office. From the command console just type root@bt:~# cd /tmp root@bt:/tmp# wget wget http://download.documentfoundation.org/libreoffice/stable/4.0.1/deb/x86_64/LibreOffice_4.0.1_Linux_x86-64_deb.tar.gz or Click here to choose of your choice of Libre Now untar the file using following command root@bt:/tmp# tar -zxvf LibreOffice_4.0.1_Linux_x86-64_deb.tar   Enter to folder root@bt:/tmp# cd LibreOffice_4.0.1.2_Linux_x86-64_deb/ root@bt:/tmp/LibreOffice_4.0.1.2_Linux_x86-64_deb# dpkg -i *.deb deb package is found under DEBS directory root@kali:~/Desktop/LibreOffice_4.1.1.2_Linux_x86_deb/DEBS# dpkg -i *.deb (Libre version for Kali is different because its new) Output look lik

iperf Test Throughput of link

In my day to day office work. I need to check actual throughput of the local link, that should be wire or wireless. For that process I use iperf tool which is perfect tool for the purpose. Here I write tutorial how to use that tool. I'm using this tool for window, so download iperf for window and place it in Desktop or as your choice. Now go to that folder using cd [FolderName], in my case I place it on desktop. C:\Users\jpudasaini\Desktop\iperf>dir 03/13/2013  08:07 AM    <DIR>          . 03/13/2013  08:07 AM    <DIR>          .. 08/15/2010  01:54 AM            46,094 cyggcc_s-1.dll 08/15/2010  01:54 AM           791,566 cygstdc++-6.dll 08/31/2010  09:00 AM         2,648,181 cygwin1.dll 06/22/2011  03:56 PM    <DIR>          doc 03/13/2013  07:09 AM         1,268,927 iperf-2.0.5-2-win32.zip 02/02/2011  02:00 PM            95,125 iperf.exe 03/13/2013  08:07 AM               298 test.txt                6 File(s)      4,850,191 bytes