Skip to content

OSMC NFS mount

It looks like you need some systemd "magic" to successfully mount an NFS share on OSMC. Adding "x-systemd.automount,noauto" to the mount options in /etc/fstab did the trick for me.

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

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

Random MAC address generator for Arduino Ethernet Shield (static MAC generator)

I wanted a simple random MAC address generator for Arduino Ethernet Shields that lack one. I couldn't find one, so I wrote my own, which you can find here: https://ssl.crox.net/arduinomac/.

Inspired by http://nicegear.co.nz/blog/autogenerated-random-persistent-mac-address-for-arduino-ethernet/. The reason I'm not using this approach is that in most cases I want the MAC address to be static.
  • Twitter
  • Bookmark Random MAC address generator for Arduino Ethernet Shield (static MAC generator) at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Random MAC address generator for Arduino Ethernet Shield (static MAC generator)
  • Mixx Random MAC address generator for Arduino Ethernet Shield (static MAC generator)
  • Bloglines Random MAC address generator for Arduino Ethernet Shield (static MAC generator)
  • Technorati Random MAC address generator for Arduino Ethernet Shield (static MAC generator)
  • Fark this: Random MAC address generator for Arduino Ethernet Shield (static MAC generator)
  • Bookmark Random MAC address generator for Arduino Ethernet Shield (static MAC generator) at YahooMyWeb
  • Bookmark Random MAC address generator for Arduino Ethernet Shield (static MAC generator) at Furl.net
  • Bookmark Random MAC address generator for Arduino Ethernet Shield (static MAC generator) at reddit.com
  • Bookmark Random MAC address generator for Arduino Ethernet Shield (static MAC generator) at blinklist.com
  • Bookmark Random MAC address generator for Arduino Ethernet Shield (static MAC generator) at Spurl.net
  • Bookmark Random MAC address generator for Arduino Ethernet Shield (static MAC generator) at NewsVine
  • Bookmark Random MAC address generator for Arduino Ethernet Shield (static MAC generator) at Simpy.com
  • Bookmark Random MAC address generator for Arduino Ethernet Shield (static MAC generator) at blogmarks
  • Bookmark Random MAC address generator for Arduino Ethernet Shield (static MAC generator) 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

"Convert" NTP to DCF77 - generate a DCF77 signal on an Arduino using an NTP time source

I hate having to set clocks. Most of our clocks at home get the time from Internet or from the DCF77 time signal.

The problem with the DCF77 time signal is that it is quite sensitive to environmental noise from lamps or other appliances, and the reception inside buildings can be problematic in some places.

I recently installed a clock in such a location. Using Udo Klein's DCF77 analysis tool it was clear that it would be nearly impossible to get the clock to work properly as initially planned, so I started looking for solutions:

- bigger antenna (eg this one)
- external antenna
- external receiver
- different time source

For different reasons, the only viable option seemed to be a different time source. But I did not want to change the clock design. While researching a solution, I came across the Chronvertor. Although this would allow to run the clock without DCF77 signal, the clock would still have to be set from time to time (due to lack of precision of the RTC, but at least twice per year for DST adjustments), so I quickly dismissed that option. However it provided inspiration for what I eventually ended up building: a NTP to DCF77 "adapter".

I had experimented previously with the TimeNTP example from the Arduino Time library, and there was plenty of information available online about the DCF77 signal, so this quickly appeared to be a viable option. This is the result: ntp2dcf.ino.
  • Twitter
  • Bookmark "Convert" NTP to DCF77 - generate a DCF77 signal on an Arduino using an NTP time source at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg "Convert" NTP to DCF77 - generate a DCF77 signal on an Arduino using an NTP time source
  • Mixx "Convert" NTP to DCF77 - generate a DCF77 signal on an Arduino using an NTP time source
  • Bloglines "Convert" NTP to DCF77 - generate a DCF77 signal on an Arduino using an NTP time source
  • Technorati "Convert" NTP to DCF77 - generate a DCF77 signal on an Arduino using an NTP time source
  • Fark this: "Convert" NTP to DCF77 - generate a DCF77 signal on an Arduino using an NTP time source
  • Bookmark "Convert" NTP to DCF77 - generate a DCF77 signal on an Arduino using an NTP time source at YahooMyWeb
  • Bookmark "Convert" NTP to DCF77 - generate a DCF77 signal on an Arduino using an NTP time source at Furl.net
  • Bookmark "Convert" NTP to DCF77 - generate a DCF77 signal on an Arduino using an NTP time source at reddit.com
  • Bookmark "Convert" NTP to DCF77 - generate a DCF77 signal on an Arduino using an NTP time source at blinklist.com
  • Bookmark "Convert" NTP to DCF77 - generate a DCF77 signal on an Arduino using an NTP time source at Spurl.net
  • Bookmark "Convert" NTP to DCF77 - generate a DCF77 signal on an Arduino using an NTP time source at NewsVine
  • Bookmark "Convert" NTP to DCF77 - generate a DCF77 signal on an Arduino using an NTP time source at Simpy.com
  • Bookmark "Convert" NTP to DCF77 - generate a DCF77 signal on an Arduino using an NTP time source at blogmarks
  • Bookmark "Convert" NTP to DCF77 - generate a DCF77 signal on an Arduino using an NTP time source with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca