From owner-freebsd-net@FreeBSD.ORG Tue Oct 4 06:26:50 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 7E98C16A41F for ; Tue, 4 Oct 2005 06:26:50 +0000 (GMT) (envelope-from samspeedu@mail.ru) Received: from mx3.mail.ru (mx3.mail.ru [194.67.23.149]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13E3643D49 for ; Tue, 4 Oct 2005 06:26:50 +0000 (GMT) (envelope-from samspeedu@mail.ru) Received: from [80.82.44.194] (port=37870 helo=192.168.168.7) by mx3.mail.ru with esmtp id 1EMgGF-000I8d-00; Tue, 04 Oct 2005 10:26:47 +0400 Date: Tue, 4 Oct 2005 10:25:40 +0400 From: Andrey Smagin X-Mailer: The Bat! (v1.62r) Organization: DiP X-Priority: 3 (Normal) Message-ID: <372828116.20051004102540@mail.ru> To: Marcin Jessa In-Reply-To: <20050930095743.402e56cd.lists@yazzy.org> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org 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 Reply-To: SAMU List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Oct 2005 06:26:50 -0000 Hello Marcin, MJ> man ifconfig should be the place to start. :) re read it 2 year, for information about MJ> Anyway, you can connect two PCs when one of them runs in MJ> hostap and the other one in ad-hoc mode. MJ> This will set up one of them as AP: MJ> ifconfig_ath0="inet 12.23.34.1 netmask 255.255.255.0 ssid Andrey mode MJ> 11g mediaopt hostap" MJ> And one in adhoc: MJ> ifconfig_ath0="inet 12.23.34.1 netmask 255.255.255.0 ssid Andrey MJ> channel 6 mode 11g mediaopt adhoc" MJ> You can also run both atheros nics in ad-hoc mode and bridge their MJ> interfaces with wired nics. My most qestion - how increase speed for ad-hoc<=>ad-hoc connection. It mode have very small speed(40KBy/s) . For me important bridge on both sides for connect 2 wired LAN segments through air. When i connect client<=>hostup bridging not work (but speed 2MBy/s between this hosts). I am will try ad-hoc<=>hostap. MJ> And you can set up your atheros access point as apbridge which will MJ> pass packets between wireless clients directly. For me not enough for connect another WiFi clients, now configured -apbridge. MJ> You cannot connect two APs in hostap mode as they will never associate MJ> to one another. Thank you. -- Best regards, Andrey mailto:samspeedu@mail.ru