General list for discussing Bufferbloat
 help / color / mirror / Atom feed
* [Bloat] Summary: Windows file sharing
@ 2011-12-01  6:38 Jim Reisert AD1C
  2011-12-01  6:57 ` Jim Reisert AD1C
  2011-12-01  7:11 ` Dave Taht
  0 siblings, 2 replies; 9+ messages in thread
From: Jim Reisert AD1C @ 2011-12-01  6:38 UTC (permalink / raw)
  To: bloat

I believe my Windows file sharing is finally working by making the
router a WINS server.  Here is a summary of everything (?) I think you
have to do:


1)  On each PC, enable NetBIOS over TCP/IP.  I found this disabled on
both Windows XP and Windows 7 machines.  Go to the properties for your
network adapter, select Internet Protocol Version 4 then click on the
Properties button.  When the Properties window comes up, click on the
Advanced... button in the lower-right hand corner.  When the Advanced
Settings window comes up, make sure that "Enable NetBIOS over TCP/IP"
is selected.  LMHOSTS lookup can be on or off.


2)  Install the samba3 package on the router to enable WINS support, via:

    opkg update
    opkg install samba3 luci-app-samba

    (or install via the web interface)


3)  By default, /etc/config/samba will look like:

    config samba
        option 'name'                   'openwrt'
        option 'workgroup'              'openwrt'
        option 'description'            'openwrt'
        option 'homes'                  '1'

    config sambashare
        option 'name'                   'tmp'
        option 'path'                   '/tmp'
        option 'read_only'              'no'
        option 'guest_ok'               'no'
        option 'create_mask'            '0700'
        option 'dir_mask'               '0700'
        #option 'users'                 'abc'

    Change the 'workgroup' option above to match your Windows
workgroup name, or re-configure the workgroup of all the Windows
computers to be OPENWRT (matches default 'workgroup' above)


4)  There are not one, but two errors in the present /etc/config/dhcp
file.  You only have to fix the first one:

    config 'dhcp' 'sw00'
       option interface        'sw00'
       option start    2
       option limit    26
       list 'dhcp_option' '42,0.0.0.0'
       option leasetime        24h
       option domain   'home.lan'

    The dhcp options for supplying WINS are not set, so add the
following line to /etc/config/dhcp after the existing dhcp_option line
shown above:

    list 'dhcp_option' '44,0.0.0.0'


5)  Modify "/etc/samba/smb.conf.template" and add this line to the
[global] section:

    wins support = yes


6)  Start samba via:

    /etc/init.d/samba start


7)  Open Windows Explorer, and make sure you can see the computers on
the wireless subnet from the computers on the wired subnet, and
vice-versa (this will be in the Network section in the lower-left hand
corner).  Try to access the file share of a remote system using its
Windows file path:

    \\WIRED (from a wireless computer)


7)  One it's all working, open the router GUI, click on the System tab
in the top row, then on the Startup tab in the second row.  Make sure
the "samba" is Enabled.  This is so Samba starts when the router is
rebooted.


Special thanks to Robert Bradley and David Täht for all their help and
suggestions (mostly copied verbatim to the instructions above), and
especially their patience while I tried to make this work, and neither
of them having access to a Windows 7 machine.


-- 
Jim Reisert AD1C, <jjreisert@alum.mit.edu>, http://www.ad1c.us

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Bloat] Summary: Windows file sharing
  2011-12-01  6:38 [Bloat] Summary: Windows file sharing Jim Reisert AD1C
@ 2011-12-01  6:57 ` Jim Reisert AD1C
  2011-12-01  7:15   ` Dave Taht
  2011-12-01 17:21   ` Jim Reisert AD1C
  2011-12-01  7:11 ` Dave Taht
  1 sibling, 2 replies; 9+ messages in thread
From: Jim Reisert AD1C @ 2011-12-01  6:57 UTC (permalink / raw)
  To: bloat

On Wed, Nov 30, 2011 at 11:38 PM, Jim Reisert AD1C wrote:

> I believe my Windows file sharing is finally working by making the router a WINS server.

