Date: Tue, 4 Oct 2005 10:25:40 +0400 From: Andrey Smagin <samspeedu@mail.ru> To: Marcin Jessa <lists@yazzy.org> Cc: freebsd-net@freebsd.org Subject: Re: How connect 2 PC with ath in hostap mode ? Message-ID: <372828116.20051004102540@mail.ru> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?372828116.20051004102540>