Skip to content

How to solve Edimax EW-7612UAn v2 (7392:7822) power management issues on Raspberry Pi (Raspbian WiFi disconnect)

  • On Raspbian, you don't need to install the 8192cu driver manually, as it comes with the distribution

  • To avoid disconnection issues, you need however to disable power management. This needs to be done in two places. First, this is what I have in /etc/modprobe.d/8192cu.conf:
    options 8192cu rtw_power_mgnt=0 rtw_enusbss=0

  • This alone did not prevent the issue. I also had to add this entry to /etc/network/interfaces:
    auto wlan0
    allow-hotplug wlan0
    iface wlan0 inet dhcp
    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
    wireless-power off
    iface default inet dhcp


Sources: https://github.com/xbianonpi/xbian/issues/217, https://www.kuerbis.org/2016/03/raspberry-pi-3-kurztipps-wlan-sleep-mode-verhindern/
  • Twitter
  • Bookmark How to solve Edimax EW-7612UAn v2 (7392:7822) power management issues on Raspberry Pi (Raspbian WiFi disconnect) at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg How to solve Edimax EW-7612UAn v2 (7392:7822) power management issues on Raspberry Pi (Raspbian WiFi disconnect)
  • Mixx How to solve Edimax EW-7612UAn v2 (7392:7822) power management issues on Raspberry Pi (Raspbian WiFi disconnect)
  • Bloglines How to solve Edimax EW-7612UAn v2 (7392:7822) power management issues on Raspberry Pi (Raspbian WiFi disconnect)
  • Technorati How to solve Edimax EW-7612UAn v2 (7392:7822) power management issues on Raspberry Pi (Raspbian WiFi disconnect)
  • Fark this: How to solve Edimax EW-7612UAn v2 (7392:7822) power management issues on Raspberry Pi (Raspbian WiFi disconnect)
  • Bookmark How to solve Edimax EW-7612UAn v2 (7392:7822) power management issues on Raspberry Pi (Raspbian WiFi disconnect) at YahooMyWeb
  • Bookmark How to solve Edimax EW-7612UAn v2 (7392:7822) power management issues on Raspberry Pi (Raspbian WiFi disconnect) at Furl.net
  • Bookmark How to solve Edimax EW-7612UAn v2 (7392:7822) power management issues on Raspberry Pi (Raspbian WiFi disconnect) at reddit.com
  • Bookmark How to solve Edimax EW-7612UAn v2 (7392:7822) power management issues on Raspberry Pi (Raspbian WiFi disconnect) at blinklist.com
  • Bookmark How to solve Edimax EW-7612UAn v2 (7392:7822) power management issues on Raspberry Pi (Raspbian WiFi disconnect) at Spurl.net
  • Bookmark How to solve Edimax EW-7612UAn v2 (7392:7822) power management issues on Raspberry Pi (Raspbian WiFi disconnect) at NewsVine
  • Bookmark How to solve Edimax EW-7612UAn v2 (7392:7822) power management issues on Raspberry Pi (Raspbian WiFi disconnect) at Simpy.com
  • Bookmark How to solve Edimax EW-7612UAn v2 (7392:7822) power management issues on Raspberry Pi (Raspbian WiFi disconnect) at blogmarks
  • Bookmark How to solve Edimax EW-7612UAn v2 (7392:7822) power management issues on Raspberry Pi (Raspbian WiFi disconnect) with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca

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

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

raspbmc - getting rid of iptables

I don't need a firewall on my Raspberry PI which runs XMBC (raspbmc distribution) - it's in a dedicated subnet behind a firewall. Furthermore, there are several reports of iptables having an impact on the performance of network playback, causing buffering issues (although I didn't do any benchmark myself).

I modified /etc/network/if-up.d/secure-rmc by adding "exit 0" right at the beginning like this:
#!/bin/bash

exit 0

dec_to_bin() {
...

And then I ran:
apt-get remove iptables

This was followed by a reboot.

nb: the secure-rmc file appears to be a raspbmc addition, and it could probably just be deleted instead.

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