Apr 232015
 

I paid £30.00 for the Huawei E5332 Unlocked Mobile Wi-Fi Modem on Amazon UK.

It has a TS9 antenna connector (source).

There’s an Android app to control/monitor it: HUAWEI Mobile WiFi 3

Default Settings

HTTP XML-API

The website of the router makes extensive use of an XML-API. Some of the URLs are listed here:

I wrote a Python tool to access these APIs:
https://github.com/pklaus/Huawei-E5332

Apr 132015
 

Gramps is a very versatile desktop software to do genealogical research. The software is open source, works on all major desktop operating systems and has a great community. It resides at https://gramps-project.org/.

Its Wikipedia article is also very interesting!

Starting Gramps in a language different to your operating system language

My operating system is in English. This makes developing software and finding solutions for problems easier. But for Gramps it’s helpful to have the terms of the tool in my first language, German. To start it in German while my system language is English, run paste these commands into the Terminal application (and press [Enter]):

Apr 042015
 

Installing perlbrew is a one-liner:

curl -L http://install.perlbrew.pl | bash

Add this lines to your ~/.bashrc:

source ~/perl5/perlbrew/etc/bashrc

To get a stable perl distribution, do:

perlbrew install stable

To use it, run:

perlbrew list
perlbrew switch perl-5.20.2

To upgrade to the latest stable Perl distribution at a later point:

perlbrew install stable
# Remove previous versions (check with perlbrew list):
#perlbrew uninstall perl-5.18.1
# Remove downloaded tarballs and build directory
perlbrew clean

Resources

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
Apr 012015
 

The Rohde & Schwarz HMC 8043: A 3 channel power supply 0-32V, max. 3A, 100W.

  • Total output power: 100W
  • Maximum current per channel: 3A for HMC8043
  • Half-19″ form factor, rack mountable
  • FuseLink, FuseDelay, EasyArb, EasyRamp
  • LXI, LAN, USB (TMC and virtual COM port)
  • Data logging directly to flash drive (csv file)

Network Communication

The default ports are:

  • Raw TCP: Port 5025
  • VXI: Port 1024

Raw TCP Communication

netcat 192.168.0.139 5025

Rohde&Schwarz,HMC8043,022156925,HW42000000,SW01.202
*IDN?
Rohde&Schwarz,HMC8043,022156925,HW42000000,SW01.202

SCPI Commands

From the SCPI commands manual (to be found in the resources section).

CMD Meaning
Mar 302015
 

HMP4000 front HMP4000 side

Key Facts

  • HMP4030: 3 × 0 V to 32 V/0 A to 10 A (384 W)
  • HMP4040: 4 × 0 V to 32 V/0 A to 10 A (384 W)
  • Low residual ripple due to linear postregulators
  • Realtime voltage, current and power values
  • High setting and readback resolution:
    1 mV and 0.1/0.2/1.0 A (depending on current and model)
  • FuseLink (electronic fuse) freely combinable for all channels
  • FuseDelay tunable up to 250 ms
  • EasyArb function directly programmable on device
  • PC software (free of charge) for easy generation of user-defined waveforms
Feb 222015
 

http://www.harbaum.org/till/i2c_tiny_usb/index.shtml

Usage

When you plug it in, dmesg should report a new device. Here is my ouput of dmesg and lsusb -v.

Usage on the command line

i2cdetect

Get it on Arch Linux:

sudo pacman -S i2c-tools
sudo modprobe i2c-dev

Detect I2C devices:

i2cdetect -l

check detailed capabilities of device 3 ( /dev/i2c-3 ):

sudo i2cdetect -F 3

Till Harbaum’s testapp:

sudo rmmod i2c_tiny_usb
cd ~/Downloads/i2c_tiny_usb/testapp
make
sudo ./i2c_usb

returns

Jan 222015
 

Today I’m launching my own “What’s My IP” service. By accessing the address http://whatsmyip.reliable-ict.de you will get a text-only response containing only your (external) IP. This can be very useful to check if your internet connection works at all, to check IPv4/IPv6 connectivity, or to update your dynamic DNS entry.

On Linux, you can get the IP in the Shell with curl (for example):

curl -s http://whatsmyip.reliable-ict.de

You could then parse the address into a shell variable and use it in your shell script:

IP=$(curl -s http://whatsmyip.reliable-ict.de)
echo $IP

The service is IPv4 and IPv6 enabled (by default). In addition there are IPv4-only and IPv6-only counterparts available.

Jan 202015
 

Login / Web Interface

http://kb.netgear.com/app/answers/detail/a_id/23379/~/how-do-i-log-in-to-my-aircard-mobile-hotspots-web-ui%3F

  • Web UI Address: http://aircard.hotspot/
  • Web UI IP Address: 192.168.1.1
  • Default Admin Password: webadmin
  • Web address for shared microSD card: http://aircard.hotspot/dav//

Short Specs

  • Supports up to 100 Mbps download, up to 50 Mbps upload (LTE Category 3)
  • LTE 800/1800/2100/2600
  • HSPA+/HSPA 900/2100 MHz
  • Dual band 2G
  • WiFi 802.11 b/g/n
  • Dimensions: 97.5 mm x 57 mm x 15.7 mm
  • Weight: 108 g
  • Package Contents: AirCard 762S Mobile Hotspot, Quick Start Guide, USB Cable, A/C Charger
  • Other Features:
    • WPS Button (WiFi Protected Setup)
Jan 062015
 

I bought the TFA 30.3155 (9.579 kbps).

JeeLink

If you build your own JeeLink-like stick from an Arduino (Nano) and a RFM12B module, use a voltage divider of 4.7k / 10k on the input lines (MOSI, SCK, SS) of the RFM12B. They are not 5V tolerant!

Jan 062015
 

Here are the steps required to install FHEM on Arch Linux:

# We start by updating our system first:
pacman -Syyu
# We install 'make':
pacman -S make
# Now we create the user / group:  fhem / fhem
groupadd fhem
useradd \
  --system \
  --create-home --home /opt/fhem \
  --gid fhem \
  --groups uucp \
  --shell /bin/false \
  fhem
# We switch to that newly created user and change to its home directory:
su -s /bin/bash fhem
cd
# We download FHEM, unpack it and change into the unpacked folder:
curl -O http://fhem.de/fhem-5.6.tar.gz
tar -xf fhem-5.6.tar.gz
cd fhem-5.6
# Now we are ready to 'install' FHEM:
make install

Here is the output of that last make install command: