samba – How to mount cifs with unix extensions – Ask Ubuntu

when i added ,vers=1.0 to the mount options, i changed the mount options from nounix to unix. you can check this with mount -l (unix is not an option which can be set implicit).$ sudo mount -t cifs // ~/fooshare -o username=foouser,password=foopass,uid=baruser,gid=baruser,vers=1.0to provide extra info:$ sudo bash -c “echo 3 > /proc/fs/cifs/cifsFYI”make sure you unmount the specified mount properly before setting the option. To view the status (number of current cifs mounts by):$ cat /proc/fs/cifs/DebugDatashareimprove this answer

Source: samba – How to mount cifs with unix extensions – Ask Ubuntu

Bluetooth-Kopfhörer EP650 bei Linux Mint / Ubuntu schlechte Qualität

Dort gibt es zwei Optionen beim Ausgangsprofil. Die einen nennt sich Hi-F-Wiedergabe (A2DP-Senken) und die andere Headst Head Unit (HSP/HFP). Eingestellt war Headst Head Unit (HSP/HFP) und genau da lag das Problem. Nachdem ich das Ausgangsprofil auf Hi-F-Wiedergabe (A2DP-Senken) umgestellt hatte, funktioniert mein Kopfhörer in der gewohnt guten Qualität.

Source: Bluetooth-Kopfhörer EP650 bei Linux Mint / Ubuntu schlechte Qualität

Das Problem hatte ich gleichermaßen mit meinen Bose QuietComfort 35 II und unter Kubuntu 16.04.

Hier (also KDE) findet man die Einstellung unter

  • → Systemeinstellungen
  • → Multimedia
  • → Reiter “Einrichtung der Audio-Hardware”
  • → oben unter Hardware die Kopfhörer auswählen (also zB Bose QC35 II)
  • → darunter das Profil umstellen von Headset Head Unit (HSP/HFP) auf Hi-Fi-Wiedergabe (A2DP-Senken)

VladimirKrstulja/Guides/Jails – FreeBSD Wiki

3.1. Using a helper “basejail”One technique to prepare a boostrapped jail for quickest deployment involves setting up a “basejail”, which is a complete, configured jail which you clone every time you need to spawn a new jail. While managing many jails is best done with some kind of configuration automation which, in a way, obsoletes having bootstrapped jails like this, in some cases this can be useful. In short, it boils down to:

Source: VladimirKrstulja/Guides/Jails – FreeBSD Wiki

VladimirKrstulja/Guides/FreeBSDUpdateReverseProxy – FreeBSD Wiki

freebsd-update Reverse Proxy CacheEither because you’re a good netizen and don’t want to repeatedly hammer the FreeBSD mirrors to upgrade all your systems, or you want to benefit from the speed of having a local “mirror” (cache, more precisely), running a freebsd update reverse proxy cache with, say, nginx is dead simple.

Source: VladimirKrstulja/Guides/FreeBSDUpdateReverseProxy – FreeBSD Wiki

cifs-to-cloud bridge with enhanced privacy using samba, davfs2 and encfs

In this post I document how to use some cloud storage (“davfs2”) with enhanced privacy (“encfs”) and share this within my LAN (read: samba).

With plenty of online storage (ca. 1TB, 1&1 SmartDrive) and up-to-date internet connectivity at home (1&1 VDSL 100, with 40MBit uplink) it is reasonable to just use this. Continue reading “cifs-to-cloud bridge with enhanced privacy using samba, davfs2 and encfs”

How to set almost any webapplication to read-only

Sometime you may want to be able to “switch off” some web-application for particular reasons e.g. spamflooding or abuse of a REST service but you may want to enable information retrieval.

Most web applications like wordpress, mediawiki or other web 2.0 applications follow RFC 7231 where GET is defined as the primary method for information retrieval (RFC 7231,  4.3.1). Somewhere is defined that GET SCHOULD NOT be used for changing information (deleting, writing).

Just put something like this in your apache config (in VirtualHost):

    # deny everything but GET 
    <Location />
        <LimitExcept GET>
            Deny from all