Using FreeBSD as a network bridge and use dummynet to shape the traffic

Here’s a quick note/tutorial about how to setup FreeBSD 7.0 as a network bridge and use dummynet to shape the traffic, There is a pretty good tutorial on the net but I found it’s rather outdated. So here is mine.
First of all we’ll need to setup FreeBSD as a network bridge.
ifconfig bridge create
This should […]

File based virtual user settings for Vsftpd on FreeBSD

I’ve done this before with the help of a very good blog entry. But when I tried to do the same thing today I can’t find that page. So I decide to write this down, in case I’ll need it later.
The most problem of setting up Vsftpd with file based virtual user on FreeBSD is […]

Keyboard Navigation in Firefox

 
Why
I don’t think I need to say anything about why we want to use the keyboard over a mouse: All the geeks love it, and it’s just more efficiency.
However when we come to web visiting, it is not easy to just use our keyboard. Of cause we can use text based browsers like links, w3m, […]

Quake like terminal with Fvwm

 
Contents

Why
What do we want
Accessible with a single key stroke
Available on all virtual desktops
No Title, No border
Transparent background
Not shown on task-bar, task switch, or Alt-Tab
And finally, nice animation

 
Why

Well we already have many quake like terminals already:

Kuake
Yakuake
Tilda
Stjerm

But what if you don’t like loading the whole KDE libraries to get
this? Or, what if all those programs lacks some […]

an introduction to openssh part 5 — config files

Well the ultimate way to tweak a program (besides modify the source)
is to edit the configure file. This is what we are gonna talk about in
this part.
There are two kind of config file for OpenSSH: for the server side and
for the client side.
- For the server side
The server side configure file is usually /etc/ssh/sshd_config. No
matter […]

seperate configure file and auto compile them

As our Emacs configure file gettting larger and larger (my config files are now about 250K), it is a good idea to seperate them into different categories and byte-compile them for speed up.
However, it is boring to manually byte-compile them whenever I make a change, even with dired. So here is my solution.

The function to […]

Close
E-mail It