Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 D.I.Y. Lowerping, Do it at home setup

views
     
TSTentris
post Dec 10 2007, 12:01 PM, updated 18y ago

New Member
*
Junior Member
8 posts

Joined: Jun 2006


http://forums.worldofwarcraft.com/thread.h...271071466&sid=1

Page 5 there is a step by step buide. I have an old P3 with 256MB RAM, i'm going to try this myself later.

QUOTE
Sure but ignore spelling mistakes grammer etc wink.gif

Stuff you will need.

feather-0.7.5.iso http://mymirrors.homelinux.org/linux/feather-linux/
vmware server http://www.vmware.com/download/server/
TcpView for windows http://www.microsoft.com/technet/sysintern...es/TcpView.mspx

Once vmware server is installed open it up and click local host->then ok
Then click file.
Then click new->virtual machine click next
choose typical ->next->linux->version->(drop down menu)other version 2.4xkernel->next

Choose a name for it and the place u want to store the virtual machine
click next->use bridge networking->next
i did 1gb for disk capacity (you can make it smaller )then click finish.

Once that is done click host then virtual network settings->click host virtual network mapping
for vMnet0 choose your network adaptor u connect to the net with then leave the rest as they are ->click ok.


In the inventory window in vmware server right click on the virtual machine click settings then click memory choose 128mb.
Then click cd-rom click use iso image and point that to the feather-0.7.5.iso you downloaded click ok.
Now time to boot feather linux right click on the virtual machine in the inventory and click power on.

It takes a few seconds for it to start up.
For the setup routine choose the 2nd option xfdev press enter.
For the mouse choose no to usb mouse then yes to the next option.
Test to make sure your internet connection is working on the vm machine right click on desktop apps->net->firefox.
Now to get the ip for your wow server log a character into wow (leave vmware open smile.gif )
alt+tab to desktop and run tcpview.exe scroll down until u find wow and right click and copy the ip address.and paste it into notepad or something.

Then close wow.

Go back into vmware linux and open console (its on the desktop) and type in Yarre's fix. (the stuff in caps are not a typo wink.gif)

sudo iptables -t nat -A PREROUTING -p tcp -d your.wow.server.ip.address --dport 3724 -j REDIRECT --to-ports 3724 press enter

sudo socat -d -d -d TCP4-LISTEN:3724,nodelay,fork,reuseaddr,su=nobody TCP4:your.wow.server.ip.address:3724,nodelay press enter

now hopefully that should be working now open up a new console window and type ifconfig now in eth0 look for your inet addr that is the ip address of the virtual machine.You will need that to route wow traffic to your vmware linux.

Now go back into windows click start menu click run type cmd then ok, Now time to route your wow traffic through your vm linux.

From Baalzaman post on page 2.

Replace wow.server.ip with your wow server ip and replace vm.machine.ip with the vm machine ip
route -p ADD wow.server.ip MASK 255.255.255.255 vm.machine.ip

input that into the cmd window

(if u want to connect to wow not using the vm linux u will have to delete that route just type route delete wow.server.ip)

Now log into wow and it should be routing wow traffic to your vmware linux box and you should be enjoying lower pings.

Credit goes to Yarre for this excellent fix and Baalzaman for the route add cmd Thank you smile.gif.

If u want to install feather linux to your hdd righ click on the vm linux desktop and choose enhancements and extra and
choose hd install->install hard to hard disk-safer option and follow the prompts.

After you have installed it to the vmware hdd you can open up sciTE and save the iptables,socat cmds to disk and then all you have to do is copy the iptables,socat cmds
into the console (middle mouse button to paste) when you want to run it. (There is probably an easier way to save and run it later i dont know much about linux)
[ Post edited by Horgan ]



Added on December 10, 2007, 12:09 pmAnother long walk-through on Page 6 of the thread. A bit more noob-friendly.

Definitely gotta try this zomg.

QUOTE
OK i've done a little writeup in a private forum on how to get a linux virtual machine setup with socat etc. This ISN'T necessarily the best way to do it, i'm a linux noob so I stuck with whats familiar to me so hold those flames tongue.gif

**************************************************************************

I used Debian for no other reasons than thats the only distro I have any experience with and apt-get is rather handy smile.gif. Please don't flame me for my choice tongue.gif

I don't claim the way i've done it is the best/cleanest or most noob friendly way of doing it, but it worked for me. Your mileage may vary!

Please note to run VMware + wow on the same pc the pc needs to have plenty of grunt. I'm doing this on a core 2 duo with 2 GB ram. Doing this with less is not recommended.

Quick and dirty setup:

Preparation: Download the following -

http://cdimage.debian.org/debian-cd/4.0_r1...386-netinst.iso - I prefer netinstall ISO's as they are a lot smaller than a full CD image
http://www.vmware.com/download/server/ - make sure you get a key!
Some sort of virtual cd mounting tool, I use http://www.daemon-tools.cc - Daemon-Tools but on writing this I see the site is down at the moment. Otherwise simply burn the ISO to a blank CD. Also be warned Daemon-Tools is bundled with some adware but you can opt out of the install of that software so no big drama.

1) Install VMware. Click "yes" when it moans about IIS. The VMware install is straightforward just rather lengthy (it seems to spend a while apparently doing very little). I left 'auto-run' enabled btw.

2) Make sure the Debian cd is in your CD drive or the ISO image is mounted via something like daemon-tools

3) Set up a new virtual machine. Give the virtual machine one processor, and allow it say 512 MB ram (I have 2 GB so plenty of room), and allocate 1 GB hard drive space (again got heaps so didn't care tongue.gif). With its networking select the top option (bridging). I most creatively named my virtual machine "Debian". tongue.gif. The machine type btw is linux 2.6

4) Boot the virtual machine, all going well it should detect the CD and auto run the Debian install

5) Go through the Debian install. It is self explanatory just make sure you read each page before mindlessly clicking yes tongue.gif

6) When you reach the part about the APT repository select the mirror closest to you (there is a couple in NZ).

7) When prompted for package selection I unchecked the desktop option and clicked continue (no need for a x windows system).

8) When asked about GRUB install say yes to installing on the MBR.

9) Soon after this the install will complete. you will need to eject or unmount the CD and click continue. The virtual machine will then reboot.

10) The new debian install will boot and you will soon reach a login prompt. Log in under your user account name that you gave during the install

11) Once logged in you will need superuser privileges to carry out the following steps so to gain that type at the command prompt su and press enter, then type the admin password you set during the install. Press enter.

12) Place the Debian install CD back in the CD drive (or re mount it if using a virtual drive)

14) Type the following: apt-get install iptables and allow the install to complete. This is probably unnecessary it should already be installed - this step is just making sure.

15) Type the following: apt-get install socat and allow the install to complete.

Note i'm skipping sudo because setting that up involves editing /etc/sudoers which will be beyond a noob smile.gif (but if you really must, run the command visudo)

16) Type the following ifconfig and press enter. Note this screen is a bit complicated but what you are looking for is the virtual machines ip address. You are looking for a entry beside the Eth0 entry that will probably be something like 192.168.1.3 (for example). This will vary depending on your network setup. If anyone has an easier/noob friendly way of determining the ip address post it below!! Write down this address.

17) Refer to http://forums.worldofwarcraft.com/thread.h...518019717&sid=1 for your wow servers IP address. For Blackrock its 12.129.225.21

18) Type the following iptables -t nat -A PREROUTING -p tcp -d your.wow.server.ip.address --dport 3724 -j REDIRECT --to-ports 3724

If you play on multiple servers then you can set up multiple iptables entries simply by substituting in the server ip addresses you need.

19) Type the following socat -d -d TCP4-LISTEN:3724,nodelay,fork,reuseaddr,su=nobody TCP4:your.wow.server.ip.address:3724,nodelay (note I removed 1 -d from Yarre's example to reduce the screen spam)
If you want to play of a different server you'll need to hit CTRL-C to kill the socat screen and re-enter the above command with the correct ip for the new server. There are better ways to do this of course but i'm going for noob friendly here smile.gif

Your linux virtual machine is now ready to do its magic. You now need to set up your windows pc to send data to the linux virtual machine.

to do this you will need the ip address you wrote down earlier for your linux virtual machine (example 192.168.1.3)

20) Press START then RUN and type cmd and press enter

21) type the following:
CODE
route -p ADD your.wow.server.ip.address MASK 255.255.255.255 your.linux.virtual.machineip.address


so for example for Blackrock and using the virtual machine IP address of 192.168.1.3 the command would be:

route -p ADD 12.129.225.21 MASK 255.255.255.255 192.168.1.3

If you play on multiple servers you can add a route per server.

If the command is successful then you will be returned to the command prompt with no message. If you get a error please double check what you are typing in.

Now, fire up wow, and all going well you will be able to play on your server with a substantially lower ping!

Hopefully this all makes some sense.

Lots of credit to Yarre (for coming up with the idea) and Jax!!


This post has been edited by Tentris: Dec 10 2007, 12:09 PM
TSTentris
post Dec 10 2007, 01:30 PM

New Member
*
Junior Member
8 posts

Joined: Jun 2006


Not con lah.

Just like everything else in this world, there are 2 ways of getting things done:

1. You pay someone else to do it for you
or
2. You Do It Yourself


Added on December 10, 2007, 1:34 pmI'm going to setup a step by step guide with pics and all over the weekend.

Setup Debian on an old PC i have, and also on my notebook. If i can get it to work, i'll post up the guide once i'm done.

This post has been edited by Tentris: Dec 10 2007, 01:34 PM
TSTentris
post Dec 11 2007, 03:39 PM

New Member
*
Junior Member
8 posts

Joined: Jun 2006


Setting this up now. Doesn't seem too complicated. The worse part about it so far has been waiting for the download to finish lol.

Will report back later on a how to guide.
TSTentris
post Dec 26 2007, 05:55 PM

New Member
*
Junior Member
8 posts

Joined: Jun 2006


The fact that this fix WORKS means that all these years we were blaming TMnet, its not their fault that we suffer from bad pings.

Oh the irony of it all.

I'll be the first to apologize to them.

With VMware+Debian, i get 300-350ms (used to be >1k), any IP address i use, any time of day, rain or shine.
TSTentris
post Jan 18 2008, 06:05 PM

New Member
*
Junior Member
8 posts

Joined: Jun 2006


QUOTE(joeboto @ Jan 18 2008, 12:10 PM)
not good.
after thaurissan ip changed, my ping with linux fix (already change 'your.wow.server.ip' to new one) never gets below 600ms.
without linux fix, 500ms.  ohmy.gif
*
Nah, its still 100% ok for me. 300ms ftw. I changed the IP, and still everything ok.

Having said that a bit spikey last night, i think its streamyx.

TSTentris
post Jan 22 2008, 10:37 AM

New Member
*
Junior Member
8 posts

Joined: Jun 2006


Joe's guide is very good.

I use Debian though, couldn't really figure out how to use feather linux properly.

The installation is a bit more complicated with Debian coz a lot of command line settings.

Even with the linux fix, connection this past week has been poor. Every 1 min or so got 2-3 lag. Thats nuts. How to raid like that?


Added on January 22, 2008, 11:02 amI think we can make a business out of this, eh, Raoph!

We create a CD and very detailed PDF guide, show step by step with screenshots etc. You show the feather linux installation, i show debian.

put all the programs on a CD, together with our guide, then sell the CD for RM15 + postage.

sure sell like hotcakes! woot.

This post has been edited by Tentris: Jan 22 2008, 11:02 AM
TSTentris
post Jan 28 2008, 01:58 PM

New Member
*
Junior Member
8 posts

Joined: Jun 2006


QUOTE(Jas2davir @ Jan 28 2008, 03:18 AM)
tryed to ss it but cannot lol >< but i give u the exact words
"the requested operation requires elevation"


You are using Vista.

Go to the Control Panel > Users.

From there select your admin ID, and play around with the options until you find one options that allows you to disable some security setting (cant remember what). Once you disable the setting, reboot, then you will be able to type in the command to route your traffic to the linux server.


 

Change to:
| Lo-Fi Version
0.0227sec    0.46    7 queries    GZIP Disabled
Time is now: 8th December 2025 - 11:46 AM