Not quite yet.  On my wife's laptop (Windows XP), I can browse to
\\DESKTOP\My Documents (Windows 7).  I changed the path of the My
Documents folder on the laptop to be \\DESKTOP\My Documents. But when
I try to synchronize the folder on the laptop (to the Desktop),
Windows reports an error, saying the network path no longer exists.
This used to work when all the computers were on the same subnet.

If anyone has any ideas, I'd appreciate it!  Maybe there's a different
protocol for this synchronization which needs to be configured.

-- 
Jim Reisert AD1C, <jjreisert@alum.mit.edu>, http://www.ad1c.us

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Bloat] Summary: Windows file sharing
  2011-12-01  6:38 [Bloat] Summary: Windows file sharing Jim Reisert AD1C
  2011-12-01  6:57 ` Jim Reisert AD1C
@ 2011-12-01  7:11 ` Dave Taht
  1 sibling, 0 replies; 9+ messages in thread
From: Dave Taht @ 2011-12-01  7:11 UTC (permalink / raw)
  To: Jim Reisert AD1C; +Cc: bloat

Thank you very much for staying on this.

We need to move this to a wiki page.

To clarify step 4 mildly, you need to supply a wins server across the
'secure' interfaces - se00 sw10 sw00. It is probably a bad idea to
supply wins on the 'guest' interfaces (as by default guests are
firewalled off from the secure ones - wins might work but
filesharing won't)

I will fix in rc8.

The problem on getting rc8 out the door is all the churn
going on in both openwrt (official linux 3.1.X support should land soon (?),
and both new samba3 and samba36 patches have landed),
and in the main 3.2 kernel trees, where BQL just landed (Yea!), and eric
dumazet has just fixed multiple bugs in all the AQMS (improving
hashing in particular - and maybe improving SFB), and a major
one in RED just yesterday.

And worse, going from 3.1 to 3.2 is going to be a PITA, as
much of the underlying tree structure has changed.

Regardless I'm going to have to rebase cerowrt on openwrt head after
more dust settlles, and re-apply the cerowrt-specific patches on top of
that.

I'm very tempted to put cerowrt down entirely
while all this gets sorted out. The above things are very promising
things happening that could easily consume all of my time,
that don't need to happen on a router right now.

https://github.com/dtaht/deBloat/commits/master


On Thu, Dec 1, 2011 at 7:38 AM, Jim Reisert AD1C <jjreisert@alum.mit.edu> wrote:
> I believe my Windows file sharing is finally working by making the
> router a WINS server.  Here is a summary of everything (?) I think you
> have to do:
>
>
> 1)  On each PC, enable NetBIOS over TCP/IP.  I found this disabled on
> both Windows XP and Windows 7 machines.  Go to the properties for your
> network adapter, select Internet Protocol Version 4 then click on the
> Properties button.  When the Properties window comes up, click on the
> Advanced... button in the lower-right hand corner.  When the Advanced
> Settings window comes up, make sure that "Enable NetBIOS over TCP/IP"
> is selected.  LMHOSTS lookup can be on or off.
>
>
> 2)  Install the samba3 package on the router to enable WINS support, via:
>
>    opkg update
>    opkg install samba3 luci-app-samba
>
>    (or install via the web interface)
>
>
> 3)  By default, /etc/config/samba will look like:
>
>    config samba
>        option 'name'                   'openwrt'
>        option 'workgroup'              'openwrt'
>        option 'description'            'openwrt'
>        option 'homes'                  '1'
>
>    config sambashare
>        option 'name'                   'tmp'
>        option 'path'                   '/tmp'
>        option 'read_only'              'no'
>        option 'guest_ok'               'no'
>        option 'create_mask'            '0700'
>        option 'dir_mask'               '0700'
>        #option 'users'                 'abc'
>
>    Change the 'workgroup' option above to match your Windows
> workgroup name, or re-configure the workgroup of all the Windows
> computers to be OPENWRT (matches default 'workgroup' above)
>
>
> 4)  There are not one, but two errors in the present /etc/config/dhcp
> file.  You only have to fix the first one:
>
>    config 'dhcp' 'sw00'
>       option interface        'sw00'
>       option start    2
>       option limit    26
>       list 'dhcp_option' '42,0.0.0.0'
>       option leasetime        24h
>       option domain   'home.lan'
>
>    The dhcp options for supplying WINS are not set, so add the
> following line to /etc/config/dhcp after the existing dhcp_option line
> shown above:
>
>    list 'dhcp_option' '44,0.0.0.0'
>
>
> 5)  Modify "/etc/samba/smb.conf.template" and add this line to the
> [global] section:
>
>    wins support = yes
>
>
> 6)  Start samba via:
>
>    /etc/init.d/samba start
>
>
> 7)  Open Windows Explorer, and make sure you can see the computers on
> the wireless subnet from the computers on the wired subnet, and
> vice-versa (this will be in the Network section in the lower-left hand
> corner).  Try to access the file share of a remote system using its
> Windows file path:
>
>    \\WIRED (from a wireless computer)
>
>
> 7)  One it's all working, open the router GUI, click on the System tab
> in the top row, then on the Startup tab in the second row.  Make sure
> the "samba" is Enabled.  This is so Samba starts when the router is
> rebooted.
>
>
> Special thanks to Robert Bradley and David Täht for all their help and
> suggestions (mostly copied verbatim to the instructions above), and
> especially their patience while I tried to make this work, and neither
> of them having access to a Windows 7 machine.
>
>
> --
> Jim Reisert AD1C, <jjreisert@alum.mit.edu>, http://www.ad1c.us
> _______________________________________________
> Bloat mailing list
> Bloat@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/bloat



