//
archives

Tips’n'Tricks

This category contains 10 posts

Leaking specific routes between VRF’s part II

This is a follow up to the article I wrote some time ago on how to leak routes from one VRF to another, in order to have a secure way of dealing with CPE management in a multi-tenant MPLS environment. I’ve written a short howto for doing exactly the same, but on MikroTik RouterOS. It’s … Continue reading »

Upgrade rt3 from 3.6 to 3.8 in fedora core 9

I upgraded my RT install today using the version in rawhide bound to be release in Core 10. I had some trouble with the upgrade, and I want to share the solution with you: First of all, your system will survive the upgrade just fine. Yum reported that it only needed to pull seven packages … Continue reading »

Compiz dual screen output problem

I got an HP laptop on work with an integrated Intel chip. I am of course running linux on it, but I want to be able to use an external screen. I have a docking station, so I have no problems just putting it in there, keeping the lid closed and starting up the machine … Continue reading »

Mixing quoted and non quoted values with Ruby DBI prepared statements

Sorry for the somewhat long title, but I messed a bit with DBI in Ruby today, and I had some problems with prepared statements, as DBI quotes everything. I wanted to do something like the following: sth = dbh.prepare(“UPDATE table SET ? = ? WHERE id = ’1′”) With a normal approach, both values would … Continue reading »

Ipv6 and routing

I’ve been toying around with IPv6 lately, with the services provided by www.sixxs.net They seem to be very proffessional. First I got myself a /64 link net. In an ipv4 world, that doesn’t make sense. Giving out a /64 as a link net is roughly the same as giving out a /16 ipv4 for point-to-point … Continue reading »

Tar magic

Here is an article with some tar.gz magic. http://www.patrickpatoray.com/index.php?Page=34

Setting up a Chinese environment in Ubuntu 5.10

Here is how you can set up a working chinese environment in Ubuntu 5.10. This article is a translation of http://www.80×86.cn/blog/blogview.asp?logID=544 First, be sure to select the Chinese locale zh_CN.UTF-8 using sudo dpkg-reconfigure locales. Run the following to set up the environment: sudo apt-get install language-pack-gnome-zh language-pack-gnome-zh-base language-pack-zh language-pack-zh-base language-support-zh Set up fonts with sudo … Continue reading »

Stopping LaTeX from resetting your footnote counter

When using the article or book class, your footnote counter resets itself after each chapter. Here is the workaround. Thanks to IsaacHaze at #latex@freenode \usepackage{remreset} \makeatletter\@removefromreset{footnote}{chapter}\makeatother

Using mod_vhost_alias AND normal VirtualHosts on the same time

I recently began playing with Ruby on Rails, and as those of you who have tried setting it up on a server, it's a bit tricky. My server (called Chomsky) has quite a lot of different hosts. I've always used mod_vhost_alias because it made me able to just make a directory with the name of … Continue reading »

Qmail open relay

Hey there. This is my first post. Here I will describe what meassures I took to close the relay on a friends qmail. First of all, my friend aproached me and told me he had trouble sending mail anywhere but locally, so I logged into his server (knowing your friend’s password and root password is … Continue reading »

Follow

Get every new post delivered to your Inbox.