Archive for October, 2010

Proxying all Linux Traffic – set web access for Ubuntu behind a proxy


2010
10.22

So that it’s documented… I’m using port 8080 as the default port as the likelyhood of your upstream proxy being on 8080 is high – else, typical proxy ports are, of course, 80, 800 (transpartent), 8000, 3128 (squid)

To force your server to force web traffic via a proxy, just two quick things to set – in /etc/environment, export one (or two) variables: (more…)

Search and view gzip’d files


2010
10.21

You knew it already – but I keep forgetting – the power of zgrep and zcat both of which behave as their z-less counterparts.

So, to search a gzip’d file, you can simply zgrep <term> <filename.gz>, or to cat/view it, zcat <filename.gz>

Good to come back to in case of impending forgetfulness…

Intel Gigabit Ethernet Card on an old kernel?


2010
10.21

For self-reference, mainly:

For the Intel Corporation 82574L Gigabit Network Connection on an old kernel that doesn’t have the drivers compiled into it – get the driver and

make install

it on the platform you’re on, and to be sure (if it doesn’t get done for you) to copy to /lib/modules/2.4.36/kernel/drivers/net/ (your kernel may vary, this is an example only) (more…)