-- 
Dave Täht
SKYPE: davetaht
US Tel: 1-239-829-5608
FR Tel: 0638645374
http://www.bufferbloat.net

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Bloat] Summary: Windows file sharing
  2011-12-01  6:57 ` Jim Reisert AD1C
@ 2011-12-01  7:15   ` Dave Taht
  2011-12-01  9:06     ` Hagen Paul Pfeifer
  2011-12-01 17:21   ` Jim Reisert AD1C
  1 sibling, 1 reply; 9+ messages in thread
From: Dave Taht @ 2011-12-01  7:15 UTC (permalink / raw)
  To: Jim Reisert AD1C; +Cc: bloat

My guess is what happened is during the 'GREAT RENAMING'
of workgroups to different workgroups.

windows got confused as to what was where, when.

Another guess is that perhaps you need to have the username
and password databases synced between the three devices.

Or merely between the two windows devices.

You are probably browsing as 'guest' for example.

And then trying to connect as 'guest.

Not sharing
files as 'guest' but only to a specific users should make them
stop showing up as browseable to non-users,

and when you connect will prompt you for a password.

(which you can then let it memorize)

On Thu, Dec 1, 2011 at 7:57 AM, Jim Reisert AD1C <jjreisert@alum.mit.edu> wrote:
> On Wed, Nov 30, 2011 at 11:38 PM, Jim Reisert AD1C wrote:
>
>> I believe my Windows file sharing is finally working by making the router a WINS server.
>
> Not quite yet.  On my wife's laptop (Windows XP), I can browse to
> \\DESKTOP\My Documents (Windows 7).  I changed the path of the My
> Documents folder on the laptop to be \\DESKTOP\My Documents. But when
> I try to synchronize the folder on the laptop (to the Desktop),
> Windows reports an error, saying the network path no longer exists.
> This used to work when all the computers were on the same subnet.
>
> If anyone has any ideas, I'd appreciate it!  Maybe there's a different
> protocol for this synchronization which needs to be configured.
>
> --
> Jim Reisert AD1C, <jjreisert@alum.mit.edu>, http://www.ad1c.us
> _______________________________________________
> Bloat mailing list
> Bloat@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/bloat



