Posts by Enra

    Eine dns verwende ich, wo kann ich das einstellen?

    Geh mal mit ssh auf die Konsole und tippe
    nslookup smtp.gmail.com
    ein.
    Das Ergebnis sollte i.e. so aussehen:


    Server: 127.0.0.53
    Address: 127.0.0.53#53



    Non-authoritative answer:
    smtp.gmail.com canonical name = gmail-smtp-msa.l.google.com.
    Name: gmail-smtp-msa.l.google.com
    Address: 108.177.15.109
    Name: gmail-smtp-msa.l.google.com
    Address: 2a00:1450:400c:c00::6d


    Zur Einstellung:
    Das hängt davon ab, ob du deine OMV Box statisch oder per DHCP konfiguriert hast.
    Wie hast du es gemacht?

    Did you add any of the tuning parameters from the tuning threads?

    ...too stupid, to find them.
    You have a link for me?


    But in the meantime I investigated a little bit more and found out that
    cache=loose
    on the client-side enhances the perfomance dramatically:
    File replacement on the server-side is now 20 MByte/s (coming from 300kByte/s).
    But this also reduced download speeds to 20 MByte/s.


    Here my actual mount:


    Code
    //server.lan/homes/user on /home/user/server type cifs (rw,nosuid,nodev,relatime,vers=2.0,sec=ntlmssp,cache=loose,username=xxxx,domain=,uid=1000,forceuid,gid=1000,forcegid,addr=192.168.1.8,file_mode=0755,dir_mode=0755,nounix,serverino,mapposix,rsize=65536,wsize=65536,echo_interval=60,actimeo=1)



    I'm not trying to get the last 10%.
    I'm just trying to get an acceptable performance.
    So I ask myself, why are the default settings so "unusable" in LinuxMint.

    Also I would try not mount with nemo. Test using the mount smb command manually.

    Good point.
    I mounted manually with an entry in fstab:

    Code
    //server.lan/homes/user /home/user/server cifs rw,user,noauto 0 0

    and

    Code
    user@mint ~ $ mount /home/user/server

    in the terminal.


    Now things go crazy:
    Up- and download speeds rise up to 40 MBytes/s. That quite OK and expected. :thumbsup:
    When I replace a file on the client-side, the speed drops down to 20 MByte/s, which is acceptable.




    But if I replace a file on the server-side, the speed drops down to 300 kByte/s. ;(
    Tried to force SMBv2 on the client side, but that made no difference.




    I'm running out of ideas...

    Are you sure the wireless is connecting at the same speed on Linux Mint? My xps13 doesn't on Ubuntu 18. Samba speed is just fine with a usb network adapter.

    Yes it does. Checked it with iwconfig.
    I tested also with an usb adapter. Of cource better, but the ratio between SMB and SSH was the same.
    SMB was also poor.

    Hi,


    I've got very poor samba performance (r/w) from my LinuxMint Laptop (dual-boot) to my OMV-server.


    Speed (r/w) with LinuxMint:
    SMB: 3 MB/s (mounted with nemo)
    SSH: 40 MB/s


    Speed (r/w) with Win10:
    SMB: 35 MB/s


    Client:
    Dual-boot laptop with WiFi AC (connected above 600 mb/s).
    Win10
    LinuxMint 18.3 cinnamon


    Server:
    HP-N54L (connected 1gb/s, wired)
    OMV 4.0.14-1


    So, obvisously there is a problem with the SMB Mint-Client and the server.


    Which experience have other users with minit or ubuntu client?
    Any ideas to get LinuxMint performing like expected? ?(

    So I could connect to my NAS by connecting mysef to the VPN server on the router without having to setup a second VPN server on my NAS to access it ?

    Usually it works exactly this way.
    I say "usually" cause I don't know your setup.
    In my case I have an OpenVPN Server on my router and connect from outside using a "tun" interface.
    And I have firewall rules to allow the traffic between my lan and the VPN network.

    Hi,

    But i have a VPN server on my router, and I also want to access my NAS over the web

    that is exactly what you need to access your NAS over the web.
    Or did I misunderstand something?
    Or do you have an VPN-CLIENT on your router?

    Du nutzt ja sicherlich einen DynDNS Dienst, um auf deinen Server aus dem I-Net zuzugreifen.
    Versuche mal, da mehrere Namen anzulegen, wie z.B.:


    nextcloud-happy.mydns.com
    wordpress-happy.mydns.com


    Wenn die beide auf die Adresse deines Routers zeigen, könnte das funktionieren.

    Hi Fax,


    in the meantime I came to a similar solution.
    But I must admit that your script is much more sophisticated than mine. :thumbup:


    Two notes:


    A)
    As my Lede router redirects to https, I use this wget-command to pull and store the keyfile as /run/keyfile:
    wget --no-check-certificate -P /run -t 10 192.168.1.1/keyfile


    B)
    My init-script uses
    # Required-Start: $network


    For the services depending on the data-disc like MySQL I had an
    # Required-Start: $luks-unlock

    in the /etc/init.d/mysql script.


    But that was not sufficient. MySQL did not come up cause the disc was not yet ready.
    I tried several start-points but I did not find the right runorder.
    So I "reload" these services in /etc/rc.local with 10s delay:


    sleep 10
    /etc/init.d/mysql start


    Thanks for your work.