[Cerowrt-devel] [Bloat] Sharing Windows Files from wired to wireless (3.7.5-2)
robert.bradley1 at gmail.com
Fri Jun 21 12:47:46 EDT 2013
On 20 June 2013 02:31, Jim Reisert AD1C <jjreisert at alum.mit.edu> wrote:
> I made the changes to smb.conf.template that Robert Bradley
> recommended and rebooted the router.
> OOOoooohhhh!! I can see the shared desktop file systems from the
> wireless Windows 7 machine!!!!
It's probably worth seeing then if we can get "reset on zero vc = no"
added to the default smb.conf.template. It might also be worth
pointing out the changes needed for multiple routers too, since only
one can be the WINS server (secondary routers have "wins support=no"
and "wins server=172.30.x.x" in smb.conf.template, and
/etc/config/dhcp entries use "44,172.30.x.x" instead of "44,0.0.0.0").
I also have a patch to luci-app-samba that allows you to set the
listening interfaces via the UI:
diff --git a/applications/luci-samba/luasrc/model/cbi/samba.lua
index 9152637..d5294b5 100644
@@ -28,6 +28,15 @@ s:taboption("general", Value, "homes",
translate("Allow system users to reach their home directories via " ..
+net = s:taboption("general", Value, "interface", translate("Served
+net.template = "cbi/network_netlist"
+net.widget = "checkbox"
+net.nocreate = true
+function net.cfgvalue(self, section)
+ return m.uci:get("samba", section, "interface")
tmpl = s:taboption("template", Value, "_tmpl",
translate("Edit the template that is used for generating the
translate("This is the content of the file
'/etc/samba/smb.conf.template' from which your samba configuration
will be generated. " ..
Unfortunately, I expect Gmail will mangle the lines in that patch, but
it should be easy enough to fix. The CeroWRT version of the file is
at /usr/lib/lua/luci/model/cbi/samba.lua if anyone wants to try adding
this manually. For this to have any effect on Samba, you will need to
restore/uncomment the original "interfaces = |INTERFACES|" line in
smb.conf.template that my previous template set manually.
More information about the Cerowrt-devel