Posts with the category Other Linux

RAID1 with SSD and HDD

You can create a RAID1 spanning an SSDs and HDDs with Linux software raid. This makes sense to profit from the advantages of both technologies as much as possible. Use the --write-mostly for mdadm for HDDs to specify that they should be avoided for reads.

From the mdadm man page:

-W,...

Read on

New Focus Picomotor Ethernet Controller 8752 – TCP/IP Control

We use the modules 8752 and 8753.

List of commands

Common Commands

Syntax Command Manual Page
AIN <device> <channel> Read/Display Analog Input 61
DEF Load Default Parameters 62
DIAG <driver> Display Diagnostics Byte from Device 62
IN <device> <channel> Query State of Digital Inputs 89
LOCK Lock Out Other Input Devices 63
MAP <joystick-device>=<driver> Set/Display Device-to-Joystick Mappings 64
OUT <device> <channel>=<value> Set Digital Output 65
SAV Save Parameters 65
UNLOCK Unlock Other Input Devices 66
VER Query Firmware Version 66

Picomotor Control Commands

<table class="table...

Read on

IPv6: Dynamic Routing with Quagga and ospf6d (OSPFv3)

This is largely based on http://unquietwiki.com/tinc_quagga_ipv6.html.

Enabling Quagga and Its Daemons

The installation of Quagga and ospf6d is different on Debian/Ubuntu and on OpenWrt systems. The configuration files can be the same (in structure).

/etc/quagga/daemons (Debian/Ubuntu systems)

zebra=yes
bgpd=no
ospfd=no
ospf6d=yes
ripd=no
ripngd=no
isisd=no
Configuration of OSPF6d

/etc/quagga/ospf6d.conf

password PASSWORD
!! adapter setup :
<span...

Read on

Using the Huawei E352s-5 UMTS USB Modem Stick with Ubuntu and OpenWrt

The Huawei E352s-5 is being marketed as web'n'walk Stick Fusion III by German Telekom. This blog post describes how to use it on Linux systems with the distributions Ubuntu and OpenWrt.

The Features First

  • Supported Modem Standards: HSPA+, HSUPA, HSDPA, UMTS, EDGE, GPRS
  • Highest speeds with HSPA+: up to 21 MBit/s download and...

Read on

Telekom Entertain with OpenWrt

This is my collection of links on the subject:

Read on

`iperf` – Network Bandwidth Testing

iperf can help you test the bandwidth of your network setup via a TCP connection:

# On one computer:
iperf -s -w 2M -i 1 -p 2222
# On the other computer:
iperf -c the.one.computer.local -w 2M -i 1 -p 2222

Or test via UDP (be careful,...

Read on

OpenWrt on a TP-Link TL-MR3020 Router

This is a really compact and cheap router to take with you to hotels etc. to secure your internet access via VPN or redistribute a network.

The Hardware

You can get some information on the used hardware from my /proc/cpuinfo, /proc/meminfo and dmesg.

I put some photos I made of...

Read on

Sound Card Test using Linux

You can use lxsndtest on Linux based computers to test the performance and quality of your soundcard. You should read its user guide for help on installation and usage.

lxsndtest ist based on the older xsndtest (which you can compile using some hints from this build...

Read on

Migrate Existing ext3 Filesystem to ext4

The following collection of commands shows how to migrate your partition formatted with ext3 to an ext4 filesystem. The safest way is to do this when the partition is unmounted. However, if the partition to convert is where the root filesystem of your Linux distro is stored and you don't...

Read on

New Linux Kernel 3.3 Features

What Linux 3.3 will bring:

  • A new Ethernet teaming driver - a userspace-driven alternative to the existing bonding driver
  • Integration of Open vSwitch
  • Faster resizing of ext4 partitions
  • Better HDMI audio support for Radion and AMD graphics cards
  • "Hot Replace" for software RAID (see 1 and 2)
  • ... much more

Resources

Read on

FUSE Filesystems

With FUSE - The Filesystem in Userspace you can mount all different kinds of remote / local filesystems on you Linux/Unix/Mac computer. Here are some implementations of interesting FUSE filesystems:

Read on

cgit - A Web Frontend For git Written In C

Not available as Debian package yet as the search for cgit in the Debian packages reveals. The RFP can be found here.

Resources

...

Read on

Mobile IPv6

Mobile IP / Mobile IPv6 / mip6d seems to be quite dead at the moment:

Read on

Arch Linux

I wanted to have a closer look into Arch Linux and so I downloaded the x86-64 netinstall image from http://www.archlinux.org/download/. I created a virtual machine and started by using the .iso image as boot device. The installation was pretty smoth, no surprises for a Linux user.

Excellent Beginners Guide: <a...

Read on

A Stopwatch on the Terminal

Using the bash builtin command time

You can just use the following terminal command to start the stopwatch:

time read -sn1

and press [Enter] when you want to take the time. As the output of the time command is a bit verbose, you may want the time command to only print...

Read on