From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-iy0-f171.google.com (mail-iy0-f171.google.com [209.85.210.171]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id A32BB201114 for ; Wed, 30 Nov 2011 23:11:44 -0800 (PST) Received: by iaen33 with SMTP id n33so2475548iae.16 for ; Wed, 30 Nov 2011 23:11:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=FkylS390zspi2JBuo8qhZlySrvh2vlCSHAOL2EJkL+w=; b=T/QWIyxTQpRM9ftBgJKpp3cG0/KjbvL5/PlmLJERBNR7DxqWoqQz9e/fWgiDaMcPnn qTELKueu5lxuTPGFhxIVR4Hia0n4X8OtBxLY+ry367lEvwEnKEHnioaGkSu7LEnI8YI+ dAE8CfQKP+wogTbGshtp0aWX50Mn2pj9+Q3Rc= MIME-Version: 1.0 Received: by 10.42.153.5 with SMTP id k5mr2644186icw.46.1322723503939; Wed, 30 Nov 2011 23:11:43 -0800 (PST) Received: by 10.231.153.65 with HTTP; Wed, 30 Nov 2011 23:11:43 -0800 (PST) In-Reply-To: References: Date: Thu, 1 Dec 2011 08:11:43 +0100 Message-ID: From: Dave Taht To: Jim Reisert AD1C Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: bloat@lists.bufferbloat.net Subject: Re: [Bloat] Summary: Windows file sharing X-BeenThere: bloat@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: General list for discussing Bufferbloat List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Dec 2011 07:11:44 -0000 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 w= rote: > I believe my Windows file sharing is finally working by making the > router a WINS server. =A0Here is a summary of everything (?) I think you > have to do: > > > 1) =A0On each PC, enable NetBIOS over TCP/IP. =A0I found this disabled on > both Windows XP and Windows 7 machines. =A0Go to the properties for your > network adapter, select Internet Protocol Version 4 then click on the > Properties button. =A0When the Properties window comes up, click on the > Advanced... button in the lower-right hand corner. =A0When the Advanced > Settings window comes up, make sure that "Enable NetBIOS over TCP/IP" > is selected. =A0LMHOSTS lookup can be on or off. > > > 2) =A0Install the samba3 package on the router to enable WINS support, vi= a: > > =A0 =A0opkg update > =A0 =A0opkg install samba3 luci-app-samba > > =A0 =A0(or install via the web interface) > > > 3) =A0By default, /etc/config/samba will look like: > > =A0 =A0config samba > =A0 =A0 =A0 =A0option 'name' =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 'openwrt= ' > =A0 =A0 =A0 =A0option 'workgroup' =A0 =A0 =A0 =A0 =A0 =A0 =A0'openwrt' > =A0 =A0 =A0 =A0option 'description' =A0 =A0 =A0 =A0 =A0 =A0'openwrt' > =A0 =A0 =A0 =A0option 'homes' =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0'1' > > =A0 =A0config sambashare > =A0 =A0 =A0 =A0option 'name' =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 'tmp' > =A0 =A0 =A0 =A0option 'path' =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 '/tmp' > =A0 =A0 =A0 =A0option 'read_only' =A0 =A0 =A0 =A0 =A0 =A0 =A0'no' > =A0 =A0 =A0 =A0option 'guest_ok' =A0 =A0 =A0 =A0 =A0 =A0 =A0 'no' > =A0 =A0 =A0 =A0option 'create_mask' =A0 =A0 =A0 =A0 =A0 =A0'0700' > =A0 =A0 =A0 =A0option 'dir_mask' =A0 =A0 =A0 =A0 =A0 =A0 =A0 '0700' > =A0 =A0 =A0 =A0#option 'users' =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 'abc' > > =A0 =A0Change 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) =A0There are not one, but two errors in the present /etc/config/dhcp > file. =A0You only have to fix the first one: > > =A0 =A0config 'dhcp' 'sw00' > =A0 =A0 =A0 option interface =A0 =A0 =A0 =A0'sw00' > =A0 =A0 =A0 option start =A0 =A02 > =A0 =A0 =A0 option limit =A0 =A026 > =A0 =A0 =A0 list 'dhcp_option' '42,0.0.0.0' > =A0 =A0 =A0 option leasetime =A0 =A0 =A0 =A024h > =A0 =A0 =A0 option domain =A0 'home.lan' > > =A0 =A0The 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: > > =A0 =A0list 'dhcp_option' '44,0.0.0.0' > > > 5) =A0Modify "/etc/samba/smb.conf.template" and add this line to the > [global] section: > > =A0 =A0wins support =3D yes > > > 6) =A0Start samba via: > > =A0 =A0/etc/init.d/samba start > > > 7) =A0Open 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). =A0Try to access the file share of a remote system using its > Windows file path: > > =A0 =A0\\WIRED (from a wireless computer) > > > 7) =A0One 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. =A0Make sure > the "samba" is Enabled. =A0This is so Samba starts when the router is > rebooted. > > > Special thanks to Robert Bradley and David T=E4ht 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, , http://www.ad1c.us > _______________________________________________ > Bloat mailing list > Bloat@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/bloat --=20 Dave T=E4ht SKYPE: davetaht US Tel: 1-239-829-5608 FR Tel: 0638645374 http://www.bufferbloat.net