VMware : Virtual Network Device unable to load/compile-VM Player 4.0.2 in Ubuntu 12.04

 

VMware Workstation version 8.0.2 build-591240 and the vmmon module compiles, but the vmnet module fails..

 

Virtual Network Device unable to load/compile-VM Player 4.0.2 in Ubuntu 12.04

 

Here ins the steps to solve this issue

Download and install – VMware Workstation version 8.0.2 build-591240.bundle from Vmware site

 

kartook@kartook:~/Downloads$ wget http://communities.vmware.com/servlet/JiveServlet/download/1902218-80055/vmware802fixlinux320.tar.gz
kartook@kartook:~/Downloads$ ls
vmware802fixlinux320.tar.gz
kartook@kartook:~/Downloads$ tar zxvf vmware802fixlinux320.tar.gz
patch-modules_3.2.0.sh
vmware3.2.0.patch
kartook@kartook:~/Downloads$ su
Password:
root@kartook:/home/kartook/Downloads# ./patch-modules_3.2.0.sh
patching file vmnet-only/filter.c
patching file vmnet-only/netif.c
patching file vmnet-only/userif.c
Stopping VMware services:
VMware Authentication Daemon                                        done
VM communication interface socket family                            done
Virtual machine communication interface                             done
Virtual machine monitor                                             done
Blocking file system                                                done
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-root/modules/vmmon-only’
make -C /lib/modules/3.2.0-24-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-24-generic’
CC [M]  /tmp/vmware-root/modules/vmmon-only/linux/driver.o
CC [M]  /tmp/vmware-root/modules/vmmon-only/linux/driverLog.o

//
//
//
//
make[1]: Entering directory `/tmp/vmware-root/modules/vsock-only’
make[1]: `postbuild’ is up to date.
make[1]: Leaving directory `/tmp/vmware-root/modules/vsock-only’
cp -f vsock.ko ./../vsock.o
make: Leaving directory `/tmp/vmware-root/modules/vsock-only’

** (vmware-installer.py:12702): WARNING **: The connection is closed
Built vsock module
Starting VMware services:
Virtual machine monitor                                                          done
Virtual machine communication interface                             done
VM communication interface socket family                            done
Blocking file system                                                                     done
Virtual ethernet                                                                          done
VMware Authentication Daemon                                        done
Shared Memory Available                                             done

All done, you can now run VMWare WorkStation.
Modules sources backup can be found in the ‘/usr/lib/vmware/modules/source-workstation8.0.2-2012-05-02-09:35:44-backup’ directory
root@kartook:/home/kartook/Downloads#

Thanks

Kartook

 

 

Possibly Related Posts:


How to Install and Configure GNS3 v0.8.2 ubuntu 11.10 x64

I spend a lot of time to make sure this all working fine . i googled and make this is possible to know all .

 

may be anyone can installGNS3 through this .

Step : 1

Installing dependencies

four-20@Pre-420:~/Desktop$ su
Password:
root@Pre-420:/home/four-20/Desktop# cd /
root@Pre-420:/#
root@Pre-420:/#apt-get update
root@Pre-420:/#apt-get install python
root@Pre-420:/#apt-get install qt4-dev-tools
root@Pre-420:/#apt-get install pyqt4-dev-tools
root@Pre-420:/#apt-get install libncurses5-dev zlib1g-dev libsdl-dev libpcap-dev

Step : 2

root@Pre-420:/# cd /opt/
root@Pre-420:/opt# mkdir GNS3
root@Pre-420:/opt# chmod 777 GNS3
root@Pre-420:/opt# cd GNS3/

Step : 3
Creating Folders

root@Pre-420:/opt#mkdir Dynamips
root@Pre-420:/opt#mkdir IOS
root@Pre-420:/opt#mkdir Project
root@Pre-420:/opt#mkdir Cache
root@Pre-420:/opt#mkdir tmp
root@Pre-420:/opt#mkdir qemu

Step : 4
Assign Folder Permissions

root@Pre-420:/opt#chmod 777 Dynamips
root@Pre-420:/opt#chmod 777 IOS
root@Pre-420:/opt#chmod 777 Project
root@Pre-420:/opt#chmod 777 Cache
root@Pre-420:/opt#chmod 777 tmp
root@Pre-420:/opt#chmod 777 qemu

 Step : 5

Download required files

5 a . GNS3 Download :

root@Pre-420:/opt/GNS3#wget http://sourceforge.net/projects/gns-3/files/GNS3/0.8.2-BETA2/GNS3-0.8.2-BETA2-src.tar.gz/download

5 b. Dynamips Download :

root@Pre-420:/opt/GNS3#cd Dynamips
root@Pre-420:/opt/GNS3/Dynamips#wget http://www.ipflow.utc.fr/dynamips/dynamips-0.2.8-RC2-amd64.bin

5 c . Qemu and patch download

root@Pre-420:/opt/GNS3#cd qemu
root@Pre-420:/opt/GNS3/qemu#wget http://download.savannah.gnu.org/releases/qemu/qemu-0.11.0.tar.gz

Step : 6

Setting up the GNS3 files and Permission

root@Pre-420:/opt/GNS3#tar -xjvf GNS3-0.8.2-src.tar.gz
root@Pre-420:/opt/GNS3#rm GNS3-0..8.2–src.tar.gz
root@Pre-420:/opt/GNS3#chmod 777 GNS3-0..8.2–src
root@Pre-420:/opt/GNS3#cd GNS3-0.8.2-src
root@Pre-420:/opt/GNS3#chmod 777 *.*

Step : 7
Settingup the permission for Dynamips
root@Pre-420:/opt/GNS3/Dynamips#chmod 777 dynamips-0.2.8-RC2-amd64.bin

Step : 8

installing and patching the Qemu

root@Pre-420:/opt/GNS3/qemu#tar xvzf qemu-0.11.0.tar.gz
root@Pre-420:/opt/GNS3/qemucd qemu-0.11.0
root@Pre-420:/opt/GNS3/qemu/qemu-0.11.0#wget http://downloads.sourceforge.net/gns-3/qemu-0.11.0-olive.patch?download
root@Pre-420:/opt/GNS3/qemu/qemu-0.11.0#patch -p1 -i qemu-0.11.0-olive.patch
root@Pre-420:/opt/GNS3/qemu/qemu-0.11.0#./configure –target-list=i386-softmmu
root@Pre-420:/opt/GNS3/qemu/qemu-0.11.0#make
root@Pre-420:/opt/GNS3/qemu/qemu-0.11.0#sudo make install

Step : 9

Setting a Shortcut on MainMenu

Type : Application

Name : GNS3

Command:/opt/GNS3/GNS3-0.8.2-src/gns3

Step : 10

Find the qemu path

root@Pre-420:~# which qemu
/usr/local/bin/qemu

root@Pre-420:~# which qemu-img
/usr/local/bin/qemu-img

Qemuwrapper.py

/opt/GNS3/GNS3-0.8.2-src/qemuwrapper/qemuwrapper.py

 

 


That is all .. good luck !!!

Possibly Related Posts:


ubuntu-11.10 – Compile tsclient 0.150 on Ubuntu 11.10

Ubuntu 11.10 does not include tsclient any more and the alternatives are unusable, i tried different methods to workout .

Download tsclient 0.150 from sourceforge.

 

root@Pre-420:/home/four-20/Downloads/tsclient-0.150# sudo apt-get install libxml-parser-perl gtk+2-dev
root@Pre-420:/home/four-20/Downloads/tsclient-0.150#./configure --disable-gnome
root@Pre-420:/home/four-20/Downloads/tsclient-0.150#make install

 

 

Possibly Related Posts:


Unpack script ASA 8.4(2) under QEMU with GNS3

Full credit goes to our good community friend “dmz” from 7200emu.hacki forum.
He was able to write a patch that automates the process of extracting the kernel and initrd of version 8.4(2).

This really saves us all from the burden of finding the right offset location of the header not mentioning all the necessary patches that needs to be done to be able to run the asa with as much features as possible.

DISCLAIMER: All the information provided in this post are for self-education purposes only. Use it at your own risk.

 

I’m using ubuntu 10.10-64 bit , but you can use any Linux or Unix distros that you have, as the patch doesn’t need any special package to run.

1. Prepare your asa842-k8.bin image. You can get one from cisco website using your cco account.
2. Get the script  (( repack.v4.sh )) unpack the file and make it executable.

bash-4.1#
bash-4.1# tar xvf repack.v4.sh.tar
repack.v4.sh
bash-4.1#
bash-4.1# chmod +x repack.v4.sh
bash-4.1#

3. Run the script with a privilege user:

 

bash-4.1#
bash-4.1# sudo ./repack.v4.sh asa842-k8.bin
Repack script version: 4
Detected syslinux/cdrtools – ISO will be created
1359344+0 records in
1359344+0 records out
1359344 bytes (1.4 MB) copied, 4.88292 s, 278 kB/s
23697936+0 records in
23697936+0 records out
23697936 bytes (24 MB) copied, 83.464 s, 284 kB/s
/tmp/tmp.kjYBVS /home

gzip: /home/asa842-initrd-original.gz: decompression OK, trailing garbage ignored
114476 blocks
114476 blocks
114476 blocks
/home
/tmp/tmp.xn9fHR /home
Setting input-charset to ‘ISO-8859-1′ from locale.
Size of boot image is 4 sectors -> No emulation
 21.04% done, estimate finish Mon Jan 06 08:54:54 2011
 42.00% done, estimate finish Mon Jan 06 08:54:54 2011
 63.00% done, estimate finish Mon Jan 06 08:54:54 2011
 84.03% done, estimate finish Mon Jan 06 08:54:54 2011
Total translation table size: 2048
Total rockridge attributes bytes: 0
Total directory bytes: 2048
Path table size(bytes): 26
Max brk space used 21000
23814 extents written (46 MB)
/home
bash-4.1#

 

4. This will give you three files:

 

bash-4.1#
bash-4.1# ls
asa842-initrd-original.gz
asa842-initrd.gz
asa842-k8.bin
asa842-vmlinuz
repack.v4.sh.tar.gz
repack.v4.sh

 

5. And that’s pretty much it. You can now import the kernel (asa842-vmlinuz) and ram disk file (asa842-initrd.gz) to gns3. Don’t forget to add the ‘-icount auto‘ to qemu options as this will help us to bypass the divizion by zero exception error and allows us to do a reload in our qemu-emulated asa.

Thanks to my Friends

dmz , chicany , twopacket

 

 

 

Possibly Related Posts:


News : Google wants to serve you ads based on the background noise of your phone calls

Just when you think that we’re pretty tech savvy, companies like Google and Nokia file outlandish “forward-thinking” patents that make you feel like we’re all in a Star Trek episode. In the case of Google’s latest patent, it makes us feel like we’re in a police state.

The patent discusses the technology to analyze the background noise during your phone call and serve up ads for you based on the environmental conditions Google picks up on. Yeah, that’s creepy.

While Google isn’t technically “listening” to your calls, meaning there isn’t someone on the other line listening to your conversation, the fact that the company could unleash technology that monitors our calls in real-time is weird. Here’s some of the information on the patent, titled “Advertising based on environmental conditions”

 

More

Possibly Related Posts:


News: Apple, Facebook slammed for stealing personal info

A small group of US smartphone owners has filed a lawsuit demanding that Facebook, Twitter and other makers of smartphone “apps” pay dearly for mining people’s contact lists.

The suit filed in federal court in Austin, Texas on Monday listed Apple among the defendants, arguing that mini-programs are not allowed on the company’s coveted iPads, iPhones and iPod Touch devices without its approval.

Lawyers representing the 13 Austin smartphone owners argue that the applications invaded people’s privacy by “stealing” personal address book data.

A hot trend toward making applications “mobile and social” resulted in smartphone users’ contact lists being tapped into to help find friends or family members that people might want to connect with in online communities.

But the lawsuit argues that delving into address book data without express permission is an invasion of privacy.

The list of defendants included “Angry Birds” game creator Rovio and US videogame giant Electronic Arts, as well as career-centered social network LinkedIn.

“Essentially, on the cheap and on the sly these defendants have impermissibly mined their App users’ phones for contact data,” lawyers stated in court documents made available online Thursday.

The suit calls for a court order barring the practice and for the 18 companies listed as defendants, including Facebook and Twitter, to pay substantial cash damages.

For such a case to succeed, lawyers must prove app users suffered quantifiable harm. Attorneys also want class-action status to represent anyone who may have used one of the offending apps.

Possibly Related Posts:


Win8 : How to bring Settings panel ?

 

Pressing Win+I will bring up that settings panel

 

just type “shutdown /s” (without the quotes) while in the startmenu and press enter

 

Possibly Related Posts:


News : Govt’s Internet spy systems fail to capture 100% data traffic

Looks like it might take a bit longer for the government to intercept messages with keywords such as ‘ammonium nitrate’ or ‘bomb’ passing through emails, web forums, blogs, social networks and even images.

In a first of its kind live competition held between two spy systems developed by reputed tech arms of India’s national security apparatus, both failed to capture 100% internet data traffic, one system even crashing a number of times during the test held in January, reveal documents reviewed by ET.

The competition was a precursor to an Internet scanning and coordination centre, which India wants to put in place, just like the ones used by US, UK, China, Iran and other countries.

In the live competition held near the Air Force Station, Arjangarh, a high-level committee declared Defence Ministry’s ‘Netra’ system a winner. ‘Netra’ beat NTRO’s ‘Vishwarupal’, on technical superiority concerns that the latter was developed in collaboration with a private firm Paladion Networks. Paladion’s scanning system information was exposed on Wikileaks, three months ago.

DRDO’s Netra will now be made a robust system, to scan all tweets, status updates, messages, emails, internet calls, blogs and forums for keywords such as ‘attack’, ‘bomb’ and ‘drill’ within shortest time possible. Quick response is crucial for such a system, which can save many lives, in the nick of time.

During the test demo, “Vishwarupal”, an Internet monitoring system developed by the National Technical Research Organisation (NTRO), technical intelligence arm, under Prime Minister’s Office, crashed a number of times and had to be restarted. The system did not capture entire internet traffic passing via its probes installed at Sify Technologies premises in Delhi. It could return results only after repeated attempts and that too with a latency of 15 minutes.

“Scanning of internet traffic happens in packets. If the packets are too large, a system would need better hardware,” explains Alok Gupta, founder and MD of Pyramid Cyber Security and Forensics, which works with various security agencies. “There are two ways to scan internet — on the fly and scanning while archiving data. The latter may increase latency.”

NTRO’s system was developed in 2008, with Paladion Networks, which has offices in Bangalore, London, Sharjah. Factors such as the system’s IP is not wresting with NTRO, added to its defeat.

During demonstration of rival NETRA, a system developed by Centre for Artificial Intelligence and Robotics (CAIR), a lab under DRDO, the system showed limited success. Only 3GBPS of traffic out of 28 GBPS could pass through its probes installed at MTNL’s premises. However, NETRA could successfully capture all voice traffic passing through software such as Skype, Google Talk. According to documents reviewed by ET, CAIR expressed its inability to decrypt Skype conversations, unless it resorted to hacking.

The inter-ministerial committee chose Netra as the internet monitoring system to be used by India.

The committee has members from Ministry of Home Affairs, Intelligence Bureau, Department of Telecom, Department of IT, and National Intelligence Agency, which is probing various terror attacks in the country.

The committee also directed NTRO, to wrest the design and source code of its system, exclusively from Paladion, due to a risk on national security.

Possibly Related Posts:


News : Apple iPad 2 prices slashed by Rs 5,000 in India

NEW DELHI: Gadget lovers in India can now own aniPad 2 for Rs 24,500, with Apple slashing its price worldwide on Thursday following the launch of a new third-generation, 4G-ready tablet.

The new iPad was introduced by Apple chief executiveTim Cook in San Francisco on Thursday and will hit store shelves next week in several countries. The company said it will continue to sell the iPad 2, but dropped its price by $100 in the US.

In India, the 16-GB base model of the iPad 2 that works only on Wi-Fi is now priced at Rs 24,500, down from Rs 29,500 earlier.

“The iPad 2 is now offered at a more affordable price of Rs 24,500, inclusive of VAT for the 16GB Wi-Fi model and just Rs 32,900, inclusive of VAT for the 16GB Wi-Fi + 3G model,” Apple India said in a press release on Thursday.

A company spokesman said the price cut will be across the board for all iPad 2 models in India. There was no information on when the new 4G-ready iPad will be available in India.

Possibly Related Posts:


Linux : How to Upgrade Bugzilla 4.0 to 4.2 on CentOS 6.2

Note :

Make a note of all changes you made in custom templates & delete it. As older templates will be replaced with newer version.

 

How To :

rm -rf /var/www/html/template/en/custom/*

Download Bugzilla
cd /root/
wget http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-4.2.tar.gz

Backup Existing html folder (or bugzilla folder)

cd /var/www/
tar zcvf bugzilla-40.tar.gz html/

Take MySql Backup

cd /root/
mysqldump -u root –databases bugs > bugs_back.sql

Extract Bugzilla

cd /tmp/
tar zxvf /root/bugzilla-4.2.tar.gz

Copy Content of bugzilla-4.2 to html / bugzilla folder

cd /var/www/html/
cp /tmp/bugzilla-4.2/* ./ -rfva
cp /tmp/bugzilla-4.2/.bzr* ./ -rfva
cp /tmp/bugzilla-4.2/.htaccess ./
chown apache: * -R

Verify Module dependency & run checksetup to complete upgrade

cd /var/www/html/
./checksetup.pl –check-modules
./checksetup.pl

Possibly Related Posts: