Wednesday, February 10, 2010

~Netstat~Fu

in console type netstat --h for options


for me what I use once on a while

$ netstat --tcp \ list tcp conections

$ netstat --tcp --numeric \ list num

$ netstat --tcp --lintening \ ports listen

$ netstat --tcp --programs \ list tcp&program connections with process ID

$ kill 2545 \ dah selfexpl

$ netstat --route \dah checking ?

$ netstat --statistics \ self expl

Friday, February 5, 2010

Installing Codmw2

* 1 as wine 1.1.33 codmw2 only runs with hacked patch
wich you can download from stash and put it in source
tree Usually ~/wine-git/ and patch.
* 2.0 apply patch patch -p1 < patch_name.diff
* 2.1 compile again ./configure && make depend && make
* 2.2 now just rerun your program
./wine "C:\Program Files\Program Name\program.exe"
* I notice after any new codmw2 patch I need to rerun it again
* 3.0 to reset any changes in local tree use git checkout -f
* 4.1 Compile again ./configure && make depend && make
* 4.2 and Test ./wine "whatever"

Installing Wotlk Ubuntu - wine

well first install wine

sudo apt-get install wine

also configure repository, and update for the newer version then download the blizzard installer
from your account, run it with wine and follow setup as wine 1.1.37 Installs and runs pretty well
if for some reason you have problems with the gfx render change it to OpenGl in directory Wotlk
find \WTF\config.wtf----and add----SET gxApi "opengl" that all ...

Pd:The WoW box said needs Windows Xp or better ! so....
I installed it in Linux!!

Checking for rootkits

I downloaded the script from www.chkrootkit.org
2 install

$ make sense
$ sudo ./chkrootkit

It will perform a test in your system...