site Search:


 
    All Forums Hot Topics Gallery






how-to block ads


 
Search Topic:
Uniqs:
24511
Share Topic
Posting?
Post a:
Post a:
Links: ·ALL ·VoIP FAQ ·VoIP Reviews ·MJ Forum FAQ ·VoIP Overview
AuthorAll Replies

alllle

join:2005-07-12
Cedar Park, TX

1 edit

Successfully setup Ubuntu Linux + VMWare + XP + MagicJack

I was using a dedicated XP box for MagicJack and I have a 24x7 server running ubuntu so I decided to give it a try and was able to move MagicJack to my Ubuntu box successfully.

Here are what I did, hope it will help others like me who don't want a dedicated XP running just for MagicJack.

I started with an existing Ubuntu server install that does not have GUI.

Install GUI and VNC:
Downsize the system:
- sudo vi /etc/default/linux-restricted-modules-common:
DISABLED_MODULES="ath_hal fc fglrx ltm nv"

Install the X11 bare bone:
- sudo aptitude install x-window-system-core
- sudo aptitude install xorg
- sudo aptitude install fluxbox fluxconf #lightwight windows manager
- sudo aptitude install dillo #lightweight browser
- sudo aptitude install xfe #lightweight file manager

Change /etc/X11/xorg.conf:
- sudo dpkg-reconfigure xserver-xorg #guided setup
- manual edit /etc/X11/xorg.conf (use "gtf 1024 768 60" to obtain the Modeline values):

Section "Monitor"
Identifier "KDS k717s" #This is my monitor
HorizSync 31-80
VertRefresh 60-75
# 1024x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 64.11 MHz
Modeline "1024x768_60.00" 64.11 1024 1080 1184 1344 768 769 772 795 -HSync +Vsync
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "KDS k717s"
Device "Configured Video Device"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1024x768"
EndSubSection
EndSection

Starting X:
- use startx
- Virtual console F7 is the x window (display :0)

Install X11vnc:
- sudo aptitude install x11vnc

Start vnc:
- startx
- x11vnc --forever &

Connect to server remotely via vnc:
- vncviewer host:0

By now, I got a light GUI Ubuntu box that can be accessed remotely via VNC.

Setup VMWare:
Get the kernel header:
- sudo apt-get install linux-headers-$(uname -r)

Then run the vmware-install.pl as root

Then run the vmware-config.pl (install will prompt to run this)

If you receive compilation error when run vmware-config.pl like this:
include/asm/bitops_32.h:9:2: error: #error only can be included directly, and vmmon-only compile failes
The solution is: change line 74 in vmmon-only source file to read: #include “linux/bitops.h”
Steps:
cd /usr/lib/vmware/modules/source
cp vmmon.tar vmmon.tar.orig
sudo tar xvf vmmon.tar
cd vmmon-only/include/
sudo vi vcpuset.h
change line 74 from: #include “asm/bitops.h” to: #include “linux/bitops.h”
rm vmmon.tar (return to the folder where you decompressed the tar file)
sudo tar cvf vmmon.tar vmmon-only/
sudo rm -rf vmmon-only/

Then re-run: sudo vmware-config.pl

After this I have a working vmware that can be launched by "vmware".

Guest XP OS install:
You would need to install and activate your XP Guest OS. I already have a VMware image so this is skipped.

Detect MagicJack USB devices:
I was initially having problem detecting the MagicJack USB devices. I did two things that fixed it:
1. Make sure the XP virtual machine has the USB Controller in the hardware list
2. Check that the vmx file of the virtual machine has:
usb.present = "TRUE"
usb.generic.skipsetconfig = "TRUE"
The second line is missing in my vmx file and I had to manually add it.

After this, I rebooted the guest XP OS and re-plug in the MagicJack. XP detected both devices properly and started its installation. After that the MagicJack is up and running and I was able to make calls.

Cheers!

BTW, I was posting this to the unofficialmagicjack forum but keep getting "Method Not Implemented, POST to /posting.php not supported." error when submit the post - tried 3 different browsers.

booyah50

join:2008-08-09
La Habra, CA


Nice guide!



dbmaven
There's no shortage
Premium,Mod
join:1999-10-26
Sty in Sky
kudos:2
Reviews:
·VOIPo
·Optimum Online
Host:
Filesharing Software
No, I Will Not Fix..
Road Runner
Bright House Netwo..
Computer Hardware ..

reply to alllle
Thanks for posting that. I hope some others will try it and report back with any unique conditions with their setup.
--
If a pig loses its voice, is it disgruntled?
Living in "an optimized state of temporary chaos"


Wednesday, 30-May 15:20:57 Terms of Use & Privacy | feedback | contact | Hosting by nac.net - DSL,Hosting & Co-lo
over 12.5 years online © 1999-2012 dslreports.com.
Most commented news this week
Hot Topics