Archive for the ‘linux’ Category

Uptime Rant

Tuesday, March 2nd, 2010

So as you can see from the previous post, I’ve got new dvd-rw drive and Iv’e installed new slack, since then i havent had a single restart,a nd the uptime was nearing 30days. Of course this might not seem even slightly important to some people, but certain unix guys like to boast about their uptime, so do I, lol. This is not even that big of an uptime, but what happened was, when there was 29days, 22hours, and only a few hours left, our power has gone out. Pretty lame:(

#2 my own note

Tuesday, February 3rd, 2009

One day i decided it would interesting to connect to my PC from the college via ssh, of course the sysadmin is not friendly and decided it was a bad idea to leave default ssh port open.  Since that wasn’t too important i left it alone and went on with my day..So today  some guy at slackwares channel asked how to resolve that problem and spook helped him out and me. So thanks spook for the iptables command (not like he’s going to read my blog ever, but just in case ya know)

the iptables command:

iptables -t nat -A PREROUTING -p tcp –dport 80 -j REDIRECT –to-ports 22

So as far as i can understand it (lol) Anything that tries to connect through port 80 will get silently redirected to port 22. Going to try it out next time i am at college and then report back ;-]

- – Arnold.

#1 my own note tip.

Friday, January 9th, 2009

This is gonna be a wine tip because when I  always install a new wine version I usually install steam or something. So usually you just go wine SteamInstall.exe, and everything works. But Steam now has the file  as .msi extension, microsoft install ffs! but there is a way around how to launch that file in wine anyway. You just need this command:

wine msiexec /i SteamInstall.msi

and it should launch ;] it worked for me on ubuntu and on slackware as well =]