May 122012
 

Mac OS X

There’s a good blog post by David Röthlisberger on the Microsoft NEK 4000 on Mac OS X.

To remap the zoom slider to scroll I replaced the com.microsoft.keyboard.pref (from Microsoft’s Mac OS X driver) with the one found in Scott Bezek’s blog post Remapping Zoom on the Microsoft Natural Keyboard 4000 – Mac OS X (referenced in Q#403324 on SuperUser.com):

1
2
3
4
5
cd ~/Library/Preferences
mv com.microsoft.keyboard.pref com.microsoft.keyboard.pref.bak
wget http://scottbezek.com/com.microsoft.keyboard.pref
open /Library/PreferencePanes/Microsoft\ Keyboard.prefPane
# works.

Linux

Making the Zoom Slider Work on Ubuntu 12.04

Here are the instructions to make the zoom slider work on 12.04:

May 052012
 

This blog post is about setting up a HP EliteBook 2530p for use with Ubuntu GNU/Linux 12.04 ‘precise’.

Hardware Information

Here are some details on the hardware of the 2530p:

Check Ubuntu Friendly for a report.

3G

The SIM slot is located behind the battery. When the notebook is laying on the table turned up side down, you need to insert the SIM with the contacts facing upwards (you can push it in until it is about 0.7 mm away from the case). Then reinsert the battery

May 042012
 
The DG1022 is a function generator that I was able to test recently. It is quite cheap (363 EUR in Germany, 460 USD in the USA) and has two outputs for standard wave forms (sine, square, ramp, pulse and noise) and also supports arbitrary wave forms. It has a USB interface and can most probably be controlled easily via Python (see below).

Specifications

I found a shorter list of specifications on rigolna.com and more detailed list on rigol.com. If you need even more information, you have to download the full specifications PDF (scroll down to the section references).

Rigol DG1022 Arbitrary Waveform Function Generator
May 012012
 

TODO: Write a script to ping all the IPs and find the best (fastest). Put it online as a gist on GitHub.

Google

http://code.google.com/speed/public-dns/docs/using.html

  • 8.8.8.8
  • 8.8.4.4

IPv6:

  • 2001:4860:4860::8888
  • 2001:4860:4860::8844

Level3 / AT&T

  • 4.2.2.1
  • 4.2.2.2
  • 4.2.2.3
  • 4.2.2.4
  • 4.2.2.5
  • 4.2.2.6

More

  • 195.92.195.90 – Orange DNS (ISP)
  • 156.154.70.1 – DNS Advantage

OpenDNS

use.opendns.com
www.opendns.com/ipv6

  • 208.67.222.222
  • 208.67.220.220

IPv6:

  • 2620:0:ccc::2
  • 2620:0:ccd::2

Freenet6

IPv6:

  • 2001:5c0:1000:11::2
  • 2001:5c0:1001::194

How To Find Out Who’s Operating a DNS Server

Run whois on the IP:

Apr 262012
 

I found an interesting plugin called IntranetSubNetwork on the Piwik trac ticket #1054. I was thinking that this would be perfect to adopt it to my needs to determine between IPv4 and IPv6 users on my site. Those needs were already specified in a feature suggestion for Piwik.

So I took the plugin and put it on a Github repository: pklaus / IntranetSubNetwork.

With the plugin you’re able to assign each visitor to a ‘network category’ according to the range his or her IP belongs to. The network category name will then be stored in the Piwik database in the column location_ip of the table piwik_log_visit.

Piwik Plugin IntranetSubNetwork: Show IPv4 vs. IPv6 Statistics
Apr 232012
 

I needed an easy way to switch power outlets on and off remotely. So I bought a Koukaam NETIO230A and wrote a Python module to communicate with it via TCP. Now I added a Bottle based web app written in Python that uses that class to interact with the NETIO230A. It consists of an API (not very elaborate yet) and a single page that uses the API via AJAX.

Here is the finished Bottle code: webserver.py. And here is a screenshot of how the app looks:

Screenshot of the NETIO230A bottle web app

Apr 222012
 

This is largely based on http://unquietwiki.com/ipv6/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)

1
2
3
4
5
6
7
zebra=yes
bgpd=no
ospfd=no
ospf6d=yes
ripd=no
ripngd=no
isisd=no
Configuration of OSPF6d

/etc/quagga/ospf6d.conf

Apr 212012
 

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 5.76 MBit/s upload
  • Quad Band
  • Interface: USB 2.0
  • Includes a microSD card slot
  • Includes an external antenna connector (CRC9 type)
  • Includes a USB cable
  • Size (HBT in mm): ca. 68 x 26 x 12,3
  • Weight: ~ 30 g
Apr 162012
 

I used the built-in SD card reader to install Arch Linux from an SD card. The Arch Linux Wiki holds quite a few comments on what to take care of on the EEE PC 900.

The next steps were:

  • I upgraded to Grub2 (Yes, Arch Linux still uses Grub v1 as its standard bootloader).
  • Installed the command line tools htop, bmon, iperf.
  • Installed wicd, a network connection manager.
  • Installed Gnome (at least the most essential parts).
  • Installed GDM and set up the system to use it.
  • Installed Yaourt by adding the unofficial user repository [archlinuxfr] to my /etc/pacman.conf.
Apr 142012
 

This is my collection of links on the subject: