Mittwoch, 22. Februar 2017

Asus eeebook x205ta Tipps n Tricks for Linux and Windows

Linux/Debian:

http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.0-rc6-vivid/
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=759656
http://blog.einval.com/debian/CDs/Jessie-EFI_6.comments

Windows:

"For some reason they sent the drive encrypted, I went into Windows settings and Unencrypted it. Crystalmark scores went from ~60-80MB which I was pretty disappointed about, to 160MB. I have screens at home showing the change don't have them here to post. If you don't need it encrypted which I'm sure most won't, disable it immediately. Still trying to figure out the low sd speeds a 45MB per sec card is scoring between 12-20MB."

wimboot

turbo-enabled(locked) with charger plugged in

"For people still having problems where the smart gesture software stops working after resume, this seemed to work for me:

Create a .bat file with the following commands:

Code:
taskkill /f /im AsusTPCenter.exe
taskkill /f /im AsusTPHelper.exe
The problem seems to be with these and not AsusTPLauncher. After the .bat runs, AsusTPLauncher will automatically restart those applications.

Put the .bat somewhere where you won't mind leaving it permanently. I put mine in C:\Utility\Scripts\

Now you want to schedule this .bat to run every time the laptop resumes. Press Win + R and enter 'Taskschd.msc' to run the Task Scheduler. Click create basic task, and give it a name. Description is optional. Set trigger to 'When a specific event is logged'. Set log to 'System', source to 'Kernel-Power', and event ID to '507'. On my x205ta I found this event to happen every time it resumed from sleep. I assume it is the same for all x205ta laptops. If you find these instructions do not seem to work for you, if may be that this event does not happen on your x205ta. Try looking up how to use the Event Viewer to find an event that always happens upon resume for you.

Set action to 'start a program'. Set program/script to the .bat file you made. Click next. Check 'open the properties dialog for this task when I click finish'. Click finish.

Click 'change user or group'. If you are on an administrator account, type in 'system' and click ok. If you are not on an administrator account, type in the name of your admin account and click ok. Select 'run whether user is logged in or not'. Check 'run with highest privileges'.

Click on the 'conditions' tab. Uncheck 'start the task only if the computer is on AC power'.

It wouldn't hurt to go to the 'settings' tab and change 'stop the task if it runs longer than' to '1 hour', and 'if the task is already running, then the following rule applies' to 'stop the existing instance' just in case the .bat fails to close on it's own for whatever reason.

Click ok. Enter login credentials if necessary.

If you want to test it to make sure the .bat is actually running each time you resume, add a temporary third command to the .bat:
Code:
echo test>>C:\TEST.txt
Put it to sleep, wake it up, and then check for the TEST.txt file in the root directory of C:\. Subsequent resumes will add a line of text to the file each time.

I imagine this will work for other pc models having this issue with the ASUS SmartGesture software, though you might have to use a different event for the task scheduler.

Hope this helps."

Fix Crosh Window and start as many as you like at the same time

German: Die deutsche Version findet ihr weiter unten.

To Fix the non working Crosh Extension and even add the possibility to open multiple crosh windows and cycle them with alt+tab do this:

From the browser, press crtrl-alt-t. This will bring up crosh in a tab. Then in the upper right browser menu, select 'More Tools > Add to Shelf'. Then right click on the newly added icon in the app shelf, and select 'Open as Window'.

Btw. did you know you can also use the required Secure Shell Extension to open a crosh?
Add a connection for username "crosh" and hostname ">crosh". (Actually, the username can be anything).
credits to Dale Brayden and the ChromeOS Mailinglist

[German]

Momentan funktioniert in aktuellen Chrome OS Versionen die Crosh Erweiterung nicht mehr. Um sie zu reparieren und die Möglichkeit zu haben mehrere Fenster gleichzeitig zu haben und mit alt+tab wechseln zu können:
Startet die Crosh im Browser mit strg+alt+t . Wählt nun im Chrome Menü rechts oben (die drei Punkte bzw Striche) "Weitere Tools" -> "Zu Ablage hinzufügen..." und macht ein Häkchen bei "In neuem Fenster öffnen". Damit startet ihr nun die Crosh ohne Erweiterung. Soviele Fenster wie ihr wollt und die Shortcuts F1-F11 funktionieren auch.

Übrigens, wusstet ihr, dass ihr auch über die Secure Shell Extension eine Crosh starten könnt?
Verbindet euch einfach mit dem Nutzernamen "crosh" zum Hostnamen ">crosh". (Theoretisch ist der Nutzername beliebig)

Danke an Dale Brayden und die ChromeOS Mailingliste

Mittwoch, 17. August 2016

Wdmycloud Tipps n Tricks

This Article is a Guide to disable Thumbnailer/Mediaserver for more ressources and a mostly very-responsive WebUI, (half)automatic Backups to USB-Disk and somewhat hidden Twonkysettingspage.

Disable Thumbnailer and mediaserver for Mycloud-Feature files.mycloud.com and get rid of the generated Files: 

Stop them:
/etc/init.d/wdmcserverd stop 
/etc/init.d/wdphotodbmergerd stop 
Prevent them from restarting*:
chmod 644 /etc/init.d/wdmcserverd 
chmod 644 /etc/init.d/wdphotodbmergerd 
Delete Mediadatabase:
cd /mnt/HD/HD_a2/ 
(make sure you're switched inside the right folder with the command "pwd" if unsure, then:)
rm -rf .wdmc 

Of course you can combine this as one command, but accidentially wiping something other could be very bad. Also you can disable Mycloud Features fully if you don't need them, or use vpn and samba/nfs shares for example.

(Half-)*automated Backup to external disk:

mkdir a folder on localdisk or usbdisk (should be /mnt/HD/HD_a2/ and /mnt/USB/USB1_b2/, if not change the script below accordingly) and create a file there with vi /usr/local/config/backup-rsync.sh and insert this file:

(because this blog breaks some lines into two: if theres no empty line in between insert as a single line, especially the rsync line.)
#!/bin/bash 

mkdir /mnt/USB/USB1_b2/rsyncbackup/ 

touch /mnt/USB/USB1_b2/rsyncbackup.running 

rsync -avR --no-perms --no-owner --no-group --delete /mnt/HD/HD_a2/ /mnt/USB/USB1_b2/rsyncbackup/ 

echo "completed at" >> /mnt/USB/USB1_b2/rsyncbackup.log 

date >> /mnt/USB/USB1_b2/rsyncbackup.log 

rm /mnt/USB/USB1_b2/rsyncbackup.running 

Now edit crontab for autostart. First Number (10) marks the minutes, second number (0) the hour. So 18:10 or 6:10pm would be "10 18 * * *"
crontab -e: 
10 0 * * * /usr/local/config/backup-rsync.sh >> /mnt/USB/USB1_b2/rsyncbackup.log 2>&1 

 You can also start it only once by making a crontab entry for the next minute and deleting it from crontab while running. Because the installed linux don't have screen/tmux and so you don't need to stay connected till the rsync is finished (2TB could take 20-30 hours) on first sync... next syncs would be only incremental. 

Access Twonkysettings and Previewpage on Port 9000.

With defaultsettings this is http://wdmycloud:9000/


More Tipps soon if i find out more.
(credits to https://community.wd.com/t/hidden-wdmc-directories-created-by-mcserver-and-photodbmerger-and-the-deletion-of-them/91860/19 for wdmediaserver idea)
___
*Service will start again and Crontab gets deleted at reboot, because / is a ramdisk image. (Maybe we can rebuild this, but it would be needed to rebuild after every update - and if the updates are binary patches to this file this would be very bad).