northbound wrote:Mainly the transfer would wlan or vpn. And I have tried to get samba to work on win 10. With no success it is most likely a screw up on my part I see the share on windows as openwrt but can not access the shares that are there, even setting sambapasswd. I like the winscp gui and it should be able to do what I want. If I can get it working right. This has been an ongoing trial. I am new to linix and the openwrt software. But am learning. Tested ext4 way slow uploaded file from win to the drive, download was fine but the same brick wall at 488 meg?
I do read what I can find on wiki. It just seems strange that it bombs consistently at that point. At least I know it is not file system related.
With Win 8.1 (so probably 10), I've only been able to get Samba to work via creating a Samba user [must be a different user name than Windows login], setting the Samba password via smbpasswd, setting the allowed users to only your Samba user name (leaving read only and allow guests unticked), then restart Samba. Once you restart Samba, add the folder share in Windows and log in with the Samba username and password.
For example, in /etc/samba/smb.conf, my share (with some info changed) is:
[NameOfShare]
path = /Path/To/Share
valid users = SambaUserName
read only = no
guest ok = no
create mask = 0700
directory mask = 0700
browseable = yes
and /etc/config/samba:
config samba
option homes '1'
option workgroup 'WORKGROUP'
option name 'OpenWRT'
option description 'USB3'
config sambashare
option name 'NameOfShare'
option path '/Path/Of/Share
option users 'SambaUserName'
option read_only 'no'
option guest_ok 'no'
option public 'no'
option browseable 'yes'
option create_mask '0700'
option dir_mask '0700'
If that still doesn't allow you access, create a new Samba share as a test, and allow guests (no username/pass required to access), with chmod permissions set to 777 (Create Mask, Directory Mask). That should allow you access... if it doesn't and you didn't customize the template, the issue is probably not with Samba.
This may be a dumb question, but have you checked your firewall? Samba uses 137 - 139 (udp) and 139 (tcp) for NetBIOS, and 445 (tcp) for smb.
I can transfer a 503MB file successfully and without issue at 5.596MB/s... I transferred to my USB3 data partition (formated ext4), which might be an indication it's ntfs related. Linux and ntfs have never played well together.
Out of curiousity, why did you choose ntfs? If it was to remain compatible with Win PCs, Paragon offers a free application called ExtFS that automounts ext partitions when connected.
EDIT
With port 445, you need to be extremely careful when firewalling it and you should set a default drop or block rule on your PC for 445. Then, as needed, add a rule above it for the specific application you need it for and/or restrict it to your home network. 445 is one of the most commonly exploited ports, but it's vital to the smb protocol.
(Last edited by JW0914 on 20 Jun 2015, 01:55)