Category Gentoo

Pentoo: Standard modifications

Use them a lot lately, so here they are in one place: # vim echo ‘” paste-mode from external programm set pastetoggle=<F2> ” displayed tab width set tabstop=4 ” indent tab width set shiftwidth=4 ” color scheme desert for nice 256 colors colorscheme desert’ >> /etc/vim/vimrc.local # screen echo “altscreen on caption always ‘%{= dg} […]

Compat-Drivers: Someone has to do it

How the hell did this happen … Shall I or not … oh well … My new laptop has an Atheros AR8161 ethernet device, which needs an alx kernel module. That’s how it started some months ago. Found out that the alx module is part of compat-wireless, which was only available from the Pentoo overlay. […]

Gentoo : Autoconfigure number of CPU in make.conf

Ever wanted a script that just adapts make.conf to number of cpu cores. Well, here’s my script, surely improvable but maybe useful. It will count the number of cpu nodes. Then make.conf gets backuped and edited accordingly. Example: We have 8 cpu cores, so anything like: MAKEOPTS=”-j2 MAKEOPTS=”-j2 -l1“ MAKEOPTS=”${MAKEOPTS} -j5 -l3.85“ EMERGE_DEFAULT_OPTS=”${EMERGE_DEFAULT_OPTS} -j4 –load-average=3.75“ […]

Pentoo: Modifying the LiveCD

Attention: I should retest the commands, until then there might be some typos. But the basic procedure should work and I’ve used the commands successfully. Intro This post should sum up the steps to modify an ISO image of a LiveCD. I’m using the public beta Pentoo 2012.0 Defcon Release as example. The steps for […]

Gentoo: Ethernet Atheros AR8161/AR8162 using compat-wireless module alx

Update 2: Info for non-Gentoo users If you’re not using Gentoo … start using it ;-) Otherwise you’re probably looking for the driver to Atheros AR8161/AR8162, which is the alx module. Get it from Atheros alx Ethernet driver and follow the instructions. Gentoo users get the driver with compat-wireless-3.5 from the pentoo overlay! Update: Fixed […]

Gentoo: Ebuild basics by the architect

The article is titled “Bash by example, Part 3“, the third part of a nice tutorial of bash basics. But more important, it nicely describes the internals of the Gentoo “ebuild” command, written by Daniel Robbins (Gentoo creator and former Chief Gentoo Architekt).

Gentoo: Apache 2.4.2 – Analysis of possible solution to config changes

My head is dizzy from thinking about this, can’t even explain it so someone smart to get help. Time to write things down … Introduction Apache 2.4 needs some new modules. Some are really critical, some are just used for good reason in Gentoo’s default apache config – which won’t work without them. For details […]