Skip to content

Enable IPv6 on OSMC (wired and wireless)

Despite having read the opposite, it looks like IPv6 is disabled by default on the latest OSMC release (2015.06-1). I've tried adding a sysctl.d file to set /proc/sys/net/ipv6/conf/eth0/disable_ipv6 to 0, but this did not help. It worked only when I ran the command manually. By going through numerous forum posts I eventually found out that you need to use the connmanctl CLI tool:
root@osmc:~# connmanctl
connmanctl> services
*AO Wired ethernet_b827ebaabbcc_cable
connmanctl> config ethernet_b827ebaabbcc_cable --ipv6 auto preferred
connmanctl> quit
root@osmc:~#
This enables IPv6 with autoconfiguration, turns on Privacy Extensions and prefers these ephemeral addresses over the autoconfigured ones.

The same command works for wireless as well, you just need to select the appropriate interface (the service name will start with wifi_).

"help" will display basic usage info.

If for some reason you would like to disable IPv6, the command would be "config ... --ipv6 off".

  • Twitter
  • Bookmark Enable IPv6 on OSMC (wired and wireless) at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Enable IPv6 on OSMC (wired and wireless)
  • Mixx Enable IPv6 on OSMC (wired and wireless)
  • Bloglines Enable IPv6 on OSMC (wired and wireless)
  • Technorati Enable IPv6 on OSMC (wired and wireless)
  • Fark this: Enable IPv6 on OSMC (wired and wireless)
  • Bookmark Enable IPv6 on OSMC (wired and wireless) at YahooMyWeb
  • Bookmark Enable IPv6 on OSMC (wired and wireless) at Furl.net
  • Bookmark Enable IPv6 on OSMC (wired and wireless) at reddit.com
  • Bookmark Enable IPv6 on OSMC (wired and wireless) at blinklist.com
  • Bookmark Enable IPv6 on OSMC (wired and wireless) at Spurl.net
  • Bookmark Enable IPv6 on OSMC (wired and wireless) at NewsVine
  • Bookmark Enable IPv6 on OSMC (wired and wireless) at Simpy.com
  • Bookmark Enable IPv6 on OSMC (wired and wireless) at blogmarks
  • Bookmark Enable IPv6 on OSMC (wired and wireless) with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca

BackupPC rsync error message "Internal hashtable error: illegal key supplied!"

While trying to restore two files with BackupPC I got the following error message:
Remote[1]: Internal hashtable error: illegal key supplied!
Remote[1]: rsync error: errors with program diagnostics (code 13) at hashtable.c(65) [Receiver=3.0.9]
Read EOF:
Tried again: got 0 bytes
Done: 2 files, 760646 bytes
restore failed: Unable to read 4 bytes
Other restores worked flawlessly. All hosts involved were running the same version of Debian Linux, with the same version of rsync. The same two files could be restored as a zip file from the BackupPC web front-end.

After spending some time on the issue with a colleague we eventually found the explanation, albeit not the solution: one of the files was a hard link. It looks like we hit a bug similar to what is described here: http://sourceforge.net/p/backuppc/mailman/message/20762995/
> This results in one subtle bug that can't be easily fixed: if you
> switch the Xfer method from tar to rsync, old backups that have
> hardlinks stored with tar won't be correctly restored with rsync.
> The workaround is generate a tar file and extract it, or switch
> the Xfer method back to tar before you do the restore.
We did not switch Xfer method (we've always used rsync over ssh). Possibly the issue was caused by attempting to restore two hard links to the same file at once - more testing would be required to confirm this.

  • Twitter
  • Bookmark BackupPC rsync error message "Internal hashtable error: illegal key supplied!" at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg BackupPC rsync error message "Internal hashtable error: illegal key supplied!"
  • Mixx BackupPC rsync error message "Internal hashtable error: illegal key supplied!"
  • Bloglines BackupPC rsync error message "Internal hashtable error: illegal key supplied!"
  • Technorati BackupPC rsync error message "Internal hashtable error: illegal key supplied!"
  • Fark this: BackupPC rsync error message "Internal hashtable error: illegal key supplied!"
  • Bookmark BackupPC rsync error message "Internal hashtable error: illegal key supplied!" at YahooMyWeb
  • Bookmark BackupPC rsync error message "Internal hashtable error: illegal key supplied!" at Furl.net
  • Bookmark BackupPC rsync error message "Internal hashtable error: illegal key supplied!" at reddit.com
  • Bookmark BackupPC rsync error message "Internal hashtable error: illegal key supplied!" at blinklist.com
  • Bookmark BackupPC rsync error message "Internal hashtable error: illegal key supplied!" at Spurl.net
  • Bookmark BackupPC rsync error message "Internal hashtable error: illegal key supplied!" at NewsVine
  • Bookmark BackupPC rsync error message "Internal hashtable error: illegal key supplied!" at Simpy.com
  • Bookmark BackupPC rsync error message "Internal hashtable error: illegal key supplied!" at blogmarks
  • Bookmark BackupPC rsync error message "Internal hashtable error: illegal key supplied!" with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca

Huawei E3276s-150 (Swisscom branded - 12d1:1597) LTE stick with Linux


This works for me:
usb_modeswitch -W -c 12d1:156a -v 12d1 -p 1597
(after having unpacked /usr/share/usb_modeswitch/configPack.tar.gz to a temporary directory)

Update 2016-01-19: back in 2014 I reported this to the maintainers of various "modeswitch databases", and it seems it's made it's way into the Debian/Ubuntu version at least, according to the changelog (version 20151101-1).
  • Twitter
  • Bookmark Huawei E3276s-150 (Swisscom branded - 12d1:1597) LTE stick with Linux at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Huawei E3276s-150 (Swisscom branded - 12d1:1597) LTE stick with Linux
  • Mixx Huawei E3276s-150 (Swisscom branded - 12d1:1597) LTE stick with Linux
  • Bloglines Huawei E3276s-150 (Swisscom branded - 12d1:1597) LTE stick with Linux
  • Technorati Huawei E3276s-150 (Swisscom branded - 12d1:1597) LTE stick with Linux
  • Fark this: Huawei E3276s-150 (Swisscom branded - 12d1:1597) LTE stick with Linux
  • Bookmark Huawei E3276s-150 (Swisscom branded - 12d1:1597) LTE stick with Linux at YahooMyWeb
  • Bookmark Huawei E3276s-150 (Swisscom branded - 12d1:1597) LTE stick with Linux at Furl.net
  • Bookmark Huawei E3276s-150 (Swisscom branded - 12d1:1597) LTE stick with Linux at reddit.com
  • Bookmark Huawei E3276s-150 (Swisscom branded - 12d1:1597) LTE stick with Linux at blinklist.com
  • Bookmark Huawei E3276s-150 (Swisscom branded - 12d1:1597) LTE stick with Linux at Spurl.net
  • Bookmark Huawei E3276s-150 (Swisscom branded - 12d1:1597) LTE stick with Linux at NewsVine
  • Bookmark Huawei E3276s-150 (Swisscom branded - 12d1:1597) LTE stick with Linux at Simpy.com
  • Bookmark Huawei E3276s-150 (Swisscom branded - 12d1:1597) LTE stick with Linux at blogmarks
  • Bookmark Huawei E3276s-150 (Swisscom branded - 12d1:1597) LTE stick with Linux with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca

Using a Raspberry Pi running raspbmc to sync Fitbit One with galileo (fitbit linux sync)

(it should work with any other Debian-based Raspberry Pi distribution and all newer Fitbit devices that use BLE)
sudo -i
apt-get update
apt-get install python-pip
pip install galileo
galileo

You can then use cron or a simple shell script to periodically run galileo.

  • Twitter
  • Bookmark Using a Raspberry Pi running raspbmc to sync Fitbit One with galileo (fitbit linux sync) at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Using a Raspberry Pi running raspbmc to sync Fitbit One with galileo (fitbit linux sync)
  • Mixx Using a Raspberry Pi running raspbmc to sync Fitbit One with galileo (fitbit linux sync)
  • Bloglines Using a Raspberry Pi running raspbmc to sync Fitbit One with galileo (fitbit linux sync)
  • Technorati Using a Raspberry Pi running raspbmc to sync Fitbit One with galileo (fitbit linux sync)
  • Fark this: Using a Raspberry Pi running raspbmc to sync Fitbit One with galileo (fitbit linux sync)
  • Bookmark Using a Raspberry Pi running raspbmc to sync Fitbit One with galileo (fitbit linux sync) at YahooMyWeb
  • Bookmark Using a Raspberry Pi running raspbmc to sync Fitbit One with galileo (fitbit linux sync) at Furl.net
  • Bookmark Using a Raspberry Pi running raspbmc to sync Fitbit One with galileo (fitbit linux sync) at reddit.com
  • Bookmark Using a Raspberry Pi running raspbmc to sync Fitbit One with galileo (fitbit linux sync) at blinklist.com
  • Bookmark Using a Raspberry Pi running raspbmc to sync Fitbit One with galileo (fitbit linux sync) at Spurl.net
  • Bookmark Using a Raspberry Pi running raspbmc to sync Fitbit One with galileo (fitbit linux sync) at NewsVine
  • Bookmark Using a Raspberry Pi running raspbmc to sync Fitbit One with galileo (fitbit linux sync) at Simpy.com
  • Bookmark Using a Raspberry Pi running raspbmc to sync Fitbit One with galileo (fitbit linux sync) at blogmarks
  • Bookmark Using a Raspberry Pi running raspbmc to sync Fitbit One with galileo (fitbit linux sync) with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca

Keyboard does not work properly in Virtualbox remote desktop session (fixing rdesktop-vrdp "Failed to open keymap" error)

This has been bugging me for quite some time...

The solution:
$ sudo ln -s /usr/share/virtualbox /opt/VirtualBox

Found here.

  • Twitter
  • Bookmark Keyboard does not work properly in Virtualbox remote desktop session (fixing rdesktop-vrdp "Failed to open keymap" error) at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Keyboard does not work properly in Virtualbox remote desktop session (fixing rdesktop-vrdp "Failed to open keymap" error)
  • Mixx Keyboard does not work properly in Virtualbox remote desktop session (fixing rdesktop-vrdp "Failed to open keymap" error)
  • Bloglines Keyboard does not work properly in Virtualbox remote desktop session (fixing rdesktop-vrdp "Failed to open keymap" error)
  • Technorati Keyboard does not work properly in Virtualbox remote desktop session (fixing rdesktop-vrdp "Failed to open keymap" error)
  • Fark this: Keyboard does not work properly in Virtualbox remote desktop session (fixing rdesktop-vrdp "Failed to open keymap" error)
  • Bookmark Keyboard does not work properly in Virtualbox remote desktop session (fixing rdesktop-vrdp "Failed to open keymap" error) at YahooMyWeb
  • Bookmark Keyboard does not work properly in Virtualbox remote desktop session (fixing rdesktop-vrdp "Failed to open keymap" error) at Furl.net
  • Bookmark Keyboard does not work properly in Virtualbox remote desktop session (fixing rdesktop-vrdp "Failed to open keymap" error) at reddit.com
  • Bookmark Keyboard does not work properly in Virtualbox remote desktop session (fixing rdesktop-vrdp "Failed to open keymap" error) at blinklist.com
  • Bookmark Keyboard does not work properly in Virtualbox remote desktop session (fixing rdesktop-vrdp "Failed to open keymap" error) at Spurl.net
  • Bookmark Keyboard does not work properly in Virtualbox remote desktop session (fixing rdesktop-vrdp "Failed to open keymap" error) at NewsVine
  • Bookmark Keyboard does not work properly in Virtualbox remote desktop session (fixing rdesktop-vrdp "Failed to open keymap" error) at Simpy.com
  • Bookmark Keyboard does not work properly in Virtualbox remote desktop session (fixing rdesktop-vrdp "Failed to open keymap" error) at blogmarks
  • Bookmark Keyboard does not work properly in Virtualbox remote desktop session (fixing rdesktop-vrdp "Failed to open keymap" error) with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca