laptop does not suspend when lid is closed

suddenly my laptop did not suspend when i closed the lid. i checked all settings of my linux mint 17 installation and all settings where correct. a quick search pointed me to http://askubuntu.com/questions/395428/laptop-does-not-suspend-when-lid-is-closed.

the solution for me was to edit /etc/systemd/logind.conf, changing the option HandleLidSwitch to suspend (valid options are suspend, hibernate and poweroff) and reboot the machine.

my favourite radio stations – a link collection for using on the go/mobile

why this?

when egofm (my favourite german radio stations) stopped supporting my mobile operating system (ios 5) with their app i looked for the direct link to their stream. i was using direct links for my other favourite radio station somafm for several years and thus created a site with direct links to the streams of both radio stations for easy access on the go using my mobile (iphone). after testing the links with other operating systems i noticed that you need an app to playback the streams on android or windows phone .. so no guarantee that it works on any other operating system out of the box …

for whom?

i originally created it for my private use only. but as some friends asked for the link i thought i could as well make it public.

the link

http://radio.gpunktschmitz.de

howto playback

iphone

using the iphone the streams are played with no additional software needed.

windows phone (8 or later)

when you tap on one of the links you will be presented with a selection of apps that are supposed to be able to play those streams. install one of them and give it a try (i had issues with egofm lately .. dunno what’s wrong there).

android

as i don’t own an android device this is only a suggestion/wild guess as result of some google searches. there is an app named servestream which is said to support the streams.

enjoy the music!

Uninstall Symantec Backup Exec 2014 Remote Agent for Windows Systems (RAWS)

as i couldn’t find a hint on howto uninstall Backup Exec 2014 Agent from my GUI-free Windows Core Servers here a short summary of how you can do it:

i found the “_Setup.exe” I was looking for in the following folder

C:\Windows\Installer\{856D9205-4AA3-48FB-ADD2-CE6EFF23ED9E}\

to find out how to uninstall the agent i ran “_Setup.exe /?” on one of my other servers (which has a GUI):

tz4014_00022

to uninstall the 64 bit version one has to run the the following command

C:\Windows\Installer\{856D9205-4AA3-48FB-ADD2-CE6EFF23ED9E}\_Setup.exe /RAWSX64: /S: /U:

and wait until the “_Setup”-process disappears in the taskmanager

installing linux mint 13 (mate) on a fit-pc3 – xserver no screens found

i set up my fit-pc3 and had some trouble getting my xserver working .. here is how it went …

i was pleased to see a page in the wiki from compuLab but IMHO there are some points missing:

boot from usb flash drive

i changed the boot order in the bios (which you can enter via pressing “F2” during boot) but the screen was nothing but black. turned out that pressing “F1” randomly right after powering the machine it was booting from the usb flash drive.

linux mint 13 fails to boot

i also had to select “start in compatibility mode” to successfully boot the livecd

resolving xserver error – no screens found

after the installation finished the xserver would not start. some sites mentioned to simply update linux so i ran (after commenting “medibuntu” out in /etc/apt/sources.list)

sudo aptitude update
sudo aptitude upgrade

accepted any modified file to the maintainer’s version and restarted .. but nothing changed. so i follow the instructions from compuLab and installed the ati catalyst drivers using:

sudo aptitude install fglrx-updates xvba-va-driver vainfo

and restarted .. but still the xserver failed to start …

i finally cam across a forum post where the following command was mentioned

sudo aticonfig --initial

rebooted and the xserver was back again …

windows server core – sconfig.vbs(696, 21) SWbemObjectEx: Invalid index.

the situation

when i was trying to change the network settings of our servers it fails with the error:

C:\Windows\System32\en-US\sconfig.vbs(696, 21) SWbemObjectEx: Invalid index.

the solution

it turned out that i disabled ipv6 previously on that ethernet port. so i enabled it via powershell using the following command (you may have to edit the property “InterfaceAlias”):

Enable-NetAdapterBinding -InterfaceAlias Ethernet -ComponentID ms_tcpip6

microsoft data protection manager 2012 sp1 – installing the dpm agent without disabling the firewall

the problem

after setting up DPM 2012 SP1 I was only able to install the agent remotely on a server if I turned the firewall off … when the firewall was on and I tried to initiate the installation from the management console it started the installation with 1% and after a couple of minutes aborted.

I didn’t want to believe that the “solution” would be to turn the firewall off for the installation and thus searched and found that microsoft indeed suggests this ‘resolution’:

“Temporarily disable the Windows Firewall on the target computer when deploying the agent. Once the installation completes the Windows Firewall can be re-enabled.”

the re(al)-solution

I was not satisfied with this “solution” and checked again what processes where running when I initiate the remote installation .. as the KB-article mentions a “dpmac.exe” I was looking for a DPM process and found it …

dpmac-01-process

looking at the properties I now had the location of the current DPM agent coordinator version …

dpmac-02-exe-location

so I added an exception to the firewall to allow this programme for inbound traffic .. deployed that via GPO and now am able to install the agent with no more hassle …

of course I will have to edit the rule once the version of the dpmac.exe changes as Microsoft seems to put each version in its own directory .. but that will be the least problem …

sony reader prs-t1 – resetting to factory defaults

the situation

i was installing some apps on my prs-t1 (which was rooted with a custom firmware) and moved them to the sd card when suddenly the device would not react anymore but showing a rotating loader icon … i then let the battery drain and powered the reader on again .. with the result that i was prompted with a popup message saying “google framework service stopped unexpectedly” every time i powered it on …

when i then connected the reader to any pc (windows and linux) and selecting “data transfer mode” the device was stuck at “connecting” … this made the device no more usable .. thus i decided to reset it to factory defaults …

first insight or “how the reset button works”

the reset button does not reset the device to the factory defaults but restarts it so this was no option at all …

it does not matter how long you press the button .. after releasing it the reader will be restarted after approx. 3 seconds …

the way to the solution

so the next goal was to reset the system defaults via software .. i was on version 1.0.04.12210 and did not want to update (though the custom firmware project over at sourceforge which i was running and wanted back on had a stable release for 1.0.05.11130 [current latest version]) as everything was working fine and the changelog did not mention anything promising new features …

first try: running the updater … not

i was searching the web for the “PRS-T1_Updater_1.0.04.12210.exe”-file (MD5 c7d279a54fee81b9638821c898c7aea9) .. (found it on mediafire) downloaded it and couldn’t believe the updater-message saying “now connect your device using ‘data transfer mode'” .. which .. still did not work …

second try: restoring via sd card

on i went looking for a solution to restore the reader .. and i found one and will now shamelessly copy the instructions (with some modifications):

  1. check which version you are running (goto “settings” > “about” > “device information” and check the “version”-value)
  2. download a restore-zip/-archive appropriate to the version you are on from a source you trust (i found mine over here)
  3. extract the folder “OS Firmware” from that restore-archive onto a sd card and plug it into your reader
  4. charge your reader to 100% (the battery icon actually shows “100%” when full)
  5. power of the device
  6. while pressing the HOME and MENU buttons simultaneously power on the device
  7. when the screen shows “updating” you may release the buttons
  8. wait …
  9. after the update is finished you are presented with a text telling you to reset your device
  10. press the reset button

after these steps you are “back to normal” … you now want to check all settings and maybe also root the device (again) using a custom firmware .. which i might do tomorrow .. i will keep you updated …