Joined: 09 Jan 2014 Posts: 42 Location: United States
Posted: Tue Jan 14, 2014 5:17 Post subject: Samba broken in Kong's 23325?
Tried 23325 build today and I was getting timeout errors when trying to connect to Samba... Looks like some firewall rules are missing... On the bright side, FTP speeds seemed to be faster. Reverted back to 23320 for the time being.
Joined: 09 Jan 2014 Posts: 42 Location: United States
Posted: Tue Jan 14, 2014 7:09 Post subject:
Gameman Advanced Kid wrote:
im using samba and its working fine in 23325 on my R6250.
how did you set it up? maybe i can try to create the problem myself?
Hmm... Maybe it's specific to R7000?
Nothing special in the configuration. USB storage is enabled with automount, Samba enabled, all defaults, workgroup is set to WORKGROUP, one share added, one user added with read/write access to the share.
Tried to connect from my computer - connection timeout. smbd/nmbd were running on the router.
I tried to preserve config from 23320, then reset to defaults, but to no avail.
The same configuration works well with my 23320 build.
I didn't have time to troubleshoot more - needed my router up and running. If no one else has this problem, I'll try to investigate further in the next few days.
BTW, do you see any performance boost in 23325 related to Samba?
i see the boost. works great! as for you, do a 30/30/30 reset so you can set everything from scratch. i did the same to my router and it helped quite a bit. _________________ For people who are new to the dd-wrt forums >> http://www.catb.org/~esr/faqs/smart-questions.html#rtfm
barryware wrote:
It takes a "community" to raise a router..
Internet Connection 1
Some Techicolor modem > Linksys WRT3200ACM
Internet connection 2
Ubiquiti Powerbeam Gen 2 > Netgear R9000
Official (but not really) dd-wrt General Discussion element/matrix chat
Joined: 09 Jan 2014 Posts: 42 Location: United States
Posted: Tue Jan 14, 2014 15:11 Post subject:
Gameman Advanced Kid wrote:
i see the boost. works great! as for you, do a 30/30/30 reset so you can set everything from scratch. i did the same to my router and it helped quite a bit.
I didn't do 30-30-30, but I did reset it via webgui. Is there any difference between doing 30-30-30 and "reset to factory defaults" in webgui? I thought it doesn't matter anymore...
i see the boost. works great! as for you, do a 30/30/30 reset so you can set everything from scratch. i did the same to my router and it helped quite a bit.
I didn't do 30-30-30, but I did reset it via webgui. Is there any difference between doing 30-30-30 and "reset to factory defaults" in webgui? I thought it doesn't matter anymore...
If you can give some debug info we might see if there is a problem, since with my config it works on two routers and when I did the throughput testing with the changes I copied about 500GB to 3 different drives from two different PCs Linux/Windows.
And I just did 2 little changes for samba, removing a tuning option in order to use sambas default which are better and add firewall rules to remove samba traffic from connection tracking.
Thus if you can get me the following info to see if the basics are there, run each command in a ssh or telnet session to the router:
ps | grep smb
ifconfig
cat /tmp/smb.conf
Also let me know how you access samba by name or ip e.g.:
Joined: 09 Jan 2014 Posts: 42 Location: United States
Posted: Wed Jan 15, 2014 0:49 Post subject:
<Kong> wrote:
If you can give some debug info we might see if there is a problem, since with my config it works on two routers and when I did the throughput testing with the changes I copied about 500GB to 3 different drives from two different PCs Linux/Windows.
And I just did 2 little changes for samba, removing a tuning option in order to use sambas default which are better and add firewall rules to remove samba traffic from connection tracking.
Thus if you can get me the following info to see if the basics are there, run each command in a ssh or telnet session to the router:
ps | grep smb
ifconfig
cat /tmp/smb.conf
Also let me know how you access samba by name or ip e.g.:
\\routerip\share
or
\\routername\share
I'm currently running 23020, but I'll try to do a quick test this evening. All I can say is that smbd and nmbd processes were running, and I could access the files via FTP connection.
As for accessing the share, I usually use an IP address, but router name resolves fine too.
If you can give some debug info we might see if there is a problem, since with my config it works on two routers and when I did the throughput testing with the changes I copied about 500GB to 3 different drives from two different PCs Linux/Windows.
And I just did 2 little changes for samba, removing a tuning option in order to use sambas default which are better and add firewall rules to remove samba traffic from connection tracking.
Thus if you can get me the following info to see if the basics are there, run each command in a ssh or telnet session to the router:
ps | grep smb
ifconfig
cat /tmp/smb.conf
Also let me know how you access samba by name or ip e.g.:
\\routerip\share
or
\\routername\share
I'm currently running 23020, but I'll try to do a quick test this evening. All I can say is that smbd and nmbd processes were running, and I could access the files via FTP connection.
As for accessing the share, I usually use an IP address, but router name resolves fine too.
Joined: 09 Jan 2014 Posts: 42 Location: United States
Posted: Wed Jan 15, 2014 2:05 Post subject:
<Kong> wrote:
And you are not accessing it from another bridge?
Nope. I have very basic network config - a single LAN subnet, no fancy VLANs, no guest networks, no custom firewall rules. I do have QoS enabled, but that's on WAN interface only. I'm accessing shares from my internal network - via both wired and wireless connections.
I seem to be having the exact same problem. I just got my R7000 today and installed DD-WRT. I initially flashed r23325 and could not get samba to work, the share would not show up no matter how i tried to access it. I flashed back to r23320 and using the same settings, the share showed up immediately.
I will flash to 23325 again tomorrow and collect some logs and share them here.
Joined: 26 Apr 2011 Posts: 202 Location: Sacramento CA
Posted: Wed Jan 15, 2014 3:11 Post subject: R6300v2
Since I'm having the same problem and nobody has provided the requested information kong has asked for...here it is. Everything looks OK to me in the config files but neither my Desktop, Laptop nor Android device can see the shares. I have tried using the ip address and the name, neither work. Did the webif reset but not the 30-30-30. Should probably also mention the router does not show up when "browsing the network".
Edit: Pulled a series of SAMBA related from /var/log/messages and added attachment of same. Don't know if these will help or not. Dang, 3 attachment limit, just included it with PS info instead.
I probably missed a few rules, because it took too long to discover the shares. However, the file transfer itself worked faster than before and I got 20 MB/s vs. 16 MB/s on 23320.
I rolled back to 23320 for now...
UPD: looking at the rules, maybe what screws it up is deprecated NOTRACK rule (see dmesg output)
OK, I can reproduce it now. I did reset setup basics and suddenly not working anymore and I see one rule is missing now, have to check what feature activates this rule. _________________ KONG PB's: http://www.desipro.de/ddwrt/
KONG Info: http://tips.desipro.de/
OK, removed the NOTRACK shit, this does not work well for every configs and most likely has no influence on network share speed with our current firewall ruleset. _________________ KONG PB's: http://www.desipro.de/ddwrt/
KONG Info: http://tips.desipro.de/