From owner-freebsd-net@FreeBSD.ORG Mon Oct 10 01:05:27 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A64216A41F for ; Mon, 10 Oct 2005 01:05:27 +0000 (GMT) (envelope-from lists@wm-access.no) Received: from lakepoint.domeneshop.no (lakepoint.domeneshop.no [194.63.248.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28E9943D45 for ; Mon, 10 Oct 2005 01:05:25 +0000 (GMT) (envelope-from lists@wm-access.no) Received: from [192.168.5.8] (host-81-191-3-170.bluecom.no [81.191.3.170]) (authenticated bits=0) by lakepoint.domeneshop.no (8.13.4/8.13.4) with ESMTP id j9A15LsY004606; Mon, 10 Oct 2005 03:05:23 +0200 Message-ID: <4349BE4F.9030102@wm-access.no> Date: Mon, 10 Oct 2005 03:05:19 +0200 From: =?ISO-8859-1?Q?Sten_Daniel_S=F8rsdal?= User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Marcin Jessa References: <20050926195807.GD95971@sandvine.com> <17208.30606.117170.36398@khavrinen.csail.mit.edu> <20050927001650.GA9994@sandvine.com> <20050927180021.GB9994@sandvine.com> <433A2882.4030003@freebsd.org> <433A2D6E.7020205@freebsd.org> <20050928152112.GC9994@sandvine.com> <2262110.20050928194326@mail.ru> <584642479.20050930101019@mail.ru> <20050930095743.402e56cd.lists@yazzy.org> <372828116.20051004102540@mail.ru> <20051004093517.15e368f2.lists@yazzy.org> <1721705859.20051004163721@mail.ru> <20051004151842.66ffca58.lists@yazzy.org> In-Reply-To: <20051004151842.66ffca58.lists@yazzy.org> X-Enigmail-Version: 0.92.0.0 OpenPGP: id=C308A003 Content-Type: multipart/mixed; boundary="------------040707080404080506060809" Cc: freebsd-net@freebsd.org, SAMU Subject: Re: How connect 2 PC with ath in hostap mode ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Oct 2005 01:05:27 -0000 This is a multi-part message in MIME format. --------------040707080404080506060809 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Marcin Jessa wrote: > On Tue, 4 Oct 2005 16:37:21 +0400 > Andrey Smagin wrote: > >>Hello Marcin, >>Tuesday, October 4, 2005, 11:35:17 AM, you wrote: >> >>MJ> How are you bridging the interfaces? What kind of bridging >>MJ> mechanism are you using? >> >> In FreeBSD: >> kldload ath, ath_hal, bridge, fxp > > Recompile your kernel with following options. > device wlan # 802.11 support > device ath > device ath_hal > device ath_rate_sample > >>On both host: >> ifconfig_ath0="inet ssid 1234 channel 6 mode 11g mediaopt adhoc" >>in sysctl.conf >> hw....bridge.config=ath0:1,fxp0:1 >> hw....bridge.enable=1 >> >> ipfw allow ip from any to any >>in this mode speed about 8KBy/s > > Try to use if_bridge instead > ifconfig bridge0 create up > ifconfig bridge0 addm ath0 fxp0 > etc... > The "old" bridge code is removed from CURRENT anyway. > > Try to play with different sysctl values for ath as well, it may or may > not have an impact on your performance. If you want to be vague, why not add a disclaimer to your e-mails? >> ifconfig_ath0="inet ssid 1234 channel 6 media OFDM54 mode 11g >>mediaopt adhoc" increase speed up to 45-50 KBy/s > > Right, still pretty little. You should get between 2-7 MB/s Stating the obvious? >>Bridging work fine and uptime for both host more >>wheek under full load :) (40KBy/s over wireless) >>Some strange - ping report low average delay about >>0.700ms for any host in another net segment. > > Try to adjust values of ACK timing, I have made a table with some > proposed values: > http://www.wifibsd.org/docs/atheros.php Taking credit for other peoples work again? Appended and attached is an e-mail from the authors of the ack timings. They wished to relay to you that you have copied the mikrotik routeros documentation without consent and thus potentially violated the copyright. [...snip...] >> >>MJ> I am not sure why you have such a speed loss running in adhoc >>MJ> mode. What I noticed on NetBSD (where the ath driver is not yet >>MJ> fully ported) was I got pretty decent speed with the same setup >>MJ> as yours (2xath in adhoc bridged with wired nics) but my embedded >>MJ> devices allways crashed when I sent over many small packets. >> I think this is a driver problem, two ap sucessfully connect >>with each other, why hostap can't do this ? Because it would require WDS or other extension to the standard. > That's becouse FreeBSD ath hostap is for access points , not for > interaction between two APs. FreeBSD ath hostap is for AP's not for interaction between AP's? Where were you going with that, exactly? [...snip...] > Did you run tcpdump on both the hosts to find out what may be causing > your problems? > I will test adhoc between two atheros boxes at home > today. Did your "atheros boxes" perform any better? ---------------------------[ Appended e-mail ]-------------------------- Subject: [Ticket#: 2005100716000313] [Fwd: Re: How connect 2 PC with ath in hosta [...] From: "MikroTik Support [Dmitry]" Date: Fri, 07 Oct 2005 17:09:55 +0300 To: Sten Daniel Sørsdal Hello, The first table I've got from our developers, and I really have no idea where did it come from, the available frequencies table is freely accessible via RouterOS console and also may be obtained from atheros cards' eeprom. But the second one (that about ACK times) is authored here. Me and one my collegue have invested much time into making this table and his claims can be considered as copyright violation. I am sure he can not provide any proof of his authorship, but I still have few pieces of paper with some weird formulae lost somewhere on my table. Thank you for pointing out this issue, can you also write back to the list for me? Regards, Dmitry Sten Daniel Sørsdal wrote: >> Apologies for the inconvenience but on the freebsd-net@freebsd.org >> mailing list there is a guy that claims he wrote the tables >> found here >> (http://www.wifibsd.org/docs/atheros.php). >> >> Which are identical (aside from font formatting) to the ones >> found here: >> (http://www.mikrotik.com/docs/ros/2.9/interface/wireless). >> >> Who's material is it? >> -- >> Sten Daniel Sørsdal ----------------------------------------------------------------------- -- Sten Daniel Sørsdal --------------040707080404080506060809 Content-Type: message/rfc822; name="Attached Message" Content-Transfer-Encoding: 8bit Content-Disposition: inline; filename="Attached Message" X-Account-Key: account2 Return-Path: Received: from frog.mt.lv (frog.mt.lv [159.148.172.197]) by mx.domeneshop.no (8.12.11/8.12.11) with ESMTP id j97E9xVn031869 for ; Fri, 7 Oct 2005 16:10:01 +0200 Received: from www-data by frog.mt.lv with local (Exim 4.52) id 1ENsv5-0004Hp-65; Fri, 07 Oct 2005 17:09:55 +0300 Content-Type: text/plain; charset="iso-8859-15" Content-Disposition: inline MIME-Version: 1.0 Subject: [Ticket#: 2005100716000313] [Fwd: Re: How connect 2 PC with ath in hosta [...] X-Powered-BY: OTRS - Open Ticket Request System (http://otrs.org/) X-Mailer: OTRS Mail Service (1.19.2.1) References: <43467A13.1040908@wm-access.no> Message-Id: <1128694195.998181.436651434.27276.7@frog.mt.lv> To: Sten Daniel =?ISO-8859-15?Q?S=F8rsdal?= Organization: MikroTik In-Reply-To: <43467A13.1040908@wm-access.no> From: "MikroTik Support [Dmitry]" Date: Fri, 07 Oct 2005 17:09:55 +0300 X-Spam-Status: No, hits=-0.5 required=4.0 X-Spam-Report: -0.5 hits, 4.0 required; * -0.5 ALL_TRUSTED Did not pass through any untrusted hosts X-Virus-Scanned: by moam (http://www.moam.net/) X-Moam-Version: 0.91 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mx.domeneshop.no id j97E9xVn031869 Hello, The first table I've got from our developers, and I really have no idea where did it come from, the available frequencies table is freely accessible via RouterOS console and also may be obtained from atheros cards' eeprom. But the second one (that about ACK times) is authored here. Me and one my collegue have invested much time into making this table and his claims can be considered as copyright violation. I am sure he can not provide any proof of his authorship, but I still have few pieces of paper with some weird formulae lost somewhere on my table. Thank you for pointing out this issue, can you also write back to the list for me? Regards, Dmitry Sten Daniel Sørsdal wrote: > Apologies for the inconvenience but on the freebsd-net@freebsd.org > mailing list there is a guy that claims he wrote the tables found here > (http://www.wifibsd.org/docs/atheros.php). > > Which are identical (aside from font formatting) to the ones found here: > (http://www.mikrotik.com/docs/ros/2.9/interface/wireless). > > Who's material is it? > -- > Sten Daniel Sørsdal > --------------040707080404080506060809--