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

Accessing iPhone (iOS 10.2.1) pictures from Ubuntu

Recent changes introduced with iOS 10 prevent you from mounting an iPhone on a regular Ubuntu installation.

The PPA by Martin Salbaba used to fix the issue, but it hasn't been updated in a while, and now when I connect my iPhone (running iOS 10.2.1) the pictures are no longer accessible, although the documents are still there.

This solution worked for me (Ubuntu 16.04):

- install libimobiledevice6 + dependencies from this PPA: https://launchpad.net/~martin-salbaba/+archive/ubuntu/ppa+libimobiledevice (follow the instructions there)

- install newer libimobiledevice version according to the "recipe" by A.B. here: http://askubuntu.com/questions/598940/libimobiledevice-1-2-ios-8-support-for-ubuntu-14-04-trusty

- install ifuse according to the same method:
cd ~/src/
git clone https://github.com/libimobiledevice/ifuse.git
cd ifuse/
sudo apt-get install libfuse2 libfuse-dev
./autogen.sh
make
sudo checkinstall

You can now mount your iPhone like this:
mkdir ~/mnt
ifuse ~/mnt
I assume the same procedure would work for an iPad too.
  • Twitter
  • Bookmark Accessing iPhone (iOS 10.2.1) pictures from Ubuntu at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Accessing iPhone (iOS 10.2.1) pictures from Ubuntu
  • Mixx Accessing iPhone (iOS 10.2.1) pictures from Ubuntu
  • Bloglines Accessing iPhone (iOS 10.2.1) pictures from Ubuntu
  • Technorati Accessing iPhone (iOS 10.2.1) pictures from Ubuntu
  • Fark this: Accessing iPhone (iOS 10.2.1) pictures from Ubuntu
  • Bookmark Accessing iPhone (iOS 10.2.1) pictures from Ubuntu at YahooMyWeb
  • Bookmark Accessing iPhone (iOS 10.2.1) pictures from Ubuntu at Furl.net
  • Bookmark Accessing iPhone (iOS 10.2.1) pictures from Ubuntu at reddit.com
  • Bookmark Accessing iPhone (iOS 10.2.1) pictures from Ubuntu at blinklist.com
  • Bookmark Accessing iPhone (iOS 10.2.1) pictures from Ubuntu at Spurl.net
  • Bookmark Accessing iPhone (iOS 10.2.1) pictures from Ubuntu at NewsVine
  • Bookmark Accessing iPhone (iOS 10.2.1) pictures from Ubuntu at Simpy.com
  • Bookmark Accessing iPhone (iOS 10.2.1) pictures from Ubuntu at blogmarks
  • Bookmark Accessing iPhone (iOS 10.2.1) pictures from Ubuntu with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca

Linux - extract data from an "OLE Compound" file

As seen here, 7-Zip can extract the contents:
$ file PGPexch.ole
PGPexch.ole: Composite Document File V2 Document, No summary info
$ 7z x PGPexch.ole

7-Zip [64] 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,2 CPUs)

Processing archive: PGPexch.ole

Extracting [1]CompObj
Extracting [1]Ole
Extracting CONTENTS
Extracting [3]ObjInfo
Extracting [2]OlePres000
Extracting [3]MailStream

Everything is Ok

Files: 6
Size: 104336
Compressed: 108544
$ file CONTENTS
CONTENTS: PDF document, version 1.5
$
(If the OLE data is hidden in a WINMAIL.DAT file, you may have to extract it with tnef first.)

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

Add Ubuntu alongside a pre-installed Windows on an HP laptop (convert primary partition to extended/logical)

Recently I wanted to install Ubuntu next to a pre-installed Windows on a brand-new HP EliteBook.

The notebook came with four primary partitions, with Windows installed on the biggest one:

- sda1 (1 GB, NTFS, label=SYSTEM)
- sda2 (457 GB, NTFS)
- sda3 (16 GB, NTFS, label=HP_RECOVERY)
- sda4 (2 GB, FAT32)

In order to install Ubuntu it's not enough to resize the Windows partition, as you cannot have more than four primary partitions. Removing one of the other partitions is a bad idea according to several reports, as it might render the system unable to start, or prevent BIOS updates. So the idea is to convert the Windows partition to a logical one in addition to resizing it. Fortunately everything you need to do that is already included on the Ubuntu installation image.

1. Use gparted to resize and move the Windows partition. I resized it to 100 GB and added 10 MB free space before it (to leave some space to create the extended partition later on). This will take a while, depending on the performance of your hard drive.

2. Use fixparts to convert sda2 to a logical partition:
# fixparts /dev/sda
Type l then 2, write the changes to the disk with w.

3. Restart the computer without the Ubuntu install media so that Windows fixes itself. This will take even longer than the partition resize, be patient. Restart once more to make sure the Windows install is fine.

4. Proceed with installing Ubuntu, choose the option to "install Ubuntu alongside Windows".
  • Twitter
  • Bookmark Add Ubuntu alongside a pre-installed Windows on an HP laptop (convert primary partition to extended/logical) at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Add Ubuntu alongside a pre-installed Windows on an HP laptop (convert primary partition to extended/logical)
  • Mixx Add Ubuntu alongside a pre-installed Windows on an HP laptop (convert primary partition to extended/logical)
  • Bloglines Add Ubuntu alongside a pre-installed Windows on an HP laptop (convert primary partition to extended/logical)
  • Technorati Add Ubuntu alongside a pre-installed Windows on an HP laptop (convert primary partition to extended/logical)
  • Fark this: Add Ubuntu alongside a pre-installed Windows on an HP laptop (convert primary partition to extended/logical)
  • Bookmark Add Ubuntu alongside a pre-installed Windows on an HP laptop (convert primary partition to extended/logical) at YahooMyWeb
  • Bookmark Add Ubuntu alongside a pre-installed Windows on an HP laptop (convert primary partition to extended/logical) at Furl.net
  • Bookmark Add Ubuntu alongside a pre-installed Windows on an HP laptop (convert primary partition to extended/logical) at reddit.com
  • Bookmark Add Ubuntu alongside a pre-installed Windows on an HP laptop (convert primary partition to extended/logical) at blinklist.com
  • Bookmark Add Ubuntu alongside a pre-installed Windows on an HP laptop (convert primary partition to extended/logical) at Spurl.net
  • Bookmark Add Ubuntu alongside a pre-installed Windows on an HP laptop (convert primary partition to extended/logical) at NewsVine
  • Bookmark Add Ubuntu alongside a pre-installed Windows on an HP laptop (convert primary partition to extended/logical) at Simpy.com
  • Bookmark Add Ubuntu alongside a pre-installed Windows on an HP laptop (convert primary partition to extended/logical) at blogmarks
  • Bookmark Add Ubuntu alongside a pre-installed Windows on an HP laptop (convert primary partition to extended/logical) 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