Jonathan McDowell: Cup!
I got a belated Christmas present today. Thanks Jo + Simon!
I got a belated Christmas present today. Thanks Jo + Simon!
A few weeks ago I went to see Blade Runner: The Final Cut in a one-off
showing at the Tyneside Cinema. I've only
watched the Final Cut once and that viewing was a bit compromised, so it was
nice to see it properly, and on a massive screen with decent surround sound
too.
Whilst watching it I saw something that I thought might potentially have been a
visual reference to Scott's earlier movie, Alien. When Deckard is climbing
onto the roof of the Bradbury building, there's a decorative motif that to me,
looks very Giger-esque, biomechanical, a bit like a chest-burster.
I went back and took a screenshot from the Blu Ray at the same point. What do
you think?
As it happens, whilst the inner regions of the building in the movie are the
Bradbury building (or at least the entrance hall), I don't think the upper
exterior shots are.
these are the RC bugs I've worked on during the last two weeks:
I was unable to find a good place that describes how to create a simple
self-hosted email setup. The most surprising discovery was, how much already
works after:
apt-get install postfix dovecot-imapd
Right after having finished the installation I was able to receive email (but
only in in /var/mail in mbox format) and send email (bot not from any other
host). So while I expected a pretty complex setup, it turned out to boil down
to just adjusting some configuration parameters.
/etc/postfix/main.cf and
/etc/postfix/master.cf. A commented version of the former exists in
/usr/share/postfix/main.cf.dist. Alternatively, there is the ~600k word
strong man page postconf(5). The latter file is documented in master(5).
main.cf
@@ -37,3 +37,9 @@
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
+
+home_mailbox = Mail/
+smtpd_recipient_restrictions = permit_mynetworks reject_unauth_destination permit_sasl_authenticated
+smtpd_sasl_type = dovecot
+smtpd_sasl_path = private/auth
+smtp_helo_name = my.reverse.dns.name.com
smtpd_tls_cert_file and
smtpd_tls_key_file point to the right certificate and private key file. So
either change these values or replace the content of
/etc/ssl/certs/ssl-cert-snakeoil.pem and
/etc/ssl/private/ssl-cert-snakeoil.key.
The home_mailbox parameter sets the default path for incoming mail. Since
there is no leading slash, this puts mail into $HOME/Mail for each user. The
trailing slash is important as it specifies qmail-style delivery'' which
means maildir.
The default of the smtpd_recipient_restrictions parameter is
permit_mynetworks reject_unauth_destination so this just adds the
permit_sasl_authenticated option. This is necessary to allow users to send
email when they successfully verified their login through dovecot. The dovecot
login verification is activated through the smtpd_sasl_type and
smtpd_sasl_path parameters.
I found it necessary to set the smtp_helo_name parameter to the reverse DNS
of my server. This was necessary because many other email servers would only
accept email from a server with a valid reverse DNS entry. My hosting provider
charges USD 7.50 per month to change the default reverse DNS name, so the easy
solution is, to instead just adjust the name announced in the SMTP helo.
master.cf is used to enable the submission service. The following
diff just removes the comment character from the appropriate section.
@@ -13,12 +13,12 @@
#smtpd pass - - - - - smtpd
#dnsblog unix - - - - 0 dnsblog
#tlsproxy unix - - - - 0 tlsproxy
-#submission inet n - - - - smtpd
-# -o syslog_name=postfix/submission
-# -o smtpd_tls_security_level=encrypt
-# -o smtpd_sasl_auth_enable=yes
-# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
-# -o milter_macro_daemon_name=ORIGINATING
+submission inet n - - - - smtpd
+ -o syslog_name=postfix/submission
+ -o smtpd_tls_security_level=encrypt
+ -o smtpd_sasl_auth_enable=yes
+ -o smtpd_client_restrictions=permit_sasl_authenticated,reject
+ -o milter_macro_daemon_name=ORIGINATING
#smtps inet n - - - - smtpd
# -o syslog_name=postfix/smtps
# -o smtpd_tls_wrappermode=yes
/etc/dovecot/conf.d/10-mail.conf. The second
configuration change enables postfix to authenticate users through dovecot in
/etc/dovecot/conf.d/10-master.conf. For SSL one should look into
/etc/dovecot/conf.d/10-ssl.conf and either adapt the parameters ssl_cert
and ssl_key or store the correct certificate and private key in
/etc/dovecot/dovecot.pem and /etc/dovecot/private/dovecot.pem,
respectively.
The dovecot-core package (which dovecot-imapd depends on) ships tons of
documentation. The file
/usr/share/doc/dovecot-core/dovecot/documentation.txt.gz gives an overview of
what resources are available. The path
/usr/share/doc/dovecot-core/dovecot/wiki contains a snapshot of the dovecot
wiki at http://wiki2.dovecot.org/. The example configurations seem to be the
same files as in /etc/ which are already well commented.
/var/mail to a
maildir in ~/Mail as configured for postfix above.
@@ -27,7 +27,7 @@
#
# <doc/wiki/MailLocation.txt>
#
-mail_location = mbox:~/mail:INBOX=/var/mail/%u
+mail_location = maildir:~/Mail
# If you need to set multiple mailbox locations or want to change default
# namespace settings, you can do it by defining namespace sections.
@@ -93,9 +93,11 @@
# Postfix smtp-auth
- #unix_listener /var/spool/postfix/private/auth
- # mode = 0666
- #
+ unix_listener /var/spool/postfix/private/auth
+ mode = 0660
+ user = postfix
+ group = postfix
+
# Auth process is run as this user.
#user = $default_internal_user
$ adduser josch
...and any aliases for it to be configured in /etc/aliases.
@@ -1,2 +1,4 @@
-# See man 5 aliases for format
-postmaster: root
+root: josch
+postmaster: josch
+hostmaster: josch
+webmaster: josch
/etc/aliases, the command
$ newaliases
has to be run. More can be read in the aliases(5) man page.
$ postfix reload
$ doveadm reload
Have fun!
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512,SHA1I'm transitioning from my old, 1024-bit DSA PGP key,
FD35 0B0A C6DD 5D91 DB7A 83D1 168B 4E71 7032 F238,
to my newer, 4096-bit RSA key,
E037 CB2A 1A00 61B9 4336 3C8B 0907 4096 06AA AAAA.
If you have signed my old key, I'd be very grateful if you would
consider signing my new key. (Thanks in advance!)
This is long overdue! I've had 06AAAAAA since 2009, but it took me a
while to get enough signatures on it for me to consider a transition.
I still have far more signatures on my older key, owing to attending
more conferences when I was using it than since I switched.
This statement, available in plaintext at
http://jmtd.net/log/pgp_transition/statement.txt, has been signed
with both keys.
I've marked my old key as expiring in around 72 days time, which
coincides with my change of job, and will be just short of ten years
since I generated it.
-----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iQIcBAEBCgAGBQJUdysuAAoJEAkHQJYGqqqquQ0QALVGcn9Wbasg0oh8JeE8rN7h k7FeZjmGk+ZwfXwo4Eq4pjxKp+TN+r4xBCFSHDRmMaAm9q7aWF/RqkdNiEtioQfJ SmfzLsoEnSBmS9dr1LvAoxIlUzs/9Lt8EY2tB4NQne3QIu3VyRBjQDvqff6KJgkV 849+GsrJezkg/2VFZkZp1N9y0YwrmezV/1j0N6zR8Y20LlF4YuD3egUJYvbrQ1pA krJwhiHskXRinqviYMg4CuTZZ3m2wc4fM6uiY5t9taqK90KFgmg73KvW6Rx2L+XP BUzTlSYHnK+qI23Cng//DthFww2Wf9RofkfRgXk0zAe4+DcoMZzALKtZQA6GrT46 wzsmu459p5nUwwa6BzUvqBzyVtzbtHN5xaFwbjHCPlemsFlH/8LHackJLsBvr2Gp q292huYu/HNo+Q6OIslFX6rc5AR3HKdbU2DxYMPAfI+CEtW1XwetK8ADSZc1v54C +sc+Yb2kAleLX2xMIfS9JqvcKOP2Gbo7nTdRPnS2jZRWOv8JxVfFiSzHVODtlLfk AmRvms5rQ2nPnB21yOd+DP2sACVKY0MS7/UwMh2hoQLR/bSu/jRh24n3WHDfQWtF Jp4AD80ABFV2t/pSP1L70HlxwPmOzra8AVzCdXMOT/SdT387rSM9fvue4FY5goT+ /pResJSl9pAbBCtjOFJoiEYEARECAAYFAlR3Ky4ACgkQFotOcXAy8jiLawCgofsp ggze/iSpfkyeL0vhXi6N/WMAoLQogFQY+VaQrVP3lGl1VVh4jw0W =JBA4 -----END PGP SIGNATURE-----
preseed/late_command="in-target apt-get install -y sysvinit-core"or by using a preseeding file (which is a really nice feature I used for installing my Hadoop nodes) to do the same:
d-i preseed/late_command string in-target apt-get install -y sysvinit-coreIf you are a sysadmin, using preseeding can save you a lot of typing. Put all your desired configuration into preseeding files, put them on a webserver (best with a short name resolvable by local DNS). Let's assume you have set up the DNS name d-i.example.com, and your DHCP is configured such that example.com is on the DNS search list. You can also add a vendor extension to DHCP to serve a full URL. Manually enabling preseeding then means adding
auto url=d-ito the installer boot command line (d-i is the hostname I suggested to set up in your DNS before, and the full URL would then be http://d-i.example.com/d-i/jessie/./preseed.cfg. Preseeding is well documented in Appendix B of the installer manual, but nevertheless will require a number of iterations to get everything work as desired for a fully automatic install like I used for my Hadoop nodes.
I'm changing jobs!
From February 2015, I will be joining Red Hat as a Senior Software Engineer.
I'll be based in Newcastle and working with the Middleware team. I'm going to
be working with virtualisation, containers and Docker in particular. I know a
few of the folks in the Newcastle office already, thanks to their relationship
with the School of Computing Science, and I'm very excited to work with them,
as well as the wider company. It's also going to be great to be contributing
to the free software community as part of my day job.
This October marked my tenth year working for Newcastle University. I've had a
great time, learned a huge amount, and made some great friends. It's going to
be sad to leave, especially the School of Computing Science where I've spent
the last four years, but it's the right time to move on, It's an area that I've
been personally interested in for a long time and I'm very excited to be trying
something new.
My home router acts as an access point with an
Intel Dual-Band Wireless-AC 7260 wireless card. This card
supports 802.11ac (on the 5 GHz band) and 802.11n (on both the
5 GHz and 2.4 GHz band). While this seems a very decent card to use in
managed mode, this is not really a great choice for an access point.
$ lspci -k -nn -d 8086:08b1 03:00.0 Network controller [0280]: Intel Corporation Wireless 7260 [8086:08b1] (rev 73) Subsystem: Intel Corporation Dual Band Wireless-AC 7260 [8086:4070] Kernel driver in use: iwlwifi
iw:
$ iw reg get country CH: DFS-ETSI (2402 - 2482 @ 40), (N/A, 20), (N/A) (5170 - 5250 @ 80), (N/A, 20), (N/A) (5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS (5490 - 5710 @ 80), (N/A, 27), (0 ms), DFS (57240 - 65880 @ 2160), (N/A, 40), (N/A), NO-OUTDOOR $ iw list Wiphy phy0 [...] Band 2: Capabilities: 0x11e2 HT20/HT40 Static SM Power Save RX HT20 SGI RX HT40 SGI TX STBC RX STBC 1-stream Max AMSDU length: 3839 bytes DSSS/CCK HT40 Frequencies: * 5180 MHz [36] (20.0 dBm) (no IR) * 5200 MHz [40] (20.0 dBm) (no IR) * 5220 MHz [44] (20.0 dBm) (no IR) * 5240 MHz [48] (20.0 dBm) (no IR) * 5260 MHz [52] (20.0 dBm) (no IR, radar detection) DFS state: usable (for 192 sec) DFS CAC time: 60000 ms * 5280 MHz [56] (20.0 dBm) (no IR, radar detection) DFS state: usable (for 192 sec) DFS CAC time: 60000 ms [...]
no IR. Here is the explanation for this flag:
The no-ir flag exists to allow regulatory domain definitions to
disallow a device from initiating radiation of any kind and that
includes using beacons, so for example AP/IBSS/Mesh/GO interfaces
would not be able to initiate communication on these channels unless
the channel does not have this flag.
iw can
confirm this:
$ iw list valid interface combinations: * # managed <= 1, # AP, P2P-client, P2P-GO <= 1, # P2P-device <= 1, total <= 3, #channels <= 1
$ iw list valid interface combinations: * # managed, WDS, P2P-client <= 2048, # IBSS, AP, mesg point, P2P-GO <= 8, total <= 2048, #channels <= 1
hostapd:
interface=wlan-guest driver=nl80211 # Radio ssid=XXXXXXXXX hw_mode=g channel=11 # 802.11n wmm_enabled=1 ieee80211n=1 ht_capab=[HT40-][SHORT-GI-20][SHORT-GI-40][DSSS_CCK-40][DSSS_CCK-40][DSSS_CCK-40] # WPA auth_algs=1 wpa=2 wpa_passphrase=XXXXXXXXXXXXXXX wpa_key_mgmt=WPA-PSK wpa_pairwise=TKIP rsn_pairwise=CCMP
I have recently moved to Lausanne, Switzerland. Broadband Internet
access is not as cheap as in France. Free, a French ISP, is
providing an FTTH access with a bandwith of 1 Gbps1 for
about 38 (including TV and phone service), Swisscom is providing
roughly the same service for about 200 2. Swisscom
fiber access was available for my appartment and I chose the 40 Mbps
contract without phone service for about 80 .
Like many ISP, Swisscom provides an Internet box with an
additional box for TV. I didn t unpack the TV box as I have no use for
it. The Internet box comes with some nice features like the ability to
setup firewall rules, a guest wireless access and some file sharing
possibilities. No shell access!
I have bought a small PC to act as router and replace the Internet
box. I have loaded the upcoming Debian Jessie on it. You can find
the whole software configuration in a GitHub repository.
This blog post only covers the Swisscom-specific setup (and QoS). Have
a look at those two blog posts for related topics:
/etc/dhcp/dhclient.conf when using the ISC DHCP client:
send vendor-class-identifier "100008,0001,,Debian";
6rd.swisscom.com and the
prefix is 2a02:1200::/28. After appending the IPv4 address to the
prefix, you still get 4 bits for internal subnets.
Swisscom doesn t provide a fixed IPv4 address. Therefore, it is not
possible to precompute the IPv6 prefix. When installed as a DHCP hook
(in /etc/dhcp/dhclient-exit-hooks.d/6rd), the following script
configures the tunnel:
sixrd_iface=internet6 sixrd_mtu=1472 # This is 1500 - 20 - 8 (PPPoE header) sixrd_ttl=64 sixrd_prefix=2a02:1200::/28 # No way to guess, just have to know it. sixrd_br=193.5.29.1 # That's "6rd.swisscom.com" sixrd_down() ip tunnel del $ sixrd_iface true sixrd_up() ipv4=$ new_ip_address:-$old_ip_address sixrd_subnet=$(ruby <<EOF require 'ipaddr' prefix = IPAddr.new "$ sixrd_prefix ", Socket::AF_INET6 prefixlen = $ sixrd_prefix#*/ ipv4 = IPAddr.new "$ ipv4 ", Socket::AF_INET ipv6 = IPAddr.new (prefix.to_i + (ipv4.to_i << (64 + 32 - prefixlen))), Socket::AF_INET6 puts ipv6 EOF ) # Let's configure the tunnel ip tunnel add $ sixrd_iface mode sit local $ipv4 ttl $sixrd_ttl ip tunnel 6rd dev $ sixrd_iface 6rd-prefix $ sixrd_prefix ip addr add $ sixrd_subnet 1/64 dev $ sixrd_iface ip link set mtu $ sixrd_mtu dev $ sixrd_iface ip link set $ sixrd_iface up ip route add default via ::$ sixrd_br dev $ sixrd_iface case $reason in BOUND REBOOT) sixrd_down sixrd_up ;; RENEW REBIND) if [ "$new_ip_address" != "$old_ip_address" ]; then sixrd_down sixrd_up fi ;; STOP EXPIRE FAIL RELEASE) sixrd_down ;; esac
ipaddr module is
pretty basic , it suits the job.
Swisscom is using the same MTU for all clients. Because some of them
are using PPPoE, the MTU is 1472 instead of 1480. You can easily check
your MTU with this handy online MTU test tool.
It is not uncommon that PMTUD is broken on some parts of the
Internet. While not ideal, setting up TCP MSS will alievate any
problem you may run into with a MTU less than 1500:
ip6tables -t mangle -A POSTROUTING -o internet6 \ -p tcp --tcp-flags SYN,RST SYN \ -j TCPMSS --clamp-mss-to-pmtu
ip link set txqueuelen 32 dev lan ip link set txqueuelen 32 dev internet ip link set txqueuelen 32 dev wlan
fq_codel. A qdisc receives packets
to be sent from the kernel and decide how packets are handled to
the network card. Packets can be dropped, reordered or
rate-limited. fq_codel is a queuing discipline
combining fair queuing and controlled delay. Fair queuing
means that all flows get an equal chance to be served. Another way
to tell it is that a high-bandwidth flow won t starve the
queue. Controlled delay means that the queue size will be
limited to ensure the latency stays low. This is achieved by
dropping packets more aggressively when the queue grows.tc qdisc replace dev lan root fq_codel tc qdisc replace dev internet root fq_codel tc qdisc replace dev wlan root fq_codel
This will test the SMTP delivery using tor. Replace the email address with your own address to test your server. :) The setup procedure is still to complex, and I hope it can be made easier and more automatic. Especially the tor setup need more work. Also, the package include a tor-smtp tool written in C, but its task should probably be rewritten in some script language to make the deb architecture independent. It would probably also make the code easier to review. The tor-smtp tool currently need to listen on a socket for exim to talk to it and is started using xinetd. It would be better if no daemon and no socket is needed. I suspect it is possible to get exim to run a command line tool for delivery instead of talking to a socket, and hope to figure out how in a future version of this system. Until I wipe my test machine, I can be reached using the fbx@dutlqrrmjhtfa3vp.onion mail address, deliverable over SMTorP. :)torsocks swaks --server dutlqrrmjhtfa3vp.onion \ --to fbx@dutlqrrmjhtfa3vp.onion
![]() |
| From November 8, 2014 |
Linaro uses LAVA as a tool to test variety of devices. So far I had not installed it myself, mostly due to assuming it to be enermously complex to set up. But thanks to Neil Williams work on packaging, installation has got a lot easier. Follow the Official Install Doc and Official install to debian Doc, roughly looking like: 1. Install Jessie into kvm 2. Install lava-server
kvm -m 2048 -drive file=lava2.img,if=virtio -cdrom debian-testing-amd64-netinst.iso
That's the generic setup. Now you can point your browser to the IP address of the kvm machine, and log in with the default user and the password you made. 3 ... 1000 Each LAVA instance is site customized for the boards, network, serial ports, etc. In this example, I now add a single arndale board.
apt-get update; apt-get install -y postgresql nfs-kernel-server apache2
apt-get install lava-server
# answer debconf questions
a2dissite 000-default && a2ensite lava-server.conf
service apache2 reload
lava-server manage createsuperuser --username default --email=foo.bar@example.com
$EDITOR /etc/lava-dispatcher/lava-dispatcher.conf # make sure LAVA_SERVER_IP is right
This generates us a almost usable config for the arndale. For site specifics I have usb-to-serial. Outside kvm, I provide access to serial ports using the following ser2net config:
cp /usr/lib/python2.7/dist-packages/lava_dispatcher/default-config/lava-dispatcher/device-types/arndale.conf /etc/lava-dispatcher/device-types/
sudo /usr/share/lava-server/add_device.py -s arndale arndale-01 -t 7001
TODO: make ser2net not run as root and ensure usb2serial devices always get same name.. For automatic power reset, I wanted something cheap, yet something that wouldn't require much soldering (I'm not a real embedded engineer.. I prefer software side ;) . Discussed with Hector, who hinted about prebuilt relay boxes. Chose one from Ebay, a kmtronic 8-port USB Relay. So now I have this cute boxed nonsense hack.
7001:telnet:0:/dev/ttyUSB0:115200 8DATABITS NONE 1STOPBIT
7002:telnet:0:/dev/ttyUSB1:115200 8DATABITS NONE 1STOPBIT
The USB relay is driven with a short script, hard-reset-1 Sidenote: If you don't have or want automated power relay for lava, you can always replace this this script with something along "mpg123 puny_human_press_the_power_button_now.mp3" Both the serial port and reset script are on server with dns name aimless. So we take the /etc/lava-dispatcher/devices/arndale-01.conf that add_device.py created and make it look like:
stty -F /dev/ttyACM0 9600
echo -e '\xFF\x01\x00' > /dev/ttyACM0
sleep 1
echo -e '\xFF\x01\x01' > /dev/ttyACM0
Since in my case I'm only going to test with tftp/nfs boot, the arndale board needs only to be setup to have a u-boot bootloader ready on power-on. Now everything is ready for a test job. I have a locally built kernel and device tree, and I export the directory using the httpd available by default in debian.. Python!
device_type = arndale
hostname = arndale-01
connection_command = telnet aimless 7001
hard_reset_command = slogin lava@aimless -i /etc/lava-dispatcher/id_rsa /home/lava/hard-reset-1
Go to the lava web server, select api->tokens and create a new token. Next we add the token and use it to submit a job
cd out/
python -m SimpleHTTPServer
The first job should now be visible in the lava web frontend, in the scheduler -> jobs part. If everything goes fine, the relay will click in a moment and the job will finish in a few minutes.
$ sudo apt-get install lava-tool
$ lava-tool auth-add http://default@lava-server/RPC2/
$ lava-tool submit-job http://default@lava-server/RPC2/ lava_test.json
submitted as job id: 1
$

This brief announcement was released yesterday to the debian-devel-announce mailing list.
Ciao!
The Debian Multimedia Maintainers have been quite active since the Wheezy release, and have some interesting news to share for the Jessie release. Here we give you a brief update on what work has been done and work that is still ongoing.
Let s see what s cooking for Jessie then.
Frameworks and libraries
Support for many new media formats and codecs.
The codec library libavcodec, which is used by popular media playback applications including vlc, mpv, totem (using gstreamer1.0-libav), xine, and many more, has been updated to the latest upstream release version 11 provided by Libav. This provides Debian users with HEVC playback, a native Opus decoder, Matroska 3D support, Apple ProRes, and much more. Please see libav s changelog for a full list of functionality additions and updates.
libebur128
libebur128 is a free implementation of the European Broadcasting Union Loudness Recommendation (EBU R128), which is essentially an alternative to ReplayGain. The library can be used to analyze audio perceived loudness and subsequentially normalize the volume during playback.
libltc
libltc provides functionalities to encode and decode Linear (or Longitudinal) Timecode (LTC) from/to SMPTE data timecode.
libva
libva and the driver for Intel GPUs has been updated to the 1.4.0 release. Support for new GPUs has been added. libva now also supports Wayland.
Pure Data
A number of new additional libraries (externals) will appear in Jessie, including (among others) Eric Lyon s fftease and lyonpotpourrie, Thomas Musil s iemlib, the pdstring library for string manipulation and pd-lua that allows to write Pd-objects in the popular lua scripting language.
JACK and LADI
LASH Audio Session Handler was abandoned upstream a long time ago in favor of the new session management system, called ladish (LADI Session Handler). ladish allows users to run many JACK applications at once and save/restore their configuration with few mouse clicks.
The current status of the integration between the session handler and JACK may be summarized as follows:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1,SHA512
Because 1024D keys are not deemed secure enough anymore, I switched to
a 4096R one.
The old key will continue to be valid for some time, but i prefer all
future correspondence to come to the new one. I would also like this
new key to be re-integrated into the web of trust. This message is
signed by both keys to certify the transition.
the old key was:
pub 1024D/00823EC2 2007-04-12
Key fingerprint = D9D9 754A 4BBA 2E7D 0A0A C024 AC2A 5FFE 0082 3EC2
And the new key is:
pub 4096R/6B031B00 2014-10-14 [expires: 2017-10-13]
Key fingerprint = AEE1 C8AA AAF0 B768 4019 C546 021B 361B 6B03 1B00
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iEYEARECAAYFAlQ9j+oACgkQrCpf/gCCPsKskgCgiRn7DoP5RASkaZZjpop9P8aG
zhgAnjHeE8BXvTSkr7hccNb2tZsnqlTaiQIcBAEBCgAGBQJUPY/qAAoJENc8OeVl
gLOGZiMP/1MHubKmA8aGDj8Ow5Uo4lkzp+A89vJqgbm9bjVrfjDHZQIdebYfWrjr
RQzXdbIHnILYnUfYaOHUzMxpBHya3rFu6xbfKesR+jzQf8gxFXoBY7OQVL4Ycyss
4Y++g9m4Lqm+IDyIhhDNY6mtFU9e3CkljI52p/CIqM7eUyBfyRJDRfeh6c40Pfx2
AlNyFe+9JzYG1i3YG96Z8bKiVK5GpvyKWiggo08r3oqGvWyROYY9E4nLM9OJu8EL
GuSNDCRJOhfnegWqKq+BRZUXA2wbTG0f8AxAuetdo6MKmVmHGcHxpIGFHqxO1QhV
VM7VpMj+bxcevJ50BO5kylRrptlUugTaJ6il/o5sfgy1FdXGlgWCsIwmja2Z/fQr
ycnqrtMVVYfln9IwDODItHx3hSwRoHnUxLWq8yY8gyx+//geZ0BROonXVy1YEo9a
PDplOF1HKlaFAHv+Zq8wDWT8Lt1H2EecRFN+hov3+lU74ylnogZLS+bA7tqrjig0
bZfCo7i9Z7ag4GvLWY5PvN4fbws/5Yz9L8I4CnrqCUtzJg4vyA44Kpo8iuQsIrhz
CKDnsoehxS95YjiJcbL0Y63Ed4mkSaibUKfoYObv/k61XmBCNkmNAAuRwzV7d5q2
/w3bSTB0O7FHcCxFDnn+tiLwgiTEQDYAP9nN97uibSUCbf98wl3/
=VRZJ
-----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1,SHA512
Because 1024D keys are not deemed secure enough anymore, I switched to
a 4096R one.
The old key will continue to be valid for some time, but i prefer all
future correspondence to come to the new one. I would also like this
new key to be re-integrated into the web of trust. This message is
signed by both keys to certify the transition.
the old key was:
pub 1024D/00823EC2 2007-04-12
Key fingerprint = D9D9 754A 4BBA 2E7D 0A0A C024 AC2A 5FFE 0082 3EC2
And the new key is:
pub 4096R/6B031B00 2014-10-14 [expires: 2017-10-13]
Key fingerprint = AEE1 C8AA AAF0 B768 4019 C546 021B 361B 6B03 1B00
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iEYEARECAAYFAlQ9j+oACgkQrCpf/gCCPsKskgCgiRn7DoP5RASkaZZjpop9P8aG
zhgAnjHeE8BXvTSkr7hccNb2tZsnqlTaiQIcBAEBCgAGBQJUPY/qAAoJENc8OeVl
gLOGZiMP/1MHubKmA8aGDj8Ow5Uo4lkzp+A89vJqgbm9bjVrfjDHZQIdebYfWrjr
RQzXdbIHnILYnUfYaOHUzMxpBHya3rFu6xbfKesR+jzQf8gxFXoBY7OQVL4Ycyss
4Y++g9m4Lqm+IDyIhhDNY6mtFU9e3CkljI52p/CIqM7eUyBfyRJDRfeh6c40Pfx2
AlNyFe+9JzYG1i3YG96Z8bKiVK5GpvyKWiggo08r3oqGvWyROYY9E4nLM9OJu8EL
GuSNDCRJOhfnegWqKq+BRZUXA2wbTG0f8AxAuetdo6MKmVmHGcHxpIGFHqxO1QhV
VM7VpMj+bxcevJ50BO5kylRrptlUugTaJ6il/o5sfgy1FdXGlgWCsIwmja2Z/fQr
ycnqrtMVVYfln9IwDODItHx3hSwRoHnUxLWq8yY8gyx+//geZ0BROonXVy1YEo9a
PDplOF1HKlaFAHv+Zq8wDWT8Lt1H2EecRFN+hov3+lU74ylnogZLS+bA7tqrjig0
bZfCo7i9Z7ag4GvLWY5PvN4fbws/5Yz9L8I4CnrqCUtzJg4vyA44Kpo8iuQsIrhz
CKDnsoehxS95YjiJcbL0Y63Ed4mkSaibUKfoYObv/k61XmBCNkmNAAuRwzV7d5q2
/w3bSTB0O7FHcCxFDnn+tiLwgiTEQDYAP9nN97uibSUCbf98wl3/
=VRZJ
-----END PGP SIGNATURE-----
Ever since I read about systemd-networkd being in the making I was looking forward to try it out. I kept watching for the package to appear in Debian, or at least ITP bugs. A few days ago, by accident, I noticed that I already have systemd-networkd on my machine: It is simply shipped with the systemd package!
My previous setup was a combination of ifplugd to detect when I plug or unplug the ethernet cable with a plain DHCP entry in /etc/network/interface. A while ago I was using guessnet to do a static setup depending on where I am, but I don t need this flexibility any more, so the very simple approach with systemd-networkd is just fine with me. So after stopping ifplugd and
$ cat > /etc/systemd/network/eth.network <<__END__
[Match]
Name=eth0
[Network]
DHCP=yes
__END__
$ systemctl enable systemd-networkd
$ systemctl start systemd-networkd
I was ready to go. Indeed, systemd-networkd, probably due to the integrated dhcp client, felt quite a bit faster than the old setup. And what s more important (and my main motivation for the switch): It did the right thing when I put it to sleep in my office, unplug it there, go home, plug it in and wake it up. ifplugd failed to detect this change and I often had to manually run ifdown eth0 && ifup eth0; this now works.
But then I was bitten by what I guess some people call the viral nature of systemd: systemd-networkd would not update /etc/resolve.conf, but rather relies on systemd-resolved. And that requires me to change /etc/resolve.conf to be a symlink to /run/systemd/resolve/resolv.conf. But of course I also use my wireless adapter, which, at that point, was still managed using ifupdown, which would use dhclient which updates /etc/resolve.conf directly.
So I investigated if I can use systemd-networkd also for my wireless account. I am not using NetworkManager or the like, but rather keep wpa_supplicant running in roaming mode, controlled from ifupdown (not sure how that exactly works and what controls what, but it worked). I found out that this setup works just fine with systemd-networkd: I start wpa_supplicant with this service file (which I found in the wpasupplicant repo, but not yet in the Debian package):
[Unit]
Description=WPA supplicant daemon (interface-specific version)
Requires=sys-subsystem-net-devices-%i.device
After=sys-subsystem-net-devices-%i.device
[Service]
Type=simple
ExecStart=/sbin/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-%I.conf -i%I
[Install]
Alias=multi-user.target.wants/wpa_supplicant@%i.service
Then wpa_supplicant will get the interface up and down as it goes, while systemd-networkd, equipped with
[Match]
Name=wlan0
[Network]
DHCP=yes
does the rest.
So suddenly I have a system without /etc/init.d/networking and without ifup. Feels a bit strange, but also makes sense. I still need to migrate how I manage my UMTS modem device to that model.
The only thing that I m missing so far is a way to trigger actions when the network configuration has changes, like I could with /etc/network/if-up.d/ etc. I want to run things like killall -ALRM tincd and exim -qf. If you know how to do that, please tell me, or answer over at Stack Exchange.
Ever since I read about sytemd-networkd being in the making I was looking forward to try it out. I kept watching for the package to appear in Debian, or at least ITP bugs. A few days ago, by accident, I noticed that I already have systemd-networkd on my machine: It is simply shipped with the systemd package!
My previous setup was a combination of ifplugd to detect when I plug or unplug the ethernet cable with a plain DHCP entry in /etc/network/interface. A while ago I was using guessnet to do a static setup depending on where I am, but I don t need this flexibility any more, so the very simple approach with systemd-networkd is just fine with me. So after stopping ifplugd and
$ cat > /etc/systemd/network/eth.network <<__END__
[Match]
Name=eth0
[Network]
DHCP=yes
__END__
$ systemctl enable systemd-networkd
$ systemctl start systemd-networkd
I was ready to go. Indeed, systemd-networkd, probably due to the integrated dhcp client, felt quite a bit faster than the old setup. And what s more important (and my main motivation for the switch): It did the right thing when I put it to sleep in my office, unplug it there, go home, plug it in and wake it up. ifplugd failed to detect this change and I often had to manually run ifdown eth0 && ifup eth0; this now works.
But then I was bitten by what I guess some people call the viral nature of systemd: sytemd-networkd would not update /etc/resolve.conf, but rather relies on systemd-resolved. And that requires me to change /etc/resolve.conf to be a symlink to /run/systemd/resolve/resolv.conf. But of course I also use my wireless adapter, which, at that point, was still managed using ifupdown, which would use dhclient which updates /etc/resolve.conf directly.
So I investigated if I can use systemd-networkd also for my wireless account. I am not using NetworkManager or the like, but rather keep wpa_supplicant running in roaming mode, controlled from ifupdown (not sure how that exactly works and what controls what, but it worked). I found out that this setup works just fine with systemd-networkd: I start wpa_supplicant with this service file (which I found in the wpasupplicant repo, but not yet in the Debian package):
[Unit]
Description=WPA supplicant daemon (interface-specific version)
Requires=sys-subsystem-net-devices-%i.device
After=sys-subsystem-net-devices-%i.device
[Service]
Type=simple
ExecStart=/sbin/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-%I.conf -i%I
[Install]
Alias=multi-user.target.wants/wpa_supplicant@%i.service
Then wpa_supplicant will get the interface up and down as it goes, while systemd-networkd, equipped with
[Match]
Name=wlan0
[Network]
DHCP=yes
does the rest.
So suddenly I have a system without /etc/init.d/networking and without ifup. Feels a bit strange, but also makes sense. I still need to migrate how I manage my UMTS modem device to that model.
The only thing that I m missing so far is a way to trigger actions when the network configuration has changes, like I could with /etc/network/if-up.d/ etc. I want to run things like killall -ALRM tincd and exim -qf. If you know how to do that, please tell me, or answer over at Stack Exchange.
It turns out that my recent woes with pbuilder were all due to libpam-tmpdir being installed (at least two old bug reports exist about this issue: #576425 and #725434). I rather like my private temporary directory that cannot be accessed by other (potential) users on the same system. Previously I used a hook to fix this up by ensuring that the directory actually exists in the chroot, but somehow that recently broke.
.
The weather at least was nice, so I tried to enjoy it and simply
observe the crowd - people were looking forward to a weekend relaxing,
so nobody seemed annoyed by the wait. After almost half an hour, time
to get on the ferry - my first time on a ferry in US, yay! But it was
quite the same as in Europe, just that the ship was much larger.
Once I secured the car, I went up deck, and was very surprised to be
treated with some excellent views:
The crossing was not very short, but it seemed so, because of the
view, the sun, the water and the wind. Soon we were nearing the other
shore; also, see how well panorama software deals with waves :P!
And I was finally on the "real" part of the trip.
The road was quite interesting. Taking the 104 North, crossing the
"Hood Canal Floating Bridge" (my, what a boring name), then finally
joining the 101 North. The environment was quite varied, from bare
plains and hills, to wooded areas, to quite dense forests, then into
inhabited areas - quite a long stretch of human presence, from the
Sequim Bay to Port Angeles.
Port Angeles surprised me: it had nice views of the ocean, and an
interesting port (a few big ships), but it was much smaller than I
expected. The 101 crosses it, and in less than 10 minutes or so it was
already over. I expected something nicer, based on the name, but
Anyway, onwards!
Soon I was at a crossroads and had to decide: I could either follow
the 101, crossing the Elwha River and then to Lake Crescent, then go
north on the 113/112, or go right off 101 onto 112, and follow it
until close to my goal. I took the 112, because on the map it looked
"nicer", and closer to the shore.
Well, the road itself was nice, but quite narrow and twisty here and
there, and there was some annoying traffic, so I didn't enjoy this
segment very much. At least it had the very interesting property (to
me) that whenever I got closer to the ocean, the sun suddenly
disappeared, and I was finding myself in the fog:
So my plan to drive nicely along the coast failed. At one point, there
was even heavy smoke (not fog!), and I wondered for a moment how safe
was to drive out there in the wilderness (there were other cars
though, so I was not alone).
Only quite a bit later, close to Neah Bay, did I finally see the
ocean: I saw a small parking spot, stopped, and crossing a small line
of trees I found myself in a small cove? bay? In any case, I had the
impression I stepped out of the daily life in the city and out into
the far far wilderness:
There was a couple, sitting on chairs, just enjoying the view. I felt
very much intruding, behaving like I did as a tourist: running in,
taking pictures, etc., so I tried at least to be quiet . I then
quickly moved on, since I still had some road ahead of me.
Soon I entered Neah Bay, and was surprised to see once
more blue, and even more blue. I'm a sucker for blue, whether sky blue
or sea blue , so I took a few more pictures (watch out for the evil
fog in the second one):
Well, the town had some event, and there were lots of people, so I
just drove on, now on the last stretch towards the cape. The road here
was also very interesting, yet another environment - I was driving on
Cape Flattery Road, which cuts across the tip of the peninsula (quite
narrow here) along the Waatch River and through its flooding plains
(at least this is how it looked to me). Then it finally starts going
up through the dense forest, until it reaches the parking lot, and
from there, one goes on foot towards the cape. It's a very easy and
nice walk (not a hike), and the sun was shining very nicely through
the trees:
But as I reached the peak of the walk, and started descending towards
the coast, I was surprised, yet again, by fog:
I realised that probably this means the cape is fully in fog, so I
won't have any chance to enjoy the view.
Boy, was I wrong! There are three viewpoints on the cape, and at each
one I was just "wow" and "aah" at the view. Even thought it was not a
sunny summer view, and there was no blue in sight, the combination
between the fog (which was hiding the horizon and even the closer
islands), the angry ocean which was throwing wave after wave at the
shore, making a loud noise, and the fact that even this seemingly
inhospitable area was just teeming with life, was both unexpected and
awesome. I took here waay to many pictures, here are just a couple
inlined:
I spent around half an hour here, just enjoying the rawness of
nature. It was so amazing to see life encroaching on each bit of land,
even though it was not what I would consider a nice place. Ah, how we
see everything through our own eyes!
The walk back was through fog again, and at one point it switched over
back to sunny. Driving back on the same road was quite different,
knowing what lies at its end. On this side, the road had some parking
spots, so I managed to stop and take a picture - even though this area
was much less wild, it still has that outdoors flavour, at least for
me:
Back in Neah Bay, I stopped to eat. I had a place in mind from
TripAdvisor, and indeed - I was able to get a custom order pizza at
"Linda's Woodfired Kitchen". Quite good, and I ate without hurry,
looking at the people walking outside, as they were coming back from
the fair or event that was taking place.
While eating, a somewhat disturbing thought was going through my
mind. It was still early, around two to half past two, so if
I went straight back to Kirkland I would be early at the hotel. But it
was also early enough that I could - in theory at least - still do the
"big round-trip". I was still rummaging the thought as I left
On the drive back I passed once more near
Sekiu, Washington, which is a very small place but the
map tells me it even has an airport! Fun, and the view was quite nice
(a bit of blue before the sea is swallowed by the fog):
After passing Sekiu and Clallam Bay, the 112 curves inland and goes on
a bit until you are at the crossroads: to the left the 112 continues,
back the same way I came; to the right, it's the 113, going south
until it meets the 101. I looked left - remembering the not-so-nice
road back, I looked south - where a very appealing, early afternoon
sun was beckoning - so I said, let's take the long way home!
It's just a short stretch on the 113, and then you're on the 101. The
101 is a very nice road, wide enough, and it goes through very very
nice areas. Here, west to south-west of the Olympic Mountains, it's a
very different atmosphere from the 112/101 that I drove on in the
morning; much warmer colours, a bit different tree types (I think),
and more flat. I soon passed through Forks, which is one of the places
I looked at when searching for hotels. I did so without any knowledge
of the town itself (its wikipedia page is quite drab), so imagine my
surprise when a month later I learned from a colleague that this is
actually a very important place for vampire-book fans. Oh my, and I
didn't even stop! This town also had some event, so I just drove on,
enjoying the (mostly empty) road.
My next planned waypoint was Ruby Beach, and I was
looking forward to relaxing a bit under the warm sun - the drive was
excellent, weather perfect, so I was watching the distance countdown
on my Garmin. At two miles out, the "Near waypoint Ruby Beach" message
appeared, and two seconds later the sun went out. What the I was
hoping this is something temporary, but as I slowly drove the
remaining mile I couldn't believe my eyes that I was, yet again,
finding myself in the fog
I park the car, thinking that asking for a refund would at least allow
me to feel better - but it was I who planned the trip! So I resigned
myself, thinking that possibly this beach is another special location
that is always in the fog. However, getting near the beach it was
clear that it was not so - some people were still in their bathing
suits, just getting dressed, so it seems I was just unlucky with
regards to timing. However, I the beach itself was nice, even in the
fog (I later saw online sunny pictures, and it is quite beautiful),
the the lush trees reach almost to the shore, and the way the rocks
are sitting on the beach:
Since the weather was not that nice, I took a few more pictures, then
headed back and started driving again. I was soo happy that the
weather didn't clear at the 2 mile mark (it was not just Ruby Beach!),
but alas - it cleared as soon as the 101 turns left and leaves the
shore, as it crosses the Queets river. Driving towards my next planned
stop was again a nice drive in the afternoon sun, so I think it simply
was not a sunny day on the Pacific shore. Maybe seas and oceans have
something to do with fog and clouds ! In Switzerland, I'm very happy
when I see fog, since it's a somewhat rare event (and seeing mountains
disappearing in the fog is nice, since it gives the impression of a
wider space). After this day, I was a bit fed up with fog for a while
Along the 101 one reaches Lake Quinault, which seemed
pretty nice on the map, and driving a bit along the lake - a local
symbol, the "World's largest spruce tree". I don't know what a spruce
tree is, but I like trees, so I was planning to go there, weather
allowing. And the weather did cooperate, except that the tree was not
so imposing as I thought! In any case, I was glad to stretch my legs a
bit:
However, the most interesting thing here in Quinault was not this
tree, but rather - the quiet little town and the view on the lake, in
the late afternoon sun:
The entire town was very very quiet, and the sun shining down on the
lake gave an even stronger sense of tranquillity. No wind, not many
noises that tell of human presence, just a few, and an overall sense
of peace. It was quite the opposite of the Cape Flattery and a very
nice way to end the trip.
Well, almost end - I still had a bit of driving ahead. Starting from
Quinault, driving back and entering the 101, driving down to Aberdeen:
then turning east towards Olympia, and back onto the highways.
As to Aberdeen and Olympia, I just drove through, so I couldn't make
any impression of them. The old harbour and the rusted things in
Aberdeen were a bit interesting, but the day was late so I didn't
stop.
And since the day shouldn't end without any surprises, during the last
profile change between walking and driving in Quinault, my GPS decided
to reset its active maps list and I ended up with all maps
activated. This usually is not a problem, at least if you follow a
pre-calculated route, but I did trigger recalculation as I restarted
my driving, so the Montana was trying to decide on which map to route
me - between the Garmin North America map and the Open StreeMap one,
the result was that it never understood which road I was on. It always
said "Drive to I5", even though I was on I5. Anyway, thanks to road
signs, and no thanks to "just this evening ramp closures", I was able
to arrive safely at my hotel.
Overall, a very successful, if long trip: around 725 kilometres,
10h:30m moving, 13h:30m total:
There were many individual good parts, but the overall think about
this road trip was that I was able to experience lots of different
environments of the peninsula on the same day, and that overall it's a
very very nice area.
The downside was that I was in a rush, without being able to actually
stop and enjoy the locations I visited. And there's still so much to
see! A two nights trip sound just about right, with some long hikes in
the rain forest, and afternoons spent on a lake somewhere.
Another not so optimal part was that I only had my "travel" camera (a
Nikon 1 series camera, with a small sensor), which was a bit
overwhelmed here and there by the situation. It was fortunate that the
light was more or less good, but looking back at the pictures, how I
wish that I had my "serious" DSLR
So, that means I have two reasons to go back! Not too soon though,
since Mount Rainier is also a good location to visit .
If the pictures didn't bore you yet, the entire gallery is on
my smugmug site. In
any case, thanks for reading!
Next.