Saturday, December 26, 2009
My Peavey combo amp
A few pictures of my Peavey BACKSTAGE 2 guitar combo, with 'Transtube'. Sounds great, and at 10 Watts - I must turn the volume down to 10% or less to avoid being killed by the neighbors :)

Monday, December 14, 2009
Installing Slackware Linux on an EeePC 701 by PXE
Just a few notes on this matter.
I've used my notebook (running slackware 13.0 too) as a pxe server to install slackware on my Asus EeePC 701.
- Install dhcpd
- Sample dhcpd config:
- Mount the slackware 13.0 .iso to some folder, and copy a few files
- Sample pxe loader config (/tftpboot/slackware-13/pxelinux.cfg/default):
- Also we must export /mnt/slack/ directory by nfs:
- Start up dhcpd, start your eeepc, press as the system boots, and choose the pxe boot option.
- The rest is fairly simple, usual slackware install, except that when selecting the source, you will choose "NFS" over "CD/DVD"
Have fun!
I've used my notebook (running slackware 13.0 too) as a pxe server to install slackware on my Asus EeePC 701.
- Install dhcpd
slackpkg install dhcp
- Sample dhcpd config:
floyd[~]$ cat /etc/dhcpd.conf
# dhcpd.conf
#
# Configuration file for ISC dhcpd (see 'man dhcpd.conf')
#
option domain-name "eulinux.org";
authoritative;
default-lease-time 600;
max-lease-time 7200;
log-facility local7;
ddns-update-style none;
allow bootp;
option tftp-server-name "10.0.0.1";
next-server 10.0.0.1;
subnet 10.0.0.0 netmask 255.255.255.0 {
option domain-name "eulinux.org";
option broadcast-address 10.0.0.255;
option subnet-mask 255.255.255.0;
option domain-name-servers 192.168.2.1;
option routers 10.0.0.1;
range dynamic-bootp 10.0.0.50 10.0.0.100;
use-host-decl-names on;
if substring (option vendor-class-identifier, 0, 9) = "PXEClient" {
filename "/slackware-13/pxelinux.0";
}
}
- Mount the slackware 13.0 .iso to some folder, and copy a few files
root[floyd]# mount -o ro,loop -t iso9660 ~/iso/slackware-13.0-install-dvd.iso /mnt/slack/
root[floyd]# mkdir -p /tftpboot/slackware-13/
root[floyd]# cp /usr/lib/syslinux/pxelinux.0 /tftpboot/slackware-13/
root[floyd]# cp /mnt/slack/isolinux/message.txt /tftpboot/slackware-13/
root[floyd]# cp /mnt/slack/isolinux/f2.txt /tftpboot/slackware-13/
root[floyd]# cp -a /mnt/slack/kernels/ /tftpboot/slackware-13/
root[floyd]# cp -a /mnt/slack/usb-and-pxe-installers/pxelinux.cfg_default /tftpboot/slackware-13/pxelinux.cfg/default
root[floyd]# cp -a /mnt/slack/isolinux/initrd.img /tftpboot/slackware-13/
- Sample pxe loader config (/tftpboot/slackware-13/pxelinux.cfg/default):
default hugesmp.s
prompt 1
timeout 1200
display message.txt
F1 message.txt
F2 f2.txt
label huge.s
kernel kernels/huge.s/bzImage
append initrd=initrd.img load_ramdisk=1 prompt_ramdisk=0 rw SLACK_KERNEL=huge.s
label hugesmp.s
kernel kernels/hugesmp.s/bzImage
append initrd=initrd.img load_ramdisk=1 prompt_ramdisk=0 rw SLACK_KERNEL=hugesmp.s
label speakup.s
kernel kernels/speakup.s/bzImage
append initrd=initrd.img load_ramdisk=1 prompt_ramdisk=0 rw SLACK_KERNEL=speakup.s
- Also we must export /mnt/slack/ directory by nfs:
echo "/mnt/memory 192.168.2.0/24(ro,all_squash) 10.0.0.0/24(ro,all_squash)" >> /etc/exports
- Start up dhcpd, start your eeepc, press
- The rest is fairly simple, usual slackware install, except that when selecting the source, you will choose "NFS" over "CD/DVD"
Have fun!
Saturday, December 5, 2009
RWhoisd, indexer issue on Linux
Getting `sort...` errors when running rwhois_indexer on Linux? (I was experiencing this on CentOS 5)
This is caused by the parameters used by the indexer when using the `sort` command.
In mkdb/index.c:
Just add before those lines:
Run a
[root@server html]# /usr/local/rwhoisd/bin/rwhois_indexer -c /usr/local/rwhoisd/etc/rwhoisd.conf -v -A 203.23.23.0/22 -C network -s txt
sort: open failed: +4: No such file or directory
error: sort failed: Success
warning: could not delete temporary index file '': Success
warning: could not delete temporary index file '': Success
indexing failed
This is caused by the parameters used by the indexer when using the `sort` command.
In mkdb/index.c:
#ifdef NEW_STYLE_BIN_SORT
#define SORT_COMMAND "sort -o %s -k 5,5 -k 4,4n -t : %s"
#else
#define SORT_COMMAND "sort -o %s +4 +3 -t : %s "
#endif
Just add before those lines:
#define NEW_STYLE_BIN_SORT
Run a
make clean && make && make install
Saturday, November 21, 2009
Saturday, October 17, 2009
Easily converting your .flac files to .mp3 format
flac2mp3 is a tool to convert potentially large sets of FLAC audio files into the MP3 audio format. It is implemented as a bash shell script, and should run on any Unix-like operating system.
You can get it at: bytemonkey.org
You'll have to install FLAC and LAME on your linux box, on debian/ubuntu this is easily done with
After you download flac2mp3 and untar it somewhere, run the script, feeding it with the source and destination directories:
You can get it at: bytemonkey.org
You'll have to install FLAC and LAME on your linux box, on debian/ubuntu this is easily done with
apt-get install lame flac
After you download flac2mp3 and untar it somewhere, run the script, feeding it with the source and destination directories:
/path/to/flac2mp3 /home/music/JimiHendrix_Experience/ /home/music/mp3/JimiHendrix_Experience/
Wednesday, October 7, 2009
Stresstesting IMAP clients
Just found an interesting article about IMAP clients comparison:
http://www.hackvalue.nl/en/article/64/stresstesting_imap_clients
Personally I'm using claws-mail, with 4 mail accounts, one of which has more than 250000 messages.
Migrating to it from thunderbird was fairly easy, I've converted my thunderbird filters to claws' format, using http://www.claws-mail.org/tools/claws-mail-thunderbird-filters-convertor.tar.gz
(See http://www.claws-mail.org/tools.php)
http://www.hackvalue.nl/en/article/64/stresstesting_imap_clients
Personally I'm using claws-mail, with 4 mail accounts, one of which has more than 250000 messages.
Migrating to it from thunderbird was fairly easy, I've converted my thunderbird filters to claws' format, using http://www.claws-mail.org/tools/claws-mail-thunderbird-filters-convertor.tar.gz
(See http://www.claws-mail.org/tools.php)
my ~/.fluxbox/keys
!mouse actions added by fluxbox-update_configs
OnTitlebar Mouse2 :StartTabbing
!mouse actions added by fluxbox-update_configs
OnTitlebar Double Mouse1 :Shade
OnTitlebar Mouse3 :WindowMenu
!mouse actions added by fluxbox-update_configs
OnWindow Mod1 Mouse1 :MacroCmd {Raise} {Focus} {StartMoving}
OnWindow Mod1 Mouse3 :MacroCmd {Raise} {Focus} {StartResizing BottomRight}
!mouse actions added by fluxbox-update_configs
OnToolbar Mouse4 :NextWorkspace
OnToolbar Mouse5 :PrevWorkspace
!mouse actions added by fluxbox-update_configs
OnDesktop Mouse1 :hideMenus
OnDesktop Mouse2 :workspaceMenu
OnDesktop Mouse3 :rootMenu
OnDesktop Mouse4 :nextWorkspace
OnDesktop Mouse5 :prevWorkspace
Mod1 Tab :NextWindow
Mod1 Shift Tab :PrevWindow
Control F1 :Workspace 1
Control F2 :Workspace 2
Control F3 :Workspace 3
Control F4 :Workspace 4
Control F5 :Workspace 5
Control F6 :Workspace 6
Control F7 :Workspace 7
Control F8 :Workspace 8
Control F9 :Workspace 9
Control F10 :Workspace 10
Control F11 :Workspace 11
Control F12 :Workspace 12
Mod1 F2 :ExecCommand fbrun
Mod4 m :RootMenu
Mod4 r :ExecCommand urxvt
Mod4 a :ExecCommand aterm
Mod4 x :ExecCommand mousepad
Mod4 t :ExecCommand konsole
Mod4 f :ExecCommand firefox
Mod4 m :ExecCommand mozilla
Mod4 g :ExecCommand gimp
Mod4 y :ExecCommand thunar
Mod1 F4 :Close
Mod4 F1 :ToggleDecor
Mod4 F2 :MaximizeWindow
Mod4 l :ExecCommand xlock
Subscribe to:
Posts (Atom)