-- 
Dave Täht
SKYPE: davetaht
US Tel: 1-239-829-5608
FR Tel: 0638645374
http://www.bufferbloat.net

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Bloat] Summary: Windows file sharing
  2011-12-01  7:15   ` Dave Taht
@ 2011-12-01  9:06     ` Hagen Paul Pfeifer
  2011-12-01  9:58       ` Dave Taht
  0 siblings, 1 reply; 9+ messages in thread
From: Hagen Paul Pfeifer @ 2011-12-01  9:06 UTC (permalink / raw)
  To: Dave Taht; +Cc: bloat


On Thu, 1 Dec 2011 08:15:40 +0100, Dave Taht wrote:


> windows got confused as to what was where, when.
> 
> Another guess is that perhaps you need to have the username
> and password databases synced between the three devices.

<snip>

Dave you should definitely setup a new maillinglist for cerowrt. Windows
and WINFS setup problems seems legitim for cerowrt - no doubt - but not
adequate for bloat@.

Hagen

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Bloat] Summary: Windows file sharing
  2011-12-01  9:06     ` Hagen Paul Pfeifer
@ 2011-12-01  9:58       ` Dave Taht
  0 siblings, 0 replies; 9+ messages in thread
From: Dave Taht @ 2011-12-01  9:58 UTC (permalink / raw)
  To: Hagen Paul Pfeifer; +Cc: bloat

On Thu, Dec 1, 2011 at 10:06 AM, Hagen Paul Pfeifer <hagen@jauu.net> wrote:
>
> On Thu, 1 Dec 2011 08:15:40 +0100, Dave Taht wrote:
>
>
>> windows got confused as to what was where, when.
>>
>> Another guess is that perhaps you need to have the username
>> and password databases synced between the three devices.
>
> <snip>
>
> Dave you should definitely setup a new maillinglist for cerowrt. Windows
> and WINFS setup problems seems legitim for cerowrt - no doubt - but not
> adequate for bloat@.

I have been feeling that way too. I do apologize to everyone for the
extra noise on this front and will setup a new mailing list for cero
as soon as I remember how.

>
> Hagen



-- 
Dave Täht
SKYPE: davetaht
US Tel: 1-239-829-5608
FR Tel: 0638645374
http://www.bufferbloat.net

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Bloat] Summary: Windows file sharing
  2011-12-01  6:57 ` Jim Reisert AD1C
  2011-12-01  7:15   ` Dave Taht
@ 2011-12-01 17:21   ` Jim Reisert AD1C
  2011-12-01 18:35     ` Steinar H. Gunderson
  2011-12-01 18:56     ` Dave Taht
  1 sibling, 2 replies; 9+ messages in thread
From: Jim Reisert AD1C @ 2011-12-01 17:21 UTC (permalink / raw)
  To: bloat

On Wed, Nov 30, 2011 at 11:57 PM, Jim Reisert AD1C wrote:

> Not quite yet.  On my wife's laptop (Windows XP), I can browse to
> \\DESKTOP\My Documents (Windows 7).  I changed the path of the My
> Documents folder on the laptop to be \\DESKTOP\My Documents. But when
> I try to synchronize the folder on the laptop (to the Desktop),
> Windows reports an error, saying the network path no longer exists.
> This used to work when all the computers were on the same subnet.

I have my own personal Windows XP laptop.  Even after configuring
"NetBIOS over TCP/IP", the computer still could not see the workgroup!

The only difference I can see between this computer and the other two
wireless ones (one Windows 7, one XP) is that this one is on the
802.11G network, whereas the other two are on the 802.11N network.  I
don't know if that makes any difference or not.  Its IP address is in
the same subnet range as the other two wireless computers (ending with
.64 through .95).

- Jim

p.s. I did notice that I had not configured all the interfaces in
/etc/config/dhcp (se00, sw00, and sw10), so I updated this per the
twiki page and rebooted.  This was all done before booting up the
other XP laptop, so may not be a factor in this problem.

-- 
Jim Reisert AD1C, <jjreisert@alum.mit.edu>, http://www.ad1c.us

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Bloat] Summary: Windows file sharing
  2011-12-01 17:21   ` Jim Reisert AD1C
@ 2011-12-01 18:35     ` Steinar H. Gunderson
  2011-12-01 18:56     ` Dave Taht
  1 sibling, 0 replies; 9+ messages in thread
From: Steinar H. Gunderson @ 2011-12-01 18:35 UTC (permalink / raw)
  To: bloat

On Thu, Dec 01, 2011 at 10:21:45AM -0700, Jim Reisert AD1C wrote:
> I have my own personal Windows XP laptop.  Even after configuring
> "NetBIOS over TCP/IP", the computer still could not see the workgroup!

Note that browsing (seeing the workgroup, being able to list other machines)
is separate from name resolution (hostname -> IP address). WINS only gives
you the latter.

Windows browsing information can generally not cross subnets unless you are
on a domain, you have a special browse master machine on each subnet
(configured to sync to each other), or you do special magic to the broadcast
packets.

/* Steinar */
-- 
Homepage: http://www.sesse.net/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Bloat] Summary: Windows file sharing
  2011-12-01 17:21   ` Jim Reisert AD1C
  2011-12-01 18:35     ` Steinar H. Gunderson
@ 2011-12-01 18:56     ` Dave Taht
  1 sibling, 0 replies; 9+ messages in thread
From: Dave Taht @ 2011-12-01 18:56 UTC (permalink / raw)
  To: Jim Reisert AD1C; +Cc: bloat

I have moved further discussion of this problem to bug report #314

If you are interested in the resolution of this problem, please subscribe
to http://www.bufferbloat.net/issues/314

And/or it can be further discussed via email to cerowrt AT lists.bufferbloat.net

with a subject line containing whatever you want and [#314]

I do regard solving routing vs bridging issues with various protocols
as rather integral to the  overall attempt to eliminate side effects of
multicast, but certainly, not bufferbloat.





On Thu, Dec 1, 2011 at 6:21 PM, Jim Reisert AD1C <jjreisert@alum.mit.edu> wrote:
> On Wed, Nov 30, 2011 at 11:57 PM, Jim Reisert AD1C wrote:
>
>> Not quite yet.  On my wife's laptop (Windows XP), I can browse to
>> \\DESKTOP\My Documents (Windows 7).  I changed the path of the My
>> Documents folder on the laptop to be \\DESKTOP\My Documents. But when
>> I try to synchronize the folder on the laptop (to the Desktop),
>> Windows reports an error, saying the network path no longer exists.
>> This used to work when all the computers were on the same subnet.
>
> I have my own personal Windows XP laptop.  Even after configuring
> "NetBIOS over TCP/IP", the computer still could not see the workgroup!
>
> The only difference I can see between this computer and the other two
> wireless ones (one Windows 7, one XP) is that this one is on the
> 802.11G network, whereas the other two are on the 802.11N network.  I
> don't know if that makes any difference or not.  Its IP address is in
> the same subnet range as the other two wireless computers (ending with
> .64 through .95).
>
> - Jim
>
> p.s. I did notice that I had not configured all the interfaces in
> /etc/config/dhcp (se00, sw00, and sw10), so I updated this per the
> twiki page and rebooted.  This was all done before booting up the
> other XP laptop, so may not be a factor in this problem.
>
> --
> Jim Reisert AD1C, <jjreisert@alum.mit.edu>, http://www.ad1c.us
> _______________________________________________
> Bloat mailing list
> Bloat@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/bloat



-- 
Dave Täht
SKYPE: davetaht
US Tel: 1-239-829-5608
FR Tel: 0638645374
http://www.bufferbloat.net

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-12-01 18:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-01  6:38 [Bloat] Summary: Windows file sharing Jim Reisert AD1C
2011-12-01  6:57 ` Jim Reisert AD1C
2011-12-01  7:15   ` Dave Taht
2011-12-01  9:06     ` Hagen Paul Pfeifer
2011-12-01  9:58       ` Dave Taht
2011-12-01 17:21   ` Jim Reisert AD1C
2011-12-01 18:35     ` Steinar H. Gunderson
2011-12-01 18:56     ` Dave Taht
2011-12-01  7:11 ` Dave Taht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox