Posts

Showing posts with the label howtos

OpenDNS Fritzbox Howto

While I did some research on how getting this to work I saw many people trying this without success. Here is the definitive guide on how you use OpenDNS with your Fritzbox: Make sure your firmware is up-to-date Enable telnet Login over telnet and type "cd /var/flash/", "nvi ar7.cfg" Search for overwritedns1 and overwritedns2 (they appear two times each) using the "/" key and "n" (next search result). Press "i" to get into edit mode and enter the opendns server as noted in the opendns linux guide ESC brings you back to command mode. ":w" saves the file and ":q" closes the editor again. type "reboot" to restart the fritzbox Restart you networking and you browser. The OpenDNS Site now should tell you that you are using OpenDNS already. Now you can create an account, set it to dynamic DNS, add network and login to dnsomatic. Now login to fritz.box using your browser and enter the following dynamic DNS settings...

proftpd and xinetd

The aim of xinetd is providing services that don't consume ressource if they are not used. So this is perfect for my ftp server because most time the server isn't used. xinetd listens on port 21 and it someone connects to this port it starts an instance of proftpd and passes an connection to the instance: sonium@raumstation:~$ cat /etc/xinetd.d/proftpd service ftp { disable = no flags = REUSE socket_type = stream wait = no user = root server = /usr/sbin/proftpd log_type = FILE /var/log/xinetd.log log_on_success += DURATION USERID log_on_failure += USERID nice = 10 #bind = [IP to bind to] } even proftpd must be configured to work with xinetd: sonium@raumstation:~$ cat /etc/proftpd.conf ServerName "Debian" ServerType inetd # I'm behind a firewall, port 21 and 60000-60200 are forwared to my ip # myserver.dyndns.org points to my external IP MasqueradeAddress myserver.dyndns.org PassivePorts 60000 60200 # Set the user and group that the server normally runs at. User ft...

set order of alsa devices

Again this is primarly a note to myself. I have a onboard PCI and an USB soundcard. This is how I set the order of the devices: sonium@raumstation:~$ cat /etc/modprobe.d/alsa-base alias snd-card-0 snd-usb-audio alias snd-card-1 snd-intel8x0 options snd cards_limit=2 options snd-usb-audio index=0 vid=0x0763 pid=0x200f # change v(endro)id und p(roduct)id according to the output of lsusb options snd-intel8x0 index=1 # --snip-- sonium@raumstation:~$ cat /etc/modules snd-usb-audio #--snip-- Now hw(0,0) points to the usb card and hw(1,0) to the PCI card.

guitar rig 2 with linux

Image
I just got Guitar Rig 2 running on my linux box. It took me a long time. So here is some information how I did it. I'm using the ubuntu-package from winehq for wine. Then you need fst (I'm using fst-1.8). FST again needs Jack, Wine and lash to compile. And lash needs the uuid-dev package found in the ubuntu repository. But the really hard part is to find the Steinberg VST-SDK. The point is that fst-1.8 needs vstsdk.2.3.zip to compile not 2.4. If you are lucky you can google it up. If not drop me an email (sonium at gmail dot com). After everything is compiled you should be able to run Guitar Rig 2. It's a bit buggy so if nothing shows up, just kill the process and try again. It took me a few tries but it just seems to be a matter of patience till it works.

lvm + reiserfs

As I have reiserfs on a lvm system I often need to resize partitions. This is just a personal note on how to do this: sudo lvextend -L 2G /dev/vg0/var sudo resize_reiserfs -s +1G /dev/mapper/vg0-var

digitemp and cacti

So, I write this post on english, because there is rare information about and I like to make it available for non-german speakers too. I switched completly to linux now and have build a outdoor thermometer using a dallas 1-Wire sensor with a home made serial adapter. Here are schematics and how to build the adapter. There is a debian-package of digitemp, the tool that reads the data from the sensors. It contains three binaries from wich only digitemp_DS9097 works with the RS232 interface. First of all you need to initialize it by doing: sonium@ubuntu:~$ digitemp_DS9097 -s/dev/ttyS0 -i DigiTemp v3.3.2 Copyright 1996-2004 by Brian C. Lane GNU Public License v2.0 - http://www.brianlane.com Turning off all DS2409 Couplers . Searching the 1-Wire LAN 105734DB00080028 : DS1820/DS18S20/DS1920 Temperature Sensor ROM #0 : 105734DB00080028 Wrote .digitemprc now you should be able to receive the temperature by using: sonium@ubuntu:~$ digitemp_DS9097 -r1000 -a DigiTemp v3.3.2 Copyright 1996-2004 b...